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": "b90fc5a7-d0ac-4630-a6ec-66b666ebd85a",
  "DoctorId": "9a1f5431-769e-4212-adf5-25679af79d53",
  "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>9a1f5431-769e-4212-adf5-25679af79d53</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>b90fc5a7-d0ac-4630-a6ec-66b666ebd85a</PatientMedicationId>
</PatientMedicationModel>