google / android-fhir

The Android FHIR SDK is a set of Kotlin libraries for building offline-capable, mobile-first healthcare applications using the HL7® FHIR® standard on Android.
https://google.github.io/android-fhir/
Apache License 2.0
495 stars 296 forks source link

Demo app for activity flow #2711

Closed aditya-07 closed 4 days ago

aditya-07 commented 2 weeks ago

Fixes #2700

Description

  1. Demo app to show case activity flow api.
  2. Landing page has a Patient card, a carousel of cards (phase card) related to each phase of activity flow and an overflow menu to select a particular activity to run.
  3. Each phase card has a start button to activate the phase . The start button is enable only for the phase that is logically the next phase in the activity flow cycle.
  4. On pressing the start button, the request/event for the particular phase are generated either from the CarePlan (Proposal Phase) or the previous phase requests (Plan/Order/Perform phases).
  5. All the requests and persisted in the engine.
  6. If you want to run the same flow again, click restart flow, which removes all of the resources related to the selected activity flow from the engine and moves the flow back to start proposal phase.

Alternative(s) considered NO

Type Choose one: Feature

Screenshots (if applicable)

https://github.com/user-attachments/assets/83dc1f87-ccc5-468a-9c27-dc867efa8b30

Checklist

aditya-07 commented 1 week ago

can you pls move the setup of knowledge resources using knowledge manager out of the proposal stage - so that it's part of initialisation.

Done