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
ListModelOfMedicationRefillRequestModelName | 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": "7872b13d-47ec-4cdd-b6ca-11203e5fbfb4", "PatientMedicationId": "d0423e86-cdce-470a-b4ba-9ac6d0b477a6", "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": "7872b13d-47ec-4cdd-b6ca-11203e5fbfb4", "PatientMedicationId": "d0423e86-cdce-470a-b4ba-9ac6d0b477a6", "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>7872b13d-47ec-4cdd-b6ca-11203e5fbfb4</d2p1:MedicationRefillRequestId> <d2p1:PatientComments>sample string 7</d2p1:PatientComments> <d2p1:PatientMedicationId>d0423e86-cdce-470a-b4ba-9ac6d0b477a6</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>7872b13d-47ec-4cdd-b6ca-11203e5fbfb4</d2p1:MedicationRefillRequestId> <d2p1:PatientComments>sample string 7</d2p1:PatientComments> <d2p1:PatientMedicationId>d0423e86-cdce-470a-b4ba-9ac6d0b477a6</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>