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
PatientMedicationModel| Name | 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": "ea3baff2-50dc-4a3c-9c27-b3cc182c59e2",
"DoctorId": "c618239f-7397-4e4e-9efb-75999d64497d",
"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>c618239f-7397-4e4e-9efb-75999d64497d</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>ea3baff2-50dc-4a3c-9c27-b3cc182c59e2</PatientMedicationId> </PatientMedicationModel>