Inpatient Medication Workflow

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.

Scenario Summary

Throughout this workflow, the status of the order is tracked by a physician.

  1. A physician orders a prescribed medication for her patient. (via the MedicationRequest resource).
  2. The physician selects a medication and provides dosage, administration time, and other details. (via the MedicationRequest resource).
  3. The order is electronically signed by the physician and a work order becomes available to the nurse and pharmacist. (via the MedicationDispense resource).
  4. The pharmacist acknowledges the order and fulfills the prescription. (via the MedicationDispense resource).
  5. 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:

Quickstart

To navigate a scenario using the Postman collection you will need to

  1. Sign in here and accept Commure’s Terms and Conditions.
  2. Authenticate (To have more information about it read the postman documentation, our documentation or see our authentication collection).
  3. Set up the initial FHIR data you need using the first request of the collection
  4. Go through the user journey performing each request in the collection

How to authenticate

Once you are signed in to an existing account, there are two ways to authenticate with Commure’s Server:

Alternative A:

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 { {tenant-id}}

  • Callback url: http://localhost:1234/callback.
  • Auth url: https://api-{ {tenant-id}}.developer.commure.com/auth/authorize
  • Access Token url: https://api-{ {tenant-id}}.developer.commure.com/auth/token
  • 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”

Alternative B:

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.

About us

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.

Disclaimer

When using this collection you agree to Commure’s terms and conditions found here.

Support

If you need help setting up, don’t hesitate to write us at dev-support@commure.com.