Skip to content

Commit

Permalink
Added care plan question
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankacker committed Jan 29, 2025
1 parent d68680e commit 6126694
Show file tree
Hide file tree
Showing 13 changed files with 981 additions and 46 deletions.
11 changes: 11 additions & 0 deletions public/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,12 +289,14 @@
"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_new_beds": "Add New Bed(s)",
Expand All @@ -318,6 +320,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 +496,9 @@
"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 @@ -896,6 +902,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 @@ -1034,6 +1041,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_domestic_healthcare_support": "Has domestic healthcare support?",
Expand Down Expand Up @@ -1161,6 +1169,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 @@ -1972,6 +1981,7 @@
"tag_slug": "Tag Slug",
"taper_titrate_dosage": "Taper & Titrate Dosage",
"target_dosage": "Target Dosage",
"targets": "Targets",
"template_deleted": "Template has been deleted",
"test_type": "Type of test done",
"tested_on": "Tested on",
Expand All @@ -1980,6 +1990,7 @@
"third_party_software_licenses": "Third Party Software Licenses",
"time": "Time",
"time_slot": "Time Slot",
"title": "Title",
"title_of_request": "Title of Request",
"titrate_dosage": "Titrate Dosage",
"to": "to",
Expand Down
10 changes: 10 additions & 0 deletions src/Routers/routes/ConsultationRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ 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 @@ -87,6 +88,15 @@ const consultationRoutes: AppRoutes = {
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

0 comments on commit 6126694

Please sign in to comment.