[docs] Add encounter flow docs - #47
Closed
github-actions[bot] wants to merge 1 commit into
Closed
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Deploying coredocs with
|
| Latest commit: |
cf1b04d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://74e0fa3e.coredocs.pages.dev |
| Branch Preview URL: | https://docs-encounter-flows-46-f944.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
Closes #46.
/document clinical/encounterrequested all three doc layers. The concept (concepts/clinical/encounter.mdx) and the reference (references/clinical/encounter.mdx) already exist and are accurate against the checked-out Care source, so this PR adds only the missing flow layer.Files added (version-3.0 and mirrored byte-identical to version-3.1)
flows/clinical/create-an-encounter.mdxflows/clinical/update-encounter-location.mdxflows/clinical/close-an-encounter.mdxFiles changed
versioned_sidebars/version-3.0-sidebars.jsonandversioned_sidebars/version-3.1-sidebars.json— the three new flow ids appended to the manual Clinical flows list.Sources traced
care_fe/src/components/Encounter/CreateEncounterForm.tsx— the Initiate Patient Encounter form, its fields, the required department, and the future-date rule.care_fe/src/pages/Patient/PatientHome.tsx,care_fe/src/components/Patient/PatientDetailsTab/EncounterHistory.tsx,care_fe/src/pages/Appointments/AppointmentDetail.tsx— entry points, including Start Consultation and Create Planned Encounter.care_fe/src/pages/Encounters/tabs/overview/summary-panel-actions.tab.tsx,care_fe/src/pages/Encounters/utils/EncounterProvider.tsx,care_fe/src/pages/Encounters/utils/useEncounterProgressController.ts,care_fe/src/pages/Encounters/MarkEncounterAsCompletedDialog.tsx— the Actions panel, Mark as Completed, Mark for discharge, and the appointment and token close.care_fe/src/components/Location/LocationSheet.tsxandcare_fe/src/components/Location/views/LocationAssignmentView.tsx— the Update Location panel and the bed actions.care_fe/src/components/Questionnaire/QuestionTypes/EncounterQuestion.tsx— the discharge questionnaire fields.care_fe/src/components/ui/sidebar/facility/facility-nav.tsx— navigation labels.care_fe/public/locale/en.json— every user-facing label.care_fe/src/config/keyboardShortcuts.json— theeshortcut for Create Encounter,Shift+Enterfor submit, andEnterfor confirm.care/care/security/permissions/encounter.pyandcare/care/security/authorization/encounter.py— create encounter and update encounter permissions, held by Admin, Doctor, Nurse, and Facility Admin.Left out because it could not be verified
care.config.tsreadsREACT_ALLOWED_ENCOUNTER_CLASSES, so the flow states that the deployment controls this rather than naming a fixed list.Validation
npm run buildsucceeds for both theenand themllocales.