From 635fcb92922298ad669890480916cb4fcd48345b Mon Sep 17 00:00:00 2001 From: SinghYuvraj0506 Date: Thu, 29 Feb 2024 18:07:49 +0530 Subject: [PATCH] changed facility type in constants and default value in initialState in createFacility --- src/Common/constants.tsx | 37 ++++++++++++---------- src/Components/Facility/FacilityCreate.tsx | 2 +- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/src/Common/constants.tsx b/src/Common/constants.tsx index 60530cb0634..c4183e543c3 100644 --- a/src/Common/constants.tsx +++ b/src/Common/constants.tsx @@ -106,38 +106,41 @@ export const VEHICLE_TYPES: Array = [ export const FACILITY_TYPES: Array = [ // { id: 1, text: "Educational Inst" }, - { id: 2, text: "Private Hospital" }, - { id: 3, text: "Other" }, // { id: 4, text: "Hostel" }, // { id: 5, text: "Hotel" }, // { id: 6, text: "Lodge" }, - { id: 7, text: "TeleMedicine" }, - { id: 8, text: "Govt Hospital" }, - { id: 9, text: "Labs" }, { id: 800, text: "Primary Health Centres" }, - { id: 801, text: "24x7 Public Health Centres" }, { id: 802, text: "Family Health Centres" }, { id: 803, text: "Community Health Centres" }, - { id: 820, text: "Urban Primary Health Center" }, - { id: 830, text: "Taluk Hospitals" }, - { id: 831, text: "Taluk Headquarters Hospitals" }, { id: 840, text: "Women and Child Health Centres" }, - { id: 850, text: "General hospitals" }, + { id: 830, text: "Taluk Hospitals" }, { id: 860, text: "District Hospitals" }, { id: 870, text: "Govt Medical College Hospitals" }, - - { id: 900, text: "Co-operative hospitals" }, + { id: 9, text: "Govt. Labs" }, + { id: 10, text: "Private Labs" }, + { id: 7, text: "TeleMedicine" }, + { id: 2, text: "Private Hospital" }, { id: 910, text: "Autonomous healthcare facility" }, + { id: 1300, text: "Shifting Centre" }, + { id: 1500, text: "Request Approving Center" }, + { id: 1510, text: "Request Fulfilment Center" }, + { id: 3, text: "Other" }, + + // { id: 8, text: "Govt Hospital" }, + // { id: 801, text: "24x7 Public Health Centres" }, + // { id: 820, text: "Urban Primary Health Center" }, + // { id: 831, text: "Taluk Headquarters Hospitals" }, + // { id: 850, text: "General hospitals" }, + + // { id: 900, text: "Co-operative hospitals" }, + + // { id: 950, text: "Corona Testing Labs" }, + // { id: 1000, text: "Corona Care Centre" }, - { id: 950, text: "Corona Testing Labs" }, - { id: 1000, text: "Corona Care Centre" }, // { id: 1010, text: "COVID-19 Domiciliary Care Center" }, // { id: 1100, text: "First Line Treatment Centre" }, // { id: 1200, text: "Second Line Treatment Center" }, - { id: 1300, text: "Shifting Centre" }, // { id: 1400, text: "Covid Management Center" }, - { id: 1500, text: "Request Approving Center" }, - { id: 1510, text: "Request Fulfilment Center" }, // { id: 1600, text: "District War Room" }, ]; diff --git a/src/Components/Facility/FacilityCreate.tsx b/src/Components/Facility/FacilityCreate.tsx index 69f02aa91ee..e2e9022f67a 100644 --- a/src/Components/Facility/FacilityCreate.tsx +++ b/src/Components/Facility/FacilityCreate.tsx @@ -89,7 +89,7 @@ type FacilityForm = { }; const initForm: FacilityForm = { - facility_type: "Private Hospital", + facility_type: "Primary Health Centres", name: "", state: 0, district: 0,