Skip to content
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

Care Plan #10231

Draft
wants to merge 7 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions public/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"DOMESTIC_HEALTHCARE_SUPPORT__NO_SUPPORT": "No support",
"DOMESTIC_HEALTHCARE_SUPPORT__PAID_CAREGIVER": "Paid caregiver",
"ENCOUNTER_TAB__abdm": "ABDM Records",
"ENCOUNTER_TAB__care-plan": "Care Plan",
"ENCOUNTER_TAB__feed": "Feed",
"ENCOUNTER_TAB__files": "Files",
"ENCOUNTER_TAB__medicines": "Medicines",
Expand Down Expand Up @@ -282,18 +283,22 @@
"active_encounters": "Active Encounters",
"active_files": "Active Files",
"active_prescriptions": "Active Prescriptions",
"activities": "Activities",
"add": "Add",
"add_activity": "Add Activity",
"add_another_session": "Add another session",
"add_as": "Add as",
"add_attachments": "Add Attachments",
"add_beds": "Add Bed(s)",
"add_beds_to_configure_presets": "Add beds to this location to configure presets for them.",
"add_care_plan": "Add Care Plan",
"add_consultation": "Add consultation",
"add_consultation_update": "Add Consultation Update",
"add_details_of_patient": "Add Details of Patient",
"add_exception": "Add Exception",
"add_facility": "Add Facility",
"add_files": "Add Files",
"add_goal": "Add Goal",
"add_insurance_details": "Add Insurance Details",
"add_location": "Add Location",
"add_location_description": "Create a Location such as Rooms/Beds",
Expand All @@ -318,6 +323,7 @@
"add_skill": "Add Skill",
"add_spoke": "Add Spoke Facility",
"add_tags": "Add Tags",
"add_target": "Add Target",
"add_user": "Add User",
"additional_information": "Additional Information",
"additional_instructions": "Additional Instructions",
Expand Down Expand Up @@ -493,6 +499,10 @@
"care": "CARE",
"care_backend": "Care Backend",
"care_frontend": "Care Frontend",
"care_plan": "Care Plan",
"care_plan_goal": "Care Plan Goal",
"careplan_intent": "Care Plan Intent",
"careplan_status": "Care Plan Status",
"category": "Category",
"category_description": "Choose the category that best describes the resource needed.",
"caution": "Caution",
Expand Down Expand Up @@ -899,6 +909,7 @@
"encounter_suggestion__R": "Consultation",
"encounter_suggestion_edit_disallowed": "Not allowed to switch to this option in edit consultation",
"encounters": "Encounters",
"end_date": "End Date",
"end_datetime": "End Date/Time",
"end_dose": "End Dose",
"end_time": "End Time",
Expand Down Expand Up @@ -1044,6 +1055,7 @@
"getting_location": "Getting Location...",
"go_back": "Go Back",
"goal": "Our goal is to continuously improve the quality and accessibility of public healthcare services using digital tools.",
"goals": "Goals",
"granted_on": "Granted On",
"has_allergies": "Has Allergies",
"has_child_locations": "Has child locations",
Expand Down Expand Up @@ -1174,6 +1186,7 @@
"license": "License",
"licenses_description": "Third-party software is used in Care, including the respective licenses and versions.",
"licenses_title": "Third-Party Software and Licenses",
"lifecycle_status": "Lifecycle Status",
"link_abha_number": "Link ABHA Number",
"link_abha_profile": "Link ABHA Profile",
"link_camera_and_bed": "Link bed to Camera",
Expand Down Expand Up @@ -1532,6 +1545,7 @@
"patients": "Patients",
"patients_per_slot": "Patients per Slot",
"pending": "Pending",
"performed": "Performed",
"permanant_address_is_required": "Permanant address is required",
"permanent_address": "Permanent Address",
"permission_denied": "You do not have permission to perform this action",
Expand Down Expand Up @@ -2012,6 +2026,8 @@
"tag_slug": "Tag Slug",
"taper_titrate_dosage": "Taper & Titrate Dosage",
"target_dosage": "Target Dosage",
"targets": "Targets",
"task": "Task",
"template_deleted": "Template has been deleted",
"test_type": "Type of test done",
"tested_on": "Tested on",
Expand Down
22 changes: 22 additions & 0 deletions src/Routers/routes/ConsultationRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import EncounterQuestionnaire from "@/components/Patient/EncounterQuestionnaire"
import FileUploadPage from "@/components/Patient/FileUploadPage";

import { AppRoutes } from "@/Routers/AppRouter";
import CarePlan from "@/pages/CarePlan/CarePlan";
import CarePlanGoalPage from "@/pages/CarePlan/CarePlanGoalPage";
import { EncounterShow } from "@/pages/Encounters/EncounterShow";
import { PrintPrescription } from "@/pages/Encounters/PrintPrescription";

Expand Down Expand Up @@ -75,6 +77,26 @@ const consultationRoutes: AppRoutes = {
type="encounter"
/>
),
"/facility/:facilityId/encounter/:encounterId/care-plan/:careplanId": ({
facilityId,
encounterId,
careplanId,
}) => (
<CarePlan
facilityId={facilityId}
encounterId={encounterId}
careplanId={careplanId}
/>
),
"/facility/:facilityId/encounter/:encounterId/care-plan/:careplanId/goal/:goalId":
({ facilityId, encounterId, careplanId, goalId }) => (
<CarePlanGoalPage
facilityId={facilityId}
encounterId={encounterId}
careplanId={careplanId}
goalId={goalId}
/>
),
};

export default consultationRoutes;
Loading
Loading