Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Demo app for activity flow #2711

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

aditya-07
Copy link
Collaborator

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)

activity_flow_demo_app.mp4

Checklist

  • I have read and acknowledged the Code of conduct.
  • I have read the Contributing page.
  • I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
  • I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
  • I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
  • I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
  • I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

@aditya-07 aditya-07 requested a review from a team as a code owner November 5, 2024 08:17
Copy link
Collaborator

@jingtang10 jingtang10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: PR under Review
Development

Successfully merging this pull request may close these issues.

Demo app for Activity Flow.
2 participants