📄️ Flow Chart
Here is the complete flow of the offline MMU APIs.
📄️ Get Facilities List
Retrieve the facility data using the clientID provided in the parameters and ensuring a valid token is present in the headers.
📄️ Get Users List
Retrieve the list of patients associated with the designated facilities by utilizing the facilityId provided in the parameters and confirming the presence of a valid token in the headers.
📄️ Fetch Resources List
Retrieve the list of resources associated with the designated facilities by using the facility provided in the parameters and ensuring the presence of a valid token in the headers.
📄️ Fetch Drug Set
Retrieve the list of drugs associated with the designated pharmacy drug sets by using the drug set id provided in the parameters and ensuring the presence of a valid token in the headers.
📄️ Fetch Lab Investigation Set
Retrieve the list of lab investigations associated with the designated lab investigations sets by using the invSetId provided in the parameters and ensuring the presence of a valid token in the headers.
📄️ Upload Reports
This API facilitates the posting of patient reports data to the database. It necessitates the inclusion of the patient ID (medexUid), report type, report generated time, reported by and the report files in the request body form data, along with an authorized token in the headers.
📄️ Fetch Patient Reports
This API facilitates the retrieval of patient reports data, requiring the inclusion of the patient ID as a query parameter and the inclusion of an authorized token in the headers.
📄️ Create User
The New User API is used for creating a new patient. It mandates patient details and facility information to be included in the API body, along with a valid token in the headers.
📄️ Upload Reports
This API facilitates the posting of patient reports data to the database. It necessitates the inclusion of the patient ID (medexUid), report type, report generated time, reported by and the report files in the request body form data, along with an authorized token in the headers.