feat(diagnoses): ICD-10 search + attach diagnoses to encounters#151
Merged
inteee merged 5 commits intoCIVRA-INC:mainfrom Mar 8, 2026
Merged
feat(diagnoses): ICD-10 search + attach diagnoses to encounters#151inteee merged 5 commits intoCIVRA-INC:mainfrom
inteee merged 5 commits intoCIVRA-INC:mainfrom
Conversation
inteee
requested changes
Mar 6, 2026
inteee
approved these changes
Mar 8, 2026
Contributor
inteee
left a comment
There was a problem hiding this comment.
Approved. The changes look good and align with the project requirements. Thanks for the contribution.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements standardized diagnosis coding for encounters in LumenHealth EHR, enabling doctors to attach ICD-10 codes instead of free-text diagnoses.
Backend
DiagnosisModelfor storing ICD-10 codes and descriptions.scripts/seed-icd10-lite.tsto populate MongoDB with ~1,000 common primary care ICD-10 codes (idempotent).GET /api/v1/diagnoses/search?q=for fast code lookup (<100ms).POST /api/v1/encounters/:encounterId/diagnosesto attach diagnoses to an encounter (uses hardcodedencounterIdfor now).Frontend
shadcn/ui.e.g. [B50.9 - Malaria ✕].Notes
Acceptance
closes #118