Patient Chart

Number of APIs: 8

Patient Chart is a demo application which enables doctors to easily search for patients as well as see their vital signs, major allergens, lab results, and other healthcare data. Learn how to build the Patient Chart app by following our tutorial. This Qodex collection is for reference only and the requests are not necessary for actually building or running the app.

Quickstart

To use the Qodex collection you will need to: 1. Sign up here and accept Commure’s Terms and Conditions. 2. Authenticate (instructions below). 3. Perform requests.

Performing a request

You will need to fill in the patient-id of the patient you want to perform a request for. Click the “View more actions” button of the collection > Click “Edit” > Go to the variables tab and update the patient-id field > Click “Update” at the bottom right corner of the window.

Note: You can find the patient-id by logging into Commure's Developer Platform and searching for the patient in Tools > Resource Manager. The patient-id is the associated ResourceID shown in the result.

How to authenticate

Once you are signed up, 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) > Click “Update” at the bottom right corner of the window.

Note: You can find your tenant-id by logging into Commure's Developer Platform and clicking your profile icon in the top 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: smarthelloworld
  • 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.

Learn more about authentication

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. Become part of our community and help us innovate the future of healthcare technology. Sign up here.

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.

Collection

  1. Get all Patients GET {{baseUrl}}/api/v1/:fhir_version/Patient

  2. Search for Patient GET {{baseUrl}}/api/v1/:fhir_version/Patient?name=john

  3. Get Medications for Patient GET {{baseUrl}}/api/v1/:fhir_version/MedicationStatement?patient={{patient-id}}

  4. Get Conditions for Patient GET {{baseUrl}}/api/v1/:fhir_version/Condition?subject={{patient-id}}

  5. Get Observations (Labs: CBC) for Patient GET {{baseUrl}}/api/v1/:fhir_version/Observation?code=6690-2,718-7,4544-3,777-3&subject={{patient-id}}

  6. Get Allergies for Patient GET {{baseUrl}}/api/v1/:fhir_version/AllergyIntolerance?patient={{patient-id}}

  7. Get Observations (Vitals) for Patient GET {{baseUrl}}/api/v1/:fhir_version/Observation?subject={{patient-id}}&code=85354-9,55284-4,8867-4,8331-1,9279-1,59408-5&category=vital-signs&_sort=-date

  8. Get Observations (Labs: BMP) for Patient GET {{baseUrl}}/api/v1/:fhir_version/Observation?code=2951-2,2823-3,2075-0,1963-8,3097-3,2160-0,15074-8&subject={{patient-id}}