-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename "Admission Date" to encounter specific labels #6719
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Passing run #1744 ↗︎
Details:
Review all test suite changes for PR #6719 ↗︎ |
👋 Hi, @rithviknishad, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
@rithviknishad can you fix the cypress |
👋 Hi, @rithviknishad, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
|
@rithviknishad We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌. |
WHAT
🤖[deprecated] Generated by Copilot at b4c8de2
The pull request updates the frontend code to use the
encounter_date
field instead of theadmission_date
field in the consultation model and form. This is to support different types of encounters and suggestions for the consultation, and to align with the changes in the backend. The pull request also refactors thesuggestion
field to use a new type and filter out deprecated options. The pull request affects several components that display or use the consultation data, such asConsultationCard
,ConsultationDetails
,ConsultationForm
,DischargeModal
,ShiftDetails
,DeathReport
,TreatmentSummary
, andPatientInfoCard
. The pull request also updates the patient list API query parameters and the UI labels to use the encounter date instead of the admission date. The pull request also adds a new type calledConsultationSuggestionValue
to theconstants.tsx
file to restrict the possible values of thesuggestion
field.Required Backends
admission_date
toencounter_date
and clean column care#1728Proposed Changes
admission_date
toencounter_date
and white label the field based on decision after consultation choice #6668admission_date
based on consultation suggestion #6669@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖[deprecated] Generated by Copilot at b4c8de2
admission_date
field toencounter_date
in consultation model, form, and UI components to reflect the fact that it can also represent the date of domiciliary care, out-patient visit, or encounter for other suggestions (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)as const
toCONSULTATION_SUGGESTION
array and defineConsultationSuggestionValue
type to restrict the possible values of thesuggestion
field in consultation model and form (link)suggestion
field fromstring
toConsultationSuggestionValue
in consultation model and form (link, link)CONSULTATION_SUGGESTION
array when rendering the select field for thesuggestion
field in consultation form (link)encounter_date
field in consultation form and make it required for all suggestions (link)ConsultationModel
interface defined in theFacility
folder to type the consultation data in thePatient
andShifting
folders (link, link, link)