Inpatient Medication Workflow includes all the steps between a clinician discussing medication with a patient to the completion of its administration to the patient. Effective and clear documentation allows for various caregivers to track patient notes and medication. Additionally, tracking the medication workflow allows for ease of billing, insurance filing and inventory tracking.Open Postman
Objective of this Collection
The medication workflow is a collection of processes and communications designed to provide patients with medication in a safe and timely manner. In this scenario we’ll follow the progress of a simple order for medication to be administered in an inpatient setting. We’ll explore how FHIR client applications running on the Commure FHIR API and non-FHIR systems integrated by Commure facilitate the execution of this workflow.
Throughout this workflow, the status of the order is tracked by a physician.
- A physician orders a prescribed medication for her patient. (via the MedicationRequest resource).
- The physician selects a medication and provides dosage, administration time, and other details. (via the MedicationRequest resource).
- The order is electronically signed by the physician and a work order becomes available to the nurse and pharmacist. (via the MedicationDispense resource).
- The pharmacist acknowledges the order and fulfills the prescription. (via the MedicationDispense resource).
- The nurse retrieves the medication from the pharmacist and administers it to the patient. (via the MedicationAdministration resource).
FHIR Concepts covered
FHIR offers a very effective set of resources to manage medication workflows. The scenario presented here is a simplified example to introduce FHIR’s resources. We will interact with the following resources: MedicationRequest, MedicationDispense, and MedicationAdministration.
Additionally, this scenario provides an introduction to:
- The request and event patterns in the FHIR Workflow Module.
- Using the History API as a mechanism for clients to observe changes on the Commure FHIR API.
To navigate a scenario using the Postman collection you will need to
- Sign up here and accept Commure’s Terms and Conditions.
- Authenticate (To have more information about it read the postman documentation, our documentation or see our authentication collection).
- Set up the initial FHIR data you need using the first request of the collection
- Go through the user journey performing each request in the collection
How to authenticate
Once you are signed up, there are two ways to authenticate with Commure’s Server:
Click the “View more actions” button of the Collection > Click “Edit” > Go to the variables tab and update only the tenant-id field (both initial value and current value) The tenant-id is the suffix on the baseurl when you sign in to the Commure’s Developer Platform. For example: in https://dashboard-99750511.developer.commure.com/smart/dashboard/ the tenant id is: 99750511. After updating this field please click “Update” at the bottom right corner of the window.
Now click again the “View more actions” button of the Collection > Click “Edit” > and this time, go to the authorization tab > select Oauth2 as the authorization method > Click “Get New Access Token” > Fill the fields with your tenant information.
Remember to remove the blank space between the Curly braces
- Callback url: http://localhost:1234/callback.
- Auth url:
- Access Token url:
- client-id: smart_hello_world
- Scope: openid email
- Leave Client Secret and State empty.
After filling in the details, please Click in “Request Token” > In the next window Click “Use Token” > Once that window closes please click “Update”
In your browser go to the /auth endpoint, and get the authorization token, then use the token as a bearer in every request you want to make to our servers.
Note: If you get a 404 SSL error, you forgot to set the tenant-id variable on the collections variables, or you have a wrong base url.
Commure is building a system to accelerate healthcare software innovation. We believe that better software for doctors, nurses and patients - and ultimately for the healthcare system as a whole - will come from responsibly connecting the top minds in technology, medicine and design. Become part of our community and help us innovate the future of healthcare technology. Sign up here.
When using this collection you agree to Commure’s terms and conditions found here.
If you need help setting up, don’t hesitate to write us at email@example.com.