Skip to content

Commit

Permalink
Merge branch 'develop' into care-loading-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishith25 committed Jan 5, 2025
2 parents fc4a7d5 + ef649a4 commit 0d7d20f
Show file tree
Hide file tree
Showing 23 changed files with 473 additions and 344 deletions.
22 changes: 22 additions & 0 deletions public/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,19 @@
"SPO2_LEVEL_MODERATE_HYPOXEMIA": "Moderate Hypoxemia",
"SPO2_LEVEL_NORMAL": "Normal",
"SPO2_LEVEL_SEVERE_HYPOXEMIA": "Severe Hypoxemia",
"SYSTEM__govt_org_type__block_panchayat": "Block Panchayat",
"SYSTEM__govt_org_type__corporation": "Corporation",
"SYSTEM__govt_org_type__default": "State",
"SYSTEM__govt_org_type__district": "District",
"SYSTEM__govt_org_type__grama_panchayat": "Grama Panchayat",
"SYSTEM__govt_org_type__local_body": "Local Body",
"SYSTEM__govt_org_type__municipality": "Municipality",
"SYSTEM__govt_org_type__state": "State",
"SYSTEM__govt_org_type__ward": "Ward",
"SYSTEM__org_type__default": "Organization",
"SYSTEM__org_type__govt": "Government",
"SYSTEM__org_type__role": "Role",
"SYSTEM__org_type__team": "Team",
"Submit": "Submit",
"TELEMEDICINE": "Telemedicine",
"TRANSPORTATION TO BE ARRANGED": "Transportation",
Expand Down Expand Up @@ -376,6 +389,7 @@
"are_you_still_watching": "Are you still watching?",
"are_you_sure_want_to_delete": "Are you sure you want to delete {{name}}?",
"are_you_sure_want_to_delete_this_record": "Are you sure want to delete this record?",
"are_you_sure_want_to_remove": "Are you sure you want to remove {{name}} from the patient? This action cannot be undone",
"ari": "ARI - Acute Respiratory illness",
"arrived": "Arrived",
"asset_class": "Asset Class",
Expand All @@ -388,7 +402,10 @@
"assign": "Assign",
"assign_a_volunteer_to": "Assign a volunteer to {{name}}",
"assign_bed": "Assign Bed",
"assign_to_patient": "Assign to Patient",
"assign_to_volunteer": "Assign to a Volunteer",
"assign_user": "Assign User",
"assign_user_to_patient": "Assign User to Patient",
"assigned_doctor": "Assigned Doctor",
"assigned_facility": "Facility assigned",
"assigned_to": "Assigned to",
Expand Down Expand Up @@ -1239,6 +1256,7 @@
"no_staff": "No staff found",
"no_tests_taken": "No tests taken",
"no_treating_physicians_available": "This facility does not have any home facility doctors. Please contact your admin.",
"no_user_assigned": "No User Assigned to this patient",
"no_users_found": "No Users Found",
"no_vitals_present": "No Vitals Monitor present in this location or facility",
"none": "None",
Expand Down Expand Up @@ -1482,6 +1500,7 @@
"rejected": "Rejected",
"reload": "Reload",
"remove": "Remove",
"remove_user": "Remove User",
"rename": "Rename",
"replace_home_facility": "Replace Home Facility",
"replace_home_facility_confirm": "Are you sure you want to replace",
Expand Down Expand Up @@ -1570,6 +1589,8 @@
"search_medication": "Search Medication",
"search_patients": "Search Patients",
"search_resource": "Search Resource",
"search_user": "Search User",
"search_user_description": "Search for a user and assign a role to add them to the patient.",
"searching": "Searching...",
"see_attachments": "See Attachments",
"select": "Select",
Expand All @@ -1588,6 +1609,7 @@
"select_policy_to_add_items": "Select a Policy to Add Items",
"select_practitioner": "Select Practicioner",
"select_register_patient": "Select/Register Patient",
"select_role": "Select Role",
"select_seven_day_period": "Select a seven day period",
"select_skills": "Select and add some skills",
"select_time": "Select time",
Expand Down
9 changes: 0 additions & 9 deletions src/common/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1762,12 +1762,3 @@ export const ADMIN_USER_TYPES = ["DistrictAdmin", "StateAdmin"] as const;
* @deprecated use `LocalStorageKeys.patientTokenKey` instead
*/
export const CarePatientTokenKey = LocalStorageKeys.patientTokenKey;

// organization_levels map based of type. for govt
// thought: This might be better placed in the organization types files
export const ORGANIZATION_LEVELS = {
govt: ["State", "District", "LocalBody", "Ward"],
team: ["Team"],
role: ["Role"],
other: ["Other"],
};
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ export default function QuestionnaireResponsesList({ encounter }: Props) {
// New structured response rendering
Object.entries(item.structured_responses).map(
([type, response]) => {
console.log("LOGGG", type, response);
return (
<StructuredResponseView
key={response.id}
Expand Down
Loading

0 comments on commit 0d7d20f

Please sign in to comment.