Lab Instructions
Lab Instructions
Setup
CCDServices
Make sure CCD Services are running.
Care Compliance DashboardLab Setup
FHIR Lab - JSON Resources
Verify the below JSON present under labs/fhir
condition_resource.json
allergy_intolerance_resource.json.py
medication_request_resource.json
FHIR Search.postman_collection.json
FHIR Postman Collection
Import FHIR Search.postman_collection.json to your Postman
Exercise
Launch Care Compliance Dashboard and Login
UserName: demo
Password: demo@1234
Create Patient (Use Patient 2 - in sample-patients) Refer Patient creation steps from Care Compliance DashboardLab Instructions
Refresh the patient list to make sure the new patient is visible.
Retrieve HAPI FHIR Patient ID
HAPI FHIR Patient Resource - Documentation
Launch HAPIFHIR.
Search for Patient
Click on the last patient and read through the Patient FHIR structure
Notedown the id
Retrieve Patient Details in Postman Collection
Adding a condition to patient
HAPI FHIR Condition Resource Definition
Open Condition Resource JSON (labs/fhir/condition_resource.json)
Understand the references to the Codes in the Condition Resource JSON
Creating the Condition using Postman
Open Create Condition POST API
Copy the Condition Resource JSON from above step and replace the request body
Update
"reference": "Patient/110"
to correct patient idSend the request
You should see 201 created in the response status
Verify CCD Facesheet
Launch CCD and Launch Facesheet for the new patient
You should see Type 2 Diabetes listed under patient problem list
Click on the problem and verify the codes
Adding Allergy to patient
HAPI FHIR Allergy Intolerance resource - Documentation
Open AllergyIntolerance Resource JSON (labs/fhir/allergy_intolerance_resource.json)
Creating the AllergyIntolerance using Postman
Open Create AllergyIntolerance POST API
Copy the AllergyIntolerance Resource JSON from above step and replace the request body
Update
"reference": "Patient/110"
to correct patient idSend the request
You should see 201 created in the response status
Verify CCD Facesheet
Adding Medication Request to patient
HAPI FHIR Medication Request resource - Documentation
Open MedicationRequest Resource JSON (labs/fhir/medication_request_resource.json)
Understand Medication Reference in Medication Request. In HAPI FHIR search for Medication with id 108 and view details
"medicationReference": { "reference": "Medication/108" }
Creating the MedicationRequest using Postman
Open Create MedicationRequest POST API
Copy the MedicationRequest Resource JSON from above step and replace the request body
Update
"reference": "Patient/110"
to correct patient idSend the request
You should see 201 created in the response status
Verify CCD Facesheet
Managing Observation - Postman Example
HAPI FHIR Observation Resource - Documentation
Create Observation
Open Create Observation POST API
Update
"reference": "Patient/110"
to correct patient idSend the Request
You should see 201 created in the response status
Run and Verify Update Observation PUT API
Run and Verify Get Observation API
Run and Verify Delete Observation API
Retrieving Full Patient FHIR JSON - Postman Example
Run and Verify Get Patient (complete) API
Submission
Create a zip file with the below submission items and submit one zip file.
Short Report (1–2 pages PDF)
Document difficulties or errors you encountered, and how you resolved them.
Care Compliance Dashboard Screenshots
Patient List showing the new patient addition
Facesheet (Click on the patient name to launch Facesheet)
Problem with codes being visible
Allergy
Medication
Postman Get Patient (complete) API JSON response (Use the patient id of new patient you created).
Last updated