Skip to content

Conversation

@dmcook5208
Copy link
Collaborator

💾 [Code Check]

Make sure you've checked/done the following before making this PR!

  • Does your code build/run?
  • Does your design approach make sense?
  • Does your work achieve the intention of the card?
  • Does your code have any unintentional side effects -- have you tested a full workflow & checked the logic branches you touched?
  • Did you make a unit test for your code (as appropriate)?
  • Is your branch relatively up to date with the Development branch (within ~2 commits)
  • Have you moved the card to "Needs QA" in Jira

🐬 [JIRA Sprint Card]

https://mass-immunization-system.atlassian.net/browse/MVS-721

📰 [Work Description]

Updated the POD app to utilize intermediate statuses of the Encounter status field to store the healthcare practitioner's screening decision if/as the patient moves from one station to the next (e.g. check-in to vaccination table).
The Encounter status is now set to:

  • “in-progress” if the screener has decided to allow the patient to receive the vaccine
  • "cancelled" if the screener has decided that the patient cannot receive the vaccine.
    Note: The status is still subsequently set to “finished” after submitting the immunization resource.

As part of these changes to finalize (fingers crossed) the station-style workflow, I also made a couple of related tweaks:

  • automatically advance from the Check-in page to the consent & screening page upon checking in the patient
  • automatically advance from the Consent & Screening page to the Vaccination Event page upon answering the "proceed with vaccination?" question

🚦 [Testing/QA Notes]

These changes need to be challenged with ad-hoc testing.
Recommendation: create at least 2 new patients, then simulate the station-style workflow as follows:

  • retrieve patient 1
  • check-in patient 1
  • verify that the POD app automatically advances to the Consent & Screening page
  • answer the "proceed with vaccination?" question for patient 1 (No)
  • verify that the POD app automatically advances to the Vaccination Event page
  • retrieve patient 2
  • check-in patient 2
  • verify that the POD app automatically advances to the Consent & Screening page
  • answer the "proceed with vaccination?" question for patient 2 (Yes)
  • retrieve patient 1
  • verify that the POD app automatically advances to the Vaccination Event page.
  • complete the Vaccination Event page and submit the vaccination record
  • verify that the POD app automatically advances to the Discharge page
  • retrieve patient 2
  • verify that the POD app automatically advances to the Vaccination Event page.
  • complete the Vaccination Event page and submit the vaccination record
  • verify that the POD app automatically advances to the Discharge page

@ghost ghost self-requested a review April 15, 2021 17:56
ghost
ghost previously approved these changes Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants