GET api/MedicationRefillRequests/search?patientMedicationId={patientMedicationId}&page={page}&itemsPerPage={itemsPerPage}
Returns a list of refill request of a medication.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| patientMedicationId |
Unique ID of patient medication. |
globally unique identifier |
Required |
| page |
Page number requested (search results are paginated). |
integer |
Default value is 1 |
| itemsPerPage |
Items to return on each page. See page parameter above. |
integer |
Default value is 10 |
Body Parameters
None.
Response Information
Resource Description
ListModelOfMedicationRefillRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalItems | integer |
None. |
|
| ItemsPerPage | integer |
None. |
|
| CurrentPage | integer |
None. |
|
| TotalPages | integer |
None. |
|
| FirstRowOnPage | integer |
None. |
|
| LastRowOnPage | integer |
None. |
|
| Rows | Collection of MedicationRefillRequestModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalItems": 1,
"ItemsPerPage": 2,
"CurrentPage": 3,
"TotalPages": 4,
"FirstRowOnPage": 5,
"LastRowOnPage": 6,
"Rows": [
{
"MedicationRefillRequestId": "27a8ad5c-3e2e-4039-bb31-cfdcd9f7eb77",
"PatientMedicationId": "320d000d-a037-430c-b6d5-5db0e15db5de",
"MedicationName": "sample string 3",
"Status": "sample string 4",
"RequestDate": "sample string 5",
"LastStatusChange": "sample string 6",
"PatientComments": "sample string 7",
"DoctorComments": "sample string 8"
},
{
"MedicationRefillRequestId": "27a8ad5c-3e2e-4039-bb31-cfdcd9f7eb77",
"PatientMedicationId": "320d000d-a037-430c-b6d5-5db0e15db5de",
"MedicationName": "sample string 3",
"Status": "sample string 4",
"RequestDate": "sample string 5",
"LastStatusChange": "sample string 6",
"PatientComments": "sample string 7",
"DoctorComments": "sample string 8"
}
]
}
application/xml, text/xml
Sample:
<ListModelOfMedicationRefillRequestModely579f2rt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models">
<CurrentPage>3</CurrentPage>
<FirstRowOnPage>5</FirstRowOnPage>
<ItemsPerPage>2</ItemsPerPage>
<LastRowOnPage>6</LastRowOnPage>
<Rows xmlns:d2p1="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.PatientMedications">
<d2p1:MedicationRefillRequestModel>
<d2p1:DoctorComments>sample string 8</d2p1:DoctorComments>
<d2p1:LastStatusChange>sample string 6</d2p1:LastStatusChange>
<d2p1:MedicationName>sample string 3</d2p1:MedicationName>
<d2p1:MedicationRefillRequestId>27a8ad5c-3e2e-4039-bb31-cfdcd9f7eb77</d2p1:MedicationRefillRequestId>
<d2p1:PatientComments>sample string 7</d2p1:PatientComments>
<d2p1:PatientMedicationId>320d000d-a037-430c-b6d5-5db0e15db5de</d2p1:PatientMedicationId>
<d2p1:RequestDate>sample string 5</d2p1:RequestDate>
<d2p1:Status>sample string 4</d2p1:Status>
</d2p1:MedicationRefillRequestModel>
<d2p1:MedicationRefillRequestModel>
<d2p1:DoctorComments>sample string 8</d2p1:DoctorComments>
<d2p1:LastStatusChange>sample string 6</d2p1:LastStatusChange>
<d2p1:MedicationName>sample string 3</d2p1:MedicationName>
<d2p1:MedicationRefillRequestId>27a8ad5c-3e2e-4039-bb31-cfdcd9f7eb77</d2p1:MedicationRefillRequestId>
<d2p1:PatientComments>sample string 7</d2p1:PatientComments>
<d2p1:PatientMedicationId>320d000d-a037-430c-b6d5-5db0e15db5de</d2p1:PatientMedicationId>
<d2p1:RequestDate>sample string 5</d2p1:RequestDate>
<d2p1:Status>sample string 4</d2p1:Status>
</d2p1:MedicationRefillRequestModel>
</Rows>
<TotalItems>1</TotalItems>
<TotalPages>4</TotalPages>
</ListModelOfMedicationRefillRequestModely579f2rt>