@kenyaemr/esm-ward-app 8.5.4-pre.166 → 8.5.4-pre.168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,4 +5,4 @@
5
5
  │ 4892.js (372.981 KiB)
6
6
  
7
7
 
8
- Rspack compiled with 1 warning in 16.27 s
8
+ Rspack compiled with 1 warning in 20.25 s
package/dist/6482.js CHANGED
@@ -1 +1 @@
1
- (globalThis.webpackChunk_kenyaemr_esm_ward_app=globalThis.webpackChunk_kenyaemr_esm_ward_app||[]).push([["6482"],{84767(A,e,t){var a={"./uk.json":["60723","9072"],"./ar.json":["14132","7045"],"./ru_RU.json":["60986","8359"],"./uz_UZ.json":["70890","7175"],"./fr.json":["94055","6508"],"./sw_KE.json":["88618","903"],"./uz.json":["43584","6377"],"./en.json":["34300","5117"],"./ky.json":["88163","2416"],"./pl.json":["41119","6724"],"./ka.json":["70795","1480"],"./si.json":["56859","6904"],"./de.json":["34944","5145"],"./lg.json":["64618","8695"],"./vi.json":["79214","6371"],"./tr.json":["55241","434"],"./es_MX.json":["88349","1646"],"./tr_TR.json":["99900","1869"],"./zh_CN.json":["99879","5644"],"./en_US.json":["59569","4106"],"./he.json":["84652","2317"],"./id.json":["72690","6047"],"./ku.json":["9895","4348"],"./es.json":["93099","7912"],"./ne.json":["12146","5503"],"./ar_SY.json":["37617","282"],"./uz@Latn.json":["27097","4658"],"./bn.json":["77159","6444"],"./zh.json":["35661","7742"],"./hi_IN.json":["55442","4383"],"./pt_BR.json":["36468","1877"],"./qu.json":["35173","8358"],"./ro_RO.json":["46022","3963"],"./sw.json":["89913","3378"],"./am.json":["81197","9806"],"./pt.json":["96679","5132"],"./it.json":["9538","4111"],"./km.json":["54335","5940"],"./hi.json":["36840","2881"]};function i(A){if(!t.o(a,A))return Promise.resolve().then(function(){var e=Error("Cannot find module '"+A+"'");throw e.code="MODULE_NOT_FOUND",e});var e=a[A],i=e[0];return t.e(e[1]).then(function(){return t(i)})}i.keys=()=>Object.keys(a),i.id=84767,A.exports=i},77488(A,e,t){"use strict";t.d(e,{Qn:()=>o,Tt:()=>i,sZ:()=>n});var a=t(80357);let i={UUID_SHARED_DECISION_ASSESSMENT:"162164AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SHARED_DECISION_PLAN:"166021AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SHARED_DECISION_ACTION:"160433AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SHARED_DECISION_CONTINUE_MONITORING:"159835AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SHARED_DECISION_TRANSFER_TO_CS:"159739AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SHARED_DECISION_REFERRAL:"0dcc1312-e83e-4317-97c3-4b127b599744",UUID_SHARED_DECISION_TWIN_ONE_BIRTH:"d9ad3cc2-5800-4cd0-ab51-fa3306295617",UUID_SHARED_DECISION_BIRTH:"fb50f3e1-0971-4f82-9774-41ff57e38043",UUID_CONTRACTION_NONE:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_CONTRACTION_MILD:"1498AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_CONTRACTION_MODERATE:"1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_CONTRACTION_STRONG:"166788AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_CONTRACTION_STRONG_FALLBACK:"4b90b73a-ad11-4650-91b0-baea131974e0",UUID_URINE_NEGATIVE:"1874AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_URINE_ONE_PLUS:"1362AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_URINE_TWO_PLUS:"1363AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_URINE_THREE_PLUS:"1364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_URINE_NOT_DONE:"1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_URINE_TEST_TIME_SLOT:"bb3724c9-fbcc-49c5-9702-6cde0be325ca",UUID_PARTOGRAPHY_ENCOUNTER:"022d62af-e2a5-4282-953b-52dd5cba3296",UUID_MEDICATION_OXYTOCIN_ADMINISTERED:"82580974-ff46-41c5-b218-4bea7f53bf7e",UUID_MEDICATION_OXYTOCIN_DOSE:"166530AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_MEDICATION_MEDICATION:"1282AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_MEDICATION_NAME:"c3082af8-f935-40c5-aa5b-74c684e81aea",UUID_YES:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_NO:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SUPPORTIVE_CARE_COMPANION:"8a5757a7-b607-4948-b8a8-587b1f44366a",UUID_SUPPORTIVE_CARE_PAIN_RELIEF:"a563b9bd-eb1d-4a0e-8271-f3ee00da6d25",UUID_SUPPORTIVE_CARE_ORAL:"217c3dcb-d13e-48d6-89b9-f2c588d50a3c",UUID_SUPPORTIVE_CARE_POSTURE:"dc94a788-de10-417d-aac8-0aed5ba3b806",UUID_SUPPORTIVE_CARE_DECLINED:"167156AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SUPPORTIVE_CARE_SUPINE:"159629AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SUPPORTIVE_CARE_MOBILE:"c05125ad-e297-491f-aa65-d73ecc3245f0",UUID_BABY_BASELINE_FHR:"1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_FHR_DECELERATION:"c608022e-a29c-44c9-a4c8-24b6e3105ae4",UUID_BABY_AMNIOTIC_FLUID:"30ea66be-16d1-44f6-af40-4fe273814454",UUID_BABY_FETAL_POSITION:"78a5cb66-ca95-4965-9c54-0cb6198c9389",UUID_BABY_CAPUT:"4e54e9bf-9a1a-4dfd-a4a1-b727860f1c4a",UUID_BABY_MOULDING:"166527AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_FHR_DECELERATION_LATE:"167151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_FHR_DECELERATION_EARLY:"58f1c745-8873-44ff-9680-2a3bbe172990",UUID_BABY_FHR_DECELERATION_VARIABLE:"155653AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_AMNIOTIC_INTACT:"164899AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_AMNIOTIC_CLEAR:"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_AMNIOTIC_BLOOD:"1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_AMNIOTIC_MECONIUM:"134488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_FETAL_POSITION_ANTERIOR:"164148AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_FETAL_POSITION_POSTERIOR:"541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_FETAL_POSITION_TRANSVERSE:"124261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_MATERNITY_INPATIENT_ENCOUNTER_TYPE:"6877a5b4-441d-4dff-ada1-fcc2485c33e6",UUID_MATERNITY_INPATIENT_FORM:"57b8bb54-321f-4b94-bba5-58850527bfd6",UUID_PARITY_CONCEPT:"160080AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_MISCARRIAGE_ABORTIONS_CONCEPT:"1823AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_URGE_TO_PUSH:"9ad5b56d-597c-4a40-ade6-387802daa44a",UUID_EMERGENCY_OVERRIDE:"1670AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_EMERGENCY_REASON:"163761AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SHARED_DECISION_TERMINATE_ONGOING_PROGRESS:"737fa73a-509f-40d8-9e84-91dc71db7f4c",UUID_LCG_TERMINATION_REASON_TYPE:"6098AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_TERMINATION_REASON_WRONG_PATIENT:"164144AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_TERMINATION_REASON_OTHER:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_CORRECTION_ENCOUNTER_TYPE:"b2c4d5e6-7f8a-4e9b-8c1d-2e3f8e4a3b8f",UUID_LCG_CORRECTION_TYPE:"4b3eb27b-43c0-4862-bd83-be06beb3d699",UUID_LCG_CORRECTION_TYPE_WRONG_PATIENT_TRANSFER:"1286AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_CORRECTION_SOURCE_PATIENT_UUID:"162720AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_CORRECTION_SOURCE_TERMINATE_ENCOUNTER_UUID:"1671AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_CORRECTION_TERMINATION_REASON:"162704AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_CORRECTION_SOURCE_PATIENT_DISPLAY:"850a960b-e8b5-4775-ba74-aaddb2abbf51",UUID_LCG_CORRECTION_TERMINATED_AT:"163286AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_CORRECTION_TRANSFER_NOTES:"1056dc03-ce4d-45cb-a1eb-87707162e6ee",FETAL_HEART_RATE_CONCEPT:"1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",FETAL_HEART_RATE_TIME_CONCEPT:"bb3724c9-fbcc-49c5-9702-6cde0be325ca",FETAL_HEART_RATE_HOUR_CONCEPT:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AMNIOTIC_FLUID_CONCEPT:"162653AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",RUPTURED_MEMBRANES_CONCEPT:"164900AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AMNIOTIC_CLEAR_LIQUOR_CONCEPT:"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AMNIOTIC_MECONIUM_STAINED_CONCEPT:"134488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AMNIOTIC_ABSENT_CONCEPT:"163747AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AMNIOTIC_BLOOD_STAINED_CONCEPT:"1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AMNIOTIC_MEMBRANE_INTACT_CONCEPT:"d1787a76-7310-4223-a645-9fd410d418c1",UTERINE_CONTRACTIONS_CONCEPT:"163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",CONTRACTION_LEVEL_MILD_CONCEPT:"1498AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",CONTRACTION_LEVEL_MODERATE_CONCEPT:"1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",CONTRACTION_LEVEL_STRONG_CONCEPT:"166788AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UTERINE_CONTRACTION_FREQUENCY_CONCEPT:"d266dee4-bbe8-4736-b94d-c33300f55bca",UTERINE_CONTRACTION_DURATION_CONCEPT:"159368AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",OXYTOCIN_TIME_CONCEPT:"bb3724c9-fbcc-49c5-9702-6cde0be325ca",OXYTOCIN_DROPS_PER_MINUTE_CONCEPT:"1d109b10-7b30-4bfa-8a7c-6ecb73357fc2",OXYTOCIN_DOSE_CONCEPT:"81369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ROUTE_CONCEPT:"8878f9c0-a1ce-47ec-a88f-69ef0f6576ba",FREQUENCY_CONCEPT:"fd9f82fd-f327-4502-ac8e-5d9144dbd504",MEDICATION_CONCEPT:"c3082af8-f935-40c5-aa5b-74c684e81aea",IV_FLUIDS_CONCEPT:"644504bd-23bc-4f1e-b9a0-d44f81f4148e",IV_FLUID_TYPE_CONCEPT:"161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",DOSAGE_CONCEPT:"b71ddb80-2d7f-4bde-a44b-236e62d4c1b6",DRUG_DOSE_CONCEPT:"162384AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MATERNAL_PULSE_CONCEPT:"5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",SYSTOLIC_BP_CONCEPT:"5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",DIASTOLIC_BP_CONCEPT:"5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",PULSE_BP_TIME_CONCEPT:"bb3724c9-fbcc-49c5-9702-6cde0be325ca",PROTEIN_LEVEL_CONCEPT:"1875AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",GLUCOSE_LEVEL_CONCEPT:"887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",KETONE_LEVEL_CONCEPT:"161442AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",URINE_VOLUME_CONCEPT:"159660AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",URINE_CHARACTERISTICS_CONCEPT:"56AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",TIME_RESULTS_RETURNED:"67c3d4c6-465e-4c12-9b7f-d8587ca90603",TIME_SAMPLE_COLLECTED:"c554f157-2e16-4585-af29-c48f5e765ce0",CERVIX_CONCEPT:"162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",DESCENT_OF_HEAD_CONCEPT:"166528AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",STATION_0_CONCEPT:"160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",STATION_1_CONCEPT:"162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",STATION_2_CONCEPT:"166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",STATION_3_CONCEPT:"166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",STATION_4_CONCEPT:"166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",STATION_5_CONCEPT:"163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",DRUG_ORDER_TYPE_UUID:"131168f4-15f5-102d-96e4-000c29c2a5d7",ENCOUNTER_ROLE:"240b26f9-dd88-4172-823d-4a8bfeb7841f",MOULDING_NONE_CONCEPT:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MOULDING_SLIGHT_CONCEPT:"1362AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MOULDING_MODERATE_CONCEPT:"1363AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MOULDING_SEVERE_CONCEPT:"1364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",TEMPERATURE_CONCEPT:"5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",CONTRACTION_COUNT_CONCEPT:"d266dee4-bbe8-4736-b94d-c33300f55bca",MEDICATION_NAME_CONCEPT:"164231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",EVENT_TYPE_CONCEPT:"162879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",EVENT_DESCRIPTION_CONCEPT:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MOULDING_CONCEPT:"166527AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",BLOOD_GROUP_CONCEPT:"300AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",TIME_SLOT_CONCEPT:"163286AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",LABOR_PATTERN_CONCEPT:"164135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",HOURS_SINCE_RUPTURE_CONCEPT:"167149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",DATE_OF_ADMISSION_CONCEPT:"1640AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",GESTATION_WEEKS_CONCEPT:"1789AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ESTIMATED_DELIVERY_DATE_CONCEPT:"5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",LAST_MENSTRUAL_PERIOD_CONCEPT:"1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},n={conceptMappings:{"fetal-heart-rate":[i.FETAL_HEART_RATE_CONCEPT],"blood-pressure":[i.SYSTOLIC_BP_CONCEPT,i.DIASTOLIC_BP_CONCEPT],"maternal-pulse":[i.MATERNAL_PULSE_CONCEPT],temperature:[i.TEMPERATURE_CONCEPT],"cervical-dilation":[i.CERVIX_CONCEPT],"descent-of-head":[i.DESCENT_OF_HEAD_CONCEPT],"uterine-contractions":[i.UTERINE_CONTRACTION_FREQUENCY_CONCEPT],"urine-analysis":[i.PROTEIN_LEVEL_CONCEPT,i.GLUCOSE_LEVEL_CONCEPT,i.KETONE_LEVEL_CONCEPT],"drugs-fluids":[i.UUID_MEDICATION_MEDICATION,i.IV_FLUIDS_CONCEPT,i.IV_FLUID_TYPE_CONCEPT],"progress-events":[i.EVENT_TYPE_CONCEPT,i.EVENT_DESCRIPTION_CONCEPT,i.FETAL_HEART_RATE_CONCEPT,i.CERVIX_CONCEPT,i.UTERINE_CONTRACTIONS_CONCEPT]},conceptUuids:{cervix:i.CERVIX_CONCEPT,"fetal-heart-rate":i.FETAL_HEART_RATE_CONCEPT,"fetal-heart-rate-hour":i.FETAL_HEART_RATE_HOUR_CONCEPT,"fetal-heart-rate-time":i.FETAL_HEART_RATE_TIME_CONCEPT,"cervical-dilation":i.CERVIX_CONCEPT,"descent-of-head":i.DESCENT_OF_HEAD_CONCEPT,"uterine-contractions":i.UTERINE_CONTRACTIONS_CONCEPT,"uterine-contraction-frequency":i.UTERINE_CONTRACTION_FREQUENCY_CONCEPT,"uterine-contraction-duration":i.UTERINE_CONTRACTION_DURATION_CONCEPT,"maternal-pulse":i.MATERNAL_PULSE_CONCEPT,"systolic-bp":i.SYSTOLIC_BP_CONCEPT,"diastolic-bp":i.DIASTOLIC_BP_CONCEPT,temperature:i.TEMPERATURE_CONCEPT,"protein-level":i.PROTEIN_LEVEL_CONCEPT,"glucose-level":i.GLUCOSE_LEVEL_CONCEPT,"ketone-level":i.KETONE_LEVEL_CONCEPT,"urine-volume":i.URINE_VOLUME_CONCEPT,"contraction-count":i.CONTRACTION_COUNT_CONCEPT,"urine-characteristics":i.URINE_CHARACTERISTICS_CONCEPT,medication:i.MEDICATION_CONCEPT,"medication-name":i.MEDICATION_NAME_CONCEPT,"oxytocin-dose":i.OXYTOCIN_DOSE_CONCEPT,"oxytocin-drops-per-minute":i.OXYTOCIN_DROPS_PER_MINUTE_CONCEPT,"oxytocin-time":i.OXYTOCIN_TIME_CONCEPT,"iv-fluids":i.IV_FLUIDS_CONCEPT,"iv-fluid-type":i.IV_FLUID_TYPE_CONCEPT,dosage:i.DOSAGE_CONCEPT,route:i.ROUTE_CONCEPT,frequency:i.FREQUENCY_CONCEPT,"drug-dose":i.DRUG_DOSE_CONCEPT,"event-type":i.EVENT_TYPE_CONCEPT,"event-description":i.EVENT_DESCRIPTION_CONCEPT,"amniotic-fluid":i.AMNIOTIC_FLUID_CONCEPT,"amniotic-clear-liquor":i.AMNIOTIC_CLEAR_LIQUOR_CONCEPT,"amniotic-meconium-stained":i.AMNIOTIC_MECONIUM_STAINED_CONCEPT,"amniotic-absent":i.AMNIOTIC_ABSENT_CONCEPT,"amniotic-blood-stained":i.AMNIOTIC_BLOOD_STAINED_CONCEPT,moulding:i.MOULDING_CONCEPT,"moulding-none":i.MOULDING_NONE_CONCEPT,"moulding-slight":i.MOULDING_SLIGHT_CONCEPT,"moulding-moderate":i.MOULDING_MODERATE_CONCEPT,"moulding-severe":i.MOULDING_SEVERE_CONCEPT,"blood-group":i.BLOOD_GROUP_CONCEPT,"time-slot":i.TIME_SLOT_CONCEPT,"pulse-time-slot":i.PULSE_BP_TIME_CONCEPT,"labor-pattern":i.LABOR_PATTERN_CONCEPT,"hours-since-rupture":i.HOURS_SINCE_RUPTURE_CONCEPT,"ruptured-membranes":i.RUPTURED_MEMBRANES_CONCEPT,"date-of-admission":i.DATE_OF_ADMISSION_CONCEPT,"gestation-weeks":i.GESTATION_WEEKS_CONCEPT,"estimated-delivery-date":i.ESTIMATED_DELIVERY_DATE_CONCEPT,"last-menstrual-period":i.LAST_MENSTRUAL_PERIOD_CONCEPT,"baby-twin-index":"163460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","station-0":i.STATION_0_CONCEPT,"station-1":i.STATION_1_CONCEPT,"station-2":i.STATION_2_CONCEPT,"station-3":i.STATION_3_CONCEPT,"station-4":i.STATION_4_CONCEPT,"station-5":i.STATION_5_CONCEPT},stationDisplayMapping:{[i.STATION_0_CONCEPT]:"0/5",[i.STATION_1_CONCEPT]:"1/5",[i.STATION_2_CONCEPT]:"2/5",[i.STATION_3_CONCEPT]:"3/5",[i.STATION_4_CONCEPT]:"4/5",[i.STATION_5_CONCEPT]:"5/5"},stationValueMapping:{[i.STATION_0_CONCEPT]:0,[i.STATION_1_CONCEPT]:1,[i.STATION_2_CONCEPT]:2,[i.STATION_3_CONCEPT]:3,[i.STATION_4_CONCEPT]:4,[i.STATION_5_CONCEPT]:5},encounterPatterns:["mch-partograph","partography","fetal-monitoring","maternal-monitoring","obstetric-vitals","labor-monitoring","labour-monitoring"],fallbackEncounterMapping:{"fetal-heart-rate":["mch-mother-consultation","vitals","obstetric","maternal","consultation","clinical"],"cervical-dilation":["mch-mother-consultation","obstetric","maternal","consultation","clinical"],"maternal-pulse":["vitals","maternal","consultation","clinical"],"blood-pressure":["vitals","maternal","consultation","clinical"],temperature:["vitals","consultation","clinical"],"urine-analysis":["vitals","laboratory","consultation","clinical"],"drugs-fluids":["medication","treatment","consultation","clinical"],"progress-events":["obstetric","maternal","consultation","clinical"]},defaultFallbackSequence:["consultation","clinical"],retryFallbackTypes:["vitals","consultation","clinical"],defaultEncounterProviderRole:"a0b03050-c99b-11e0-9572-0800200c9a66",defaultLocationUuid:"1",storage:{maxLocalEntries:100,storageKeyPrefix:"partography_",cacheKeyPrefix:"partography_encounters_"},timeConfig:{defaultEncounterOffset:3e5,retryEncounterOffset:36e5,cacheInvalidationDelay:1e3},progressEventConceptNames:{[i.FETAL_HEART_RATE_CONCEPT]:{name:"Fetal Heart Rate",unit:"BPM"},[i.CERVIX_CONCEPT]:{name:"Cervical Dilation",unit:"cm"},[i.UTERINE_CONTRACTIONS_CONCEPT]:{name:"Uterine Contractions",unit:"per 10min"}},uuids:{timeSlot:"a1b2c3d4-1111-2222-3333-444455556666",mchPartographyEncounterUuid:i.UUID_PARTOGRAPHY_ENCOUNTER,drugsFluidsEncounterUuid:"39da3525-afe4-45ff-8977-c53b7b359158",contractionStrongConceptUuid:i.UUID_CONTRACTION_STRONG_FALLBACK},graphTypeDisplayNames:{"fetal-heart-rate":"Fetal Heart Rate","cervical-dilation":"Cervical Dilation","descent-of-head":"Descent of Head","uterine-contractions":"Uterine Contractions","maternal-pulse":"Maternal Pulse","blood-pressure":"Blood Pressure",temperature:"Temperature","urine-analysis":"Urine Analysis","drugs-fluids":"Drugs & Fluids","progress-events":"Progress & Events"},amnioticFluidMap:{"Membrane intact":i.UUID_BABY_AMNIOTIC_INTACT,"Clear liquor":i.UUID_BABY_AMNIOTIC_CLEAR,"Meconium Stained":i.UUID_BABY_AMNIOTIC_MECONIUM,Absent:i.AMNIOTIC_ABSENT_CONCEPT,"Blood Stained":i.UUID_BABY_AMNIOTIC_BLOOD},mouldingMap:{0:i.UUID_CONTRACTION_NONE,"+":i.UUID_URINE_ONE_PLUS,"++":i.UUID_URINE_TWO_PLUS,"+++":i.UUID_URINE_THREE_PLUS},testData:{testGraphTypes:["fetal-heart-rate","cervical-dilation","maternal-pulse","temperature","blood-pressure"],sampleDataPoints:[{value:120,time:"10:00"},{value:125,time:"11:00"},{value:130,time:"12:00"},{value:128,time:"13:00"}],valueIncrement:10,bloodPressureDecrement:40},descentOfHeadUuidToValue:{[i.STATION_0_CONCEPT]:0,[i.STATION_1_CONCEPT]:1,[i.STATION_2_CONCEPT]:2,[i.STATION_3_CONCEPT]:3,[i.STATION_4_CONCEPT]:4,[i.STATION_5_CONCEPT]:5}},o={patientCardElements:{_description:"Configuration of various patient card elements. Each configured element must have a unique id, defined in the ward React component being used.",obs:{_type:a.Type.Array,_description:"Configures obs values to display.",_default:[],_elements:{id:{_type:a.Type.String,_description:"The unique identifier for this patient card element"},conceptUuid:{_type:a.Type.UUID,_description:"Identifies the concept to use to identify the desired observations."},label:{_type:a.Type.String,_description:"Optional. The custom label or i18n key to the translated label to display. If not provided, defaults to the concept's name. (Note that this can be set to an empty string to not show a label)",_default:null},orderBy:{_type:a.Type.String,_description:"One of 'ascending' or 'descending', specifying whether to display the obs by obsDatetime ascendingly or descendingly.",_default:"descending",_validators:[a.validators.oneOf(["ascending","descending"])]},limit:{_type:a.Type.Number,_description:"If set to a number greater than one, this will show multiple obs for this concept, which will appear as a list. Set to 0 for unlimited.",_default:1},onlyWithinCurrentVisit:{_type:a.Type.Boolean,_description:"Optional. If true, limits display to only observations within current visit. Defaults to false",_default:!1}}},pendingItems:{_type:a.Type.Array,_description:"Configures pending orders and transfers to display.",_default:[{id:"pending-items",orders:{orderTypes:[{label:"Labs",uuid:"52a447d3-a64a-11e3-9aeb-50e549534c5e"}]},showPendingItems:!0}],_elements:{id:{_type:a.Type.String,_description:"The unique identifier for this patient card element"},orders:{orderTypes:{_type:a.Type.Array,_description:"Configures pending orders and transfers to display.",_elements:{uuid:{_type:a.Type.UUID,_description:"Identifies the order type."},label:{_type:a.Type.String,_description:"The label or i18n key to the translated label to display. If not provided, defaults to 'Orders'",_default:null}}}},showPendingItems:{_type:a.Type.Boolean,_description:"Optional. If true, pending items (e.g., number of pending orders) will be displayed on the patient card."}}},patientIdentifier:{_type:a.Type.Array,_description:"Configures patient identifier to display. An unconfigured element displays the preferred identifier.",_default:[{id:"patient-identifier",showIdentifierLabel:!1}],_elements:{id:{_type:a.Type.String,_description:"The unique identifier for this patient card element"},showIdentifierLabel:{_type:a.Type.Boolean,_description:'If true, the identifier type (eg: "OpenMRS ID") is shown along with the identifier itself. Defaults to false'}}},patientAddress:{_type:a.Type.Array,_description:"Configures patient address elements.",_default:[{id:"patient-address",fields:["cityVillage","country"]}],_elements:{fields:{id:{_type:a.Type.String,_description:"The unique identifier for this patient card element"},fields:{_type:a.Type.Array,_description:"The fields of the address to display",_elements:{_type:a.Type.String,_validators:[a.validators.oneOf(["cityVillage","stateProvince","country","postalCode","countyDistrict","latitude","longitude","address1","address2","address3","address4","address5","address6","address7","address8","address9","address10","address11","address12","address13","address14","address15"])]}}}}},admissionRequestNote:{_type:a.Type.Array,_description:"Configures admission request notes to display.",_default:[{id:"admission-request-note",conceptUuid:"161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],_elements:{fields:{id:{_type:a.Type.String,_description:"The unique identifier for this patient card element"},conceptUuid:{_type:a.Type.UUID,_description:"Required. Identifies the concept for the admission request note."}}},coloredObsTags:{_type:a.Type.Array,_description:"Configures observation values to display as Carbon tags.",_elements:{conceptUuid:{_type:a.Type.UUID,_description:"Required. Identifies the concept to use to identify the desired observations.",_default:"1284AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},summaryLabel:{_type:a.Type.String,_description:"Optional. The custom label or i18n key to the translated label to display for the summary tag. The summary tag shows the count of the number of answers that are present but not configured to show as their own tags. If not provided, defaults to the name of the concept.",_default:null},summaryLabelI18nModule:{_type:a.Type.String,_description:"Optional. The custom module to use for translation of the summary label",_default:null},summaryLabelColor:{_type:a.Type.String,_description:"The color of the summary tag. See https://react.carbondesignsystem.com/?path=/docs/components-tag--overview for a list of supported colors",_default:null},tags:{_type:a.Type.Array,_description:"An array specifying concept sets and color. Observations with coded values that are members of the specified concept sets will be displayed as their own tags with the specified color. Any observation with coded values not belonging to any concept sets specified will be summarized as a count in the summary tag. If a concept set is listed multiple times, the first matching applied-to rule takes precedence.",_default:[],_elements:{color:{_type:a.Type.String,_description:"Color of the tag. See https://react.carbondesignsystem.com/?path=/docs/components-tag--overview for a list of supported colors."},appliedToConceptSets:{_type:a.Type.Array,_description:"The concept sets which the color applies to. Observations with coded values that are members of the specified concept sets will be displayed as their own tag with the specified color. If an observation's coded value belongs to multiple concept sets, the first matching applied-to rule takes precedence.",_elements:{_type:a.Type.UUID}}}}}}}},wards:{_description:"Configuration of what type of ward to use at different ward locations.",_type:a.Type.Array,_default:[{id:"default-ward"}],_elements:{id:{_type:a.Type.String,_description:'The ward type to use. Currently, "default-ward" and "maternal-ward" are supported. This string also serves as the extension slot name for the ward view.'},appliedTo:{_type:a.Type.Array,_description:"Optional. Conditions under which this card definition should be used. If not provided, the configuration is applied to all wards.",_elements:{location:{_type:a.Type.UUID,_description:"The UUID of the location. If not provided, applies to all wards.",_default:null}}}}},hideWorkspaceVitalsLinks:{_description:"Configure whether to hide vital history and record vital links in the ward patient workspace.",_type:a.Type.Boolean,_default:!1},ipdDischargeEncounterTypeUuid:{_description:"IPD Discharge encounter type",_type:a.Type.String,_default:"7e618d13-ffdb-4650-9a97-10ccd16ca36d"},transferRequestEncounterTypeUuid:{_description:"Tranfer request encounter type",_type:a.Type.String,_default:"b2c4d5e6-7f8a-4e9b-8c1d-2e3f8e4a3b8f"},referralsConceptUuid:{_description:"Referrals concept uuid",_type:a.Type.String,_default:"1695AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},referringToAnotherFacilityConceptUuid:{_description:"Referring to another facility concept uuid",_type:a.Type.String,_default:"164165AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},inpatientDischargeFormUuid:{_description:"IPD Discharge form uuid",_type:a.Type.String,_default:"98a781d2-b777-4756-b4c9-c9b0deb3483c"},admissionRequestFormUuid:{_description:"Admission request form uuid",_type:a.Type.String,_default:"0bae7646-b079-4cbb-8130-b24274fc16f7"},admissionFormUuid:{_description:"Admission form uuid",_type:a.Type.String,_default:"49f3686d-b83c-4263-a5a1-89040f643a78"},cifFormUuid:{_description:"Case Identification finding form uuid",_type:a.Type.String,_default:"49f3686d-b83c-4263-a5a1-89040f643a78"},conceptUuidForWardAdmission:{_description:"Concept UUID for ward admission",_type:a.Type.Object,_default:{paymentMethod:"ffd8e033-a286-42b4-89d5-c6d6506d3161",mpesaPaymentMethod:"9b24f997-6582-46b5-8f58-924b0e39ad9a",cashPaymentMethod:"fc894152-07be-4e77-9dac-2a164e400a13",insurancePaymentMethod:"159356AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",otherInsuaranceType:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",insuranceOtherSpecify:"162169AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",primaryDoctor:"2b537713-298c-4b60-83c3-8006ea622d70",primaryDoctorPhoneNumber:"159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",emmergencyDoctor:"1473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",dischargingDoctor:"1473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",emmergencyDoctorPhoneNumber:"163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",admissionDateTime:"1640AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",chiefComplaint:"5219AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",complaint:"160531AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",physicalExamination:"162737AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",dischargeInstruction:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",drugReaction:"162747AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",reactingDrug:"1193AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},diagnosisConceptSourceUud:{_type:a.Type.UUID,_description:"Diagnosis concept source",_default:"39ADDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD"},insuaranceTypes:{_description:"Insuarance Types",_type:a.Type.Array,_elements:{concept:{_type:a.Type.UUID,_description:"Concept Uuid"},label:{_type:a.Type.String,_description:"Display string"}},_default:[{concept:"1a7fb8b5-6093-486d-baa2-65f8b4388544",label:"SHA"},{concept:"1917AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Policy Holder"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"OTHER"}]},inpatientAdmissionEncounterProviderRole:{_type:a.Type.UUID,_description:"Encounter provider role",_default:"'a0b03050-c99b-11e0-9572-0800200c9a66'"},mortuaryAdmissionLoctionTagUuid:{_description:"Mortuary admission location tag uuid",_type:a.Type.String,_default:"1dbbfe22-d21f-499c-bf33-cc9f75b6c7e8"},dailyBedFeeBillableService:{_description:"Daily Bed Fee bILLABLE SERVICE uuid",_type:a.Type.UUID,_default:"0a5a23e3-c953-428c-92e3-3b99f8a822f0"},cashPointUuid:{_type:a.Type.String,_description:"Cash point uuid used when raising a ward bill",_default:"54065383-b4d4-42d2-af4d-d250a1fd2590"},cashierUuid:{_type:a.Type.String,_description:"Cashier uuid used when raising a ward bill",_default:"54065383-b4d4-42d2-af4d-d250a1fd2590"},wardBillingCurrencyLocaleMap:{_type:a.Type.Object,_description:"Optional mapping of locale (e.g. en-KE) to ISO currency code (e.g. KES) for ward billing displays.",_default:{en:"KES",sw:"KES","en-KE":"KES","sw-KE":"KES"}},drugOrderEncounterType:{_description:"Drug Order encounter type Uuid",_type:a.Type.UUID,_default:"7df67b83-1b84-4fe2-b1b7-794b4e9bfcc3"},clinicalConsultationEncounterType:{_description:"Clinical consultation encounter type Uuid",_type:a.Type.UUID,_default:"465a92f2-baf8-42e9-9612-53064be868e8"},doctorsNoteEncounterType:{_description:"Doctors note encounter type Uuid",_type:a.Type.UUID,_default:"14b36860-5033-4765-b91b-ace856ab64c2"},inPatientForms:{_type:a.Type.Array,_description:"List of forms that can be filled out for in-patients",_default:[{label:"Cardex Nursing Plan",uuid:"1f81d5e2-3569-40cf-bbb9-361a53ba409b",tags:[]},{label:"IPD Procedure Form",uuid:"2b9c2b94-0b03-416a-b312-eef49b42f72c",tags:[]},{label:"Newborn Unit Admission ",uuid:"5b0a08f5-87c1-40cc-8c09-09c33b44523d",hideExpression:"ageInDays < 28",tags:[]},{uuid:"87379b0a-738b-4799-9736-cdac614cee2a",label:"Inpatient Review Notes",tags:[]},{uuid:"dbc4ff03-3eee-49f0-86a8-7cfd33dc2460",label:"Admission Notes",dependancies:["87379b0a-738b-4799-9736-cdac614cee2a"],tags:[]},{uuid:"a14824ca-29af-4d37-b9da-6bdee39f8808",label:"Pre-Operation Checklist",tags:[]},{uuid:"b4bfa7a3-f6ed-4339-a4ec-b076463c0696",label:"Fluid Intake",tags:[]},{uuid:"3efe6966-a011-4d24-aa43-d3051bfbb8e3",label:"Initial Nursing Cardex",tags:[]},{uuid:"57b8bb54-321f-4b94-bba5-58850527bfd6",label:"Maternity inpatient form",tags:[{uuid:"dab3c2bb-0b0b-4ebd-8f99-3ad44996d311",tag:"Antenantal Ward"}]},{uuid:"98a781d2-b777-4756-b4c9-c9b0deb3483c",label:"Inpatient Discharge form",tags:[{uuid:"dab3c2bb-0b0b-4ebd-8f99-3ad44996d311",tag:"Antenantal Ward"},{uuid:"7680b7ee-6880-450c-8b7e-2a748b6f9dc7",tag:"Labour & Delivery Ward"},{uuid:"473001b4-5a6e-4e2e-b39c-f54edea89c6f",tag:"Postnatal Ward"}]},{uuid:"496c7cc3-0eea-4e84-a04c-2292949e2f7f",label:"Delivery form",tags:[{uuid:"7680b7ee-6880-450c-8b7e-2a748b6f9dc7",tag:"Labour & Delivery Ward"}]},{uuid:"07dc609f-e607-43d6-9dc3-8bd405c4226a",label:"Post Delivery form",tags:[{uuid:"473001b4-5a6e-4e2e-b39c-f54edea89c6f",tag:"Postnatal Ward"}]},{uuid:"2061790f-815e-43a9-8a1e-dae9e4956c2a",label:"Surgical Safety Checklist (Sign In)",tags:[]},{uuid:"982af61b-fd51-474c-85d2-0459b7e3640b",label:"Surgical Safety Checklist (Sign Out)",tags:[]},{uuid:"923411a3-4aae-4242-ba85-bb5b5176e6b1",label:"Surgical Safety Checklist (Time Out)",tags:[]},{uuid:"77a06fb9-0035-474e-8b2b-c247ac75d2e7",label:"Preoperative Questionnaire",tags:[]},{uuid:"b8368c5e-7b3b-419e-bd33-bb05cdf34952",label:"Doctor's Follow up Note",tags:[]},{uuid:"e8054795-3df5-435d-9ae3-6ae3a6a1857f",label:"Pre- Anaesthesia Checklist",tags:[]},{uuid:"56b3ca43-2687-49d4-a03e-1b4329fe0f63",label:"Nursing Care Plan",tags:[]}]},inPatientVisitTypeUuid:{_type:a.Type.String,_description:"The visit type uuid for in-patient",_default:"a73e2ac6-263b-47fc-99fc-e0f2c09fc914"},postProcedureEncounterTypeUuid:{_description:"Post Procedure encounter type Uuid",_type:a.Type.UUID,_default:"13beea61-7d3d-4860-abe3-d5b874f736fb"},postProcedureConceptUuids:{_description:"Concept UUIDs for the Post Procedure form",_type:a.Type.Object,_default:{surgeryDateTime:"160715AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",operativeProcedure:"166635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",procedurePerformed:"1651AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",anaesthesiaType:"164254AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",patientPosition:"159633AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",incisionLocation:"163049AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",incisionType:"b9879725-26f6-4aa4-8777-bc7f75d388c1",closureMethod:"166629AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",findings:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",histologySpecimen:"161934AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",specimenType:"163761AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",procedureNotes:"160716AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},paymentMethods:{_type:a.Type.Array,_description:"List of payment methods used when printing gatepass",_default:["Cash [ ]","Cheque [ ]","SHA [ ]","Scheme [ ]","M.R.M [ ]"]},nursingCardex:{_type:a.Type.Object,_description:"Nursing Cardex form concept UUIDs, form field paths and encounter role.",_default:{encounterRoleUuid:"a0b03050-c99b-11e0-9572-0800200c9a66",concepts:{nursingNotes:"164231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",actionTaken:"1282AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",yes:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",no:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",medicationGivenGroup:"159369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fluidsGivenGroup:"161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",nameField:"164231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",timeField:"9c4c7722-ba3e-4bdf-ab97-c04170100037",encounterType:"b6569074-3b8c-43ba-bd4a-98c445405035",formUuid:"1f81d5e2-3569-40cf-bbb9-361a53ba409b"},formFieldPaths:{nursingNotes:"nursingNotes~9",actionTaken:"actionTaKen~10",medicationName:"medicatIonName~11",medicationMeta:"medicatIonMeta~11m",medicationTime:"TtakEn~12",medicationGroup:"medsRepeat~13",actionTakenFluids:"actionTaKenIVfluids~14",fluidName:"flUidName~15",fluidMeta:"flUidMeta~15m",fluidTime:"fluiDsTtakEn~16",fluidGroup:"fluiDsRepeat~17"}}},inpatientLocationTags:{_description:"Location tag UUIDs used to show partograph and labour care guide (maternity and labour ward only).",_default:{maternityWard:"b95dd376-fa35-40a6-b140-d144c5f22f62",labourWard:"7680b7ee-6880-450c-8b7e-2a748b6f9dc7",isolationWard:"cc5cb426-5433-4e9a-ad22-456e6b627b05",icuWard:"770f6a93-8e59-48ad-ba7d-98d5652db240",hduWard:"25439b2d-6495-4f5d-9ec6-4fe64686cf46",nicuWard:"17558b82-7275-409c-9f77-0d934ae881cf",picuWard:"d9aaa6fa-8594-416c-b5da-e50fd3a180b2",pediatricWard:"0db2eb63-f0ac-4f22-8d65-766a4828c9ba"}},bypassPartographAdmissionChecks:{_type:a.Type.Boolean,_description:"Demo flag. When true, skip admission and labour-ward tag checks and show partograph for female patients. Set to false for production.",_default:!0},treatmentChartCardexEncounterTypeUuid:{_description:"Encounter type uuid for the cardex section of the treatment sheet",_type:a.Type.UUID,_default:"b6569074-3b8c-43ba-bd4a-98c445405035"},treatmentChartCardexFormUuid:{_description:"Form uuid for the cardex section of the treatment sheet",_type:a.Type.UUID,_default:"1f81d5e2-3569-40cf-bbb9-361a53ba409b"},treatmentChartMedicationGroupUuid:{_description:"Concept uuid for the medication group in the cardex section of the treatment sheet",_type:a.Type.UUID,_default:"159369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},treatmentChartFluidGroupUuid:{_description:"Concept uuid for the fluids group in the cardex section of the treatment sheet",_type:a.Type.UUID,_default:"161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},treatmentChartNameConceptUuid:{_description:"Concept uuid for the name field in the cardex section of the treatment sheet",_type:a.Type.UUID,_default:"164231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},treatmentChartTimeConceptUuid:{_description:"Concept uuid for the time field in the cardex section of the treatment sheet",_type:a.Type.UUID,_default:"9c4c7722-ba3e-4bdf-ab97-c04170100037"},partography:{_type:a.Type.Object,_description:"Labour care guide partography module configuration",_default:n},lcgSessionCorrectionPrivilege:{_type:a.Type.String,_description:"OpenMRS privilege required to open the LCG wrong-patient correction wizard",_default:"Correct LCG Wrong Patient"},nationIdIdentifierTypeUuid:{_type:a.Type.UUID,_description:"Identifier type uuid for the national ID",_default:"49af6cdc-7968-4abb-bf46-de10d7f4859f"},crIdentifierTypeUuid:{_type:a.Type.UUID,_description:"Identifier type uuid for the SHIF ID",_default:"24aedd37-b5be-4e08-8311-3721b8d5100d"},showCrIdentifierOnSummary:{_type:a.Type.Boolean,_description:"Whether to show the CR ID on the patient summary",_default:!0},openmrsIdentifierSourceUuid:{_type:a.Type.String,_description:"OpenMRS Identifier Source UUID (Identifier Generator for OpenMRS ID)",_default:"fb034aac-2353-4940-abe2-7bc94e7c1e71"},openmrsIDUuid:{_type:a.Type.String,_description:"OpenMRS Identifier UUID",_default:"dfacd928-0370-4315-99d7-6ec1c9f7ae76"},contactPersonAttributesUuid:{_type:a.Type.Object,_description:"Contact created patient attributes UUID",_default:{telephone:"b2c38640-2603-4629-aebd-3b54f33f1e3a",contactCreated:"7c94bd35-fba7-4ef7-96f5-29c89a318fcf",contactTypeAttributeType:"4608a605-60f0-44cf-a6eb-7bc537e41925",healthCareWorkerFacilityAttributetype:"3a5c6d85-e460-4ca4-a3fd-8ac62653a13f",headOfHouseholdAttributeType:"e4230abb-57f5-43d1-9190-fa248c5b2437"}},contactTypesConceptUuids:{_type:a.Type.Object,_description:"Uuids of Contacts types to case for ebola",_default:{hadDirectPhysicalContactWithCase:"162632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",sleptOrAteAtTheSameHouseHoldAsCase:"159818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",touchedBodyFluidsOfCase:"dcf31ffa-36a1-4673-9a04-34a62e94edc4",touchedOrCleanedLinensOrDishesOfCase:"161917AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},contactTracingFormUuid:{_type:a.Type.UUID,_description:"Contact tracing form Uuid",_default:"15ed03d2-c972-11e9-a32f-2a2ae2dbcce4"},contactTracingConceptsUuids:{_type:a.Type.Object,_description:"Concept Uuids for hts contact tracing",_default:{modeOfClienttracingConceptUuid:"a55f9516-ddb6-47ec-b10d-cb99d1d0bd41",reasonNotContactedConceptUuid:"1779AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",tracingStatusConceptUuid:"159811AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",remarksConceptUuid:"163042AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},htsEcounterUuid:{_type:a.Type.UUID,_description:"HTS Encounter uuid used in contact tracing",_default:"9c0a7a57-62ff-4f75-babe-5835b0e921b7"}}},95132(A,e,t){"use strict";t.d(e,{A:()=>a});let a="@kenyaemr/esm-ward-app"},80169(A,e,t){"use strict";t.r(e),t.d(e,{patientTransferAndSwapWorkspaceSiderailIcon:()=>S,root:()=>I,patientDischargeDocumentPreview:()=>z,addContactFormWorkspace:()=>u,nursingCardexPlanWorkspace:()=>At,patientDischargeWorkspace:()=>g,clinicalFormWorkspaceSideRailIcon:()=>k,wardPatientNotesActionButtonExtension:()=>D,wardPatientsUnassignedTable:()=>x,labourCareGuide:()=>Ai,inPatientDetailView:()=>Ae,inPatientAdmissionRequest:()=>AA,contactListing:()=>E,wardPatientsAdmittedTable:()=>q,globalCdsAlertBanner:()=>Ao,inPatientPartographView:()=>Ar,defaultWardView:()=>H,patientBedSwapForm:()=>B,patientClinicalFormsWorkspace:()=>w,importTranslation:()=>f,maternityInpatientFormWorkspace:()=>An,patientDischargeWorkspaceSideRailIcon:()=>M,wardPatientsDischargeInTable:()=>K,wardSwitchModal:()=>Z,wardView:()=>N,admissionRequestWorkspace:()=>y,inPatientChartLink:()=>$,createAdmissionEncounterWorkspaceSideRailIcon:()=>V,wardPatientWorkspaceBanner:()=>Q,inPatientTreatmentChart:()=>Aa,caseFollowUp:()=>C,maternalWardView:()=>W,createWardBillWorkspace:()=>Ac,admitPatientFormWorkspace:()=>U,admissionRequestsWorkspaceSideRailIcon:()=>G,inPatientChartDashboard:()=>J,startupApp:()=>Ad,wardPatientNotesWorkspace:()=>P,patientAdmitOrTransferRequestForm:()=>v,patientTransferAndSwapWorkspace:()=>R,wardPatientWorkspace:()=>m,wardPatientsAwaitingAdmissionTable:()=>j,createAdmissionEncounterWorkspace:()=>Y,patientTransferRequestWorkspace:()=>L,wardPatientActionButtonExtension:()=>h,wardPatientsDischargedTable:()=>X,caseIdentificationFinding:()=>p,wardDashboardLink:()=>b,cancelAdmissionRequestWorkspace:()=>F});var a=t(80357),i=t(77488),n=t(95132),o=t(38602),r=t.n(o),d=t(61907),c=t(75614),s=t(14441);function _({dashboardLinkConfig:A}){var e;let{name:t,title:i,icon:n}=A,{t:l}=(0,c.useTranslation)(),T=(0,d.useLocation)(),p=window.getOpenmrsSpaBase()+"home",E=(0,o.useMemo)(()=>decodeURIComponent((0,s.A)(T.pathname.split("/"))),[T.pathname]);return e=E,/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(e)&&(E=T.pathname.split("/").at(-1)),r().createElement(a.ConfigurableLink,{className:`cds--side-nav__link ${t===E&&"active-left-nav-link"}`,to:p+"/"+t},r().createElement("span",{className:"-esm-ward__create-dashboard__menu___57tGE"},r().createElement(a.MaybeIcon,{icon:n,className:"-esm-ward__create-dashboard__icon___uvnSQ",size:16}),r().createElement("span",null,l(i))))}let l=A=>()=>r().createElement(d.BrowserRouter,null,r().createElement(_,{dashboardLinkConfig:A})),T={featureName:"ward",moduleName:n.A},p=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("9116")]).then(t.bind(t,8360)),T),E=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("9011"),t.e("4304"),t.e("3824"),t.e("3549"),t.e("4321"),t.e("347")]).then(t.bind(t,89865)),T),C=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("6326")]).then(t.bind(t,42190)),T),u=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("4321"),t.e("9976")]).then(t.bind(t,66716)),T),f=t(84767),O={featureName:"ward",moduleName:n.A},I=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("5576"),t.e("3549"),t.e("4321"),t.e("6358"),t.e("2326")]).then(t.bind(t,43615)),O),b=(0,a.getSyncLifecycle)(l({name:"ward",title:"admissions",icon:""}),O),N=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("3549"),t.e("2101")]).then(t.bind(t,78804)),O),y=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("3549"),t.e("4266")]).then(t.bind(t,99265)),O),U=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("4321"),t.e("5493")]).then(t.bind(t,75956)),O),m=(0,a.getAsyncLifecycle)(()=>t.e("9080").then(t.bind(t,56811)),O),P=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("5460")]).then(t.bind(t,3807)),O),h=(0,a.getAsyncLifecycle)(()=>t.e("5650").then(t.bind(t,69705)),O),D=(0,a.getAsyncLifecycle)(()=>t.e("7683").then(t.bind(t,43822)),O),R=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("5862")]).then(t.bind(t,66997)),O),g=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4321"),t.e("636")]).then(t.bind(t,7447)),O),S=(0,a.getAsyncLifecycle)(()=>t.e("502").then(t.bind(t,27653)),O),L=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("2764"),t.e("1613")]).then(t.bind(t,53313)),O),M=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("8990"),t.e("9427")]).then(t.bind(t,84078)),O),w=(0,a.getAsyncLifecycle)(()=>t.e("5060").then(t.bind(t,42239)),O),v=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("2764"),t.e("9309")]).then(t.bind(t,27895)),O),B=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("4847")]).then(t.bind(t,85554)),O),F=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("3276")]).then(t.bind(t,34807)),O),k=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("9011"),t.e("4777")]).then(t.bind(t,64109)),O),G=(0,a.getAsyncLifecycle)(()=>t.e("9143").then(t.bind(t,63354)),O),V=(0,a.getAsyncLifecycle)(()=>t.e("6126").then(t.bind(t,68829)),O),Y=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3549"),t.e("4321"),t.e("7891")]).then(t.bind(t,32222)),O),H=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("2007"),t.e("297"),t.e("9049"),t.e("3549"),t.e("4321"),t.e("1033"),t.e("6358"),t.e("2446")]).then(t.bind(t,81247)),O),W=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("2007"),t.e("297"),t.e("3549"),t.e("4321"),t.e("1033"),t.e("5050")]).then(t.bind(t,26476)),O),j=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("7849"),t.e("2724")]).then(t.bind(t,7561)),O),q=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("7849"),t.e("9124")]).then(t.bind(t,42057)),O),x=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("7849"),t.e("8302")]).then(t.bind(t,67745)),O),K=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("7849"),t.e("6380")]).then(t.bind(t,89025)),O),X=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3549"),t.e("4321"),t.e("7849"),t.e("5591")]).then(t.bind(t,45359)),O),Q=(0,a.getAsyncLifecycle)(()=>t.e("6703").then(t.bind(t,21378)),O),z=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4321"),t.e("4883")]).then(t.bind(t,35422)),O),Z=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3549"),t.e("4321"),t.e("6079")]).then(t.bind(t,45138)),O),$=(0,a.getSyncLifecycle)(l({slot:"patient-chart-in-patient-dashboard-slot",path:"in-patient",title:"In Patient",moduleName:"@kenyaemr/esm-bed-management-app",name:"In Patient",columns:1,config:{},icon:"omrs-icon-hospital-bed",icon:"omrs-icon-activity"}),O),J=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4321"),t.e("5181")]).then(t.bind(t,86092)),O),AA=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("1992")]).then(t.bind(t,6332)),O),Ae=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("7240")]).then(t.bind(t,92)),O),At=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4145"),t.e("2304"),t.e("5976"),t.e("4321"),t.e("3877"),t.e("9926")]).then(t.bind(t,77637)),O),Aa=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("5976"),t.e("3549"),t.e("4321"),t.e("3877"),t.e("8923")]).then(t.bind(t,78137)),O),Ai=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4145"),t.e("4321"),t.e("4892")]).then(t.bind(t,22583)),O),An=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("7984")]).then(t.bind(t,73891)),O),Ao=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("4162")]).then(t.bind(t,66505)),O),Ar=(0,a.getAsyncLifecycle)(()=>t.e("1364").then(t.bind(t,29647)),O);function Ad(){(0,a.registerBreadcrumbs)([]),(0,a.defineConfigSchema)(n.A,i.Qn),(0,a.registerFeatureFlag)("bedmanagement-module","Bed management module","Enables features related to bed management / assignment. Requires the backend bed management module to be installed.")}let Ac=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("4321"),t.e("9456")]).then(t.bind(t,29635)),O)},14441(A,e,t){"use strict";t.d(e,{A:()=>a});let a=function(A){var e=null==A?0:A.length;return e?A[e-1]:void 0}}}]);
1
+ (globalThis.webpackChunk_kenyaemr_esm_ward_app=globalThis.webpackChunk_kenyaemr_esm_ward_app||[]).push([["6482"],{84767(A,e,t){var a={"./uk.json":["60723","9072"],"./ar.json":["14132","7045"],"./ru_RU.json":["60986","8359"],"./uz_UZ.json":["70890","7175"],"./fr.json":["94055","6508"],"./sw_KE.json":["88618","903"],"./uz.json":["43584","6377"],"./en.json":["34300","5117"],"./ky.json":["88163","2416"],"./pl.json":["41119","6724"],"./ka.json":["70795","1480"],"./si.json":["56859","6904"],"./de.json":["34944","5145"],"./lg.json":["64618","8695"],"./vi.json":["79214","6371"],"./tr.json":["55241","434"],"./es_MX.json":["88349","1646"],"./tr_TR.json":["99900","1869"],"./zh_CN.json":["99879","5644"],"./en_US.json":["59569","4106"],"./he.json":["84652","2317"],"./id.json":["72690","6047"],"./ku.json":["9895","4348"],"./es.json":["93099","7912"],"./ne.json":["12146","5503"],"./ar_SY.json":["37617","282"],"./uz@Latn.json":["27097","4658"],"./bn.json":["77159","6444"],"./zh.json":["35661","7742"],"./hi_IN.json":["55442","4383"],"./pt_BR.json":["36468","1877"],"./qu.json":["35173","8358"],"./ro_RO.json":["46022","3963"],"./sw.json":["89913","3378"],"./am.json":["81197","9806"],"./pt.json":["96679","5132"],"./it.json":["9538","4111"],"./km.json":["54335","5940"],"./hi.json":["36840","2881"]};function i(A){if(!t.o(a,A))return Promise.resolve().then(function(){var e=Error("Cannot find module '"+A+"'");throw e.code="MODULE_NOT_FOUND",e});var e=a[A],i=e[0];return t.e(e[1]).then(function(){return t(i)})}i.keys=()=>Object.keys(a),i.id=84767,A.exports=i},77488(A,e,t){"use strict";t.d(e,{Qn:()=>o,Tt:()=>i,sZ:()=>n});var a=t(80357);let i={UUID_SHARED_DECISION_ASSESSMENT:"162164AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SHARED_DECISION_PLAN:"166021AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SHARED_DECISION_ACTION:"160433AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SHARED_DECISION_CONTINUE_MONITORING:"159835AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SHARED_DECISION_TRANSFER_TO_CS:"159739AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SHARED_DECISION_REFERRAL:"0dcc1312-e83e-4317-97c3-4b127b599744",UUID_SHARED_DECISION_TWIN_ONE_BIRTH:"d9ad3cc2-5800-4cd0-ab51-fa3306295617",UUID_SHARED_DECISION_BIRTH:"fb50f3e1-0971-4f82-9774-41ff57e38043",UUID_CONTRACTION_NONE:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_CONTRACTION_MILD:"1498AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_CONTRACTION_MODERATE:"1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_CONTRACTION_STRONG:"166788AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_CONTRACTION_STRONG_FALLBACK:"4b90b73a-ad11-4650-91b0-baea131974e0",UUID_URINE_NEGATIVE:"1874AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_URINE_ONE_PLUS:"1362AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_URINE_TWO_PLUS:"1363AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_URINE_THREE_PLUS:"1364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_URINE_NOT_DONE:"1118AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_URINE_TEST_TIME_SLOT:"bb3724c9-fbcc-49c5-9702-6cde0be325ca",UUID_PARTOGRAPHY_ENCOUNTER:"022d62af-e2a5-4282-953b-52dd5cba3296",UUID_MEDICATION_OXYTOCIN_ADMINISTERED:"82580974-ff46-41c5-b218-4bea7f53bf7e",UUID_MEDICATION_OXYTOCIN_DOSE:"166530AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_MEDICATION_MEDICATION:"1282AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_MEDICATION_NAME:"c3082af8-f935-40c5-aa5b-74c684e81aea",UUID_YES:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_NO:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SUPPORTIVE_CARE_COMPANION:"8a5757a7-b607-4948-b8a8-587b1f44366a",UUID_SUPPORTIVE_CARE_PAIN_RELIEF:"a563b9bd-eb1d-4a0e-8271-f3ee00da6d25",UUID_SUPPORTIVE_CARE_ORAL:"217c3dcb-d13e-48d6-89b9-f2c588d50a3c",UUID_SUPPORTIVE_CARE_POSTURE:"dc94a788-de10-417d-aac8-0aed5ba3b806",UUID_SUPPORTIVE_CARE_DECLINED:"167156AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SUPPORTIVE_CARE_SUPINE:"159629AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SUPPORTIVE_CARE_MOBILE:"c05125ad-e297-491f-aa65-d73ecc3245f0",UUID_BABY_BASELINE_FHR:"1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_FHR_DECELERATION:"c608022e-a29c-44c9-a4c8-24b6e3105ae4",UUID_BABY_AMNIOTIC_FLUID:"30ea66be-16d1-44f6-af40-4fe273814454",UUID_BABY_FETAL_POSITION:"78a5cb66-ca95-4965-9c54-0cb6198c9389",UUID_BABY_CAPUT:"4e54e9bf-9a1a-4dfd-a4a1-b727860f1c4a",UUID_BABY_MOULDING:"166527AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_FHR_DECELERATION_LATE:"167151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_FHR_DECELERATION_EARLY:"58f1c745-8873-44ff-9680-2a3bbe172990",UUID_BABY_FHR_DECELERATION_VARIABLE:"155653AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_AMNIOTIC_INTACT:"164899AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_AMNIOTIC_CLEAR:"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_AMNIOTIC_BLOOD:"1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_AMNIOTIC_MECONIUM:"134488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_FETAL_POSITION_ANTERIOR:"164148AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_FETAL_POSITION_POSTERIOR:"541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_BABY_FETAL_POSITION_TRANSVERSE:"124261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_MATERNITY_INPATIENT_ENCOUNTER_TYPE:"6877a5b4-441d-4dff-ada1-fcc2485c33e6",UUID_MATERNITY_INPATIENT_FORM:"57b8bb54-321f-4b94-bba5-58850527bfd6",UUID_PARITY_CONCEPT:"160080AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_MISCARRIAGE_ABORTIONS_CONCEPT:"1823AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_URGE_TO_PUSH:"9ad5b56d-597c-4a40-ade6-387802daa44a",UUID_EMERGENCY_OVERRIDE:"1670AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_EMERGENCY_REASON:"163761AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_SHARED_DECISION_TERMINATE_ONGOING_PROGRESS:"737fa73a-509f-40d8-9e84-91dc71db7f4c",UUID_LCG_TERMINATION_REASON_TYPE:"6098AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_TERMINATION_REASON_WRONG_PATIENT:"164144AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_TERMINATION_REASON_OTHER:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_CORRECTION_ENCOUNTER_TYPE:"b2c4d5e6-7f8a-4e9b-8c1d-2e3f8e4a3b8f",UUID_LCG_CORRECTION_TYPE:"4b3eb27b-43c0-4862-bd83-be06beb3d699",UUID_LCG_CORRECTION_TYPE_WRONG_PATIENT_TRANSFER:"1286AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_CORRECTION_SOURCE_PATIENT_UUID:"162720AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_CORRECTION_SOURCE_TERMINATE_ENCOUNTER_UUID:"1671AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_CORRECTION_TERMINATION_REASON:"162704AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_CORRECTION_SOURCE_PATIENT_DISPLAY:"850a960b-e8b5-4775-ba74-aaddb2abbf51",UUID_LCG_CORRECTION_TERMINATED_AT:"163286AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UUID_LCG_CORRECTION_TRANSFER_NOTES:"1056dc03-ce4d-45cb-a1eb-87707162e6ee",FETAL_HEART_RATE_CONCEPT:"1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",FETAL_HEART_RATE_TIME_CONCEPT:"bb3724c9-fbcc-49c5-9702-6cde0be325ca",FETAL_HEART_RATE_HOUR_CONCEPT:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AMNIOTIC_FLUID_CONCEPT:"162653AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",RUPTURED_MEMBRANES_CONCEPT:"164900AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AMNIOTIC_CLEAR_LIQUOR_CONCEPT:"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AMNIOTIC_MECONIUM_STAINED_CONCEPT:"134488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AMNIOTIC_ABSENT_CONCEPT:"163747AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AMNIOTIC_BLOOD_STAINED_CONCEPT:"1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AMNIOTIC_MEMBRANE_INTACT_CONCEPT:"d1787a76-7310-4223-a645-9fd410d418c1",UTERINE_CONTRACTIONS_CONCEPT:"163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",CONTRACTION_LEVEL_MILD_CONCEPT:"1498AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",CONTRACTION_LEVEL_MODERATE_CONCEPT:"1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",CONTRACTION_LEVEL_STRONG_CONCEPT:"166788AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",UTERINE_CONTRACTION_FREQUENCY_CONCEPT:"d266dee4-bbe8-4736-b94d-c33300f55bca",UTERINE_CONTRACTION_DURATION_CONCEPT:"159368AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",OXYTOCIN_TIME_CONCEPT:"bb3724c9-fbcc-49c5-9702-6cde0be325ca",OXYTOCIN_DROPS_PER_MINUTE_CONCEPT:"1d109b10-7b30-4bfa-8a7c-6ecb73357fc2",OXYTOCIN_DOSE_CONCEPT:"81369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ROUTE_CONCEPT:"8878f9c0-a1ce-47ec-a88f-69ef0f6576ba",FREQUENCY_CONCEPT:"fd9f82fd-f327-4502-ac8e-5d9144dbd504",MEDICATION_CONCEPT:"c3082af8-f935-40c5-aa5b-74c684e81aea",IV_FLUIDS_CONCEPT:"644504bd-23bc-4f1e-b9a0-d44f81f4148e",IV_FLUID_TYPE_CONCEPT:"161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",DOSAGE_CONCEPT:"b71ddb80-2d7f-4bde-a44b-236e62d4c1b6",DRUG_DOSE_CONCEPT:"162384AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MATERNAL_PULSE_CONCEPT:"5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",SYSTOLIC_BP_CONCEPT:"5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",DIASTOLIC_BP_CONCEPT:"5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",PULSE_BP_TIME_CONCEPT:"bb3724c9-fbcc-49c5-9702-6cde0be325ca",PROTEIN_LEVEL_CONCEPT:"1875AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",GLUCOSE_LEVEL_CONCEPT:"887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",KETONE_LEVEL_CONCEPT:"161442AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",URINE_VOLUME_CONCEPT:"159660AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",URINE_CHARACTERISTICS_CONCEPT:"56AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",TIME_RESULTS_RETURNED:"67c3d4c6-465e-4c12-9b7f-d8587ca90603",TIME_SAMPLE_COLLECTED:"c554f157-2e16-4585-af29-c48f5e765ce0",CERVIX_CONCEPT:"162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",DESCENT_OF_HEAD_CONCEPT:"166528AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",STATION_0_CONCEPT:"160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",STATION_1_CONCEPT:"162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",STATION_2_CONCEPT:"166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",STATION_3_CONCEPT:"166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",STATION_4_CONCEPT:"166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",STATION_5_CONCEPT:"163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",DRUG_ORDER_TYPE_UUID:"131168f4-15f5-102d-96e4-000c29c2a5d7",ENCOUNTER_ROLE:"240b26f9-dd88-4172-823d-4a8bfeb7841f",MOULDING_NONE_CONCEPT:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MOULDING_SLIGHT_CONCEPT:"1362AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MOULDING_MODERATE_CONCEPT:"1363AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MOULDING_SEVERE_CONCEPT:"1364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",TEMPERATURE_CONCEPT:"5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",CONTRACTION_COUNT_CONCEPT:"d266dee4-bbe8-4736-b94d-c33300f55bca",MEDICATION_NAME_CONCEPT:"164231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",EVENT_TYPE_CONCEPT:"162879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",EVENT_DESCRIPTION_CONCEPT:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MOULDING_CONCEPT:"166527AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",BLOOD_GROUP_CONCEPT:"300AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",TIME_SLOT_CONCEPT:"163286AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",LABOR_PATTERN_CONCEPT:"164135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",HOURS_SINCE_RUPTURE_CONCEPT:"167149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",DATE_OF_ADMISSION_CONCEPT:"1640AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",GESTATION_WEEKS_CONCEPT:"1789AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ESTIMATED_DELIVERY_DATE_CONCEPT:"5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",LAST_MENSTRUAL_PERIOD_CONCEPT:"1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},n={conceptMappings:{"fetal-heart-rate":[i.FETAL_HEART_RATE_CONCEPT],"blood-pressure":[i.SYSTOLIC_BP_CONCEPT,i.DIASTOLIC_BP_CONCEPT],"maternal-pulse":[i.MATERNAL_PULSE_CONCEPT],temperature:[i.TEMPERATURE_CONCEPT],"cervical-dilation":[i.CERVIX_CONCEPT],"descent-of-head":[i.DESCENT_OF_HEAD_CONCEPT],"uterine-contractions":[i.UTERINE_CONTRACTION_FREQUENCY_CONCEPT],"urine-analysis":[i.PROTEIN_LEVEL_CONCEPT,i.GLUCOSE_LEVEL_CONCEPT,i.KETONE_LEVEL_CONCEPT],"drugs-fluids":[i.UUID_MEDICATION_MEDICATION,i.IV_FLUIDS_CONCEPT,i.IV_FLUID_TYPE_CONCEPT],"progress-events":[i.EVENT_TYPE_CONCEPT,i.EVENT_DESCRIPTION_CONCEPT,i.FETAL_HEART_RATE_CONCEPT,i.CERVIX_CONCEPT,i.UTERINE_CONTRACTIONS_CONCEPT]},conceptUuids:{cervix:i.CERVIX_CONCEPT,"fetal-heart-rate":i.FETAL_HEART_RATE_CONCEPT,"fetal-heart-rate-hour":i.FETAL_HEART_RATE_HOUR_CONCEPT,"fetal-heart-rate-time":i.FETAL_HEART_RATE_TIME_CONCEPT,"cervical-dilation":i.CERVIX_CONCEPT,"descent-of-head":i.DESCENT_OF_HEAD_CONCEPT,"uterine-contractions":i.UTERINE_CONTRACTIONS_CONCEPT,"uterine-contraction-frequency":i.UTERINE_CONTRACTION_FREQUENCY_CONCEPT,"uterine-contraction-duration":i.UTERINE_CONTRACTION_DURATION_CONCEPT,"maternal-pulse":i.MATERNAL_PULSE_CONCEPT,"systolic-bp":i.SYSTOLIC_BP_CONCEPT,"diastolic-bp":i.DIASTOLIC_BP_CONCEPT,temperature:i.TEMPERATURE_CONCEPT,"protein-level":i.PROTEIN_LEVEL_CONCEPT,"glucose-level":i.GLUCOSE_LEVEL_CONCEPT,"ketone-level":i.KETONE_LEVEL_CONCEPT,"urine-volume":i.URINE_VOLUME_CONCEPT,"contraction-count":i.CONTRACTION_COUNT_CONCEPT,"urine-characteristics":i.URINE_CHARACTERISTICS_CONCEPT,medication:i.MEDICATION_CONCEPT,"medication-name":i.MEDICATION_NAME_CONCEPT,"oxytocin-dose":i.OXYTOCIN_DOSE_CONCEPT,"oxytocin-drops-per-minute":i.OXYTOCIN_DROPS_PER_MINUTE_CONCEPT,"oxytocin-time":i.OXYTOCIN_TIME_CONCEPT,"iv-fluids":i.IV_FLUIDS_CONCEPT,"iv-fluid-type":i.IV_FLUID_TYPE_CONCEPT,dosage:i.DOSAGE_CONCEPT,route:i.ROUTE_CONCEPT,frequency:i.FREQUENCY_CONCEPT,"drug-dose":i.DRUG_DOSE_CONCEPT,"event-type":i.EVENT_TYPE_CONCEPT,"event-description":i.EVENT_DESCRIPTION_CONCEPT,"amniotic-fluid":i.AMNIOTIC_FLUID_CONCEPT,"amniotic-clear-liquor":i.AMNIOTIC_CLEAR_LIQUOR_CONCEPT,"amniotic-meconium-stained":i.AMNIOTIC_MECONIUM_STAINED_CONCEPT,"amniotic-absent":i.AMNIOTIC_ABSENT_CONCEPT,"amniotic-blood-stained":i.AMNIOTIC_BLOOD_STAINED_CONCEPT,moulding:i.MOULDING_CONCEPT,"moulding-none":i.MOULDING_NONE_CONCEPT,"moulding-slight":i.MOULDING_SLIGHT_CONCEPT,"moulding-moderate":i.MOULDING_MODERATE_CONCEPT,"moulding-severe":i.MOULDING_SEVERE_CONCEPT,"blood-group":i.BLOOD_GROUP_CONCEPT,"time-slot":i.TIME_SLOT_CONCEPT,"pulse-time-slot":i.PULSE_BP_TIME_CONCEPT,"labor-pattern":i.LABOR_PATTERN_CONCEPT,"hours-since-rupture":i.HOURS_SINCE_RUPTURE_CONCEPT,"ruptured-membranes":i.RUPTURED_MEMBRANES_CONCEPT,"date-of-admission":i.DATE_OF_ADMISSION_CONCEPT,"gestation-weeks":i.GESTATION_WEEKS_CONCEPT,"estimated-delivery-date":i.ESTIMATED_DELIVERY_DATE_CONCEPT,"last-menstrual-period":i.LAST_MENSTRUAL_PERIOD_CONCEPT,"baby-twin-index":"163460AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","station-0":i.STATION_0_CONCEPT,"station-1":i.STATION_1_CONCEPT,"station-2":i.STATION_2_CONCEPT,"station-3":i.STATION_3_CONCEPT,"station-4":i.STATION_4_CONCEPT,"station-5":i.STATION_5_CONCEPT},stationDisplayMapping:{[i.STATION_0_CONCEPT]:"0/5",[i.STATION_1_CONCEPT]:"1/5",[i.STATION_2_CONCEPT]:"2/5",[i.STATION_3_CONCEPT]:"3/5",[i.STATION_4_CONCEPT]:"4/5",[i.STATION_5_CONCEPT]:"5/5"},stationValueMapping:{[i.STATION_0_CONCEPT]:0,[i.STATION_1_CONCEPT]:1,[i.STATION_2_CONCEPT]:2,[i.STATION_3_CONCEPT]:3,[i.STATION_4_CONCEPT]:4,[i.STATION_5_CONCEPT]:5},encounterPatterns:["mch-partograph","partography","fetal-monitoring","maternal-monitoring","obstetric-vitals","labor-monitoring","labour-monitoring"],fallbackEncounterMapping:{"fetal-heart-rate":["mch-mother-consultation","vitals","obstetric","maternal","consultation","clinical"],"cervical-dilation":["mch-mother-consultation","obstetric","maternal","consultation","clinical"],"maternal-pulse":["vitals","maternal","consultation","clinical"],"blood-pressure":["vitals","maternal","consultation","clinical"],temperature:["vitals","consultation","clinical"],"urine-analysis":["vitals","laboratory","consultation","clinical"],"drugs-fluids":["medication","treatment","consultation","clinical"],"progress-events":["obstetric","maternal","consultation","clinical"]},defaultFallbackSequence:["consultation","clinical"],retryFallbackTypes:["vitals","consultation","clinical"],defaultEncounterProviderRole:"a0b03050-c99b-11e0-9572-0800200c9a66",defaultLocationUuid:"1",storage:{maxLocalEntries:100,storageKeyPrefix:"partography_",cacheKeyPrefix:"partography_encounters_"},timeConfig:{defaultEncounterOffset:3e5,retryEncounterOffset:36e5,cacheInvalidationDelay:1e3},progressEventConceptNames:{[i.FETAL_HEART_RATE_CONCEPT]:{name:"Fetal Heart Rate",unit:"BPM"},[i.CERVIX_CONCEPT]:{name:"Cervical Dilation",unit:"cm"},[i.UTERINE_CONTRACTIONS_CONCEPT]:{name:"Uterine Contractions",unit:"per 10min"}},uuids:{timeSlot:"a1b2c3d4-1111-2222-3333-444455556666",mchPartographyEncounterUuid:i.UUID_PARTOGRAPHY_ENCOUNTER,drugsFluidsEncounterUuid:"39da3525-afe4-45ff-8977-c53b7b359158",contractionStrongConceptUuid:i.UUID_CONTRACTION_STRONG_FALLBACK},graphTypeDisplayNames:{"fetal-heart-rate":"Fetal Heart Rate","cervical-dilation":"Cervical Dilation","descent-of-head":"Descent of Head","uterine-contractions":"Uterine Contractions","maternal-pulse":"Maternal Pulse","blood-pressure":"Blood Pressure",temperature:"Temperature","urine-analysis":"Urine Analysis","drugs-fluids":"Drugs & Fluids","progress-events":"Progress & Events"},amnioticFluidMap:{"Membrane intact":i.UUID_BABY_AMNIOTIC_INTACT,"Clear liquor":i.UUID_BABY_AMNIOTIC_CLEAR,"Meconium Stained":i.UUID_BABY_AMNIOTIC_MECONIUM,Absent:i.AMNIOTIC_ABSENT_CONCEPT,"Blood Stained":i.UUID_BABY_AMNIOTIC_BLOOD},mouldingMap:{0:i.UUID_CONTRACTION_NONE,"+":i.UUID_URINE_ONE_PLUS,"++":i.UUID_URINE_TWO_PLUS,"+++":i.UUID_URINE_THREE_PLUS},testData:{testGraphTypes:["fetal-heart-rate","cervical-dilation","maternal-pulse","temperature","blood-pressure"],sampleDataPoints:[{value:120,time:"10:00"},{value:125,time:"11:00"},{value:130,time:"12:00"},{value:128,time:"13:00"}],valueIncrement:10,bloodPressureDecrement:40},descentOfHeadUuidToValue:{[i.STATION_0_CONCEPT]:0,[i.STATION_1_CONCEPT]:1,[i.STATION_2_CONCEPT]:2,[i.STATION_3_CONCEPT]:3,[i.STATION_4_CONCEPT]:4,[i.STATION_5_CONCEPT]:5}},o={patientCardElements:{_description:"Configuration of various patient card elements. Each configured element must have a unique id, defined in the ward React component being used.",obs:{_type:a.Type.Array,_description:"Configures obs values to display.",_default:[],_elements:{id:{_type:a.Type.String,_description:"The unique identifier for this patient card element"},conceptUuid:{_type:a.Type.UUID,_description:"Identifies the concept to use to identify the desired observations."},label:{_type:a.Type.String,_description:"Optional. The custom label or i18n key to the translated label to display. If not provided, defaults to the concept's name. (Note that this can be set to an empty string to not show a label)",_default:null},orderBy:{_type:a.Type.String,_description:"One of 'ascending' or 'descending', specifying whether to display the obs by obsDatetime ascendingly or descendingly.",_default:"descending",_validators:[a.validators.oneOf(["ascending","descending"])]},limit:{_type:a.Type.Number,_description:"If set to a number greater than one, this will show multiple obs for this concept, which will appear as a list. Set to 0 for unlimited.",_default:1},onlyWithinCurrentVisit:{_type:a.Type.Boolean,_description:"Optional. If true, limits display to only observations within current visit. Defaults to false",_default:!1}}},pendingItems:{_type:a.Type.Array,_description:"Configures pending orders and transfers to display.",_default:[{id:"pending-items",orders:{orderTypes:[{label:"Labs",uuid:"52a447d3-a64a-11e3-9aeb-50e549534c5e"}]},showPendingItems:!0}],_elements:{id:{_type:a.Type.String,_description:"The unique identifier for this patient card element"},orders:{orderTypes:{_type:a.Type.Array,_description:"Configures pending orders and transfers to display.",_elements:{uuid:{_type:a.Type.UUID,_description:"Identifies the order type."},label:{_type:a.Type.String,_description:"The label or i18n key to the translated label to display. If not provided, defaults to 'Orders'",_default:null}}}},showPendingItems:{_type:a.Type.Boolean,_description:"Optional. If true, pending items (e.g., number of pending orders) will be displayed on the patient card."}}},patientIdentifier:{_type:a.Type.Array,_description:"Configures patient identifier to display. An unconfigured element displays the preferred identifier.",_default:[{id:"patient-identifier",showIdentifierLabel:!1}],_elements:{id:{_type:a.Type.String,_description:"The unique identifier for this patient card element"},showIdentifierLabel:{_type:a.Type.Boolean,_description:'If true, the identifier type (eg: "OpenMRS ID") is shown along with the identifier itself. Defaults to false'}}},patientAddress:{_type:a.Type.Array,_description:"Configures patient address elements.",_default:[{id:"patient-address",fields:["cityVillage","country"]}],_elements:{fields:{id:{_type:a.Type.String,_description:"The unique identifier for this patient card element"},fields:{_type:a.Type.Array,_description:"The fields of the address to display",_elements:{_type:a.Type.String,_validators:[a.validators.oneOf(["cityVillage","stateProvince","country","postalCode","countyDistrict","latitude","longitude","address1","address2","address3","address4","address5","address6","address7","address8","address9","address10","address11","address12","address13","address14","address15"])]}}}}},admissionRequestNote:{_type:a.Type.Array,_description:"Configures admission request notes to display.",_default:[{id:"admission-request-note",conceptUuid:"161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],_elements:{fields:{id:{_type:a.Type.String,_description:"The unique identifier for this patient card element"},conceptUuid:{_type:a.Type.UUID,_description:"Required. Identifies the concept for the admission request note."}}},coloredObsTags:{_type:a.Type.Array,_description:"Configures observation values to display as Carbon tags.",_elements:{conceptUuid:{_type:a.Type.UUID,_description:"Required. Identifies the concept to use to identify the desired observations.",_default:"1284AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},summaryLabel:{_type:a.Type.String,_description:"Optional. The custom label or i18n key to the translated label to display for the summary tag. The summary tag shows the count of the number of answers that are present but not configured to show as their own tags. If not provided, defaults to the name of the concept.",_default:null},summaryLabelI18nModule:{_type:a.Type.String,_description:"Optional. The custom module to use for translation of the summary label",_default:null},summaryLabelColor:{_type:a.Type.String,_description:"The color of the summary tag. See https://react.carbondesignsystem.com/?path=/docs/components-tag--overview for a list of supported colors",_default:null},tags:{_type:a.Type.Array,_description:"An array specifying concept sets and color. Observations with coded values that are members of the specified concept sets will be displayed as their own tags with the specified color. Any observation with coded values not belonging to any concept sets specified will be summarized as a count in the summary tag. If a concept set is listed multiple times, the first matching applied-to rule takes precedence.",_default:[],_elements:{color:{_type:a.Type.String,_description:"Color of the tag. See https://react.carbondesignsystem.com/?path=/docs/components-tag--overview for a list of supported colors."},appliedToConceptSets:{_type:a.Type.Array,_description:"The concept sets which the color applies to. Observations with coded values that are members of the specified concept sets will be displayed as their own tag with the specified color. If an observation's coded value belongs to multiple concept sets, the first matching applied-to rule takes precedence.",_elements:{_type:a.Type.UUID}}}}}}}},wards:{_description:"Configuration of what type of ward to use at different ward locations.",_type:a.Type.Array,_default:[{id:"default-ward"}],_elements:{id:{_type:a.Type.String,_description:'The ward type to use. Currently, "default-ward" and "maternal-ward" are supported. This string also serves as the extension slot name for the ward view.'},appliedTo:{_type:a.Type.Array,_description:"Optional. Conditions under which this card definition should be used. If not provided, the configuration is applied to all wards.",_elements:{location:{_type:a.Type.UUID,_description:"The UUID of the location. If not provided, applies to all wards.",_default:null}}}}},hideWorkspaceVitalsLinks:{_description:"Configure whether to hide vital history and record vital links in the ward patient workspace.",_type:a.Type.Boolean,_default:!1},ipdDischargeEncounterTypeUuid:{_description:"IPD Discharge encounter type",_type:a.Type.String,_default:"7e618d13-ffdb-4650-9a97-10ccd16ca36d"},transferRequestEncounterTypeUuid:{_description:"Tranfer request encounter type",_type:a.Type.String,_default:"b2c4d5e6-7f8a-4e9b-8c1d-2e3f8e4a3b8f"},referralsConceptUuid:{_description:"Referrals concept uuid",_type:a.Type.String,_default:"1695AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},referringToAnotherFacilityConceptUuid:{_description:"Referring to another facility concept uuid",_type:a.Type.String,_default:"164165AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},inpatientDischargeFormUuid:{_description:"IPD Discharge form uuid",_type:a.Type.String,_default:"98a781d2-b777-4756-b4c9-c9b0deb3483c"},admissionRequestFormUuid:{_description:"Admission request form uuid",_type:a.Type.String,_default:"0bae7646-b079-4cbb-8130-b24274fc16f7"},admissionFormUuid:{_description:"Admission form uuid",_type:a.Type.String,_default:"49f3686d-b83c-4263-a5a1-89040f643a78"},cifFormUuid:{_description:"Case Identification finding form uuid",_type:a.Type.String,_default:"47352c6c-af86-4996-81fe-bb9c224fe80b"},conceptUuidForWardAdmission:{_description:"Concept UUID for ward admission",_type:a.Type.Object,_default:{paymentMethod:"ffd8e033-a286-42b4-89d5-c6d6506d3161",mpesaPaymentMethod:"9b24f997-6582-46b5-8f58-924b0e39ad9a",cashPaymentMethod:"fc894152-07be-4e77-9dac-2a164e400a13",insurancePaymentMethod:"159356AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",otherInsuaranceType:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",insuranceOtherSpecify:"162169AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",primaryDoctor:"2b537713-298c-4b60-83c3-8006ea622d70",primaryDoctorPhoneNumber:"159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",emmergencyDoctor:"1473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",dischargingDoctor:"1473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",emmergencyDoctorPhoneNumber:"163152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",admissionDateTime:"1640AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",chiefComplaint:"5219AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",complaint:"160531AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",physicalExamination:"162737AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",dischargeInstruction:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",drugReaction:"162747AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",reactingDrug:"1193AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},diagnosisConceptSourceUud:{_type:a.Type.UUID,_description:"Diagnosis concept source",_default:"39ADDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD"},insuaranceTypes:{_description:"Insuarance Types",_type:a.Type.Array,_elements:{concept:{_type:a.Type.UUID,_description:"Concept Uuid"},label:{_type:a.Type.String,_description:"Display string"}},_default:[{concept:"1a7fb8b5-6093-486d-baa2-65f8b4388544",label:"SHA"},{concept:"1917AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Policy Holder"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"OTHER"}]},inpatientAdmissionEncounterProviderRole:{_type:a.Type.UUID,_description:"Encounter provider role",_default:"'a0b03050-c99b-11e0-9572-0800200c9a66'"},mortuaryAdmissionLoctionTagUuid:{_description:"Mortuary admission location tag uuid",_type:a.Type.String,_default:"1dbbfe22-d21f-499c-bf33-cc9f75b6c7e8"},dailyBedFeeBillableService:{_description:"Daily Bed Fee bILLABLE SERVICE uuid",_type:a.Type.UUID,_default:"0a5a23e3-c953-428c-92e3-3b99f8a822f0"},cashPointUuid:{_type:a.Type.String,_description:"Cash point uuid used when raising a ward bill",_default:"54065383-b4d4-42d2-af4d-d250a1fd2590"},cashierUuid:{_type:a.Type.String,_description:"Cashier uuid used when raising a ward bill",_default:"54065383-b4d4-42d2-af4d-d250a1fd2590"},wardBillingCurrencyLocaleMap:{_type:a.Type.Object,_description:"Optional mapping of locale (e.g. en-KE) to ISO currency code (e.g. KES) for ward billing displays.",_default:{en:"KES",sw:"KES","en-KE":"KES","sw-KE":"KES"}},drugOrderEncounterType:{_description:"Drug Order encounter type Uuid",_type:a.Type.UUID,_default:"7df67b83-1b84-4fe2-b1b7-794b4e9bfcc3"},clinicalConsultationEncounterType:{_description:"Clinical consultation encounter type Uuid",_type:a.Type.UUID,_default:"465a92f2-baf8-42e9-9612-53064be868e8"},doctorsNoteEncounterType:{_description:"Doctors note encounter type Uuid",_type:a.Type.UUID,_default:"14b36860-5033-4765-b91b-ace856ab64c2"},inPatientForms:{_type:a.Type.Array,_description:"List of forms that can be filled out for in-patients",_default:[{label:"Cardex Nursing Plan",uuid:"1f81d5e2-3569-40cf-bbb9-361a53ba409b",tags:[]},{label:"IPD Procedure Form",uuid:"2b9c2b94-0b03-416a-b312-eef49b42f72c",tags:[]},{label:"Newborn Unit Admission ",uuid:"5b0a08f5-87c1-40cc-8c09-09c33b44523d",hideExpression:"ageInDays < 28",tags:[]},{uuid:"87379b0a-738b-4799-9736-cdac614cee2a",label:"Inpatient Review Notes",tags:[]},{uuid:"dbc4ff03-3eee-49f0-86a8-7cfd33dc2460",label:"Admission Notes",dependancies:["87379b0a-738b-4799-9736-cdac614cee2a"],tags:[]},{uuid:"a14824ca-29af-4d37-b9da-6bdee39f8808",label:"Pre-Operation Checklist",tags:[]},{uuid:"b4bfa7a3-f6ed-4339-a4ec-b076463c0696",label:"Fluid Intake",tags:[]},{uuid:"3efe6966-a011-4d24-aa43-d3051bfbb8e3",label:"Initial Nursing Cardex",tags:[]},{uuid:"57b8bb54-321f-4b94-bba5-58850527bfd6",label:"Maternity inpatient form",tags:[{uuid:"dab3c2bb-0b0b-4ebd-8f99-3ad44996d311",tag:"Antenantal Ward"}]},{uuid:"98a781d2-b777-4756-b4c9-c9b0deb3483c",label:"Inpatient Discharge form",tags:[{uuid:"dab3c2bb-0b0b-4ebd-8f99-3ad44996d311",tag:"Antenantal Ward"},{uuid:"7680b7ee-6880-450c-8b7e-2a748b6f9dc7",tag:"Labour & Delivery Ward"},{uuid:"473001b4-5a6e-4e2e-b39c-f54edea89c6f",tag:"Postnatal Ward"}]},{uuid:"496c7cc3-0eea-4e84-a04c-2292949e2f7f",label:"Delivery form",tags:[{uuid:"7680b7ee-6880-450c-8b7e-2a748b6f9dc7",tag:"Labour & Delivery Ward"}]},{uuid:"07dc609f-e607-43d6-9dc3-8bd405c4226a",label:"Post Delivery form",tags:[{uuid:"473001b4-5a6e-4e2e-b39c-f54edea89c6f",tag:"Postnatal Ward"}]},{uuid:"2061790f-815e-43a9-8a1e-dae9e4956c2a",label:"Surgical Safety Checklist (Sign In)",tags:[]},{uuid:"982af61b-fd51-474c-85d2-0459b7e3640b",label:"Surgical Safety Checklist (Sign Out)",tags:[]},{uuid:"923411a3-4aae-4242-ba85-bb5b5176e6b1",label:"Surgical Safety Checklist (Time Out)",tags:[]},{uuid:"77a06fb9-0035-474e-8b2b-c247ac75d2e7",label:"Preoperative Questionnaire",tags:[]},{uuid:"b8368c5e-7b3b-419e-bd33-bb05cdf34952",label:"Doctor's Follow up Note",tags:[]},{uuid:"e8054795-3df5-435d-9ae3-6ae3a6a1857f",label:"Pre- Anaesthesia Checklist",tags:[]},{uuid:"56b3ca43-2687-49d4-a03e-1b4329fe0f63",label:"Nursing Care Plan",tags:[]}]},inPatientVisitTypeUuid:{_type:a.Type.String,_description:"The visit type uuid for in-patient",_default:"a73e2ac6-263b-47fc-99fc-e0f2c09fc914"},postProcedureEncounterTypeUuid:{_description:"Post Procedure encounter type Uuid",_type:a.Type.UUID,_default:"13beea61-7d3d-4860-abe3-d5b874f736fb"},postProcedureConceptUuids:{_description:"Concept UUIDs for the Post Procedure form",_type:a.Type.Object,_default:{surgeryDateTime:"160715AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",operativeProcedure:"166635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",procedurePerformed:"1651AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",anaesthesiaType:"164254AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",patientPosition:"159633AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",incisionLocation:"163049AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",incisionType:"b9879725-26f6-4aa4-8777-bc7f75d388c1",closureMethod:"166629AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",findings:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",histologySpecimen:"161934AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",specimenType:"163761AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",procedureNotes:"160716AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},paymentMethods:{_type:a.Type.Array,_description:"List of payment methods used when printing gatepass",_default:["Cash [ ]","Cheque [ ]","SHA [ ]","Scheme [ ]","M.R.M [ ]"]},nursingCardex:{_type:a.Type.Object,_description:"Nursing Cardex form concept UUIDs, form field paths and encounter role.",_default:{encounterRoleUuid:"a0b03050-c99b-11e0-9572-0800200c9a66",concepts:{nursingNotes:"164231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",actionTaken:"1282AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",yes:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",no:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",medicationGivenGroup:"159369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fluidsGivenGroup:"161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",nameField:"164231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",timeField:"9c4c7722-ba3e-4bdf-ab97-c04170100037",encounterType:"b6569074-3b8c-43ba-bd4a-98c445405035",formUuid:"1f81d5e2-3569-40cf-bbb9-361a53ba409b"},formFieldPaths:{nursingNotes:"nursingNotes~9",actionTaken:"actionTaKen~10",medicationName:"medicatIonName~11",medicationMeta:"medicatIonMeta~11m",medicationTime:"TtakEn~12",medicationGroup:"medsRepeat~13",actionTakenFluids:"actionTaKenIVfluids~14",fluidName:"flUidName~15",fluidMeta:"flUidMeta~15m",fluidTime:"fluiDsTtakEn~16",fluidGroup:"fluiDsRepeat~17"}}},inpatientLocationTags:{_description:"Location tag UUIDs used to show partograph and labour care guide (maternity and labour ward only).",_default:{maternityWard:"b95dd376-fa35-40a6-b140-d144c5f22f62",labourWard:"7680b7ee-6880-450c-8b7e-2a748b6f9dc7",isolationWard:"cc5cb426-5433-4e9a-ad22-456e6b627b05",icuWard:"770f6a93-8e59-48ad-ba7d-98d5652db240",hduWard:"25439b2d-6495-4f5d-9ec6-4fe64686cf46",nicuWard:"17558b82-7275-409c-9f77-0d934ae881cf",picuWard:"d9aaa6fa-8594-416c-b5da-e50fd3a180b2",pediatricWard:"0db2eb63-f0ac-4f22-8d65-766a4828c9ba"}},bypassPartographAdmissionChecks:{_type:a.Type.Boolean,_description:"Demo flag. When true, skip admission and labour-ward tag checks and show partograph for female patients. Set to false for production.",_default:!1},treatmentChartCardexEncounterTypeUuid:{_description:"Encounter type uuid for the cardex section of the treatment sheet",_type:a.Type.UUID,_default:"b6569074-3b8c-43ba-bd4a-98c445405035"},treatmentChartCardexFormUuid:{_description:"Form uuid for the cardex section of the treatment sheet",_type:a.Type.UUID,_default:"1f81d5e2-3569-40cf-bbb9-361a53ba409b"},treatmentChartMedicationGroupUuid:{_description:"Concept uuid for the medication group in the cardex section of the treatment sheet",_type:a.Type.UUID,_default:"159369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},treatmentChartFluidGroupUuid:{_description:"Concept uuid for the fluids group in the cardex section of the treatment sheet",_type:a.Type.UUID,_default:"161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},treatmentChartNameConceptUuid:{_description:"Concept uuid for the name field in the cardex section of the treatment sheet",_type:a.Type.UUID,_default:"164231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},treatmentChartTimeConceptUuid:{_description:"Concept uuid for the time field in the cardex section of the treatment sheet",_type:a.Type.UUID,_default:"9c4c7722-ba3e-4bdf-ab97-c04170100037"},partography:{_type:a.Type.Object,_description:"Labour care guide partography module configuration",_default:n},lcgSessionCorrectionPrivilege:{_type:a.Type.String,_description:"OpenMRS privilege required to open the LCG wrong-patient correction wizard",_default:"Correct LCG Wrong Patient"},nationIdIdentifierTypeUuid:{_type:a.Type.UUID,_description:"Identifier type uuid for the national ID",_default:"49af6cdc-7968-4abb-bf46-de10d7f4859f"},crIdentifierTypeUuid:{_type:a.Type.UUID,_description:"Identifier type uuid for the SHIF ID",_default:"24aedd37-b5be-4e08-8311-3721b8d5100d"},showCrIdentifierOnSummary:{_type:a.Type.Boolean,_description:"Whether to show the CR ID on the patient summary",_default:!0},openmrsIdentifierSourceUuid:{_type:a.Type.String,_description:"OpenMRS Identifier Source UUID (Identifier Generator for OpenMRS ID)",_default:"fb034aac-2353-4940-abe2-7bc94e7c1e71"},openmrsIDUuid:{_type:a.Type.String,_description:"OpenMRS Identifier UUID",_default:"dfacd928-0370-4315-99d7-6ec1c9f7ae76"},contactPersonAttributesUuid:{_type:a.Type.Object,_description:"Contact created patient attributes UUID",_default:{telephone:"b2c38640-2603-4629-aebd-3b54f33f1e3a",contactCreated:"7c94bd35-fba7-4ef7-96f5-29c89a318fcf",contactTypeAttributeType:"4608a605-60f0-44cf-a6eb-7bc537e41925",healthCareWorkerFacilityAttributetype:"3a5c6d85-e460-4ca4-a3fd-8ac62653a13f",headOfHouseholdAttributeType:"e4230abb-57f5-43d1-9190-fa248c5b2437"}},contactTypesConceptUuids:{_type:a.Type.Object,_description:"Uuids of Contacts types to case for ebola",_default:{hadDirectPhysicalContactWithCase:"162632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",sleptOrAteAtTheSameHouseHoldAsCase:"159818AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",touchedBodyFluidsOfCase:"dcf31ffa-36a1-4673-9a04-34a62e94edc4",touchedOrCleanedLinensOrDishesOfCase:"161917AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},contactTracingFormUuid:{_type:a.Type.UUID,_description:"Contact tracing form Uuid",_default:"15ed03d2-c972-11e9-a32f-2a2ae2dbcce4"},contactTracingConceptsUuids:{_type:a.Type.Object,_description:"Concept Uuids for hts contact tracing",_default:{modeOfClienttracingConceptUuid:"a55f9516-ddb6-47ec-b10d-cb99d1d0bd41",reasonNotContactedConceptUuid:"1779AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",tracingStatusConceptUuid:"159811AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",remarksConceptUuid:"163042AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},htsEcounterUuid:{_type:a.Type.UUID,_description:"HTS Encounter uuid used in contact tracing",_default:"9c0a7a57-62ff-4f75-babe-5835b0e921b7"}}},95132(A,e,t){"use strict";t.d(e,{A:()=>a});let a="@kenyaemr/esm-ward-app"},80169(A,e,t){"use strict";t.r(e),t.d(e,{patientTransferAndSwapWorkspaceSiderailIcon:()=>S,root:()=>I,patientDischargeDocumentPreview:()=>z,addContactFormWorkspace:()=>u,nursingCardexPlanWorkspace:()=>At,patientDischargeWorkspace:()=>g,clinicalFormWorkspaceSideRailIcon:()=>k,wardPatientNotesActionButtonExtension:()=>D,wardPatientsUnassignedTable:()=>x,labourCareGuide:()=>Ai,inPatientDetailView:()=>Ae,inPatientAdmissionRequest:()=>AA,contactListing:()=>E,wardPatientsAdmittedTable:()=>q,globalCdsAlertBanner:()=>Ao,inPatientPartographView:()=>Ar,defaultWardView:()=>H,patientBedSwapForm:()=>B,patientClinicalFormsWorkspace:()=>w,importTranslation:()=>f,maternityInpatientFormWorkspace:()=>An,patientDischargeWorkspaceSideRailIcon:()=>M,wardPatientsDischargeInTable:()=>K,wardSwitchModal:()=>Z,wardView:()=>N,admissionRequestWorkspace:()=>y,inPatientChartLink:()=>$,createAdmissionEncounterWorkspaceSideRailIcon:()=>V,wardPatientWorkspaceBanner:()=>Q,inPatientTreatmentChart:()=>Aa,caseFollowUp:()=>C,maternalWardView:()=>W,createWardBillWorkspace:()=>Ac,admitPatientFormWorkspace:()=>U,admissionRequestsWorkspaceSideRailIcon:()=>G,inPatientChartDashboard:()=>J,startupApp:()=>Ad,wardPatientNotesWorkspace:()=>P,patientAdmitOrTransferRequestForm:()=>v,patientTransferAndSwapWorkspace:()=>R,wardPatientWorkspace:()=>m,wardPatientsAwaitingAdmissionTable:()=>j,createAdmissionEncounterWorkspace:()=>Y,patientTransferRequestWorkspace:()=>L,wardPatientActionButtonExtension:()=>h,wardPatientsDischargedTable:()=>X,caseIdentificationFinding:()=>p,wardDashboardLink:()=>b,cancelAdmissionRequestWorkspace:()=>F});var a=t(80357),i=t(77488),n=t(95132),o=t(38602),r=t.n(o),d=t(61907),c=t(75614),s=t(14441);function _({dashboardLinkConfig:A}){var e;let{name:t,title:i,icon:n}=A,{t:l}=(0,c.useTranslation)(),T=(0,d.useLocation)(),p=window.getOpenmrsSpaBase()+"home",E=(0,o.useMemo)(()=>decodeURIComponent((0,s.A)(T.pathname.split("/"))),[T.pathname]);return e=E,/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(e)&&(E=T.pathname.split("/").at(-1)),r().createElement(a.ConfigurableLink,{className:`cds--side-nav__link ${t===E&&"active-left-nav-link"}`,to:p+"/"+t},r().createElement("span",{className:"-esm-ward__create-dashboard__menu___57tGE"},r().createElement(a.MaybeIcon,{icon:n,className:"-esm-ward__create-dashboard__icon___uvnSQ",size:16}),r().createElement("span",null,l(i))))}let l=A=>()=>r().createElement(d.BrowserRouter,null,r().createElement(_,{dashboardLinkConfig:A})),T={featureName:"ward",moduleName:n.A},p=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("9116")]).then(t.bind(t,8360)),T),E=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("9011"),t.e("4304"),t.e("3824"),t.e("3549"),t.e("4321"),t.e("347")]).then(t.bind(t,89865)),T),C=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("6326")]).then(t.bind(t,42190)),T),u=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("4321"),t.e("9976")]).then(t.bind(t,66716)),T),f=t(84767),O={featureName:"ward",moduleName:n.A},I=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("5576"),t.e("3549"),t.e("4321"),t.e("6358"),t.e("2326")]).then(t.bind(t,43615)),O),b=(0,a.getSyncLifecycle)(l({name:"ward",title:"admissions",icon:""}),O),N=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("3549"),t.e("2101")]).then(t.bind(t,78804)),O),y=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("3549"),t.e("4266")]).then(t.bind(t,99265)),O),U=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("4321"),t.e("5493")]).then(t.bind(t,75956)),O),m=(0,a.getAsyncLifecycle)(()=>t.e("9080").then(t.bind(t,56811)),O),P=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("5460")]).then(t.bind(t,3807)),O),h=(0,a.getAsyncLifecycle)(()=>t.e("5650").then(t.bind(t,69705)),O),D=(0,a.getAsyncLifecycle)(()=>t.e("7683").then(t.bind(t,43822)),O),R=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("5862")]).then(t.bind(t,66997)),O),g=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4321"),t.e("636")]).then(t.bind(t,7447)),O),S=(0,a.getAsyncLifecycle)(()=>t.e("502").then(t.bind(t,27653)),O),L=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("2764"),t.e("1613")]).then(t.bind(t,53313)),O),M=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("8990"),t.e("9427")]).then(t.bind(t,84078)),O),w=(0,a.getAsyncLifecycle)(()=>t.e("5060").then(t.bind(t,42239)),O),v=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("2764"),t.e("9309")]).then(t.bind(t,27895)),O),B=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("4847")]).then(t.bind(t,85554)),O),F=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("3276")]).then(t.bind(t,34807)),O),k=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("9011"),t.e("4777")]).then(t.bind(t,64109)),O),G=(0,a.getAsyncLifecycle)(()=>t.e("9143").then(t.bind(t,63354)),O),V=(0,a.getAsyncLifecycle)(()=>t.e("6126").then(t.bind(t,68829)),O),Y=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3549"),t.e("4321"),t.e("7891")]).then(t.bind(t,32222)),O),H=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("2007"),t.e("297"),t.e("9049"),t.e("3549"),t.e("4321"),t.e("1033"),t.e("6358"),t.e("2446")]).then(t.bind(t,81247)),O),W=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("2007"),t.e("297"),t.e("3549"),t.e("4321"),t.e("1033"),t.e("5050")]).then(t.bind(t,26476)),O),j=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("7849"),t.e("2724")]).then(t.bind(t,7561)),O),q=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("7849"),t.e("9124")]).then(t.bind(t,42057)),O),x=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("7849"),t.e("8302")]).then(t.bind(t,67745)),O),K=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("7849"),t.e("6380")]).then(t.bind(t,89025)),O),X=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3549"),t.e("4321"),t.e("7849"),t.e("5591")]).then(t.bind(t,45359)),O),Q=(0,a.getAsyncLifecycle)(()=>t.e("6703").then(t.bind(t,21378)),O),z=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4321"),t.e("4883")]).then(t.bind(t,35422)),O),Z=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3549"),t.e("4321"),t.e("6079")]).then(t.bind(t,45138)),O),$=(0,a.getSyncLifecycle)(l({slot:"patient-chart-in-patient-dashboard-slot",path:"in-patient",title:"In Patient",moduleName:"@kenyaemr/esm-bed-management-app",name:"In Patient",columns:1,config:{},icon:"omrs-icon-hospital-bed",icon:"omrs-icon-activity"}),O),J=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4321"),t.e("5181")]).then(t.bind(t,86092)),O),AA=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("1992")]).then(t.bind(t,6332)),O),Ae=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("3549"),t.e("4321"),t.e("7240")]).then(t.bind(t,92)),O),At=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4145"),t.e("2304"),t.e("5976"),t.e("4321"),t.e("3877"),t.e("9926")]).then(t.bind(t,77637)),O),Aa=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("3252"),t.e("5976"),t.e("3549"),t.e("4321"),t.e("3877"),t.e("8923")]).then(t.bind(t,78137)),O),Ai=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4145"),t.e("4321"),t.e("4892")]).then(t.bind(t,22583)),O),An=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("7984")]).then(t.bind(t,73891)),O),Ao=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("4162")]).then(t.bind(t,66505)),O),Ar=(0,a.getAsyncLifecycle)(()=>t.e("1364").then(t.bind(t,29647)),O);function Ad(){(0,a.registerBreadcrumbs)([]),(0,a.defineConfigSchema)(n.A,i.Qn),(0,a.registerFeatureFlag)("bedmanagement-module","Bed management module","Enables features related to bed management / assignment. Requires the backend bed management module to be installed.")}let Ac=(0,a.getAsyncLifecycle)(()=>Promise.all([t.e("689"),t.e("8990"),t.e("3496"),t.e("1744"),t.e("4145"),t.e("2304"),t.e("3549"),t.e("4321"),t.e("9456")]).then(t.bind(t,29635)),O)},14441(A,e,t){"use strict";t.d(e,{A:()=>a});let a=function(A){var e=null==A?0:A.length;return e?A[e-1]:void 0}}}]);
@@ -1,3 +1,3 @@
1
- var _kenyaemr_esm_ward_app;!function(){var e="u">typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw Error("@kenyaemr/esm-ward-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var t=e._FEDERATION_RUNTIME_CORE_FROM;t&&t.version&&"2.8"!==String(t.version).split(".").slice(0,2).join(".")&&console.warn("@kenyaemr/esm-ward-app was built against Module Federation 2.8.x but the app shell provides "+t.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,t,r,n,o,a={86364(e,t,r){"use strict";var n,o,a,i,s,l,u,p,c,d,f,h,m=r(40523),g=r.n(m);let y=[].filter(({plugin:e})=>e).map(({plugin:e,params:t})=>e(t)),b={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){let e=(e,t,r)=>{e&&e[t]&&(e[t]=r)},t=(e,t,r)=>{let n=r();Array.isArray(n)?(null!=e[t]||(e[t]=[]),e[t].push(...n)):"object"==typeof n&&null!==n&&(null!=e[t]||(e[t]={}),Object.assign(e[t],n))},m=(e,t,r)=>{null!=e[t]||(e[t]=r())},S=null!=(n=null==(l=r.remotesLoadingData)?void 0:l.chunkMapping)?n:{},O=null!=(o=null==(u=r.remotesLoadingData)?void 0:u.moduleIdToRemoteDataMapping)?o:{},_=null!=(a=null==(p=r.initializeSharingData)?void 0:p.scopeToSharingDataMapping)?a:{},E=null!=(i=null==(c=r.consumesLoadingData)?void 0:c.chunkMapping)?i:{},M=null!=(s=null==(d=r.consumesLoadingData)?void 0:d.moduleIdToConsumeDataMapping)?s:{},v={},R=[],w={},T=null==(f=r.initializeExposesData)?void 0:f.shareScope;for(let e in g())r.federation[e]=g()[e];m(r.federation,"consumesLoadingModuleToHandlerMapping",()=>{let e={};for(let[t,r]of Object.entries(M))e[t]={getter:r.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager},scope:[r.shareScope]},shareKey:r.shareKey};return e}),m(r.federation,"initOptions",()=>({})),m(r.federation.initOptions,"name",()=>"@kenyaemr/esm-ward-app"),m(r.federation.initOptions,"shareStrategy",()=>"version-first"),m(r.federation.initOptions,"shared",()=>{let e={};for(let[t,r]of Object.entries(_))for(let n of r)if("object"==typeof n&&null!==n){let{name:r,version:o,factory:a,eager:i,singleton:s,requiredVersion:l,strictVersion:u}=n,p={},c=function(e){return void 0!==e};c(s)&&(p.singleton=s),c(l)&&(p.requiredVersion=l),c(i)&&(p.eager=i),c(u)&&(p.strictVersion=u);let d={version:o,scope:[t],shareConfig:p,get:a};e[r]?e[r].push(d):e[r]=[d]}return e}),t(r.federation.initOptions,"remotes",()=>Object.values(b).flat().filter(e=>"script"===e.externalType)),t(r.federation.initOptions,"plugins",()=>y),m(r.federation,"bundlerRuntimeOptions",()=>({})),m(r.federation.bundlerRuntimeOptions,"remotes",()=>({})),m(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>S),m(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",()=>b),m(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{let e={};for(let[t,r]of Object.entries(O))e[t]=[r.shareScope,r.name,r.externalModuleId,r.remoteName];return e}),m(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>r),t(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{let e={};for(let[t,r]of Object.entries(O)){let n=b[r.remoteName];n&&(e[t]=n)}return e}),e(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),e(r.f,"remotes",(e,t)=>r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:S,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})),e(r.f,"consumes",(e,t)=>r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:E,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:v,webpackRequire:r})),e(r,"I",(e,t)=>r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:R,initTokens:w,webpackRequire:r})),e(r,"initContainer",(e,t,n)=>r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:T,webpackRequire:r})),e(r,"getContainer",(e,t)=>{var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(h=r.consumesLoadingData)?void 0:h.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:v,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},53233(e,t,r){"use strict";r.d(t,{get:()=>r.getContainer,init:()=>r.initContainer})},53054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},76437(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(i(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var i,l=a(t),u=0,p=l.length;u<p;u++)i=l[u],s.call(e,i)||void 0===i||n(e,i,{get:(e=>t[e]).bind(null,i),enumerable:!(r=o(t,i))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},7661(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(76437);let n=r(81318),o=r(53054),a=r(9170);function i(e){let t=new((0,o.getGlobalFederationConstructor)()||o.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.setGlobalFederationInstance)(t),t}let s=null;(0,o.setGlobalFederationConstructor)(o.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return o.Module}}),t.ModuleFederation=o.ModuleFederation,t.createInstance=i,t.getInstance=function(e){return e?o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return o.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return o.getRemoteInfo}}),t.init=function(e){let t=n.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),s||(s=t),t):s=i(r)},t.loadRemote=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),t.loadShare=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.loadShare.apply(s,e)},t.loadShareSync=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.loadShareSync.apply(s,e)},t.preloadRemote=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return o.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.registerPlugins.apply(s,e)},t.registerRemotes=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.registerRemotes.apply(s,e)},t.registerShared=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.registerShared.apply(s,e)}},81318(e,t,r){r(76437);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@kenyaemr/esm-ward-app:8.5.4-pre.166";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},50223(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(i(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var i,l=a(t),u=0,p=l.length;u<p;u++)i=l[u],s.call(e,i)||void 0===i||n(e,i,{get:(e=>t[e]).bind(null,i),enumerable:!(r=o(t,i))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},33545(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},46917(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91864(e,t,r){let n=r(33545),o=r(91092),a=r(12677),i=r(10085),s=r(76781);t.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:l,webpackRequire:u,chunkMapping:p,moduleToHandlerMapping:c}=e;n.attachShareScopeMap(u),u.o(p,t)&&p[t].forEach(e=>{if(u.o(l,e))return r.push(l[e]);let t=t=>{l[e]=0,u.m[e]=r=>{delete u.c[e];let n=t(),{shareInfo:o}=c[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}r.exports=n}},n=t=>{delete l[e],u.m[e]=r=>{throw delete u.c[e],t}};try{let o=u.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:p,getter:d,shareInfo:f,treeShakingGetter:h}=c[e],m=a.getUsedExports(u,p),g={...f};Array.isArray(g.scope)&&Array.isArray(g.scope[0])&&(g.scope=g.scope[0]),m&&(g.treeShaking={usedExports:m,useIn:[o.options.name]});let y=o.loadShare(p,{customShareInfo:g}).then(e=>{if(!1===e){if("function"!=typeof d)throw Error(s.getShortErrorMsg(i.RUNTIME_012,{[i.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:p}));return h?.()||d()}return e});y.then?r.push(l[e]=y.then(t).catch(n)):t(y)}catch(e){n(e)}})}},10085(e,t){t.RUNTIME_012="RUNTIME-012"},76781(e,t){t.getShortErrorMsg=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&o.push(`Original Error Message:
1
+ var _kenyaemr_esm_ward_app;!function(){var e="u">typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw Error("@kenyaemr/esm-ward-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var t=e._FEDERATION_RUNTIME_CORE_FROM;t&&t.version&&"2.8"!==String(t.version).split(".").slice(0,2).join(".")&&console.warn("@kenyaemr/esm-ward-app was built against Module Federation 2.8.x but the app shell provides "+t.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,t,r,n,o,a={86364(e,t,r){"use strict";var n,o,a,i,s,l,u,p,c,d,f,h,m=r(40523),g=r.n(m);let y=[].filter(({plugin:e})=>e).map(({plugin:e,params:t})=>e(t)),b={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){let e=(e,t,r)=>{e&&e[t]&&(e[t]=r)},t=(e,t,r)=>{let n=r();Array.isArray(n)?(null!=e[t]||(e[t]=[]),e[t].push(...n)):"object"==typeof n&&null!==n&&(null!=e[t]||(e[t]={}),Object.assign(e[t],n))},m=(e,t,r)=>{null!=e[t]||(e[t]=r())},S=null!=(n=null==(l=r.remotesLoadingData)?void 0:l.chunkMapping)?n:{},O=null!=(o=null==(u=r.remotesLoadingData)?void 0:u.moduleIdToRemoteDataMapping)?o:{},_=null!=(a=null==(p=r.initializeSharingData)?void 0:p.scopeToSharingDataMapping)?a:{},E=null!=(i=null==(c=r.consumesLoadingData)?void 0:c.chunkMapping)?i:{},M=null!=(s=null==(d=r.consumesLoadingData)?void 0:d.moduleIdToConsumeDataMapping)?s:{},v={},R=[],w={},T=null==(f=r.initializeExposesData)?void 0:f.shareScope;for(let e in g())r.federation[e]=g()[e];m(r.federation,"consumesLoadingModuleToHandlerMapping",()=>{let e={};for(let[t,r]of Object.entries(M))e[t]={getter:r.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager},scope:[r.shareScope]},shareKey:r.shareKey};return e}),m(r.federation,"initOptions",()=>({})),m(r.federation.initOptions,"name",()=>"@kenyaemr/esm-ward-app"),m(r.federation.initOptions,"shareStrategy",()=>"version-first"),m(r.federation.initOptions,"shared",()=>{let e={};for(let[t,r]of Object.entries(_))for(let n of r)if("object"==typeof n&&null!==n){let{name:r,version:o,factory:a,eager:i,singleton:s,requiredVersion:l,strictVersion:u}=n,p={},c=function(e){return void 0!==e};c(s)&&(p.singleton=s),c(l)&&(p.requiredVersion=l),c(i)&&(p.eager=i),c(u)&&(p.strictVersion=u);let d={version:o,scope:[t],shareConfig:p,get:a};e[r]?e[r].push(d):e[r]=[d]}return e}),t(r.federation.initOptions,"remotes",()=>Object.values(b).flat().filter(e=>"script"===e.externalType)),t(r.federation.initOptions,"plugins",()=>y),m(r.federation,"bundlerRuntimeOptions",()=>({})),m(r.federation.bundlerRuntimeOptions,"remotes",()=>({})),m(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>S),m(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",()=>b),m(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{let e={};for(let[t,r]of Object.entries(O))e[t]=[r.shareScope,r.name,r.externalModuleId,r.remoteName];return e}),m(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>r),t(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{let e={};for(let[t,r]of Object.entries(O)){let n=b[r.remoteName];n&&(e[t]=n)}return e}),e(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),e(r.f,"remotes",(e,t)=>r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:S,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})),e(r.f,"consumes",(e,t)=>r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:E,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:v,webpackRequire:r})),e(r,"I",(e,t)=>r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:R,initTokens:w,webpackRequire:r})),e(r,"initContainer",(e,t,n)=>r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:T,webpackRequire:r})),e(r,"getContainer",(e,t)=>{var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(h=r.consumesLoadingData)?void 0:h.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:v,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},53233(e,t,r){"use strict";r.d(t,{get:()=>r.getContainer,init:()=>r.initContainer})},53054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},76437(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(i(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var i,l=a(t),u=0,p=l.length;u<p;u++)i=l[u],s.call(e,i)||void 0===i||n(e,i,{get:(e=>t[e]).bind(null,i),enumerable:!(r=o(t,i))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},7661(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(76437);let n=r(81318),o=r(53054),a=r(9170);function i(e){let t=new((0,o.getGlobalFederationConstructor)()||o.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.setGlobalFederationInstance)(t),t}let s=null;(0,o.setGlobalFederationConstructor)(o.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return o.Module}}),t.ModuleFederation=o.ModuleFederation,t.createInstance=i,t.getInstance=function(e){return e?o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return o.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return o.getRemoteInfo}}),t.init=function(e){let t=n.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),s||(s=t),t):s=i(r)},t.loadRemote=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),t.loadShare=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.loadShare.apply(s,e)},t.loadShareSync=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.loadShareSync.apply(s,e)},t.preloadRemote=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return o.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.registerPlugins.apply(s,e)},t.registerRemotes=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.registerRemotes.apply(s,e)},t.registerShared=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.registerShared.apply(s,e)}},81318(e,t,r){r(76437);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@kenyaemr/esm-ward-app:8.5.4-pre.168";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},50223(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(i(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var i,l=a(t),u=0,p=l.length;u<p;u++)i=l[u],s.call(e,i)||void 0===i||n(e,i,{get:(e=>t[e]).bind(null,i),enumerable:!(r=o(t,i))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},33545(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},46917(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91864(e,t,r){let n=r(33545),o=r(91092),a=r(12677),i=r(10085),s=r(76781);t.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:l,webpackRequire:u,chunkMapping:p,moduleToHandlerMapping:c}=e;n.attachShareScopeMap(u),u.o(p,t)&&p[t].forEach(e=>{if(u.o(l,e))return r.push(l[e]);let t=t=>{l[e]=0,u.m[e]=r=>{delete u.c[e];let n=t(),{shareInfo:o}=c[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}r.exports=n}},n=t=>{delete l[e],u.m[e]=r=>{throw delete u.c[e],t}};try{let o=u.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:p,getter:d,shareInfo:f,treeShakingGetter:h}=c[e],m=a.getUsedExports(u,p),g={...f};Array.isArray(g.scope)&&Array.isArray(g.scope[0])&&(g.scope=g.scope[0]),m&&(g.treeShaking={usedExports:m,useIn:[o.options.name]});let y=o.loadShare(p,{customShareInfo:g}).then(e=>{if(!1===e){if("function"!=typeof d)throw Error(s.getShortErrorMsg(i.RUNTIME_012,{[i.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:p}));return h?.()||d()}return e});y.then?r.push(l[e]=y.then(t).catch(n)):t(y)}catch(e){n(e)}})}},10085(e,t){t.RUNTIME_012="RUNTIME-012"},76781(e,t){t.getShortErrorMsg=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&o.push(`Original Error Message:
2
2
  ${n}`),o.join("\n")}},41315(e,t){t.getSharedFallbackGetter=({shareKey:e,factory:t,version:r,webpackRequire:n,libraryType:o="global"})=>{let{runtime:a,instance:i,bundlerRuntime:s,sharedFallback:l}=n.federation;if(!l)return t;let u=l[e];if(!u)return t;let p=r?u.find(e=>e[1]===r):u[0];if(!p)throw Error(`No fallback item found for shareKey: ${e} and version: ${r}`);return()=>a.getRemoteEntry({origin:n.federation.instance,remoteInfo:{name:p[2],entry:`${n.p}${p[0]}`,type:o,entryGlobalName:p[2],shareScope:"default"}}).then(t=>{if(!t)throw Error(`Failed to load fallback entry for shareKey: ${e} and version: ${r}`);return t.init(n.federation.instance,s).then(()=>t.get())})}},12677(e,t){t.getUsedExports=function(e,t){let r=e.federation.usedExports;if(r)return r[t]}},40523(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let n=r(50223),o=r(33545),a=r(43586),i=r(91864),s=r(62221),l=r(34307),u=r(91180),p=r(10367),c=r(41315),d=r(7661);d=n.__toESM(d);let f={remotes:a.remotes,consumes:i.consumes,I:s.initializeSharing,S:{},installInitialConsumes:l.installInitialConsumes,initContainerEntry:u.initContainerEntry,init:p.init,getSharedFallbackGetter:c.getSharedFallbackGetter},h={runtime:d,instance:void 0,initOptions:void 0,bundlerRuntime:f,attachShareScopeMap:o.attachShareScopeMap,bundlerRuntimeOptions:{}},m=h.instance,g=h.initOptions,y=h.bundlerRuntimeOptions;t.attachShareScopeMap=o.attachShareScopeMap,t.bundlerRuntime=f,t.bundlerRuntimeOptions=y,t.default=h,t.initOptions=g,t.instance=m,Object.defineProperty(t,"runtime",{enumerable:!0,get:function(){return d}})},10367(e,t,r){let n=r(50223),o=r(7661),a=r(90589);a=n.__toESM(a),t.init=function({webpackRequire:e}){let{initOptions:t,runtime:n,sharedFallback:i,bundlerRuntime:s,libraryType:l}=e.federation;if(!t)throw Error("initOptions is required!");return t.plugins||=[],t.plugins.push({name:"tree-shake-plugin",beforeInit(t){let{userOptions:n,origin:u,options:p}=t,c=n.version||p.version;if(!i)return t;let d=n.shared||{},f=[];Object.keys(d).forEach(t=>{(Array.isArray(d[t])?d[t]:[d[t]]).forEach(r=>{f.push([t,r]),"get"in r&&(r.treeShaking||={},r.treeShaking.get=r.get,r.get=s.getSharedFallbackGetter({shareKey:t,factory:r.get,webpackRequire:e,libraryType:l,version:r.version}))})});let h=a.default.global.getGlobalSnapshotInfoByModuleInfo({name:u.name,version:c});return h&&"shared"in h&&(Object.keys(p.shared||{}).forEach(e=>{p.shared[e].forEach(t=>{f.push([e,t])})}),f.forEach(([e,t])=>{((e,t)=>{let n=h.shared.find(t=>t.sharedName===e);if(!n)return;let{treeShaking:a}=t;if(!a)return;let{secondarySharedTreeShakingName:i,secondarySharedTreeShakingEntry:s,treeShakingStatus:p}=n;a.status!==p&&(a.status=p,s&&l&&i&&(a.get=async()=>{let e=await (0,o.getRemoteEntry)({origin:u,remoteInfo:{name:i,entry:s,type:l,entryGlobalName:i,shareScope:"default"}});return await e.init(u,r.federation.bundlerRuntime),e.get()}))})(e,t)})),t}}),n.init(t)}},91180(e,t){t.initContainerEntry=function(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:o,remoteEntryInitOptions:a}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let i=t.federation.instance;i.initOptions({name:t.federation.initOptions.name,remotes:[],...a});let s=a?.shareScopeKeys,l=a?.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void i.initShareScopeMap(e,r,{hostShareScopeMap:a?.shareScopeMap||{}});l[e]||(l[e]={});let t=l[e];i.initShareScopeMap(e,t,{hostShareScopeMap:a?.shareScopeMap||{}})});else{let e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let t=l[e];i.initShareScopeMap(e,t,{hostShareScopeMap:a?.shareScopeMap||{}})}):i.initShareScopeMap(e,r,{hostShareScopeMap:a?.shareScopeMap||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,n):Promise.all(o.map(e=>t.I(e,n))).then(()=>!0):t.I(o||"default",n)}},62221(e,t,r){let n=r(33545),o=r(46917);t.initializeSharing=function({shareScopeName:e,webpackRequire:t,initPromises:r,initTokens:a,initScope:i}){let s=Array.isArray(e)?e:[e];var l=[],u=function(s){i||(i=[]);let l=t.federation.instance;var u=a[s];if(u||(u=a[s]={from:l.name}),i.indexOf(u)>=0)return;i.push(u);let p=r[s];if(p)return p;var c=r=>{var n=e=>{let t;return t="Initialization of sharing external failed: "+e,"u">typeof console&&console.warn&&console.warn(t)};try{var o=t(r);if(!o)return;var a=r=>r&&r.init&&r.init(t.S[s],i,{shareScopeMap:t.S||{},shareScopeKeys:e});if(o.then)return d.push(o.then(a,n));var l=a(o);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(n))}catch(e){n(e)}};let d=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:i,from:"build"});n.attachShareScopeMap(t);let f=t.federation.bundlerRuntimeOptions.remotes;return(f&&Object.keys(f.idToRemoteMap).forEach(e=>{let t=f.idToRemoteMap[e],r=f.idToExternalAndNameMapping[e][2];if(t.length>1)c(r);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||c(r)}}),d.length)?r[s]=Promise.all(d).then(()=>r[s]=!0):r[s]=!0};return s.forEach(e=>{l.push(u(e))}),Promise.all(l).then(()=>!0)}},34307(e,t,r){let n=r(91092),o=r(12677);t.installInitialConsumes=function(e){n.updateConsumeOptions(e);let{moduleToHandlerMapping:t,webpackRequire:r,installedModules:a,initialConsumes:i,asyncLoad:s}=e,l=[];i.forEach(e=>{l.push([e,()=>(function(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n,asyncLoad:a}=e,i=n.federation.instance;if(!i)throw Error("Federation instance not found!");let{shareKey:s,shareInfo:l}=r[t];try{let e=o.getUsedExports(n,s),t={...l};if(e&&(t.treeShaking={usedExports:e,useIn:[i.options.name]}),a)return i.loadShare(s,{customShareInfo:t});return i.loadShareSync(s,{customShareInfo:t})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}})({moduleId:e,moduleToHandlerMapping:t,webpackRequire:r,asyncLoad:s})])});let u=(e,n)=>{r.m[e]=o=>{a[e]=0,delete r.c[e];let i=n();if("function"!=typeof i)throw Error(`Shared module is not available for eager consumption: ${e}`);let s=i(),{shareInfo:l}=t[e];if(l?.shareConfig?.layer&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=l.shareConfig.layer)}catch(e){}o.exports=s}};if(s)return Promise.all(l.map(async([e,t])=>{let r=await t();u(e,()=>r)}));l.forEach(([e,t])=>{u(e,t)})}},43586(e,t,r){r(50223);let n=r(33545),o=r(46917),a=r(91092),i=r(31853);t.remotes=function(e){a.updateRemoteOptions(e);let{chunkId:t,promises:r,webpackRequire:s,chunkMapping:l,idToExternalAndNameMapping:u,idToRemoteMap:p}=e;n.attachShareScopeMap(s),s.o(l,t)&&l[t].forEach(e=>{let t=s.R;t||(t=[]);let n=u[e],a=p[e]||[];if(t.indexOf(n)>=0)return;if(t.push(n),n.p)return r.push(n.p);let l=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
3
- while loading "${n[1]}" from ${n[2]}`),s.m[e]=()=>{throw t},n.p=0},c=(e,t,o,a,i,s)=>{try{let u=e(t,o);if(!u||!u.then)return i(u,a,s);{let e=u.then(e=>i(e,a),l);if(!s)return e;r.push(n.p=e)}}catch(e){l(e)}};var d=(e,r,o)=>c(r.get,n[1],t,0,f,o),f=t=>{n.p=1,s.m[e]=e=>{e.exports=t()}};1===a.length&&o.FEDERATION_SUPPORTED_TYPES.includes(a[0].externalType)&&a[0].name?c(()=>{try{let e=(0,i.decodeName)(a[0].name,i.ENCODE_NAME_PREFIX)+n[1].slice(1),t=s.federation.instance,r=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){let e=Array.isArray(n[0])?n[0]:[n[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>r())}return r()}catch(e){l(e)}},n[2],0,0,f,1):c(s,n[2],0,0,(e,t,r)=>e?c(s.I,n[0],0,e,d,r):l(),1)})}},91092(e,t){t.updateConsumeOptions=function(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:o}=t,{sharedFallback:a,bundlerRuntime:i,libraryType:s}=t.federation;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:o={},initialConsumes:l=[],chunkMapping:u={}}=n;if(Object.entries(o).forEach(([e,n])=>{r[e]||(r[e]={getter:a?i?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:t,libraryType:s}):n.fallback,treeShakingGetter:a?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:a?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;l.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(u).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}n._updated=1}if(o&&!o._updated){let{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){let{name:t,version:o,factory:a,eager:i,singleton:s,requiredVersion:l,strictVersion:u}=n,p={requiredVersion:`^${o}`},c=function(e){return void 0!==e};c(s)&&(p.singleton=s),c(l)&&(p.requiredVersion=l),c(i)&&(p.eager=i),c(u)&&(p.strictVersion=u);let d={version:o,scope:[e],shareConfig:p,get:a};r[t]?r[t].push(d):r[t]=[d]}e.instance.registerShared(r),o._updated=1}},t.updateRemoteOptions=function(e){let{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:a}=t,i=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!a||a._updated||!i)return;let{chunkMapping:s,moduleIdToRemoteDataMapping:l}=a;if(s&&l){for(let[e,t]of Object.entries(l))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!n[e]&&i[t.remoteName]){let r=i[t.remoteName];n[e]||=[],r.forEach(t=>{n[e].includes(t)||n[e].push(t)})}o&&Object.entries(s).forEach(([e,t])=>{o[e]||(o[e]=[]),t.forEach(t=>{o[e].includes(t)||o[e].push(t)})}),a._updated=1}}},76860(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(i(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var i,l=a(t),u=0,p=l.length;u<p;u++)i=l[u],s.call(e,i)||void 0===i||n(e,i,{get:(e=>t[e]).bind(null,i),enumerable:!(r=o(t,i))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},90589(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(76860);let n=r(75949),o=r(53054),a={...o.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},i=o.helpers.share,s=o.helpers.utils;t.default={global:a,share:i,utils:s},t.global=a,t.share=i,t.utils=s},75949(e,t,r){r(76860);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@kenyaemr/esm-ward-app:8.5.4-pre.166";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return a[e].call(r.exports,r,r.exports,s),r.exports}s.m=a,s.c=i,s.x=()=>s(53233),s.federation||(s.federation={chunkMatcher:function(e){return!/^(3031|3549|4321|4865|567|9309)$/.test(e)},rootOutputDir:""}),s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},u=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);s.r(r);var n={};l=l||[null,u({}),u([]),u(u)];for(var o=2&t&&e;("object"==typeof o||"function"==typeof o)&&!~l.indexOf(o);o=u(o))Object.getOwnPropertyNames(o).forEach(t=>{n[t]=()=>e[t]});return n.default=()=>e,s.d(r,n),r},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>""+e+".js",s.miniCssF=e=>""+e+".css",s.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p={},s.l=function(e,t,r,n){if(p[e])return void p[e].push(t);if(void 0!==r)for(var o,a,i=document.getElementsByTagName("script"),l=0;l<i.length;l++){var u=i[l];if(u.getAttribute("src")==e||u.getAttribute("data-rspack")=="@kenyaemr/esm-ward-app:"+r){o=u;break}}o||(a=!0,(o=document.createElement("script")).timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-rspack","@kenyaemr/esm-ward-app:"+r),o.src=e),p[e]=[t];var c=function(t,r){o.onerror=o.onload=null,clearTimeout(d);var n=p[e];if(delete p[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach(function(e){return e(r)}),t)return t(r)},d=setTimeout(c.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=c.bind(null,o.onerror),o.onload=c.bind(null,o.onload),a&&document.head.appendChild(o)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.rv=()=>"1.7.9",s.S={},s.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@openmrs/esm-framework",version:"10.0.1-pre.5420",factory:()=>Promise.all([s.e("689"),s.e("8990"),s.e("3496"),s.e("1744"),s.e("2007"),s.e("9011"),s.e("4304"),s.e("3012"),s.e("3549"),s.e("4321"),s.e("567"),s.e("3031"),s.e("4865"),s.e("193")]).then(()=>()=>s(71295)),eager:0,singleton:1,requiredVersion:"9.x",strictVersion:0},{name:"react-i18next",version:"11.18.6",factory:()=>Promise.all([s.e("6196"),s.e("567")]).then(()=>()=>s(93807)),eager:0,singleton:1,requiredVersion:"11.x",strictVersion:0},{name:"react-router-dom",version:"6.30.6",factory:()=>Promise.all([s.e("689"),s.e("9712"),s.e("567")]).then(()=>()=>s(27059)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>s.e("466").then(()=>()=>s(14041)),eager:0,singleton:1,requiredVersion:"^18.1.0",strictVersion:0},{name:"swr/_internal",version:"2.2.5",factory:()=>Promise.all([s.e("3989"),s.e("567")]).then(()=>()=>s(42372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.2.5",factory:()=>Promise.all([s.e("9061"),s.e("4321"),s.e("567")]).then(()=>()=>s(29876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.2.5",factory:()=>Promise.all([s.e("9771"),s.e("4321"),s.e("567"),s.e("3720")]).then(()=>()=>s(52470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@kenyaemr/esm-ward-app"},s.I=s.I||function(){throw Error("should have __webpack_require__.I")},s.g.importScripts&&(c=s.g.location+"");var l,u,p,c,d=s.g.document;if(!c&&d&&(d.currentScript&&"SCRIPT"===d.currentScript.tagName.toUpperCase()&&(c=d.currentScript.src),!c)){var f=d.getElementsByTagName("script");if(f.length)for(var h=f.length-1;h>-1&&(!c||!/^http(s?):/.test(c));)c=f[h--].src}if(!c)throw Error("Automatic publicPath is not supported in this browser");if(s.p=c=c.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.consumesLoadingData={chunkMapping:{4865:["75614","61907"],3549:["41356"],6482:["80357"],4321:["23896"],567:["38602"],5181:["34187"],3031:["94522"]},moduleIdToConsumeDataMapping:{38602:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"^18.1.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("466").then(()=>()=>s(14041))},41356:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("9061"),s.e("4321")]).then(()=>()=>s(29876))},80357:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"9.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("689"),s.e("8990"),s.e("3496"),s.e("1744"),s.e("2007"),s.e("9011"),s.e("4304"),s.e("3012"),s.e("3549"),s.e("4321"),s.e("3031"),s.e("5697")]).then(()=>()=>s(71295))},61907:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("689"),s.e("9712")]).then(()=>()=>s(27059))},94522:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("9771").then(()=>()=>s(52470))},75614:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"11.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("6196").then(()=>()=>s(93807))},34187:{shareScope:"default",shareKey:"@openmrs/esm-framework/src/internal",import:"@openmrs/esm-framework/src/internal",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("2007"),s.e("9011"),s.e("4304"),s.e("3012"),s.e("3549"),s.e("3031")]).then(()=>()=>s(71295))},23896:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("3989").then(()=>()=>s(42372))}},initialConsumes:[]},s.f.consumes=s.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},"u">typeof document){var m=function(e,t,r,n,o){var a=document.createElement("link");return a.rel="stylesheet",a.type="text/css",s.nc&&(a.nonce=s.nc),a.href=t,a.onerror=a.onload=function(r){if(a.onerror=a.onload=null,"load"===r.type)n();else{var i=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,a.parentNode&&a.parentNode.removeChild(a),o(l)}},r?r.parentNode.insertBefore(a,r.nextSibling):document.head.appendChild(a),a},g=function(e,t){for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=r[n],a=o.getAttribute("data-href")||o.getAttribute("href");if(a&&(a=a.split("?")[0]),"stylesheet"===o.rel&&(a===e||a===t))return o}for(var i=document.getElementsByTagName("style"),n=0;n<i.length;n++){var o=i[n],a=o.getAttribute("data-href");if(a===e||a===t)return o}},y={3075:0};s.f.miniCss=function(e,t){if(y[e])t.push(y[e]);else 0!==y[e]&&({1613:1,1992:1,2101:1,2326:1,2446:1,2724:1,3012:1,3276:1,347:1,4266:1,4847:1,4883:1,4892:1,5050:1,5060:1,5460:1,5493:1,5591:1,5862:1,6079:1,6326:1,6380:1,6482:1,6703:1,7240:1,7891:1,8302:1,8923:1,9080:1,9116:1,9124:1,9309:1,9456:1,9926:1,9976:1})[e]&&t.push(y[e]=new Promise(function(t,r){var n=s.miniCssF(e),o=s.p+n;if(g(n,o))return t();m(e,o,null,t,r)}).then(function(){y[e]=0},function(t){throw delete y[e],t}))}}s.initializeExposesData={moduleMap:{"./start":()=>Promise.all([s.e("567"),s.e("4865"),s.e("6482")]).then(()=>()=>s(80169))},shareScope:"default"},s.getContainer=s.getContainer||function(){throw Error("should have __webpack_require__.getContainer")},s.initContainer=s.initContainer||function(){throw Error("should have __webpack_require__.initContainer")},e={3075:0},s.f.j=function(t,r){var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(3031|3549|4321|4865|567|9309)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var a=s.p+s.u(t),i=Error();s.l(a,function(r){if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+t,t)}},t=(t,r)=>{var n,o,[a,i,l]=r,u=0;if(a.some(t=>0!==e[t])){for(n in i)s.o(i,n)&&(s.m[n]=i[n]);l&&l(s)}for(t&&t(r);u<a.length;u++)o=a[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(r=globalThis.webpackChunk_kenyaemr_esm_ward_app=globalThis.webpackChunk_kenyaemr_esm_ward_app||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),s.ruid="bundler=rspack@1.7.9",n=s.x,o=!1,s.x=function(){if(o||(o=!0,s(86364)),"function"==typeof n)return n();console.warn("[MF] Invalid prevStartup")},_kenyaemr_esm_ward_app=s.x()})();
3
+ while loading "${n[1]}" from ${n[2]}`),s.m[e]=()=>{throw t},n.p=0},c=(e,t,o,a,i,s)=>{try{let u=e(t,o);if(!u||!u.then)return i(u,a,s);{let e=u.then(e=>i(e,a),l);if(!s)return e;r.push(n.p=e)}}catch(e){l(e)}};var d=(e,r,o)=>c(r.get,n[1],t,0,f,o),f=t=>{n.p=1,s.m[e]=e=>{e.exports=t()}};1===a.length&&o.FEDERATION_SUPPORTED_TYPES.includes(a[0].externalType)&&a[0].name?c(()=>{try{let e=(0,i.decodeName)(a[0].name,i.ENCODE_NAME_PREFIX)+n[1].slice(1),t=s.federation.instance,r=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){let e=Array.isArray(n[0])?n[0]:[n[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>r())}return r()}catch(e){l(e)}},n[2],0,0,f,1):c(s,n[2],0,0,(e,t,r)=>e?c(s.I,n[0],0,e,d,r):l(),1)})}},91092(e,t){t.updateConsumeOptions=function(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:o}=t,{sharedFallback:a,bundlerRuntime:i,libraryType:s}=t.federation;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:o={},initialConsumes:l=[],chunkMapping:u={}}=n;if(Object.entries(o).forEach(([e,n])=>{r[e]||(r[e]={getter:a?i?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:t,libraryType:s}):n.fallback,treeShakingGetter:a?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:a?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;l.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(u).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}n._updated=1}if(o&&!o._updated){let{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){let{name:t,version:o,factory:a,eager:i,singleton:s,requiredVersion:l,strictVersion:u}=n,p={requiredVersion:`^${o}`},c=function(e){return void 0!==e};c(s)&&(p.singleton=s),c(l)&&(p.requiredVersion=l),c(i)&&(p.eager=i),c(u)&&(p.strictVersion=u);let d={version:o,scope:[e],shareConfig:p,get:a};r[t]?r[t].push(d):r[t]=[d]}e.instance.registerShared(r),o._updated=1}},t.updateRemoteOptions=function(e){let{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:a}=t,i=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!a||a._updated||!i)return;let{chunkMapping:s,moduleIdToRemoteDataMapping:l}=a;if(s&&l){for(let[e,t]of Object.entries(l))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!n[e]&&i[t.remoteName]){let r=i[t.remoteName];n[e]||=[],r.forEach(t=>{n[e].includes(t)||n[e].push(t)})}o&&Object.entries(s).forEach(([e,t])=>{o[e]||(o[e]=[]),t.forEach(t=>{o[e].includes(t)||o[e].push(t)})}),a._updated=1}}},76860(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(i(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var i,l=a(t),u=0,p=l.length;u<p;u++)i=l[u],s.call(e,i)||void 0===i||n(e,i,{get:(e=>t[e]).bind(null,i),enumerable:!(r=o(t,i))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},90589(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(76860);let n=r(75949),o=r(53054),a={...o.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},i=o.helpers.share,s=o.helpers.utils;t.default={global:a,share:i,utils:s},t.global=a,t.share=i,t.utils=s},75949(e,t,r){r(76860);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@kenyaemr/esm-ward-app:8.5.4-pre.168";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return a[e].call(r.exports,r,r.exports,s),r.exports}s.m=a,s.c=i,s.x=()=>s(53233),s.federation||(s.federation={chunkMatcher:function(e){return!/^(3031|3549|4321|4865|567|9309)$/.test(e)},rootOutputDir:""}),s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},u=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);s.r(r);var n={};l=l||[null,u({}),u([]),u(u)];for(var o=2&t&&e;("object"==typeof o||"function"==typeof o)&&!~l.indexOf(o);o=u(o))Object.getOwnPropertyNames(o).forEach(t=>{n[t]=()=>e[t]});return n.default=()=>e,s.d(r,n),r},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>""+e+".js",s.miniCssF=e=>""+e+".css",s.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p={},s.l=function(e,t,r,n){if(p[e])return void p[e].push(t);if(void 0!==r)for(var o,a,i=document.getElementsByTagName("script"),l=0;l<i.length;l++){var u=i[l];if(u.getAttribute("src")==e||u.getAttribute("data-rspack")=="@kenyaemr/esm-ward-app:"+r){o=u;break}}o||(a=!0,(o=document.createElement("script")).timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-rspack","@kenyaemr/esm-ward-app:"+r),o.src=e),p[e]=[t];var c=function(t,r){o.onerror=o.onload=null,clearTimeout(d);var n=p[e];if(delete p[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach(function(e){return e(r)}),t)return t(r)},d=setTimeout(c.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=c.bind(null,o.onerror),o.onload=c.bind(null,o.onload),a&&document.head.appendChild(o)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.rv=()=>"1.7.9",s.S={},s.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@openmrs/esm-framework",version:"10.0.1-pre.5420",factory:()=>Promise.all([s.e("689"),s.e("8990"),s.e("3496"),s.e("1744"),s.e("2007"),s.e("9011"),s.e("4304"),s.e("3012"),s.e("3549"),s.e("4321"),s.e("567"),s.e("3031"),s.e("4865"),s.e("193")]).then(()=>()=>s(71295)),eager:0,singleton:1,requiredVersion:"9.x",strictVersion:0},{name:"react-i18next",version:"11.18.6",factory:()=>Promise.all([s.e("6196"),s.e("567")]).then(()=>()=>s(93807)),eager:0,singleton:1,requiredVersion:"11.x",strictVersion:0},{name:"react-router-dom",version:"6.30.6",factory:()=>Promise.all([s.e("689"),s.e("9712"),s.e("567")]).then(()=>()=>s(27059)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>s.e("466").then(()=>()=>s(14041)),eager:0,singleton:1,requiredVersion:"^18.1.0",strictVersion:0},{name:"swr/_internal",version:"2.2.5",factory:()=>Promise.all([s.e("3989"),s.e("567")]).then(()=>()=>s(42372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.2.5",factory:()=>Promise.all([s.e("9061"),s.e("4321"),s.e("567")]).then(()=>()=>s(29876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.2.5",factory:()=>Promise.all([s.e("9771"),s.e("4321"),s.e("567"),s.e("3720")]).then(()=>()=>s(52470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@kenyaemr/esm-ward-app"},s.I=s.I||function(){throw Error("should have __webpack_require__.I")},s.g.importScripts&&(c=s.g.location+"");var l,u,p,c,d=s.g.document;if(!c&&d&&(d.currentScript&&"SCRIPT"===d.currentScript.tagName.toUpperCase()&&(c=d.currentScript.src),!c)){var f=d.getElementsByTagName("script");if(f.length)for(var h=f.length-1;h>-1&&(!c||!/^http(s?):/.test(c));)c=f[h--].src}if(!c)throw Error("Automatic publicPath is not supported in this browser");if(s.p=c=c.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.consumesLoadingData={chunkMapping:{4865:["75614","61907"],3549:["41356"],6482:["80357"],4321:["23896"],567:["38602"],5181:["34187"],3031:["94522"]},moduleIdToConsumeDataMapping:{38602:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"^18.1.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("466").then(()=>()=>s(14041))},41356:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("9061"),s.e("4321")]).then(()=>()=>s(29876))},80357:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"9.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("689"),s.e("8990"),s.e("3496"),s.e("1744"),s.e("2007"),s.e("9011"),s.e("4304"),s.e("3012"),s.e("3549"),s.e("4321"),s.e("3031"),s.e("5697")]).then(()=>()=>s(71295))},61907:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("689"),s.e("9712")]).then(()=>()=>s(27059))},94522:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("9771").then(()=>()=>s(52470))},75614:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"11.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("6196").then(()=>()=>s(93807))},34187:{shareScope:"default",shareKey:"@openmrs/esm-framework/src/internal",import:"@openmrs/esm-framework/src/internal",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("2007"),s.e("9011"),s.e("4304"),s.e("3012"),s.e("3549"),s.e("3031")]).then(()=>()=>s(71295))},23896:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("3989").then(()=>()=>s(42372))}},initialConsumes:[]},s.f.consumes=s.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},"u">typeof document){var m=function(e,t,r,n,o){var a=document.createElement("link");return a.rel="stylesheet",a.type="text/css",s.nc&&(a.nonce=s.nc),a.href=t,a.onerror=a.onload=function(r){if(a.onerror=a.onload=null,"load"===r.type)n();else{var i=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,a.parentNode&&a.parentNode.removeChild(a),o(l)}},r?r.parentNode.insertBefore(a,r.nextSibling):document.head.appendChild(a),a},g=function(e,t){for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=r[n],a=o.getAttribute("data-href")||o.getAttribute("href");if(a&&(a=a.split("?")[0]),"stylesheet"===o.rel&&(a===e||a===t))return o}for(var i=document.getElementsByTagName("style"),n=0;n<i.length;n++){var o=i[n],a=o.getAttribute("data-href");if(a===e||a===t)return o}},y={3075:0};s.f.miniCss=function(e,t){if(y[e])t.push(y[e]);else 0!==y[e]&&({1613:1,1992:1,2101:1,2326:1,2446:1,2724:1,3012:1,3276:1,347:1,4266:1,4847:1,4883:1,4892:1,5050:1,5060:1,5460:1,5493:1,5591:1,5862:1,6079:1,6326:1,6380:1,6482:1,6703:1,7240:1,7891:1,8302:1,8923:1,9080:1,9116:1,9124:1,9309:1,9456:1,9926:1,9976:1})[e]&&t.push(y[e]=new Promise(function(t,r){var n=s.miniCssF(e),o=s.p+n;if(g(n,o))return t();m(e,o,null,t,r)}).then(function(){y[e]=0},function(t){throw delete y[e],t}))}}s.initializeExposesData={moduleMap:{"./start":()=>Promise.all([s.e("567"),s.e("4865"),s.e("6482")]).then(()=>()=>s(80169))},shareScope:"default"},s.getContainer=s.getContainer||function(){throw Error("should have __webpack_require__.getContainer")},s.initContainer=s.initContainer||function(){throw Error("should have __webpack_require__.initContainer")},e={3075:0},s.f.j=function(t,r){var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(3031|3549|4321|4865|567|9309)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var a=s.p+s.u(t),i=Error();s.l(a,function(r){if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+t,t)}},t=(t,r)=>{var n,o,[a,i,l]=r,u=0;if(a.some(t=>0!==e[t])){for(n in i)s.o(i,n)&&(s.m[n]=i[n]);l&&l(s)}for(t&&t(r);u<a.length;u++)o=a[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(r=globalThis.webpackChunk_kenyaemr_esm_ward_app=globalThis.webpackChunk_kenyaemr_esm_ward_app||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),s.ruid="bundler=rspack@1.7.9",n=s.x,o=!1,s.x=function(){if(o||(o=!0,s(86364)),"function"==typeof n)return n();console.warn("[MF] Invalid prevStartup")},_kenyaemr_esm_ward_app=s.x()})();
@@ -617,7 +617,7 @@
617
617
  "auxiliaryFiles": [
618
618
  "kenyaemr-esm-ward-app.js.map"
619
619
  ],
620
- "hash": "a4c362ef9b654c5e",
620
+ "hash": "dfa59827dc70f22e",
621
621
  "childrenByOrder": {}
622
622
  },
623
623
  {
@@ -2030,11 +2030,11 @@
2030
2030
  "rendered": true,
2031
2031
  "initial": false,
2032
2032
  "entry": false,
2033
- "size": 63660,
2033
+ "size": 63661,
2034
2034
  "sizes": {
2035
2035
  "consume-shared": 42,
2036
2036
  "css/mini-extract": 172,
2037
- "javascript": 63446
2037
+ "javascript": 63447
2038
2038
  },
2039
2039
  "names": [],
2040
2040
  "idHints": [],
@@ -2049,7 +2049,7 @@
2049
2049
  "6482.css.map",
2050
2050
  "6482.js.map"
2051
2051
  ],
2052
- "hash": "8f2a437e472d54e0",
2052
+ "hash": "42e0cf042d3d3077",
2053
2053
  "childrenByOrder": {}
2054
2054
  },
2055
2055
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=3.0.0 <4.0.0","emrapi":">=3.0.0 <4.0.0","bedmanagement":">=7.0.0"},"optionalBackendDependencies":{"bedmanagement":{"version":"^6.0.0 || 6.0.0-SNAPSHOT","feature":{"flagName":"bedmanagement-module","label":"Ward App Patient Service","description":"This module, if installed, provides services for managing patients admitted to the ward."}}},"extensions":[{"name":"ward-dashboard-link","component":"wardDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"ward","slot":"ward-dashboard-slot","title":"Wards"}},{"component":"root","name":"ward-dashboard","slot":"ward-dashboard-slot"},{"component":"wardView","name":"ward-view","slot":"ward-view-slot"},{"component":"wardPatientActionButtonExtension","name":"ward-patient-action-button","slot":"action-menu-ward-patient-items-slot"},{"component":"wardPatientNotesActionButtonExtension","name":"ward-inpatient-notes-form-action-button","slot":"action-menu-ward-patient-items-slot"},{"component":"coloredObsTagCardRowExtension","name":"colored-obs-tags-card-row","slot":"ward-patient-card-slot"},{"name":"transfer-swap-patient-siderail-button","slot":"action-menu-ward-patient-items-slot","component":"patientTransferAndSwapWorkspaceSiderailIcon"},{"name":"patient-discharge-siderail-button","slot":"action-menu-ward-patient-items-slot","component":"patientDischargeWorkspaceSideRailIcon"},{"name":"clinical-forms-workspace-siderail-button","component":"clinicalFormWorkspaceSideRailIcon","slot":"action-menu-ward-patient-items-slot"},{"name":"admission-requests-workspace-siderail-button","component":"admissionRequestsWorkspaceSideRailIcon","slot":"action-menu-ward-patient-admission-requests-items-slot"},{"name":"create-admission-request-workspace-siderail-button","component":"createAdmissionEncounterWorkspaceSideRailIcon","slot":"action-menu-ward-patient-admission-requests-items-slot"},{"component":"defaultWardView","name":"default-ward","slot":"default-ward"},{"component":"maternalWardView","name":"maternal-ward","slot":"maternal-ward"},{"name":"ward-patients-awaiting-admission","component":"wardPatientsAwaitingAdmissionTable","slot":"ward-patients-awaiting-admission-slot"},{"name":"ward-patients-admitted","component":"wardPatientsAdmittedTable","slot":"ward-patients-admitted-slot"},{"name":"ward-patients-unassigned","component":"wardPatientsUnassignedTable","slot":"ward-patients-unassigned-slot"},{"name":"ward-patients-discharge-in","component":"wardPatientsDischargeInTable","slot":"ward-patients-discharge-in-slot"},{"name":"ward-patients-discharged","component":"wardPatientsDischargedTable","slot":"ward-patients-discharged-slot"},{"component":"patientDischargeDocumentPreview","name":"patient-discharge-document-preview-modal"},{"component":"wardPatientWorkspaceBanner","name":"ward-patient-workspace-banner","slot":"ward-workspace-patient-banner-slot"},{"name":"in-patient-dashboard-link","component":"inPatientChartLink","order":7,"meta":{"slot":"patient-chart-in-patient-dashboard-slot","path":"in-patient","layoutMode":"anchored","columns":1,"columnSpan":1}},{"name":"in-patient-dashboard","slot":"patient-chart-in-patient-dashboard-slot","component":"inPatientChartDashboard","meta":{"fullWidth":false}},{"name":"in-patient-admission-requests","slot":"inpatient-dashboard-tabs-slot","component":"inPatientAdmissionRequest","meta":{"fullWidth":false,"title":"admissionRequests"}},{"name":"in-patient-detail-view","slot":"inpatient-dashboard-tabs-slot","component":"inPatientDetailView","meta":{"fullWidth":false,"title":"inpatientDetails"}},{"name":"inpatient-partograph-view","slot":"inpatient-dashboard-tabs-slot","component":"inPatientPartographView","meta":{"fullWidth":false,"title":"partograph"}},{"name":"in-patient-treatment-chart","component":"inPatientTreatmentChart","slot":"inpatient-dashboard-tabs-slot","meta":{"fullWidth":false,"title":"treatmentChart"}},{"name":"global-cds-alert-banner","slot":"patient-chart-clinical-encounter-slot","component":"globalCdsAlertBanner","order":99,"online":true,"offline":false},{"name":"maternal-and-child-health-labour-care-guide","slot":"inpatient-dashboard-tabs-slot","component":"labourCareGuide","meta":{"title":"Labour Care Guide"},"order":0,"online":true,"offline":false},{"name":"case-identification-finding","slot":"inpatient-dashboard-tabs-slot","component":"caseIdentificationFinding","meta":{"title":"cif"},"order":0,"online":true,"offline":false},{"name":"contact-listing","slot":"inpatient-dashboard-tabs-slot","component":"contactListing","meta":{"title":"contactListing"},"order":0,"online":true,"offline":false},{"name":"case-followup","slot":"inpatient-dashboard-tabs-slot","component":"caseFollowUp","meta":{"title":"caseFollowup"},"order":0,"online":true,"offline":false}],"modals":[{"name":"ward-switch-modal","component":"wardSwitchModal"}],"workspaces":[{"name":"admission-requests-workspace","component":"admissionRequestWorkspace","title":"admissionRequests","type":"pending-admission-requests","width":"wider"},{"name":"create-admission-encounter-workspace","component":"createAdmissionEncounterWorkspace","title":"admitPatient","type":"patient-search-workspace","width":"wider"},{"name":"ward-patient-notes-workspace","component":"wardPatientNotesWorkspace","type":"ward-patient-notes","title":"inpatientNotesWorkspaceTitle"},{"name":"ward-patient-workspace","component":"wardPatientWorkspace","type":"ward","title":"Ward patient","width":"extra-wide"},{"name":"ward-patient-clinical-forms-workspace","component":"patientClinicalFormsWorkspace","title":"clinicalForms","type":"ward-patient-clinical-forms","width":"wider"}],"workspaceGroups":[{"name":"ward-patient","members":["ward-patient-workspace","ward-patient-notes-workspace","patient-transfer-swap-workspace","patient-discharge-workspace","ward-patient-clinical-forms-workspace","add-drug-order","order-basket","add-lab-order"]},{"name":"ward-patient-admission-requests","members":["admission-requests-workspace","create-admission-encounter-workspace"]}],"workspaces2":[{"name":"patient-transfer-request-workspace","component":"patientTransferRequestWorkspace","window":"kenyaemr-esm-ward-window"},{"name":"cancel-admission-request-workspace","component":"cancelAdmissionRequestWorkspace","window":"kenyaemr-esm-ward-window"},{"name":"admit-patient-form-workspace","component":"admitPatientFormWorkspace","window":"kenyaemr-esm-ward-window"},{"name":"patient-transfer-swap-workspace","component":"patientTransferAndSwapWorkspace","window":"kenyaemr-esm-ward-window"},{"name":"patient-admit-or-transfer-request-form","component":"patientAdmitOrTransferRequestForm","window":"kenyaemr-esm-ward-window"},{"name":"patient-bed-swap-form","component":"patientBedSwapForm","window":"kenyaemr-esm-ward-window"},{"name":"patient-discharge-workspace","component":"patientDischargeWorkspace","window":"kenyaemr-form-entry-window"},{"name":"discharge-appointment-form-workspace","component":"@kenyaemr/esm-appointments-app#exportedAppointmentForm","window":"kenyaemr-form-entry-window"},{"name":"ward-form-entry-workspace","component":"@openmrs/esm-patient-forms-app#exportedPatientFormEntryWorkspace","window":"ward-form-entry-workspace-window"},{"name":"nursing-cardex-plan-workspace","component":"nursingCardexPlanWorkspace","window":"ewf-nursing-cardex"},{"name":"maternity-inpatient-form-workspace","component":"maternityInpatientFormWorkspace","window":"maternity-inpatient-form-window"},{"name":"create-ward-bill-workspace","component":"createWardBillWorkspace","window":"kenyaemr-esm-ward-window"},{"name":"add-contact-form-workspace","component":"addContactFormWorkspace","window":"contact-list-window"}],"workspaceWindows2":[{"name":"kenyaemr-esm-ward-window","group":"kenyaemr-esm-ward-group","canMaximize":true},{"name":"ewf-nursing-cardex","group":"kenyaemr-esm-ward-group","canMaximize":true},{"name":"kenyaemr-form-entry-window","group":"kenyaemr-esm-ward-group","canMaximize":true,"width":"extra-wide"},{"name":"ward-form-entry-workspace-window","group":"patient-chart","width":"wider"},{"name":"maternity-inpatient-form-window","group":"patient-chart","width":"extra-wide","canMaximize":true},{"name":"contact-list-window","canMaximize":true,"width":"wider","group":"patient-chart"}],"workspaceGroups2":[{"name":"kenyaemr-esm-ward-group"}],"version":"8.5.4-pre.166"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=3.0.0 <4.0.0","emrapi":">=3.0.0 <4.0.0","bedmanagement":">=7.0.0"},"optionalBackendDependencies":{"bedmanagement":{"version":"^6.0.0 || 6.0.0-SNAPSHOT","feature":{"flagName":"bedmanagement-module","label":"Ward App Patient Service","description":"This module, if installed, provides services for managing patients admitted to the ward."}}},"extensions":[{"name":"ward-dashboard-link","component":"wardDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"ward","slot":"ward-dashboard-slot","title":"Wards"}},{"component":"root","name":"ward-dashboard","slot":"ward-dashboard-slot"},{"component":"wardView","name":"ward-view","slot":"ward-view-slot"},{"component":"wardPatientActionButtonExtension","name":"ward-patient-action-button","slot":"action-menu-ward-patient-items-slot"},{"component":"wardPatientNotesActionButtonExtension","name":"ward-inpatient-notes-form-action-button","slot":"action-menu-ward-patient-items-slot"},{"component":"coloredObsTagCardRowExtension","name":"colored-obs-tags-card-row","slot":"ward-patient-card-slot"},{"name":"transfer-swap-patient-siderail-button","slot":"action-menu-ward-patient-items-slot","component":"patientTransferAndSwapWorkspaceSiderailIcon"},{"name":"patient-discharge-siderail-button","slot":"action-menu-ward-patient-items-slot","component":"patientDischargeWorkspaceSideRailIcon"},{"name":"clinical-forms-workspace-siderail-button","component":"clinicalFormWorkspaceSideRailIcon","slot":"action-menu-ward-patient-items-slot"},{"name":"admission-requests-workspace-siderail-button","component":"admissionRequestsWorkspaceSideRailIcon","slot":"action-menu-ward-patient-admission-requests-items-slot"},{"name":"create-admission-request-workspace-siderail-button","component":"createAdmissionEncounterWorkspaceSideRailIcon","slot":"action-menu-ward-patient-admission-requests-items-slot"},{"component":"defaultWardView","name":"default-ward","slot":"default-ward"},{"component":"maternalWardView","name":"maternal-ward","slot":"maternal-ward"},{"name":"ward-patients-awaiting-admission","component":"wardPatientsAwaitingAdmissionTable","slot":"ward-patients-awaiting-admission-slot"},{"name":"ward-patients-admitted","component":"wardPatientsAdmittedTable","slot":"ward-patients-admitted-slot"},{"name":"ward-patients-unassigned","component":"wardPatientsUnassignedTable","slot":"ward-patients-unassigned-slot"},{"name":"ward-patients-discharge-in","component":"wardPatientsDischargeInTable","slot":"ward-patients-discharge-in-slot"},{"name":"ward-patients-discharged","component":"wardPatientsDischargedTable","slot":"ward-patients-discharged-slot"},{"component":"patientDischargeDocumentPreview","name":"patient-discharge-document-preview-modal"},{"component":"wardPatientWorkspaceBanner","name":"ward-patient-workspace-banner","slot":"ward-workspace-patient-banner-slot"},{"name":"in-patient-dashboard-link","component":"inPatientChartLink","order":7,"meta":{"slot":"patient-chart-in-patient-dashboard-slot","path":"in-patient","layoutMode":"anchored","columns":1,"columnSpan":1}},{"name":"in-patient-dashboard","slot":"patient-chart-in-patient-dashboard-slot","component":"inPatientChartDashboard","meta":{"fullWidth":false}},{"name":"in-patient-admission-requests","slot":"inpatient-dashboard-tabs-slot","component":"inPatientAdmissionRequest","meta":{"fullWidth":false,"title":"admissionRequests"}},{"name":"in-patient-detail-view","slot":"inpatient-dashboard-tabs-slot","component":"inPatientDetailView","meta":{"fullWidth":false,"title":"inpatientDetails"}},{"name":"inpatient-partograph-view","slot":"inpatient-dashboard-tabs-slot","component":"inPatientPartographView","meta":{"fullWidth":false,"title":"partograph"}},{"name":"in-patient-treatment-chart","component":"inPatientTreatmentChart","slot":"inpatient-dashboard-tabs-slot","meta":{"fullWidth":false,"title":"treatmentChart"}},{"name":"global-cds-alert-banner","slot":"patient-chart-clinical-encounter-slot","component":"globalCdsAlertBanner","order":99,"online":true,"offline":false},{"name":"maternal-and-child-health-labour-care-guide","slot":"inpatient-dashboard-tabs-slot","component":"labourCareGuide","meta":{"title":"Labour Care Guide"},"order":0,"online":true,"offline":false},{"name":"case-identification-finding","slot":"inpatient-dashboard-tabs-slot","component":"caseIdentificationFinding","meta":{"title":"cif"},"order":0,"online":true,"offline":false},{"name":"contact-listing","slot":"inpatient-dashboard-tabs-slot","component":"contactListing","meta":{"title":"contactListing"},"order":0,"online":true,"offline":false},{"name":"case-followup","slot":"inpatient-dashboard-tabs-slot","component":"caseFollowUp","meta":{"title":"caseFollowup"},"order":0,"online":true,"offline":false}],"modals":[{"name":"ward-switch-modal","component":"wardSwitchModal"}],"workspaces":[{"name":"admission-requests-workspace","component":"admissionRequestWorkspace","title":"admissionRequests","type":"pending-admission-requests","width":"wider"},{"name":"create-admission-encounter-workspace","component":"createAdmissionEncounterWorkspace","title":"admitPatient","type":"patient-search-workspace","width":"wider"},{"name":"ward-patient-notes-workspace","component":"wardPatientNotesWorkspace","type":"ward-patient-notes","title":"inpatientNotesWorkspaceTitle"},{"name":"ward-patient-workspace","component":"wardPatientWorkspace","type":"ward","title":"Ward patient","width":"extra-wide"},{"name":"ward-patient-clinical-forms-workspace","component":"patientClinicalFormsWorkspace","title":"clinicalForms","type":"ward-patient-clinical-forms","width":"wider"}],"workspaceGroups":[{"name":"ward-patient","members":["ward-patient-workspace","ward-patient-notes-workspace","patient-transfer-swap-workspace","patient-discharge-workspace","ward-patient-clinical-forms-workspace","add-drug-order","order-basket","add-lab-order"]},{"name":"ward-patient-admission-requests","members":["admission-requests-workspace","create-admission-encounter-workspace"]}],"workspaces2":[{"name":"patient-transfer-request-workspace","component":"patientTransferRequestWorkspace","window":"kenyaemr-esm-ward-window"},{"name":"cancel-admission-request-workspace","component":"cancelAdmissionRequestWorkspace","window":"kenyaemr-esm-ward-window"},{"name":"admit-patient-form-workspace","component":"admitPatientFormWorkspace","window":"kenyaemr-esm-ward-window"},{"name":"patient-transfer-swap-workspace","component":"patientTransferAndSwapWorkspace","window":"kenyaemr-esm-ward-window"},{"name":"patient-admit-or-transfer-request-form","component":"patientAdmitOrTransferRequestForm","window":"kenyaemr-esm-ward-window"},{"name":"patient-bed-swap-form","component":"patientBedSwapForm","window":"kenyaemr-esm-ward-window"},{"name":"patient-discharge-workspace","component":"patientDischargeWorkspace","window":"kenyaemr-form-entry-window"},{"name":"discharge-appointment-form-workspace","component":"@kenyaemr/esm-appointments-app#exportedAppointmentForm","window":"kenyaemr-form-entry-window"},{"name":"ward-form-entry-workspace","component":"@openmrs/esm-patient-forms-app#exportedPatientFormEntryWorkspace","window":"ward-form-entry-workspace-window"},{"name":"nursing-cardex-plan-workspace","component":"nursingCardexPlanWorkspace","window":"ewf-nursing-cardex"},{"name":"maternity-inpatient-form-workspace","component":"maternityInpatientFormWorkspace","window":"maternity-inpatient-form-window"},{"name":"create-ward-bill-workspace","component":"createWardBillWorkspace","window":"kenyaemr-esm-ward-window"},{"name":"add-contact-form-workspace","component":"addContactFormWorkspace","window":"contact-list-window"}],"workspaceWindows2":[{"name":"kenyaemr-esm-ward-window","group":"kenyaemr-esm-ward-group","canMaximize":true},{"name":"ewf-nursing-cardex","group":"kenyaemr-esm-ward-group","canMaximize":true},{"name":"kenyaemr-form-entry-window","group":"kenyaemr-esm-ward-group","canMaximize":true,"width":"extra-wide"},{"name":"ward-form-entry-workspace-window","group":"patient-chart","width":"wider"},{"name":"maternity-inpatient-form-window","group":"patient-chart","width":"extra-wide","canMaximize":true},{"name":"contact-list-window","canMaximize":true,"width":"wider","group":"patient-chart"}],"workspaceGroups2":[{"name":"kenyaemr-esm-ward-group"}],"version":"8.5.4-pre.168"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenyaemr/esm-ward-app",
3
- "version": "8.5.4-pre.166",
3
+ "version": "8.5.4-pre.168",
4
4
  "description": "Ward and bed management module for O3",
5
5
  "browser": "dist/kenyaemr-esm-ward-app.js",
6
6
  "main": "src/index.ts",
@@ -642,7 +642,7 @@ export const configSchema: ConfigSchema = {
642
642
  cifFormUuid: {
643
643
  _description: 'Case Identification finding form uuid',
644
644
  _type: Type.String,
645
- _default: '49f3686d-b83c-4263-a5a1-89040f643a78',
645
+ _default: '47352c6c-af86-4996-81fe-bb9c224fe80b',
646
646
  },
647
647
  conceptUuidForWardAdmission: {
648
648
  _description: 'Concept UUID for ward admission',
@@ -942,7 +942,7 @@ export const configSchema: ConfigSchema = {
942
942
  _type: Type.Boolean,
943
943
  _description:
944
944
  'Demo flag. When true, skip admission and labour-ward tag checks and show partograph for female patients. Set to false for production.',
945
- _default: true,
945
+ _default: false,
946
946
  },
947
947
  treatmentChartCardexEncounterTypeUuid: {
948
948
  _description: 'Encounter type uuid for the cardex section of the treatment sheet',