-
Notifications
You must be signed in to change notification settings - Fork 515
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
Show chapter of diagnosis for principal diagnosis #6541
Show chapter of diagnosis for principal diagnosis #6541
Conversation
ConsultationDiagnosisBuilder
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. |
2 failed tests on run #1514 ↗︎
Details:
cypress/e2e/patient_spec/patient_crud.cy.ts • 2 failed testsReview all test suite changes for PR #6541 ↗︎ |
427875f
into
consultation_diagnoses_m2m
@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 🙌. |
…n statuses and other improvements) (#6528) * useSlug: support for fallbacks for graceful handling * Miscellaneous changes / cleanup * Add API routes * remove old diagnoses from Consultation Form * Add component: `AddICD11Diagnosis` * Add component: `ConditionVerificationStatusMenu` * uncomplicate things * Add component `ConsultationDiangosisEntry` * Basic implementation * i have no idea what these are, but lots of bugs gone * goodnight for today * responsiveness * pre-sort by verification status * Adds help text * responsiveness * fix overflow * show diagnoses in consultation dashboard * fix consultation create * Show chapter of diagnosis for principal diagnosis (#6541) * Add PrincipalDiagnosisCard component and update ConsultationDiagnosisBuilder * Add chapter field to ICD11DiagnosisModel * fixes #6544; Principal Diagnosis as Dropdown * fix cypress * minor fix
Branched from 0f1e079 of consultation_diagnoses_m2m branch
WHAT
🤖 Generated by Copilot at 5bfdc56
This pull request adds a new feature to display and update the principal diagnosis of a consultation using the ICD11 classification system. It introduces a new component
PrincipalDiagnosisCard
and modifies the existing componentsConsultationDiagnosisBuilder
andConsultationDiagnosisEntry
. It also updates theICD11DiagnosisModel
type to include the chapter of the diagnosis.Required Backends
Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 5bfdc56
PrincipalDiagnosisCard
component to display the principal diagnosis of a consultation in a card format (link, link, link, link)ConsultationDiagnosisEntry
component to handle changes in the diagnosis object for the edit scenario and update the backend accordingly (link, link, link, link, link)ConsultationDiagnosisBuilder
component to usesetDiagnoses
function to update the state array of diagnoses (link, link, link)chapter
property toICD11DiagnosisModel
type to represent the chapter of the ICD11 classification system (link)