[docs] Encounter concept rewrite and encounter flows - #51
Closed
github-actions[bot] wants to merge 1 commit into
Closed
[docs] Encounter concept rewrite and encounter flows#51github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Deploying coredocs with
|
| Latest commit: |
31b0ec0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://54051dec.coredocs.pages.dev |
| Branch Preview URL: | https://docs-encounter-concept-flows.coredocs.pages.dev |
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.
Ezhuthachan
Documents
clinical/encounteracross all three layers for #46.What changed
Rewritten —
concepts/clinical/encounter.mdx(3.0 and 3.1). The previous page predated the concept template: it used the oldWhat it represents/Lifecycle/Classification/How it connectssections and printed raw codebase literals (in_progress,imp,amb). It now follows the template (Definition,Key Attributes,Status,Permissions,Related), uses the user-facing labels fromen.json, and links the FHIR page without narrating the mapping.Added — three flows, in the order a user meets them:
flows/clinical/create-an-encounter.mdxflows/clinical/assign-a-location-to-an-encounter.mdxflows/clinical/close-an-encounter.mdxEach is listed in the manual Clinical flow sidebar for both versions.
Unchanged —
references/clinical/encounter.mdx. It was re-verified field by field against the model, spec and constants in the checkout and is accurate, so it needed no edit.Traced to
care/emr/models/encounter.py— fields, caches, save behaviourcare/emr/resources/encounter/spec.py,constants.py— statuses, classes, priorities, hospitalizationcare/emr/api/viewsets/encounter.py— which action authorizes what, restart action, patient-view fallbackcare/security/authorization/encounter.py,care/security/permissions/encounter.py,care/security/roles/role.py— permission names and expanded roles (CLINICAL_DATA_ACCESS_ROLES→ Admin, Doctor, Nurse, Facility Admin)care_fe:components/Encounter/CreateEncounterForm.tsx,EncounterActions.tsx,components/Location/LocationSheet.tsx,pages/Encounters/MarkEncounterAsCompletedDialog.tsx,components/Questionnaire/QuestionTypes/EncounterQuestion.tsx,pages/Encounters/tabs/overview/summary-panel-reports-tab.tsx,public/locale/en.json,src/config/keyboardShortcuts.json,care.config.tsLeft out
Validation
Corruption scan clean.
npm run buildsucceeds forenandml.