diff --git a/packages/database/src/migrations/20240704030047-AddHospitalEntityType-modifies-schema.js b/packages/database/src/migrations/20240704030047-AddHospitalEntityType-modifies-schema.js new file mode 100644 index 0000000000..5fe0c3fc49 --- /dev/null +++ b/packages/database/src/migrations/20240704030047-AddHospitalEntityType-modifies-schema.js @@ -0,0 +1,27 @@ +'use strict'; + +var dbm; +var type; +var seed; + +/** + * We receive the dbmigrate dependency from dbmigrate initially. + * This enables us to not have to rely on NODE_PATH. + */ +exports.setup = function(options, seedLink) { + dbm = options.dbmigrate; + type = dbm.dataType; + seed = seedLink; +}; + +exports.up = function(db) { + return db.runSql(`ALTER TYPE public.entity_type ADD VALUE IF NOT EXISTS 'hospital_area';`); +}; + +exports.down = function(db) { + return null; +}; + +exports._meta = { + "version": 1 +}; diff --git a/packages/types/src/schemas/schemas.ts b/packages/types/src/schemas/schemas.ts index 322bb3367d..f379252461 100644 --- a/packages/types/src/schemas/schemas.ts +++ b/packages/types/src/schemas/schemas.ts @@ -31491,6 +31491,7 @@ export const MeasureConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -31686,6 +31687,7 @@ export const EntityLevelSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -32032,6 +32034,7 @@ export const BaseMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -32180,6 +32183,7 @@ export const BaseMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -32318,6 +32322,7 @@ export const BaseMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -32747,6 +32752,7 @@ export const SpectrumMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -32895,6 +32901,7 @@ export const SpectrumMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -33033,6 +33040,7 @@ export const SpectrumMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -33567,6 +33575,7 @@ export const IconMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -33715,6 +33724,7 @@ export const IconMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -33853,6 +33863,7 @@ export const IconMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -34312,6 +34323,7 @@ export const RadiusMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -34460,6 +34472,7 @@ export const RadiusMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -34598,6 +34611,7 @@ export const RadiusMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -35031,6 +35045,7 @@ export const ColorMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -35179,6 +35194,7 @@ export const ColorMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -35317,6 +35333,7 @@ export const ColorMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -35764,6 +35781,7 @@ export const ShadingMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -35912,6 +35930,7 @@ export const ShadingMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -36050,6 +36069,7 @@ export const ShadingMapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -36489,6 +36509,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -36637,6 +36658,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -36775,6 +36797,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -37308,6 +37331,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -37456,6 +37480,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -37594,6 +37619,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -38052,6 +38078,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -38200,6 +38227,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -38338,6 +38366,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -38770,6 +38799,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -38918,6 +38948,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -39056,6 +39087,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -39502,6 +39534,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -39650,6 +39683,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -39788,6 +39822,7 @@ export const MapOverlayConfigSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -40427,6 +40462,7 @@ export const EntityQuestionConfigSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -40481,6 +40517,7 @@ export const EntityQuestionConfigSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -40957,6 +40994,7 @@ export const SurveyScreenComponentConfigSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -41011,6 +41049,7 @@ export const SurveyScreenComponentConfigSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -41550,6 +41589,12 @@ export const RecentEntitiesForCountrySchema = { "items": { "type": "string" } + }, + "hospital_area": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false @@ -68957,6 +69002,7 @@ export const DashboardRelationSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -69057,6 +69103,7 @@ export const DashboardRelationCreateSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -69152,6 +69199,7 @@ export const DashboardRelationUpdateSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -70356,6 +70404,7 @@ export const EntitySchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -70461,6 +70510,7 @@ export const EntityCreateSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -70566,6 +70616,7 @@ export const EntityUpdateSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -71805,6 +71856,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -71953,6 +72005,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -72091,6 +72144,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -72624,6 +72678,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -72772,6 +72827,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -72910,6 +72966,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -73368,6 +73425,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -73516,6 +73574,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -73654,6 +73713,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -74086,6 +74146,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -74234,6 +74295,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -74372,6 +74434,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -74818,6 +74881,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -74966,6 +75030,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -75104,6 +75169,7 @@ export const MapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -75604,6 +75670,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -75752,6 +75819,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -75890,6 +75958,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -76423,6 +76492,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -76571,6 +76641,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -76709,6 +76780,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -77167,6 +77239,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -77315,6 +77388,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -77453,6 +77527,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -77885,6 +77960,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -78033,6 +78109,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -78171,6 +78248,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -78617,6 +78695,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -78765,6 +78844,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -78903,6 +78983,7 @@ export const MapOverlayCreateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -79396,6 +79477,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -79544,6 +79626,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -79682,6 +79765,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -80215,6 +80299,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -80363,6 +80448,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -80501,6 +80587,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -80959,6 +81046,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -81107,6 +81195,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -81245,6 +81334,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -81677,6 +81767,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -81825,6 +81916,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -81963,6 +82055,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -82409,6 +82502,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -82557,6 +82651,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -82695,6 +82790,7 @@ export const MapOverlayUpdateSchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -83675,6 +83771,7 @@ export const PermissionsBasedMeditrakSyncQueueSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -83762,6 +83859,7 @@ export const PermissionsBasedMeditrakSyncQueueCreateSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -83846,6 +83944,7 @@ export const PermissionsBasedMeditrakSyncQueueUpdateSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -86230,6 +86329,7 @@ export const EntityTypeSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -86562,6 +86662,7 @@ export const MeditrakSurveyResponseRequestSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -87368,6 +87469,7 @@ export const EntityResponseSchema = { "field_station", "fiji_aspen_facility", "health_clinic_boundary", + "hospital_area", "hospital_ward", "household", "incident", @@ -96475,6 +96577,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -96623,6 +96726,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -96761,6 +96865,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -97317,6 +97422,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -97465,6 +97571,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -97603,6 +97710,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -98084,6 +98192,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -98232,6 +98341,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -98370,6 +98480,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -98825,6 +98936,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -98973,6 +99085,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -99111,6 +99224,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -99580,6 +99694,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -99728,6 +99843,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", @@ -99866,6 +99982,7 @@ export const TranslatedMapOverlaySchema = { "FieldStation", "FijiAspenFacility", "HealthClinicBoundary", + "HospitalArea", "HospitalWard", "Household", "Incident", diff --git a/packages/types/src/types/models.ts b/packages/types/src/types/models.ts index 4f89612965..f51b288794 100644 --- a/packages/types/src/types/models.ts +++ b/packages/types/src/types/models.ts @@ -1761,6 +1761,7 @@ export enum EntityType { 'maintenance' = 'maintenance', 'larval_sample' = 'larval_sample', 'transfer' = 'transfer', + 'hospital_area' = 'hospital_area', } export enum DataTableType { 'analytics' = 'analytics',