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

  1. Launch Care Compliance Dashboard and Login

    1. UserName: demo

    2. Password: demo@1234

  2. 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.

  3. Retrieve HAPI FHIR Patient ID

    1. Launch HAPIFHIR.

    2. Search for Patient

    3. Click on the last patient and read through the Patient FHIR structure

    4. Notedown the id

  4. Retrieve Patient Details in Postman Collection

  5. Adding a condition to patient

    1. Open Condition Resource JSON (labs/fhir/condition_resource.json)

    2. Understand the references to the Codes in the Condition Resource JSON

    3. Creating the Condition using Postman

      1. Open Create Condition POST API

      2. Copy the Condition Resource JSON from above step and replace the request body

      3. Update "reference": "Patient/110" to correct patient id

      4. Send the request

      5. You should see 201 created in the response status

    4. Verify CCD Facesheet

      1. Launch CCD and Launch Facesheet for the new patient

      2. You should see Type 2 Diabetes listed under patient problem list

      3. Click on the problem and verify the codes

  6. Adding Allergy to patient

    1. Open AllergyIntolerance Resource JSON (labs/fhir/allergy_intolerance_resource.json)

    2. Creating the AllergyIntolerance using Postman

      1. Open Create AllergyIntolerance POST API

      2. Copy the AllergyIntolerance Resource JSON from above step and replace the request body

      3. Update "reference": "Patient/110" to correct patient id

      4. Send the request

      5. You should see 201 created in the response status

    3. Verify CCD Facesheet

  7. Adding Medication Request to patient

    1. Open MedicationRequest Resource JSON (labs/fhir/medication_request_resource.json)

    2. Understand Medication Reference in Medication Request. In HAPI FHIR search for Medication with id 108 and view details

      "medicationReference": {
          "reference": "Medication/108"
        }
    3. Creating the MedicationRequest using Postman

      1. Open Create MedicationRequest POST API

      2. Copy the MedicationRequest Resource JSON from above step and replace the request body

      3. Update "reference": "Patient/110" to correct patient id

      4. Send the request

      5. You should see 201 created in the response status

    4. Verify CCD Facesheet

  8. Managing Observation - Postman Example

    1. Create Observation

      1. Open Create Observation POST API

      2. Update "reference": "Patient/110" to correct patient id

      3. Send the Request

      4. You should see 201 created in the response status

    2. Run and Verify Update Observation PUT API

    3. Run and Verify Get Observation API

    4. Run and Verify Delete Observation API

  9. Retrieving Full Patient FHIR JSON - Postman Example

    1. Run and Verify Get Patient (complete) API

Submission

Create a zip file with the below submission items and submit one zip file.

  1. Short Report (1–2 pages PDF)

    1. Document difficulties or errors you encountered, and how you resolved them.

  2. Care Compliance Dashboard Screenshots

    1. Patient List showing the new patient addition

    2. Facesheet (Click on the patient name to launch Facesheet)

      1. Problem with codes being visible

      2. Allergy

      3. Medication

  3. Postman Get Patient (complete) API JSON response (Use the patient id of new patient you created).

Last updated