GET api/PatientMedications?patientMedicationId={patientMedicationId}

Returns a medication of a patient.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientMedicationId

Unique ID of patient medication.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

PatientMedicationModel
NameDescriptionTypeAdditional information
PatientMedicationId

Unique ID of the patient medication.

globally unique identifier

None.

DoctorId

Unique ID of the doctor.

globally unique identifier

None.

DoctorName

Name of the doctor.

string

None.

Active

Indicates if the medication is active or not.

boolean

None.

Name

Name of the medication.

string

None.

Instructions

Instruction about the medication.

string

None.

LastRefillRequest

Last time when the refill request was made for the medication.

string

None.

LastRefillStatus

Status of last refill request for the medication.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "PatientMedicationId": "ef907e96-d2d1-4304-90b6-bc3520c0c6c4",
  "DoctorId": "af1b280c-340a-4626-82b7-d73d72d1cc03",
  "DoctorName": "sample string 2",
  "Active": true,
  "Name": "sample string 4",
  "Instructions": "sample string 5",
  "LastRefillRequest": "sample string 6",
  "LastRefillStatus": "sample string 7"
}

application/xml, text/xml

Sample:
<PatientMedicationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.PatientMedications">
  <Active>true</Active>
  <DoctorId>af1b280c-340a-4626-82b7-d73d72d1cc03</DoctorId>
  <DoctorName>sample string 2</DoctorName>
  <Instructions>sample string 5</Instructions>
  <LastRefillRequest>sample string 6</LastRefillRequest>
  <LastRefillStatus>sample string 7</LastRefillStatus>
  <Name>sample string 4</Name>
  <PatientMedicationId>ef907e96-d2d1-4304-90b6-bc3520c0c6c4</PatientMedicationId>
</PatientMedicationModel>