GET api/PatientMedications?patientMedicationId={patientMedicationId}
Returns a medication of a patient.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
patientMedicationId |
Unique ID of patient medication. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
PatientMedicationModelName | Description | Type | Additional 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": "8678a635-509a-48f2-a755-769ec21a99b5", "DoctorId": "efd3ffc6-d289-4cdd-a1a0-3bcc3e7b56c4", "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>efd3ffc6-d289-4cdd-a1a0-3bcc3e7b56c4</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>8678a635-509a-48f2-a755-769ec21a99b5</PatientMedicationId> </PatientMedicationModel>