As an implementer it is easier to build and deploy configurable care delivery applications for different health programs that can leverage evidence based guidelines (e.g. SMART Guidelines). The Configurable Care application is a reference application that enables dynamic deployment of FHIR content to drive care delivery i.e. workflows. It uses the Android FHIR SDK (Engine, DataCapture and Workflow libraries) to execute workflow logic and provide basic support for managing CarePlan and Task resources.
This application loads the WHO SMART Guidelines for Immunization (Measles) and allows the user to run through several different outcomes as described below.
To download the code, clone the FHIR App Examples repo:
git clone https://github.com/google/fhir-app-examples.git
Open Android Studio, select Open...
and choose the configurablecare
folder from the source code that you downloaded earlier.
Now that you have imported the project into Android Studio and set up the FHIR server with test data, you are ready to run the configurablecare
app for the first time.
Start the Android Studio emulator, and click Run in the Android Studio toolbar.
- Launch the
configurablecare
app in Android Studio with a connected Android device - Open logcat tab in Android Studio and wait until you see this message:
com.google.android.fhir.configurablecare I init
. (You may usesystem.out
as a filter to observe the logs better.) - Click on "Register new patient" and complete the questionnaire to create new patient (infant) with basic information. [Suggested DOB: 02-02-2023]
- Navigate to "Patient list" and choose your newly created patient
- Click on "Careplan Activities" to see the list of pending and completed activities.
- Begin the Immunization Review activity. You do not need to fill this form. Click on Submit on the top right.
- Wait for "Updating Activities" to change to "Activities Updated". Click on the "Completed Activities" tab to see the recently completed task.
- A new Measles Vaccine Medication Request activity proposal should appear in the "Pending Activities" tab. Click on this Activity to continue.
- A questionnaire will open up that asks you whether you want to accept this proposal. Click on "Yes" and submit.
- Notice that the Medication Request activity has now changed from "proposal" to "plan".
- Click on the above activity. You will see a questionnaire with options for contraindications. Do NOT select anything and submit the empty questionnaire.
- Notice that the Medication Request activity has now changed from "plan" to "order".
- Click on the above activity. This will be the questionnaire for administering the measles vaccine.
- Provide "yes" for "consent given" and "stock available" questions and answer the rest of the questions any way you like. Click on submit when you are done.
- Now you will notice that all pending activities have been completed. Observe the completed activities as well and take note of the transition from proposal -> plan -> order -> completed
- Go back to the Patient card and notice that the "Immunization Records" section now has a new item added with the details of this vaccine.
cc-outcome-1.mov
- Follow steps 1-10 from Exercise 1
- Instead of submitting an empty questionnaire, select the following contraindications: "Severely immunosuppressed", "History of anaphylactic reactions" and "Severe allergic reactions" and click on submit.
- You will notice that there are no more pending activities. If you take a look at the completed activities, you will notice a MedicationRequest with the status "Do Not Perform".
- Go back to the Patient card and notice that the "Alerts" section now has a record that the measles vaccine should not be administered to this patient.
cc-outcome-2.mov
Outcome 3 - Vaccine administration is temporarily on hold (soft contraindication) until a clinical review has been completed [out-of-scope]
- Follow steps 1-10 from Exercise 1
- Instead of submitting an empty questionnaire, select the following contraindication: "History of anaphylactic reactions" and click on submit.
- You will notice that the Medication Request activity is now on-hold until the patient's records have been reviewed
cc-outcome-3.mov
- Follow steps 1-8 from Exercise 1
- A questionnaire will open up that asks you whether you want to accept this proposal. Click on "No", provide a reason and submit.
- You will notice that all pending activities have been completed. In the completed activities section, the Medication Request activity is marked as cancelled due to rejection of the proposal.
cc-outcome-4.mov
This product is not intended to be a medical device.
The FHIR resources provided in this application are intended to be examples that illustrate the utility of Configurable Care. They must NOT be used for any medical purpose under any circumstances.
HL7®, and FHIR® are the registered trademarks of Health Level Seven International and their use of these trademarks does not constitute an endorsement by HL7.