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": "8b31a19f-a461-40f9-ba60-4fe078f984c7", "DoctorId": "9643a217-b795-41f4-9e7b-94212c306e27", "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>9643a217-b795-41f4-9e7b-94212c306e27</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>8b31a19f-a461-40f9-ba60-4fe078f984c7</PatientMedicationId> </PatientMedicationModel>