@icap-ethiopia/esm-ethiohri-intake 1.0.0-pre.3 → 1.0.0-pre.4
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.
- package/dist/159.js +1 -1
- package/dist/159.js.map +1 -1
- package/dist/475.js +1 -1
- package/dist/475.js.map +1 -1
- package/dist/692.js +1 -1
- package/dist/692.js.map +1 -1
- package/dist/712.js +1 -1
- package/dist/712.js.map +1 -1
- package/dist/937.js +1 -1
- package/dist/937.js.map +1 -1
- package/dist/940.js +1 -1
- package/dist/940.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-ethio-template-app.js.buildmanifest.json +21 -21
- package/package.json +1 -1
package/dist/712.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_intake=globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_intake||[]).push([[712],{3371:(A,e,n)=>{n.d(e,{g:()=>p});var t=n(5987),a=n(8322),i=n(231),o=n.n(i);function c(A,e){(null==e||e>A.length)&&(e=A.length);for(var n=0,t=new Array(e);n<e;n++)t[n]=A[n];return t}function l(A,e,n,t,a,i,o){try{var c=A[i](o),l=c.value}catch(A){return void n(A)}c.done?e(l):Promise.resolve(l).then(t,a)}function r(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var n=null==A?null:"undefined"!=typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=n){var t,a,i=[],o=!0,c=!1;try{for(n=n.call(A);!(o=(t=n.next()).done)&&(i.push(t.value),!e||i.length!==e);o=!0);}catch(A){c=!0,a=A}finally{try{o||null==n.return||n.return()}finally{if(c)throw a}}return i}}(A,e)||function(A,e){if(A){if("string"==typeof A)return c(A,e);var n=Object.prototype.toString.call(A).slice(8,-1);return"Object"===n&&A.constructor&&(n=A.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(A,e):void 0}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var s=function(A,e,n,t){var a;if(!((null===(a=A)||void 0===a?void 0:a.obs)&&e&&n&&t))return[];var i=Object.keys(e).filter((function(A){return e[A]&&n[A]})).map((function(A){return n[A]}));return A.obs.filter((function(A){var e,n;return i.includes(null===(n=A)||void 0===n||null===(e=n.concept)||void 0===e?void 0:e.uuid)})).filter((function(A){var e,a,i,o,c,l=Object.keys(n).find((function(e){return n[e]===A.concept.uuid}));if(!l)return!1;var r,s,p,d,f,u,b=null!==(c=null===(a=A)||void 0===a||null===(e=a.value)||void 0===e?void 0:e.uuid)&&void 0!==c?c:null===(i=A)||void 0===i?void 0:i.value,h=t[l];return r=(null===(o=h)||void 0===o?void 0:o.selectedItems)?Array.isArray(h.selectedItems)?h.selectedItems.map((function(A){var e;return null!==(s=null===(e=A)||void 0===e?void 0:e.uuid)&&void 0!==s?s:A})):[]:null!==(u=null===(d=h)||void 0===d||null===(p=d.value)||void 0===p?void 0:p.uuid)&&void 0!==u?u:null===(f=h)||void 0===f?void 0:f.value,Array.isArray(r)?!r.includes(b):b!==r})).map((function(A){return{uuid:A.uuid,voided:!0}}))};function p(A,e){return d.apply(this,arguments)}function d(){var A;return A=function(A,e){var n,i,c,l,p,d,f,u,b,h,m,g,y,v,_,$,k,C,x,w,T,E,D,z,M,S;return function(A,e){var n,t,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,t&&(a=2&i[0]?t.return:i[0]?t.throw||((a=t.return)&&a.call(t),0):t.next)&&!(a=a.call(t,i[1])).done)return a;switch(t=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,t=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=e.call(A,o)}catch(A){i=[6,A],t=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,(function(P){switch(P.label){case 0:return n=e.namespace,i=e.touchedFields,c=e.encounter,l=e.conceptsUuid,p=e.encounterType,d=e.formUuid,f=e.encounterDate,u=e.patientUuid,b=e.providerUuid,h=e.locationUuid,m=e.visibilityRules,g=void 0===m?{}:m,y=e.context,v=void 0===y?{}:y,_=e.encounterUuid,$=e.mutateEncounters,k=e.workspaceName,C=e.editMode,x=void 0!==C&&C,w=[],[4,s(c,i,l,A)];case 1:P.sent().map((function(A){return w.push(A)})),Object.entries(A).filter((function(e){var n=r(e,2),t=n[0],a=n[1];return""!==a&&null!=a&&0!==a&&(!g[t]||g[t](A,v))})).forEach((function(A){var e,t=r(A,2),a=t[0],i=t[1],c="".concat(n,"-").concat(a);if(Array.isArray(null===(e=i)||void 0===e?void 0:e.selectedItems))i.selectedItems.forEach((function(A){w.push({concept:l[a],formFieldNamespace:n,formFieldPath:c,value:A.concept})}));else{var s=function(A,e){if(e.toLowerCase().includes("date")&&A){var n=new Date(A);return isNaN(n.getTime())?null:o()(n).format("YYYY-MM-DD")}return Array.isArray(A)?A.filter((function(A){return""!==A&&null!=A})):""===A||null==A||0===A?null:A}(i,a);null!==s&&w.push({concept:l[a],formFieldNamespace:n,formFieldPath:c,value:s})}})),T={encounterDatetime:f,encounterProviders:[{provider:b,encounterRole:"a0b03050-c99b-11e0-9572-0800200c9a66"}],encounterType:p,form:{uuid:d},location:h,patient:u,orders:[],obs:w},P.label=2;case 2:return P.trys.push([2,4,,5]),[4,(0,a.t2)(new AbortController,T,_)];case 3:return E=P.sent(),(0,t.showSnackbar)({isLowContrast:!0,title:x?"Record Updated":"Record Saved",kind:"success",subtitle:x?"Encounter Updated":"A new encounter was created"}),$(),(0,t.closeWorkspace)(k),[2,E.data];case 4:throw D=P.sent(),(0,t.showSnackbar)({isLowContrast:!0,title:x?"Error Updating encounter":"Error creating encounter",kind:"error",subtitle:(null===(S=D.response)||void 0===S||null===(M=S.data)||void 0===M||null===(z=M.error)||void 0===z?void 0:z.message)||D.message}),D;case 5:return[2]}}))},d=function(){var e=this,n=arguments;return new Promise((function(t,a){var i=A.apply(e,n);function o(A){l(i,t,a,o,c,"next",A)}function c(A){l(i,t,a,o,c,"throw",A)}o(void 0)}))},d.apply(this,arguments)}},3670:(A,e,n)=>{n.d(e,{CK:()=>I,Cj:()=>R,HV:()=>b,IG:()=>k,J4:()=>P,Jz:()=>T,Nj:()=>c,Oe:()=>p,RY:()=>W,S3:()=>l,SD:()=>y,ST:()=>_,UO:()=>m,VG:()=>j,VT:()=>o,Vv:()=>z,aq:()=>r,bB:()=>D,c2:()=>v,d:()=>d,ek:()=>h,fq:()=>w,gk:()=>a,gm:()=>V,iq:()=>C,lP:()=>G,nc:()=>F,oM:()=>B,oT:()=>E,ps:()=>x,qD:()=>u,qh:()=>N,r4:()=>g,sM:()=>i,sT:()=>M,uy:()=>$,wG:()=>s,yr:()=>f,z$:()=>O,zg:()=>S,zh:()=>t});var t={enrollment_date:"",unit_tb_no:"",targetPopulation:"",childsCareGiverMaritalStatus:"",religion:"",otherReligion:"",levelOfEducation:"",otherEducation:"",occupation:"",residentialType:"",catchment_area:"",regular_followup:"",mothers_name:"",mothers_father_name:"",mothers_grandfather_name:"",placeOfDelivery:"",otherPlaceOfDelivery:"",modeOfDelivery:"",otherModeOfDelivery:"",date_confirmed:"",test_type:"",entryPoint:"",within_the_facility:"",otherEntryPointWithinTheFacility:"",outside_the_facility:"",otherEntryPointOutsideTheFacility:"",reason_for_referral:"",care_giver_first_name:"",care_giver_fathers_name:"",care_giver_grandfathers_name:"",careGiverAge:"",careGiverGender:"",addressRegion:"",telephoneMobile:"",relationship:null,otherRelationship:"",hasFamilyMember:"",hivDisclosure:"",whoKnows:null,otherPersonThatKnows:"",notes:""},a={workPhone:"",homePhone:"",houseNo:"",kebele:"",search:null,country:"",stateProvince:"",countyDistrict:"",cityVillage:"",care_giver_first_name:"",care_giver_fathers_name:"",care_giver_grandfathers_name:"",careGiverAge:null,careGiverGender:"",addressRegion:"",telephoneMobile:"",relationship:"",otherRelationship:""},i=[{concept:"1057AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Never married"},{concept:"5555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Married"},{concept:"1058AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Divorced"},{concept:"1059AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Widowed"},{concept:"1056AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Separated"},{concept:"1060AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Living together"}],o=[{concept:"12f7b48b-38c4-4377-82a3-215b9da86752",label:"Orthodox"},{concept:"2a03b89e-51d1-4d80-90d8-af085c3a481d",label:"Muslim"},{concept:"3b344266-b983-4906-b768-312fadd5f5d6",label:"Catholic"},{concept:"d66c7928-b124-437b-818d-1b3d99116200",label:"Protestant"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],c=[{concept:"160294AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"No Education"},{concept:"1713AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Primary"},{concept:"1714AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Secondary"},{concept:"160292AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Tertiary"},{concept:"9f978371-0866-4685-908f-bcbf2b128725",label:"TVET"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],l=[{concept:"1588AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Health Facility"},{concept:"1536AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Home"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],r=[{concept:"1170AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Spontaneous Vaginal"},{concept:"1171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Cesarean Section"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],s=[{concept:"163722AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Rapid HIV test"},{concept:"164461AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"DBS/PCR (for children)"}],p=[{concept:"163266AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"From Within the Health Facility"},{concept:"164407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Outside the facility"}],d=[{concept:"160448AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Medical outpatient"},{concept:"160457AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Pediatric outpatient"},{concept:"af37cab4-73ad-49ff-b9d7-2a89d54d7118",label:"TB Clinic"},{concept:"14497d04-ec43-4ac4-9cab-02007a0ff273",label:"PNC"},{concept:"d1e97037-c599-47c3-93cb-c256b9c27fbc",label:"L&D"},{concept:"160538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"MCH (PMTCT)"},{concept:"2959b6f7-1f9b-49cd-9f3a-1e42e87b4ae5",label:"ANC"},{concept:"160546AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"STI clinic"},{concept:"159940AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"VCT"},{concept:"5485AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Adult IPD"},{concept:"f6b54649-54ab-451d-b66f-94bf2887d922",label:"Pediatric IPD"},{concept:"e7e85a1a-1e45-4043-99d7-216034965bc5",label:"Other OPD"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],f=[{concept:"1275AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Health Center"},{concept:"160480AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Public Hospital"},{concept:"1589AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Private Hospital"},{concept:"163014AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"NGO/FBO Hospital"},{concept:"160479AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Private Clinic"},{concept:"b70be5c7-4388-4e12-9b0e-53f01ae2a3f5",label:"Self referred"},{concept:"163488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Community referred"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],u=[{concept:"159811AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"To be enrolled as transferred in ART client"},{concept:"164144AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"To be enrolled as new Pre-ART client"},{concept:"cc2dfcbd-e099-47d5-b01c-74caa296ba3c",label:"To be enrolled as transferred in Pre-ART client"}],b=[{concept:"1534AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Male"},{concept:"1535AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Female"}],h=[{concept:"5617AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Spouse"},{concept:"971AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Father"},{concept:"970AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Mother"},{concept:"1528AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Child"},{concept:"160729AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Brother"},{concept:"160730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Sister"},{concept:"974AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Extended family member"},{concept:"972AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Friend/Colleague"},{concept:"5620AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],m=[{id:"whoKnows-spouse",label:"Spouse",concept:"5617AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"whoKnows-child",label:"Own child(ren)",concept:"1528AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"whoKnows-parent",label:"Parent(s)",concept:"1527AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"whoKnows-siblings",label:"Sibling(s)",concept:"972AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"whoKnows-relatives",label:"Relatives",concept:"54848ad0-6d2e-40b0-8143-57cabe3fc6e1"},{id:"whoKnows-friends",label:"Friends",concept:"5618AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"whoKnows-other",label:"Other",concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],g=[{id:"yes",label:"Yes",concept:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"no",label:"No",concept:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],y=[{concept:"131768AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Yes"},{concept:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"No"}],v=[{concept:"515f3768-30f6-4b87-bc9c-c64ce42db187",label:"Rural"},{concept:"32e92a9c-cc61-4079-851a-afc56808037a",label:"Urban"}],_={unit_tb_no:"cce18aff-7923-454f-97fd-2048c75c710a",enrollment_date:"1ebc345c-6f09-43e1-a616-d7e52fff4c7d",targetPopulation:"ca2c04ba-d9bd-4bad-ab03-e57ea9e49016",childsCareGiverMaritalStatus:"e6eb59a1-8430-491d-b948-5b582f87d5ea",religion:"22612cd9-5ec5-4196-b7cc-80ba37e8a13f",otherReligion:"5285ef6e-3e4c-446d-a0fa-51ce5ea7865c",levelOfEducation:"0022deac-d7a0-471a-bbdc-e41fc0e92bb4",otherEducation:"319efe14-16fc-49f9-907f-e8e45501971d",occupation:"2d2073e1-8377-4c4a-b6c7-0ab848760716",residentialType:"6f612018-bc64-4ab2-86f8-efde342b07d0",catchment_area:"6c309c37-5ecb-4506-a4e6-201d4c90e6a3",regular_followup:"f93c0a7d-9578-4fb2-afd1-6a7f477a7e1a",mothers_name:"1593AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",mothers_father_name:"1594AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",mothers_grandfather_name:"1b545ea1-0aed-4632-af99-ea2ceb61b13c",placeOfDelivery:"1572AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",otherPlaceOfDelivery:"2f3c7d4f-198f-40ce-94d2-a968c8c4bea4",modeOfDelivery:"5630AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",otherModeOfDelivery:"ed73985e-cbab-4912-8275-0c037d5674a3",date_confirmed:"160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",test_type:"5583b0a6-f390-446d-ab39-d98584ee330c",entryPoint:"dd282c99-ea69-44e7-9252-aff0198cc1e8",within_the_facility:"d2b461e5-dd7f-4d16-968e-354ac68cbd38",otherEntryPointWithinTheFacility:"a0368d36-686d-4b98-b60e-e62cb3d46c9b",outside_the_facility:"73d76014-365e-484c-bf5b-0959add4e3f3",otherEntryPointOutsideTheFacility:"2c30c599-1e4f-46f9-8488-5ab57cdc8ac3",reason_for_referral:"5f34e705-3574-4b44-b455-d815962026a1",care_giver_first_name:"166102AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",care_giver_fathers_name:"166574AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",care_giver_grandfathers_name:"166103AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",careGiverAge:"1532AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",careGiverGender:"1533AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",addressRegion:"1eb080aa-7921-425e-801f-b53f4ca93a7d",telephoneMobile:"d266ec50-0ba1-442a-8f2c-7895eaad84ab",relationship:"1560AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",otherRelationship:"164352AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hasFamilyMember:"fcb687a1-f258-427a-8351-b4cd31e6ba0c",hivDisclosure:"159423AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",whoKnows:"de8937b6-6ebe-4302-a488-2198be481839",otherPersonThatKnows:"f622a8b2-55a1-4194-8579-3470609eb626",notes:"165095AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},$=[{concept:"5617AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Parent or spouse"},{concept:"1528AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Child or sibling"}],k=[{concept:"703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Positive"},{concept:"5e4fc757-0b14-49ae-b3b7-419666f41e15",label:"Negative"},{concept:"165649AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Inconclusive"}],C=[{label:"Healthy",concept:"1855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Chronically Ill",concept:"9c849633-3589-42c7-bcb1-b4af7ec392c5"},{label:"Dead",concept:"160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],x={familyMemberType:"1560AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",familyMemberAge:"1532AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",familyMemberGender:"1533AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",familyMemberHealthStatus:"4ab0e5e3-fff7-4819-bd2e-4f070eedcd3d",counselledForHIV:"ff9eccda-485e-4044-ad92-414e97b279c0",counsellationDate:"a4c7ffa9-ba89-4f7d-ae01-50c139527ce4",testedForHIV:"164401AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hivTestDate:"164400AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hivTestResult:"2e770be1-7397-4684-bea6-6632c23b00d7",enrolledInCare:"3ca41707-40ef-424c-9e1a-923a407e68fc",dateEnrolledInCare:"1ebc345c-6f09-43e1-a616-d7e52fff4c7d",artStarted:"1149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",artStartDate:"ae329187-6232-4142-aa91-22c85bc8e5b5",uniqueArtNumber:"162054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",remark:"165095AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},w={familyMemberType:"",familyMemberAge:"",familyMemberGender:"",familyMemberHealthStatus:"",counselledForHIV:"",counsellationDate:null,testedForHIV:"",hivTestDate:null,hivTestResult:"",enrolledInCare:"",dateEnrolledInCare:null,artStarted:"",artStartDate:null,uniqueArtNumber:"",remark:""},T={opportunisticInfectionPresent:"c52ecf45-bd6c-43ed-861b-9a2714878729",HIVRelatedOIs:"339d3209-c797-457f-afb8-8d19d99c63b7",otherOpportunisticIllnesses:"20841482-587f-4b4c-9562-ce3f481dd5a8",cotrimoxazoleDateStarted:"164361AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",cotrimoxazoleDateStopped:"164362AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",TBProphylaxisType:"54084c9e-bc87-4d95-89fc-eb9a2cffb592",inhStartedDate:"d94d9408-837e-44bb-a7de-84007d08bd83",inhCompletedDate:"e9048636-538a-4c73-9fd7-9e2e98a43281",fluconazolePreventiveTherapyDateStarted:"5ac4300a-5e19-45c8-8692-31a57d6d5b8c",fluconazolePreventiveTherapyDateCompleted:"c2d57bcb-02f2-457d-af05-8d759a1457a7",ARVForPMTCT:"163532AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",healthFacility:"162724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",regimenForMother:"d43c5ef9-3ff0-47d4-9573-ea0efa7e3fdd",regimenForBaby:"5f979d21-5b8f-4f52-abfd-4d99cc828b91",lifelongARTTI:"1149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Regimen:"6d7d0327-e1f8-4246-bfe5-be1e82d94b14",artStartDate:"ae329187-6232-4142-aa91-22c85bc8e5b5",monthsOnART:"0503b8d4-e6db-4a87-ba42-8ef892791dba",stillonTreatment:"160119AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",temperature:"9ce234b3-bafc-4e82-9709-34b0cb6b7d85",heartRate:"76b45324-9920-4cb7-a8af-c135fb8deb77",systolicBloodPressure:"5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",diastolicBloodPressure:"5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",rr:"5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",height:"f980e9d2-e85c-483e-ae93-980623114e6f",weight:"4ab93a3c-4373-4b9b-9268-5ff0641cc242",bmi:"e3c2efba-3ec9-4029-9bd9-716948995433",patientFunctionalStatus:"2b7b8471-b19e-4d55-b2a4-4fe5b80f889a",headCircumference:"5314AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",anthropometryInterpretation:"1854AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",developmentalStatus:"1200AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",pregnancyAtEnrollment:"5272AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",LMP:"30d8d278-5ace-4d01-b2f1-8efc28372070",EDD:"5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",presentingComplaints:"14718b2b-d38a-4f68-8e22-8bc739ae43f7",otherPresentingComplaints:"a6408b87-6146-4b20-839f-e0ed70c62e5a",percentOfLostBodyWeight:"91ee36b1-4018-4e4c-bf56-6394c752654f",generalAppearance:"163042AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",areAllSystemsNormal:"dd60b83d-2a86-4820-92f7-1228f2cf8220",heentExamination:"33b614d0-1953-4056-ac84-66b0492394e5",heentExaminationComment:"163045AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",lymphNodesExamination:"1121AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",lymphNodesExaminationComment:"166005AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",chestExamination:"51ee2cfb-01df-4b6b-8145-a265f6002be6",chestExaminationComment:"160689AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",heartExamination:"1d51e0df-9e50-432d-ae12-b5a044c8d6e6",heartExaminationComment:"163046AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",abdomenExamination:"84fa6273-8798-4cca-941d-2d21f8698e22",abdomenExaminationComment:"160947AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",genitourinarySystemExamination:"1c7d55db-453a-464e-a297-b9ce9cc2b77f",genitourinarySystemExaminationComment:"1854b210-5a4b-4c7f-a591-f3eddbbae649",musculoskeletalSystemExamination:"a6cb33f0-6f6c-47fd-b862-90ccd8ffd18a",musculoskeletalSystemExaminationComment:"163048AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",skinExamination:"2c8381a2-167e-4ce6-a3e1-5d7427e87667",skinExaminationComment:"160981AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",nervousSystemExamination:"adb5d92a-f8cc-4e77-92d0-cb263e2f4e7a",nervousSystemExaminationComment:"163109AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",otherPhysicalExaminationFindings:"0d3783f1-3790-4b7f-8213-2ff1358148ee",WHOStaging:"5356AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",whoWhy:"3bb2b035-fa5d-4abf-8d47-5f28fb9cf333",intakeNotes:"165095AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",eligibileForART:"162703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",whyEligibleForART:"0675742c-ea84-4cab-a85f-54b46eadd1ee",otherReasonWhyEligible:"7e4d2281-c8f7-4090-bc29-4ff2313946cc"},E={opportunisticInfectionPresent:"",HIVRelatedOIs:null,otherOpportunisticIllnesses:"",cotrimoxazoleDateStarted:null,cotrimoxazoleDateStopped:null,TBProphylaxisType:"",inhStartedDate:null,inhCompletedDate:null,fluconazolePreventiveTherapyDateStarted:null,fluconazolePreventiveTherapyDateCompleted:null,ARVForPMTCT:"",healthFacility:"",regimenForMother:"",regimenForBaby:"",lifelongARTTI:"",Regimen:"",artStartDate:null,monthsOnART:"",stillonTreatment:"",temperature:"",heartRate:0,systolicBloodPressure:0,diastolicBloodPressure:0,rr:0,height:0,weight:"",bmi:"",patientFunctionalStatus:"",headCircumference:0,anthropometryInterpretation:"",developmentalStatus:"",pregnancyAtEnrollment:"",LMP:null,EDD:null,presentingComplaints:null,otherPresentingComplaints:"",percentOfLostBodyWeight:"",generalAppearance:"",areAllSystemsNormal:"",heentExamination:"",heentExaminationComment:"",lymphNodesExamination:"",lymphNodesExaminationComment:"",chestExamination:"",chestExaminationComment:"",heartExamination:"",heartExaminationComment:"",abdomenExamination:"",abdomenExaminationComment:"",genitourinarySystemExamination:"",genitourinarySystemExaminationComment:"",musculoskeletalSystemExamination:"",musculoskeletalSystemExaminationComment:"",skinExamination:"",skinExaminationComment:"",nervousSystemExamination:"",nervousSystemExaminationComment:"",otherPhysicalExaminationFindings:"",WHOStaging:"",whoWhy:null,intakeNotes:"",eligibileForART:"",whyEligibleForART:null,otherReasonWhyEligible:""},D=[{concept:"154119AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"CMV"},{concept:"94d9ef82-2d3a-4414-951f-522612782b25",label:"Cryptococcal Infection"},{concept:"1294AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Cryptococcal Meningitis"},{concept:"143110AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Cryptosporidiosis"},{concept:"fd853cea-e306-4dd7-8731-b46dd87ddd4b",label:"Diarrhea (>1 month)"},{concept:"160745AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Disseminated Atypical mycobacteriosis"},{concept:"119288AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Encephalopathy"},{concept:"fadf2d65-cf3a-4bc1-aa83-9a938b7d205d",label:"Extra Pulmonary Tuberculosis"},{concept:"5aeec702-8a9e-4b1c-8003-6356f91b949a",label:"Fever (>1 month and unexplained)"},{concept:"7ad72b79-f35d-4d47-aec4-00ec6ca3d06d",label:"Herpes Simplex (>1 month)"},{concept:"644AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Kaposi sarcoma"},{concept:"5330AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Minor muco-cutaneous manifestations"},{concept:"6396014f-ac6f-4567-a0e3-4df49144f5a3",label:"Mycosis"},{concept:"5334AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Oral Candidiasis"},{concept:"b2ad0941-d3ef-43fa-8d3d-8a73c33eaaf4",label:"Persistent Generalized Lymphadenopathy (PGL)"},{concept:"159348AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Pharyngeal candidiasis"},{concept:"6fdd205f-d467-40c0-ab3d-62e73c22acf6",label:"Pneumocystis Carinii Pneumonia (PCP)"},{concept:"b8c78e6d-300a-48ab-99fa-7d13552550ae",label:"Pneumocystis jirovecii pneumonia"},{concept:"158647AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Pneumonia (recurrent)"},{concept:"80d19a31-a096-4cdd-9e91-7d5b9a0867f8",label:"Progressive multifocal leukocencephalopathy (PML)"},{concept:"988737cf-d3ae-4fa3-99f1-0929ccafeb9d",label:"Pulmonary TB"},{concept:"127784AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Recurrent URTIs"},{concept:"127198AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Salmonella Septicaemia"},{concept:"5355AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Toxoplasmosis of Brain"},{concept:"feba334d-46af-4ea6-a82c-fc5cde1ec9bf",label:"Wasting Syndrome"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],z={phdpDate:"2c4db7e7-1ece-49a6-a075-d466e6d9b27d",issuesAddressed:"5e8e03b1-d6ad-4362-a99a-f610af940f57",conclusion:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},M={phdpDate:null,issuesAddressed:null,conclusion:""},S=[{concept:"bca15fd1-2449-4eb2-9be5-576a5da654a8",label:"What to do if one forgets dose"},{concept:"7c7c22aa-9ec8-4806-b196-fa654febedfa",label:"What side effects and How to manage"},{concept:"5226a9de-0171-45ea-bd2d-6479cde1647a",label:"Why complete adherence needed"},{concept:"8b428610-e187-49dd-a00a-1d1317c2c129",label:"Progression of disease"},{concept:"92f0adc7-b087-4cc2-97d7-bc9706659cfc",label:"Prevention: Abstinence, Safer sex and Condoms"},{concept:"35c006b3-6ff3-4155-a367-8a50e37109ea",label:"Positive living"},{concept:"b5a43c78-660c-4fb4-9488-01ed5c2ceaaa",label:"Explain dose, When to take"},{concept:"a4674c1b-af47-4c9b-a8e7-d1c6efc6103a",label:"Education on essentials of ART"},{concept:"6c5fd1d8-8b2a-43e8-a5f6-d3aac54f72b5",label:"Basic HIV and TB transmission education"},{concept:"7e2703cc-bb5a-4f16-80c4-a14c51f6fd93",label:"Available treatment/Prophylaxis CPT, IPT, FPT"}],P=[{concept:"165093AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"CD4 < 500"},{concept:"165094AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"WHO stage III or IV"},{concept:"143264AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Pregnancy or breastfeeding"},{concept:"160119AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Active TB"},{concept:"138405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Children < 5 years"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],F=[{label:"6H",concept:"8ba598a1-9e8a-4499-bd7a-54c3d0c94f01"},{label:"3HP",concept:"e8588507-635c-4e28-a1f8-3c493e30b2f5"}],O=[{concept:"b5951dd9-6bb2-4b63-af20-0707500108ea",label:"1d - AZT+3TC+EFV"},{concept:"1f735bdd-4ccd-40ce-8746-28f031f38675",label:"1e - TDF+3TC+EFV"},{concept:"a664a63f-57f5-4cfc-80c0-4a8456725c2a",label:"1g - ABC+3TC+EFV"},{concept:"eb171a2d-1b67-4adc-ae09-49b6d272810d",label:"1i - Other Adult 1st line regimen"},{concept:"2a811ceb-3c34-47ff-943a-425b41651784",label:"1j - TDF+3TC+DTG"},{concept:"c56be3a9-d678-4693-9566-84430239a2f5",label:"1k - AZT+3TC+DTG"},{concept:"a1056dfb-c16d-4e5c-a56b-e33228d634f8",label:"2e - AZT+3TC+LPVr"},{concept:"891bf06e-298a-40ee-8970-2311d18fed48",label:"2f - AZT+3TC+ATVr"},{concept:"e2d1786e-4849-473e-b32a-2c82bd35e947",label:"2g - TDF+3TC+LPVr"},{concept:"a9ef6721-d2fb-4f47-bfe3-9f7902e107c7",label:"2h - TDF+3TC+ATVr"},{concept:"73c10f0d-0a24-411f-9c97-49ab9e7eb2ce",label:"2i - ABC+3TC+LPVr"},{concept:"2a17d96a-3457-4b93-b007-b540a7543618",label:"2j -TDF+3TC+DTG"},{concept:"707d6943-9ec0-4c6b-8c72-f64143663043",label:"2k - AZT+3TC+DTG"},{concept:"25758e89-bfb1-4b9f-ba6d-240d953c99e8",label:"2L - Other Adult 2nd line regimen"},{concept:"ab265c19-afab-4497-84a9-c8b44a202ca5",label:"3a - DRV/r+DTG+AZT+3TC"},{concept:"7f9aed33-cc7e-4043-adc8-b947dd9638eb",label:"3b - DRV/r+DTG+TDF+3TC"},{concept:"664137bb-d538-4afc-bbd1-7538cf158882",label:"3c - DRV/r+ABC+3TC+DTG"},{concept:"dea28eb8-1f9b-455f-afcc-dc566898cb86",label:"3d - Other Adult 3rd line regimen"},{concept:"74f685e8-7ea1-40e1-adf1-651cdf30b272",label:"3e - DRV/r+TDF+3TC+EFV"},{concept:"e8cdf6eb-2b36-4cde-bb4b-f0fd1d6d748b",label:"3f - DRV/r+AZT+3TC+EFV"}],I=[{concept:"ad169a6d-cf1a-4363-a2da-be85998612bd",label:"4d - AZT+3TC+EFV"},{concept:"d3eedcf3-9571-42a2-b8b0-189e93f72f47",label:"4e - TDF+3TC+EFV"},{concept:"0343175a-e931-4f6c-a0c2-99e55637bda9",label:"4f - AZT+3TC+LPVr"},{concept:"e4353cd1-5a0e-4870-8af4-f012ca0145fe",label:"4g - ABC+3TC+LPVr"},{concept:"582c6b67-2f0a-4cc0-b7c0-632b4b387a17",label:"4h - Other Child 1st line regimen"},{concept:"eae01634-65ec-4174-a95c-622456663727",label:"4j - ABC+3TC+DTG"},{concept:"0dbe6b49-7356-4cf0-b489-890e18c38465",label:"4i - TDF+3TC+DTG"},{concept:"dabcfa6d-56e5-4e5d-a2f2-faf4e18b9211",label:"4K - AZT+3TC+DTG"},{concept:"c94ca2da-8066-42f7-b4c9-582dae83e552",label:"4L - ABC+3TC+EFV"},{concept:"fbb4db0f-4cf4-4ca3-bde0-e20eb065e7da",label:"5e - ABC+3TC+LPVr"},{concept:"9ef4d67d-0e05-422a-aac5-80eaf71daadc",label:"5f - AZT+3TC+LPVr"},{concept:"ee5b1c56-1131-40a6-a880-5dd33a72a861",label:"5g - TDF+3TC+EFV"},{concept:"e341cf6c-4923-4eb1-8c47-e76eef19e8cf",label:"5h - ABC+3TC+EFV"},{concept:"1294646b-2c36-4169-a0aa-a0c7692003fc",label:"5i - TDF+3TC+LPVr"},{concept:"0cc9e467-c1ce-4eff-879d-8936a81b6ea3",label:"5j - Other Child 2nd line regimen"},{concept:"3ed5d8a0-c957-4439-8f86-6c2538e69d3a",label:"5m - ABC+3TC+DTG"},{concept:"10c0f78a-cd78-40cd-9824-8d24dc95bb90",label:"5n - AZT+3TC+DTG"},{concept:"d34b5c26-c70d-4720-9784-cf8a0673d6b0",label:"5o - TDF+3TC+DTG"},{concept:"5c8d27eb-4642-4c6f-b131-1182df8d1276",label:"6c - DRVr+DTG+AZT+3TC"},{concept:"ee226f28-5e37-4c40-a8e0-47dfade32712",label:"6d - DRVr+DTG+TDF+3TC"},{concept:"57eef726-e977-4efd-996b-a94860341320",label:"6e - Other Child 3rd line regimen"},{concept:"e3eb6ae1-fd70-47b2-b1a6-702fae87b061",label:"6f - DRV/r+DTG+ABC+3TC"},{concept:"a270c994-8182-4204-9a1e-c7aa78a43b23",label:"6g - DRV/r+ABC+3TC+EFV"},{concept:"f0724e33-ca6e-415e-b385-91d53e125cfb",label:"6h - DRV/r+AZT+3TC+EFV"}],B=[{label:"Working",concept:"159468AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Ambulatory",concept:"160026AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Bedridden",concept:"162752AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],R=[{label:"Underweight",concept:"123814AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Normal weight for age",concept:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],N=[{label:"Appropriate for age",concept:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Delay",concept:"6022AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Regression",concept:"1116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],V=[{yesNoOptions:g},{label:"Not Applicable",concept:"1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],G=[{concept:"145455AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Chronic Cough"},{concept:"832AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Weight loss"},{concept:"b78fe564-9af7-4475-a0d3-858d2ed6fe38",label:"Dyspnea, Shortness of breath"},{concept:"5aeec702-8a9e-4b1c-8003-6356f91b949a",label:"Fever >1 Month"},{concept:"133027AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Night sweats"},{concept:"5018AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Chronic Diarrhea"},{concept:"3011df15-6588-4354-8828-78f80ca5ae94",label:"Mental Confusion"},{concept:"df1123f0-80fd-40a1-a4ce-b1f83220178d",label:"STI Symptoms"},{concept:"118789AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Dysphagia"},{concept:"125225AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Odynophagia, Swallowing Painful"},{concept:"5978AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Nausea"},{concept:"122983AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Vomiting"},{concept:"2423abaf-6cd5-4409-8b39-2d90ca584fba",label:"Persistent Headaches"},{concept:"e0318c3d-2926-4958-8517-72f7b3c53eb1",label:"Hemoptysis"},{concept:"140501AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Chronic Fatigue"},{concept:"0d51073d-99b9-4d66-95f4-d345756e6ba9",label:"Flu-like (URTI)"},{concept:"151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Abdominal pain"},{concept:"132653AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Numbness/Tingling"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],j=[{label:"Normal",concept:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Abnormal",concept:"1116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],W=[{label:"Stage I",concept:"1204AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Stage II",concept:"1205AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Stage III",concept:"1206AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Stage IV",concept:"1207AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}]},4200:(A,e,n)=>{n.d(e,{$w:()=>s,CA:()=>d,Go:()=>c,RZ:()=>t,Xl:()=>a,ZT:()=>f,ek:()=>l,gT:()=>r,hC:()=>i,mZ:()=>o,xM:()=>p});var t="custom:(uuid,encounterDatetime,encounterType,location:(uuid,name),patient:(uuid,display),encounterProviders:(uuid,provider:(uuid,name)),obs:(uuid,obsDatetime,voided,groupMembers,formFieldNamespace,formFieldPath,concept:(uuid,name:(uuid,name)),value:(uuid,name:(uuid,name),names:(uuid,conceptNameType,name))))",a="custom:(display,uuid,personB:(age,gender,display,birthdate,uuid,addresses,names,attributes))",i="d23b4634-7ee1-3d3f-b657-35a8bc1615a4",o="059cdca1-18bc-38c6-bd63-23661201ef3e",c="2d94354b-581f-340f-813a-07dffe8792e8",l="e270770f-19bf-3d32-baaf-4b677983dec3",r="05add044-67f8-48c9-928d-79002ab19efe",s="dc94a223-66bc-45b7-8e34-d13b8686f239",p="d384d248-04f8-42d3-9c49-3c44ab50f1d8",d="f1b397c1-46bd-43e6-a23d-ae2cedaec881",f="* Patient needs to have a registered MRN, before this form can be filled! Please add an MRN on patient details."},4710:(A,e,n)=>{n.d(e,{A:()=>c});var t=n(5037),a=n.n(t),i=n(5720),o=n.n(i)()(a());o.push([A.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-ethiohri-intake__intake-form__container___LjZBY section{margin:1rem 0}.-esm-ethiohri-intake__intake-form__formContainer___Eyqbm{display:flex;flex-direction:column;gap:1rem}.-esm-ethiohri-intake__intake-form__content___OEZUN{flex:1;margin-bottom:16px}.-esm-ethiohri-intake__intake-form__buttonContainer___Pl7uG{margin-top:auto}.-esm-ethiohri-intake__intake-form__form___NvHnK{display:flex;flex-direction:column;justify-content:space-between;height:100%}.-esm-ethiohri-intake__intake-form__fieldWrapper___PwAph{margin-bottom:16px}.-esm-ethiohri-intake__intake-form__label___IZWVB{top:5px;bottom:5px;color:#000;font-weight:bold}.-esm-ethiohri-intake__intake-form__radio___7VWSx{display:flex;flex-direction:row}.-esm-ethiohri-intake__intake-form__buttonSet___4z2ZI{position:absolute;bottom:0;left:0;right:0;width:100%}.-esm-ethiohri-intake__intake-form__button___sIO94{height:4rem;display:flex;align-content:flex-start;align-items:baseline;width:100%}.-esm-ethiohri-intake__intake-form__tablet___9uqKz{padding:1.5rem 1rem;background-color:#fff}.-esm-ethiohri-intake__intake-form__desktop___YHvZr{padding:0}.-esm-ethiohri-intake__intake-form__dateTimeSection___53AZg{display:flex;gap:.75rem}.-esm-ethiohri-intake__intake-form__dateTimeSection___53AZg>div:first-child{flex:2}.-esm-ethiohri-intake__intake-form__dateTimeSection___53AZg>div:last-child{flex:1}.-esm-ethiohri-intake__intake-form__pmtctSection___ca3H5{display:flex;gap:.75rem}@media screen and (max-width: 600px){.-esm-ethiohri-intake__intake-form__dateTimeSection___53AZg{flex-direction:column;gap:.75rem}}.omrs-breakpoint-lt-desktop .-esm-ethiohri-intake__intake-form__formGroup___7jTOj{flex-direction:row}.omrs-breakpoint-lt-desktop .-esm-ethiohri-intake__intake-form__formGroup___7jTOj .-esm-ethiohri-intake__intake-form__heading___-x7Ls{flex:1}.omrs-breakpoint-lt-desktop .-esm-ethiohri-intake__intake-form__formGroup___7jTOj div{flex:3}.-esm-ethiohri-intake__intake-form__heading___-x7Ls{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);margin-bottom:.5rem;margin-left:1rem}.-esm-ethiohri-intake__intake-form__lastField___xwKqp{margin-bottom:76px}","",{version:3,sources:["webpack://./node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/forms/intake-form.scss","webpack://./node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CChDA,8DACE,aAAA,CAKJ,0DACE,YAAA,CACA,qBAAA,CACA,QCeW,CDZb,oDACE,MAAA,CACA,kBAAA,CAGF,4DACE,eAAA,CAEF,iDACE,YAAA,CACA,qBAAA,CACA,6BAAA,CACA,WAAA,CAGF,yDACE,kBAAA,CAGF,kDACE,OAAA,CACA,UAAA,CACA,UAAA,CACA,gBAAA,CAEF,kDACE,YAAA,CACA,kBAAA,CAGF,sDACE,iBAAA,CACA,QAAA,CACA,MAAA,CACA,OAAA,CACA,UAAA,CAIF,mDACE,WCHW,CDIX,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,UAAA,CAGF,mDACE,mBAAA,CACA,qBDnEM,CCsER,oDACE,SAAA,CAGF,4DACE,YAAA,CACA,UCnDW,CDqDX,4EACE,MAAA,CAGF,2EACE,MAAA,CAIJ,yDACE,YAAA,CACA,UChEW,CDmEb,qCACE,4DACE,qBAAA,CACA,UCtES,CAAA,CDyEb,kFACI,kBAAA,CAEA,sIACE,MAAA,CAGF,sFACE,MAAA,CAIN,oDEmvBI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFhvBF,mBC7FW,CD8FX,gBCpFW,CDuFb,sDACE,kBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n"," \n@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n@use '@carbon/colors';\n@use '@carbon/type';\n\n.container { \n & section {\n margin: layout.$spacing-05 0;\n }\n \n}\n\n.formContainer {\n display: flex;\n flex-direction: column; // Ensures stacked layout\n gap: layout.$spacing-05; // Carbon spacing token for consistency \n \n}\n.content {\n flex: 1; /* Make the content div take up available space */\n margin-bottom: 16px;\n /* Add any additional styling for the content */\n}\n.buttonContainer {\n margin-top: auto; /* Push the buttons to the bottom */\n}\n.form {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n \n}\n.fieldWrapper {\n margin-bottom: 16px;\n}\n\n.label {\n top: 5px;\n bottom: 5px;\n color: black;\n font-weight:bold;\n}\n.radio {\n display: flex;\n flex-direction: row; \n}\n\n.buttonSet {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0; \n width: 100%;\n\n}\n\n.button {\n height: layout.$spacing-10;\n display: flex;\n align-content: flex-start;\n align-items: baseline;\n width: 100%;\n}\n\n.tablet {\n padding: layout.$spacing-06 layout.$spacing-05;\n background-color: $ui-02;\n}\n\n.desktop {\n padding: 0;\n}\n\n.dateTimeSection {\n display: flex;\n gap: layout.$spacing-04;\n\n & > div:first-child {\n flex: 2; // This makes the first column take up 2/3 of the space\n }\n\n & > div:last-child {\n flex: 1; // This makes the second column take up 1/3 of the space\n }\n}\n\n.pmtctSection {\n display: flex;\n gap: layout.$spacing-04;\n}\n\n@media screen and (max-width: 600px) {\n .dateTimeSection {\n flex-direction: column;\n gap: layout.$spacing-04;\n }\n}\n:global(.omrs-breakpoint-lt-desktop) .formGroup {\n flex-direction: row;\n \n .heading {\n flex: 1;\n }\n \n div {\n flex: 3;\n }\n }\n\n.heading {\n // color: colors.$gray-70;\n @include type.type-style('heading-compact-02');\n margin-bottom: layout.$spacing-03;\n margin-left: layout.$spacing-05;\n}\n\n.lastField {\n margin-bottom: 76px; /* Adjust as necessary */\n}","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={container:"-esm-ethiohri-intake__intake-form__container___LjZBY",formContainer:"-esm-ethiohri-intake__intake-form__formContainer___Eyqbm",content:"-esm-ethiohri-intake__intake-form__content___OEZUN",buttonContainer:"-esm-ethiohri-intake__intake-form__buttonContainer___Pl7uG",form:"-esm-ethiohri-intake__intake-form__form___NvHnK",fieldWrapper:"-esm-ethiohri-intake__intake-form__fieldWrapper___PwAph",label:"-esm-ethiohri-intake__intake-form__label___IZWVB",radio:"-esm-ethiohri-intake__intake-form__radio___7VWSx",buttonSet:"-esm-ethiohri-intake__intake-form__buttonSet___4z2ZI",button:"-esm-ethiohri-intake__intake-form__button___sIO94",tablet:"-esm-ethiohri-intake__intake-form__tablet___9uqKz",desktop:"-esm-ethiohri-intake__intake-form__desktop___YHvZr",dateTimeSection:"-esm-ethiohri-intake__intake-form__dateTimeSection___53AZg",pmtctSection:"-esm-ethiohri-intake__intake-form__pmtctSection___ca3H5",formGroup:"-esm-ethiohri-intake__intake-form__formGroup___7jTOj",heading:"-esm-ethiohri-intake__intake-form__heading___-x7Ls",lastField:"-esm-ethiohri-intake__intake-form__lastField___xwKqp"};const c=o},6818:(A,e,n)=>{n.d(e,{V:()=>c});var t=n(5987),a=n(6072),i=n(9324);function o(A,e){(null==e||e>A.length)&&(e=A.length);for(var n=0,t=new Array(e);n<e;n++)t[n]=A[n];return t}function c(){var A,e,n=(A=(0,a.useState)(null),e=2,function(A){if(Array.isArray(A))return A}(A)||function(A,e){var n=null==A?null:"undefined"!=typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=n){var t,a,i=[],o=!0,c=!1;try{for(n=n.call(A);!(o=(t=n.next()).done)&&(i.push(t.value),!e||i.length!==e);o=!0);}catch(A){c=!0,a=A}finally{try{o||null==n.return||n.return()}finally{if(c)throw a}}return i}}(A,e)||function(A,e){if(A){if("string"==typeof A)return o(A,e);var n=Object.prototype.toString.call(A).slice(8,-1);return"Object"===n&&A.constructor&&(n=A.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(A,e):void 0}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=n[0],l=n[1],r="".concat(t.restBaseUrl,"/location?v=default"),s=(0,i.Ay)(r,t.openmrsFetch),p=s.data,d=s.error,f=s.isLoading;return(0,a.useEffect)((function(){if(p){var A=p.data.results.find((function(A){var e;return null===(e=A.tags)||void 0===e?void 0:e.some((function(A){return"Facility Location"===A.display}))}));A&&l({uuid:A.uuid,display:A.display})}}),[p]),{facilityInfo:c,isLoading:f,isError:!!d}}},8322:(A,e,n)=>{n.d(e,{Gu:()=>r,g8:()=>f,m5:()=>s,t2:()=>l,x_:()=>p,yB:()=>d});var t=n(5987),a=n(4200);function i(A,e,n,t,a,i,o){try{var c=A[i](o),l=c.value}catch(A){return void n(A)}c.done?e(l):Promise.resolve(l).then(t,a)}function o(A){return function(){var e=this,n=arguments;return new Promise((function(t,a){var o=A.apply(e,n);function c(A){i(o,t,a,c,l,"next",A)}function l(A){i(o,t,a,c,l,"throw",A)}c(void 0)}))}}function c(A,e){var n,t,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,t&&(a=2&i[0]?t.return:i[0]?t.throw||((a=t.return)&&a.call(t),0):t.next)&&!(a=a.call(t,i[1])).done)return a;switch(t=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,t=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=e.call(A,o)}catch(A){i=[6,A],t=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function l(A,e,n){var i=n?"".concat(t.restBaseUrl,"/encounter/").concat(n,"?v=").concat(a.RZ):"".concat(t.restBaseUrl,"/encounter?v=").concat(a.RZ);return(0,t.openmrsFetch)(i,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(e),signal:A.signal}).catch((function(A){throw console.error("Error saving encounter:",A),A}))}function r(A,e,n){var a=n?"".concat(t.restBaseUrl,"/person/").concat(n):"".concat(t.restBaseUrl,"/person");return(0,t.openmrsFetch)(a,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(e),signal:A.signal}).catch((function(A){throw console.error("Error saving encounter:",A),A}))}function s(A,e,n){return n?"".concat(t.restBaseUrl,"/relationship/").concat(n):"".concat(t.restBaseUrl,"/relationship"),(0,t.openmrsFetch)("".concat(t.restBaseUrl,"/relationship"),{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(e),signal:A.signal}).catch((function(A){throw console.error("Error saving encounter:",A),A}))}o((function(A,e){var n;return c(this,(function(a){switch(a.label){case 0:return n=encodeURIComponent(A.join(",")),[4,(0,t.openmrsFetch)("/ws/rest/v1/snscoupon?q=".concat(n),{method:"GET",signal:e.signal,headers:{Accept:"application/json"}})];case 1:return[2,a.sent().data]}}))}));var p=function(){var A=o((function(A){var e,n;return c(this,(function(a){switch(a.label){case 0:return e=A.filter(Boolean).join("|"),n="/module/addresshierarchy/ajax/getChildAddressHierarchyEntries.form?searchString=".concat(encodeURIComponent(e)),[4,(0,t.openmrsFetch)(n)];case 1:return[2,a.sent().data]}}))}));return function(e){return A.apply(this,arguments)}}(),d=function(){var A=o((function(A){var e;return c(this,(function(n){switch(n.label){case 0:return e="/module/addresshierarchy/ajax/getPossibleFullAddresses.form?separator=%3E&searchString=".concat(encodeURIComponent(A)),[4,(0,t.openmrsFetch)(e)];case 1:return[2,n.sent().data]}}))}));return function(e){return A.apply(this,arguments)}}();function f(A){return(0,t.openmrsFetch)("".concat(t.restBaseUrl,"/relationship?v=").concat(a.Xl,"&person=").concat(A)).then((function(A){return A.data.results}))}},9208:(A,e,n)=>{n.d(e,{j:()=>o});var t=n(231),a=n.n(t);function i(A,e,n){return e in A?Object.defineProperty(A,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):A[e]=n,A}var o=function(A,e,n){var t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(!A||!A.obs)return e;var o=function(A){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},t=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(A){return Object.getOwnPropertyDescriptor(n,A).enumerable})))),t.forEach((function(e){i(A,e,n[e])}))}return A}({},e);return A.obs.forEach((function(A){var e=A.concept.uuid||A.concept,i=Object.keys(n).find((function(A){return n[A]===e}));if(i){var c,l,r,s,p,d=(null===(l=A)||void 0===l||null===(c=l.value)||void 0===c?void 0:c.uuid)?null===(s=A)||void 0===s||null===(r=s.value)||void 0===r?void 0:r.uuid:null===(p=A)||void 0===p?void 0:p.value;t.includes(e)?(o[i]||(o[i]={selectedItems:[]}),o[i].selectedItems.push({label:A.value.name.name,concept:A.value.uuid})):i.toLowerCase().includes("date")&&d?o[i]=a()(d).toDate():Array.isArray(o[i])&&d?o[i]=Array.isArray(d)?d:[d].filter(Boolean):o[i]=d}})),o}},9503:(A,e,n)=>{n.d(e,{A:()=>m});var t=n(7710),a=n.n(t),i=n(4583),o=n.n(i),c=n(6765),l=n.n(c),r=n(8206),s=n.n(r),p=n(3930),d=n.n(p),f=n(4079),u=n.n(f),b=n(4710),h={};h.styleTagTransform=u(),h.setAttributes=s(),h.insert=l().bind(null,"head"),h.domAPI=o(),h.insertStyleElement=d(),a()(b.A,h);const m=b.A&&b.A.locals?b.A.locals:void 0}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_intake=globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_intake||[]).push([[712],{3371:(A,e,n)=>{n.d(e,{g:()=>p});var t=n(5987),a=n(8322),i=n(231),o=n.n(i);function c(A,e){(null==e||e>A.length)&&(e=A.length);for(var n=0,t=new Array(e);n<e;n++)t[n]=A[n];return t}function l(A,e,n,t,a,i,o){try{var c=A[i](o),l=c.value}catch(A){return void n(A)}c.done?e(l):Promise.resolve(l).then(t,a)}function r(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var n=null==A?null:"undefined"!=typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=n){var t,a,i=[],o=!0,c=!1;try{for(n=n.call(A);!(o=(t=n.next()).done)&&(i.push(t.value),!e||i.length!==e);o=!0);}catch(A){c=!0,a=A}finally{try{o||null==n.return||n.return()}finally{if(c)throw a}}return i}}(A,e)||function(A,e){if(A){if("string"==typeof A)return c(A,e);var n=Object.prototype.toString.call(A).slice(8,-1);return"Object"===n&&A.constructor&&(n=A.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(A,e):void 0}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var s=function(A,e,n,t){var a;if(!((null===(a=A)||void 0===a?void 0:a.obs)&&e&&n&&t))return[];var i=Object.keys(e).filter((function(A){return e[A]&&n[A]})).map((function(A){return n[A]}));return A.obs.filter((function(A){var e,n;return i.includes(null===(n=A)||void 0===n||null===(e=n.concept)||void 0===e?void 0:e.uuid)})).filter((function(A){var e,a,i,o,c,l=Object.keys(n).find((function(e){return n[e]===A.concept.uuid}));if(!l)return!1;var r,s,p,d,f,u,b=null!==(c=null===(a=A)||void 0===a||null===(e=a.value)||void 0===e?void 0:e.uuid)&&void 0!==c?c:null===(i=A)||void 0===i?void 0:i.value,h=t[l];return r=(null===(o=h)||void 0===o?void 0:o.selectedItems)?Array.isArray(h.selectedItems)?h.selectedItems.map((function(A){var e;return null!==(s=null===(e=A)||void 0===e?void 0:e.uuid)&&void 0!==s?s:A})):[]:null!==(u=null===(d=h)||void 0===d||null===(p=d.value)||void 0===p?void 0:p.uuid)&&void 0!==u?u:null===(f=h)||void 0===f?void 0:f.value,Array.isArray(r)?!r.includes(b):b!==r})).map((function(A){return{uuid:A.uuid,voided:!0}}))};function p(A,e){return d.apply(this,arguments)}function d(){var A;return A=function(A,e){var n,i,c,l,p,d,f,u,b,h,m,g,y,v,_,$,k,C,x,w,T,E,D,z,M,S;return function(A,e){var n,t,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,t&&(a=2&i[0]?t.return:i[0]?t.throw||((a=t.return)&&a.call(t),0):t.next)&&!(a=a.call(t,i[1])).done)return a;switch(t=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,t=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=e.call(A,o)}catch(A){i=[6,A],t=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,(function(P){switch(P.label){case 0:return n=e.namespace,i=e.touchedFields,c=e.encounter,l=e.conceptsUuid,p=e.encounterType,d=e.formUuid,f=e.encounterDate,u=e.patientUuid,b=e.providerUuid,h=e.locationUuid,m=e.visibilityRules,g=void 0===m?{}:m,y=e.context,v=void 0===y?{}:y,_=e.encounterUuid,$=e.mutateEncounters,k=e.workspaceName,C=e.editMode,x=void 0!==C&&C,w=[],[4,s(c,i,l,A)];case 1:P.sent().map((function(A){return w.push(A)})),Object.entries(A).filter((function(e){var n=r(e,2),t=n[0],a=n[1];return""!==a&&null!=a&&0!==a&&(!g[t]||g[t](A,v))})).forEach((function(A){var e,t=r(A,2),a=t[0],i=t[1],c="".concat(n,"-").concat(a);if(Array.isArray(null===(e=i)||void 0===e?void 0:e.selectedItems))i.selectedItems.forEach((function(A){w.push({concept:l[a],formFieldNamespace:n,formFieldPath:c,value:A.concept})}));else{var s=function(A,e){if(e.toLowerCase().includes("date")&&A){var n=new Date(A);return isNaN(n.getTime())?null:o()(n).format("YYYY-MM-DD")}return Array.isArray(A)?A.filter((function(A){return""!==A&&null!=A})):""===A||null==A||0===A?null:A}(i,a);null!==s&&w.push({concept:l[a],formFieldNamespace:n,formFieldPath:c,value:s})}})),T={encounterDatetime:f,encounterProviders:[{provider:b,encounterRole:"a0b03050-c99b-11e0-9572-0800200c9a66"}],encounterType:p,form:{uuid:d},location:h,patient:u,orders:[],obs:w},P.label=2;case 2:return P.trys.push([2,4,,5]),[4,(0,a.t2)(new AbortController,T,_)];case 3:return E=P.sent(),(0,t.showSnackbar)({isLowContrast:!0,title:x?"Record Updated":"Record Saved",kind:"success",subtitle:x?"Encounter Updated":"A new encounter was created"}),$(),(0,t.closeWorkspace)(k),[2,E.data];case 4:throw D=P.sent(),(0,t.showSnackbar)({isLowContrast:!0,title:x?"Error Updating encounter":"Error creating encounter",kind:"error",subtitle:(null===(S=D.response)||void 0===S||null===(M=S.data)||void 0===M||null===(z=M.error)||void 0===z?void 0:z.message)||D.message}),D;case 5:return[2]}}))},d=function(){var e=this,n=arguments;return new Promise((function(t,a){var i=A.apply(e,n);function o(A){l(i,t,a,o,c,"next",A)}function c(A){l(i,t,a,o,c,"throw",A)}o(void 0)}))},d.apply(this,arguments)}},3670:(A,e,n)=>{n.d(e,{CK:()=>I,Cj:()=>R,HV:()=>b,IG:()=>k,J4:()=>P,Jz:()=>T,Nj:()=>c,Oe:()=>p,RY:()=>U,S3:()=>l,SD:()=>y,ST:()=>_,UO:()=>m,VG:()=>j,VT:()=>o,Vv:()=>z,aq:()=>r,bB:()=>D,c2:()=>v,d:()=>d,ek:()=>h,fq:()=>w,gk:()=>a,gm:()=>V,iq:()=>C,lP:()=>G,nc:()=>F,oM:()=>B,oT:()=>E,ps:()=>x,qD:()=>u,qh:()=>N,r4:()=>g,sM:()=>i,sT:()=>M,uy:()=>$,wG:()=>s,yr:()=>f,z$:()=>O,zg:()=>S,zh:()=>t});var t={enrollment_date:"",unit_tb_no:"",targetPopulation:"",childsCareGiverMaritalStatus:"",religion:"",otherReligion:"",levelOfEducation:"",otherEducation:"",occupation:"",residentialType:"",catchment_area:"",regular_followup:"",mothers_name:"",mothers_father_name:"",mothers_grandfather_name:"",placeOfDelivery:"",otherPlaceOfDelivery:"",modeOfDelivery:"",otherModeOfDelivery:"",date_confirmed:"",test_type:"",entryPoint:"",within_the_facility:"",otherEntryPointWithinTheFacility:"",outside_the_facility:"",otherEntryPointOutsideTheFacility:"",reason_for_referral:"",care_giver_first_name:"",care_giver_fathers_name:"",care_giver_grandfathers_name:"",careGiverAge:"",careGiverGender:"",addressRegion:"",telephoneMobile:"",relationship:null,otherRelationship:"",hasFamilyMember:"",hivDisclosure:"",whoKnows:null,otherPersonThatKnows:"",notes:""},a={workPhone:"",homePhone:"",houseNo:"",kebele:"",search:null,country:"",stateProvince:"",countyDistrict:"",cityVillage:"",care_giver_first_name:"",care_giver_fathers_name:"",care_giver_grandfathers_name:"",careGiverAge:null,careGiverGender:"",addressRegion:"",telephoneMobile:"",relationship:"",otherRelationship:""},i=[{concept:"1057AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Never married"},{concept:"5555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Married"},{concept:"1058AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Divorced"},{concept:"1059AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Widowed"},{concept:"1056AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Separated"},{concept:"1060AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Living together"}],o=[{concept:"12f7b48b-38c4-4377-82a3-215b9da86752",label:"Orthodox"},{concept:"2a03b89e-51d1-4d80-90d8-af085c3a481d",label:"Muslim"},{concept:"3b344266-b983-4906-b768-312fadd5f5d6",label:"Catholic"},{concept:"d66c7928-b124-437b-818d-1b3d99116200",label:"Protestant"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],c=[{concept:"160294AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"No Education"},{concept:"1713AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Primary"},{concept:"1714AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Secondary"},{concept:"160292AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Tertiary"},{concept:"9f978371-0866-4685-908f-bcbf2b128725",label:"TVET"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],l=[{concept:"1588AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Health Facility"},{concept:"1536AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Home"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],r=[{concept:"1170AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Spontaneous Vaginal"},{concept:"1171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Cesarean Section"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],s=[{concept:"163722AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Rapid HIV test"},{concept:"164461AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"DBS/PCR (for children)"}],p=[{concept:"163266AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"From Within the Health Facility"},{concept:"164407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Outside the facility"}],d=[{concept:"160448AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Medical outpatient"},{concept:"160457AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Pediatric outpatient"},{concept:"af37cab4-73ad-49ff-b9d7-2a89d54d7118",label:"TB Clinic"},{concept:"14497d04-ec43-4ac4-9cab-02007a0ff273",label:"PNC"},{concept:"d1e97037-c599-47c3-93cb-c256b9c27fbc",label:"L&D"},{concept:"160538AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"MCH (PMTCT)"},{concept:"2959b6f7-1f9b-49cd-9f3a-1e42e87b4ae5",label:"ANC"},{concept:"160546AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"STI clinic"},{concept:"159940AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"VCT"},{concept:"5485AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Adult IPD"},{concept:"f6b54649-54ab-451d-b66f-94bf2887d922",label:"Pediatric IPD"},{concept:"e7e85a1a-1e45-4043-99d7-216034965bc5",label:"Other OPD"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],f=[{concept:"1275AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Health Center"},{concept:"160480AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Public Hospital"},{concept:"1589AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Private Hospital"},{concept:"163014AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"NGO/FBO Hospital"},{concept:"160479AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Private Clinic"},{concept:"b70be5c7-4388-4e12-9b0e-53f01ae2a3f5",label:"Self referred"},{concept:"163488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Community referred"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],u=[{concept:"159811AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"To be enrolled as transferred in ART client"},{concept:"164144AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"To be enrolled as new Pre-ART client"},{concept:"cc2dfcbd-e099-47d5-b01c-74caa296ba3c",label:"To be enrolled as transferred in Pre-ART client"}],b=[{concept:"1534AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Male"},{concept:"1535AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Female"}],h=[{concept:"5617AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Spouse"},{concept:"971AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Father"},{concept:"970AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Mother"},{concept:"1528AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Child"},{concept:"160729AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Brother"},{concept:"160730AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Sister"},{concept:"974AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Extended family member"},{concept:"972AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Friend/Colleague"},{concept:"5620AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],m=[{id:"1",label:"Spouse",concept:"5617AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"2",label:"Own child(ren)",concept:"1528AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"3",label:"Parent(s)",concept:"1527AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"4",label:"Sibling(s)",concept:"972AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"5",label:"Relatives",concept:"54848ad0-6d2e-40b0-8143-57cabe3fc6e1"},{id:"6",label:"Friends",concept:"5618AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"7",label:"Other",concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],g=[{id:"yes",label:"Yes",concept:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"no",label:"No",concept:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],y=[{concept:"131768AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Yes"},{concept:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"No"}],v=[{concept:"515f3768-30f6-4b87-bc9c-c64ce42db187",label:"Rural"},{concept:"32e92a9c-cc61-4079-851a-afc56808037a",label:"Urban"}],_={unit_tb_no:"cce18aff-7923-454f-97fd-2048c75c710a",enrollment_date:"1ebc345c-6f09-43e1-a616-d7e52fff4c7d",targetPopulation:"ca2c04ba-d9bd-4bad-ab03-e57ea9e49016",childsCareGiverMaritalStatus:"e6eb59a1-8430-491d-b948-5b582f87d5ea",religion:"22612cd9-5ec5-4196-b7cc-80ba37e8a13f",otherReligion:"5285ef6e-3e4c-446d-a0fa-51ce5ea7865c",levelOfEducation:"0022deac-d7a0-471a-bbdc-e41fc0e92bb4",otherEducation:"319efe14-16fc-49f9-907f-e8e45501971d",occupation:"2d2073e1-8377-4c4a-b6c7-0ab848760716",residentialType:"6f612018-bc64-4ab2-86f8-efde342b07d0",catchment_area:"6c309c37-5ecb-4506-a4e6-201d4c90e6a3",regular_followup:"f93c0a7d-9578-4fb2-afd1-6a7f477a7e1a",mothers_name:"1593AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",mothers_father_name:"1594AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",mothers_grandfather_name:"1b545ea1-0aed-4632-af99-ea2ceb61b13c",placeOfDelivery:"1572AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",otherPlaceOfDelivery:"2f3c7d4f-198f-40ce-94d2-a968c8c4bea4",modeOfDelivery:"5630AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",otherModeOfDelivery:"ed73985e-cbab-4912-8275-0c037d5674a3",date_confirmed:"160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",test_type:"5583b0a6-f390-446d-ab39-d98584ee330c",entryPoint:"dd282c99-ea69-44e7-9252-aff0198cc1e8",within_the_facility:"d2b461e5-dd7f-4d16-968e-354ac68cbd38",otherEntryPointWithinTheFacility:"a0368d36-686d-4b98-b60e-e62cb3d46c9b",outside_the_facility:"73d76014-365e-484c-bf5b-0959add4e3f3",otherEntryPointOutsideTheFacility:"2c30c599-1e4f-46f9-8488-5ab57cdc8ac3",reason_for_referral:"5f34e705-3574-4b44-b455-d815962026a1",care_giver_first_name:"166102AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",care_giver_fathers_name:"166574AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",care_giver_grandfathers_name:"166103AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",careGiverAge:"1532AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",careGiverGender:"1533AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",addressRegion:"1eb080aa-7921-425e-801f-b53f4ca93a7d",telephoneMobile:"d266ec50-0ba1-442a-8f2c-7895eaad84ab",relationship:"1560AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",otherRelationship:"e42a170d-d225-4e69-8bf6-2e5e3ccd694b",hasFamilyMember:"fcb687a1-f258-427a-8351-b4cd31e6ba0c",hivDisclosure:"159423AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",whoKnows:"de8937b6-6ebe-4302-a488-2198be481839",otherPersonThatKnows:"f622a8b2-55a1-4194-8579-3470609eb626",notes:"165095AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},$=[{concept:"5617AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Parent or spouse"},{concept:"1528AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Child or sibling"}],k=[{concept:"703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Positive"},{concept:"5e4fc757-0b14-49ae-b3b7-419666f41e15",label:"Negative"},{concept:"165649AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Inconclusive"}],C=[{label:"Healthy",concept:"1855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Chronically Ill",concept:"9c849633-3589-42c7-bcb1-b4af7ec392c5"},{label:"Dead",concept:"160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],x={familyMemberType:"1560AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",familyMemberAge:"1532AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",familyMemberGender:"1533AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",familyMemberHealthStatus:"4ab0e5e3-fff7-4819-bd2e-4f070eedcd3d",counselledForHIV:"ff9eccda-485e-4044-ad92-414e97b279c0",counsellationDate:"a4c7ffa9-ba89-4f7d-ae01-50c139527ce4",testedForHIV:"164401AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hivTestDate:"164400AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hivTestResult:"2e770be1-7397-4684-bea6-6632c23b00d7",enrolledInCare:"3ca41707-40ef-424c-9e1a-923a407e68fc",dateEnrolledInCare:"1ebc345c-6f09-43e1-a616-d7e52fff4c7d",artStarted:"1149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",artStartDate:"ae329187-6232-4142-aa91-22c85bc8e5b5",uniqueArtNumber:"162054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",remark:"165095AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},w={familyMemberType:"",familyMemberAge:"",familyMemberGender:"",familyMemberHealthStatus:"",counselledForHIV:"",counsellationDate:null,testedForHIV:"",hivTestDate:null,hivTestResult:"",enrolledInCare:"",dateEnrolledInCare:null,artStarted:"",artStartDate:null,uniqueArtNumber:"",remark:""},T={opportunisticInfectionPresent:"c52ecf45-bd6c-43ed-861b-9a2714878729",HIVRelatedOIs:"339d3209-c797-457f-afb8-8d19d99c63b7",otherOpportunisticIllnesses:"20841482-587f-4b4c-9562-ce3f481dd5a8",cotrimoxazoleDateStarted:"164361AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",cotrimoxazoleDateStopped:"164362AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",TBProphylaxisType:"54084c9e-bc87-4d95-89fc-eb9a2cffb592",inhStartedDate:"d94d9408-837e-44bb-a7de-84007d08bd83",inhCompletedDate:"e9048636-538a-4c73-9fd7-9e2e98a43281",fluconazolePreventiveTherapyDateStarted:"5ac4300a-5e19-45c8-8692-31a57d6d5b8c",fluconazolePreventiveTherapyDateCompleted:"c2d57bcb-02f2-457d-af05-8d759a1457a7",ARVForPMTCT:"163532AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",healthFacility:"162724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",regimenForMother:"d43c5ef9-3ff0-47d4-9573-ea0efa7e3fdd",regimenForBaby:"5f979d21-5b8f-4f52-abfd-4d99cc828b91",lifelongARTTI:"1149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Regimen:"6d7d0327-e1f8-4246-bfe5-be1e82d94b14",artStartDate:"ae329187-6232-4142-aa91-22c85bc8e5b5",monthsOnART:"0503b8d4-e6db-4a87-ba42-8ef892791dba",stillonTreatment:"160119AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",temperature:"9ce234b3-bafc-4e82-9709-34b0cb6b7d85",heartRate:"76b45324-9920-4cb7-a8af-c135fb8deb77",systolicBloodPressure:"5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",diastolicBloodPressure:"5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",rr:"5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",height:"f980e9d2-e85c-483e-ae93-980623114e6f",weight:"4ab93a3c-4373-4b9b-9268-5ff0641cc242",bmi:"e3c2efba-3ec9-4029-9bd9-716948995433",patientFunctionalStatus:"2b7b8471-b19e-4d55-b2a4-4fe5b80f889a",headCircumference:"5314AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",anthropometryInterpretation:"1854AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",developmentalStatus:"1200AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",pregnancyAtEnrollment:"5272AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",LMP:"30d8d278-5ace-4d01-b2f1-8efc28372070",EDD:"5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",presentingComplaints:"14718b2b-d38a-4f68-8e22-8bc739ae43f7",otherPresentingComplaints:"a6408b87-6146-4b20-839f-e0ed70c62e5a",percentOfLostBodyWeight:"91ee36b1-4018-4e4c-bf56-6394c752654f",generalAppearance:"163042AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",areAllSystemsNormal:"dd60b83d-2a86-4820-92f7-1228f2cf8220",heentExamination:"33b614d0-1953-4056-ac84-66b0492394e5",heentExaminationComment:"163045AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",lymphNodesExamination:"1121AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",lymphNodesExaminationComment:"166005AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",chestExamination:"51ee2cfb-01df-4b6b-8145-a265f6002be6",chestExaminationComment:"160689AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",heartExamination:"1d51e0df-9e50-432d-ae12-b5a044c8d6e6",heartExaminationComment:"163046AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",abdomenExamination:"84fa6273-8798-4cca-941d-2d21f8698e22",abdomenExaminationComment:"160947AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",genitourinarySystemExamination:"1c7d55db-453a-464e-a297-b9ce9cc2b77f",genitourinarySystemExaminationComment:"1854b210-5a4b-4c7f-a591-f3eddbbae649",musculoskeletalSystemExamination:"a6cb33f0-6f6c-47fd-b862-90ccd8ffd18a",musculoskeletalSystemExaminationComment:"163048AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",skinExamination:"2c8381a2-167e-4ce6-a3e1-5d7427e87667",skinExaminationComment:"160981AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",nervousSystemExamination:"adb5d92a-f8cc-4e77-92d0-cb263e2f4e7a",nervousSystemExaminationComment:"163109AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",otherPhysicalExaminationFindings:"0d3783f1-3790-4b7f-8213-2ff1358148ee",WHOStaging:"5356AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",whoWhy:"3bb2b035-fa5d-4abf-8d47-5f28fb9cf333",intakeNotes:"165095AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",eligibileForART:"162703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",whyEligibleForART:"0675742c-ea84-4cab-a85f-54b46eadd1ee",otherReasonWhyEligible:"7e4d2281-c8f7-4090-bc29-4ff2313946cc"},E={opportunisticInfectionPresent:"",HIVRelatedOIs:null,otherOpportunisticIllnesses:"",cotrimoxazoleDateStarted:null,cotrimoxazoleDateStopped:null,TBProphylaxisType:"",inhStartedDate:null,inhCompletedDate:null,fluconazolePreventiveTherapyDateStarted:null,fluconazolePreventiveTherapyDateCompleted:null,ARVForPMTCT:"",healthFacility:"",regimenForMother:"",regimenForBaby:"",lifelongARTTI:"",Regimen:"",artStartDate:null,monthsOnART:"",stillonTreatment:"",temperature:"",heartRate:0,systolicBloodPressure:0,diastolicBloodPressure:0,rr:0,height:0,weight:"",bmi:"",patientFunctionalStatus:"",headCircumference:0,anthropometryInterpretation:"",developmentalStatus:"",pregnancyAtEnrollment:"",LMP:null,EDD:null,presentingComplaints:null,otherPresentingComplaints:"",percentOfLostBodyWeight:"",generalAppearance:"",areAllSystemsNormal:"",heentExamination:"",heentExaminationComment:"",lymphNodesExamination:"",lymphNodesExaminationComment:"",chestExamination:"",chestExaminationComment:"",heartExamination:"",heartExaminationComment:"",abdomenExamination:"",abdomenExaminationComment:"",genitourinarySystemExamination:"",genitourinarySystemExaminationComment:"",musculoskeletalSystemExamination:"",musculoskeletalSystemExaminationComment:"",skinExamination:"",skinExaminationComment:"",nervousSystemExamination:"",nervousSystemExaminationComment:"",otherPhysicalExaminationFindings:"",WHOStaging:"",whoWhy:null,intakeNotes:"",eligibileForART:"",whyEligibleForART:null,otherReasonWhyEligible:""},D=[{concept:"154119AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"CMV"},{concept:"94d9ef82-2d3a-4414-951f-522612782b25",label:"Cryptococcal Infection"},{concept:"1294AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Cryptococcal Meningitis"},{concept:"143110AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Cryptosporidiosis"},{concept:"fd853cea-e306-4dd7-8731-b46dd87ddd4b",label:"Diarrhea (>1 month)"},{concept:"160745AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Disseminated Atypical mycobacteriosis"},{concept:"119288AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Encephalopathy"},{concept:"fadf2d65-cf3a-4bc1-aa83-9a938b7d205d",label:"Extra Pulmonary Tuberculosis"},{concept:"5aeec702-8a9e-4b1c-8003-6356f91b949a",label:"Fever (>1 month and unexplained)"},{concept:"7ad72b79-f35d-4d47-aec4-00ec6ca3d06d",label:"Herpes Simplex (>1 month)"},{concept:"644AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Kaposi sarcoma"},{concept:"5330AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Minor muco-cutaneous manifestations"},{concept:"6396014f-ac6f-4567-a0e3-4df49144f5a3",label:"Mycosis"},{concept:"5334AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Oral Candidiasis"},{concept:"b2ad0941-d3ef-43fa-8d3d-8a73c33eaaf4",label:"Persistent Generalized Lymphadenopathy (PGL)"},{concept:"159348AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Pharyngeal candidiasis"},{concept:"6fdd205f-d467-40c0-ab3d-62e73c22acf6",label:"Pneumocystis Carinii Pneumonia (PCP)"},{concept:"b8c78e6d-300a-48ab-99fa-7d13552550ae",label:"Pneumocystis jirovecii pneumonia"},{concept:"158647AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Pneumonia (recurrent)"},{concept:"80d19a31-a096-4cdd-9e91-7d5b9a0867f8",label:"Progressive multifocal leukocencephalopathy (PML)"},{concept:"988737cf-d3ae-4fa3-99f1-0929ccafeb9d",label:"Pulmonary TB"},{concept:"127784AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Recurrent URTIs"},{concept:"127198AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Salmonella Septicaemia"},{concept:"5355AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Toxoplasmosis of Brain"},{concept:"feba334d-46af-4ea6-a82c-fc5cde1ec9bf",label:"Wasting Syndrome"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],z={phdpDate:"2c4db7e7-1ece-49a6-a075-d466e6d9b27d",issuesAddressed:"5e8e03b1-d6ad-4362-a99a-f610af940f57",conclusion:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},M={phdpDate:null,issuesAddressed:null,conclusion:""},S=[{concept:"bca15fd1-2449-4eb2-9be5-576a5da654a8",label:"What to do if one forgets dose"},{concept:"7c7c22aa-9ec8-4806-b196-fa654febedfa",label:"What side effects and How to manage"},{concept:"5226a9de-0171-45ea-bd2d-6479cde1647a",label:"Why complete adherence needed"},{concept:"8b428610-e187-49dd-a00a-1d1317c2c129",label:"Progression of disease"},{concept:"92f0adc7-b087-4cc2-97d7-bc9706659cfc",label:"Prevention: Abstinence, Safer sex and Condoms"},{concept:"35c006b3-6ff3-4155-a367-8a50e37109ea",label:"Positive living"},{concept:"b5a43c78-660c-4fb4-9488-01ed5c2ceaaa",label:"Explain dose, When to take"},{concept:"a4674c1b-af47-4c9b-a8e7-d1c6efc6103a",label:"Education on essentials of ART"},{concept:"6c5fd1d8-8b2a-43e8-a5f6-d3aac54f72b5",label:"Basic HIV and TB transmission education"},{concept:"7e2703cc-bb5a-4f16-80c4-a14c51f6fd93",label:"Available treatment/Prophylaxis CPT, IPT, FPT"}],P=[{concept:"165093AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"CD4 < 500"},{concept:"165094AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"WHO stage III or IV"},{concept:"143264AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Pregnancy or breastfeeding"},{concept:"160119AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Active TB"},{concept:"138405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Children < 5 years"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],F=[{label:"6H",concept:"8ba598a1-9e8a-4499-bd7a-54c3d0c94f01"},{label:"3HP",concept:"e8588507-635c-4e28-a1f8-3c493e30b2f5"}],O=[{concept:"b5951dd9-6bb2-4b63-af20-0707500108ea",label:"1d - AZT+3TC+EFV"},{concept:"1f735bdd-4ccd-40ce-8746-28f031f38675",label:"1e - TDF+3TC+EFV"},{concept:"a664a63f-57f5-4cfc-80c0-4a8456725c2a",label:"1g - ABC+3TC+EFV"},{concept:"eb171a2d-1b67-4adc-ae09-49b6d272810d",label:"1i - Other Adult 1st line regimen"},{concept:"2a811ceb-3c34-47ff-943a-425b41651784",label:"1j - TDF+3TC+DTG"},{concept:"c56be3a9-d678-4693-9566-84430239a2f5",label:"1k - AZT+3TC+DTG"},{concept:"a1056dfb-c16d-4e5c-a56b-e33228d634f8",label:"2e - AZT+3TC+LPVr"},{concept:"891bf06e-298a-40ee-8970-2311d18fed48",label:"2f - AZT+3TC+ATVr"},{concept:"e2d1786e-4849-473e-b32a-2c82bd35e947",label:"2g - TDF+3TC+LPVr"},{concept:"a9ef6721-d2fb-4f47-bfe3-9f7902e107c7",label:"2h - TDF+3TC+ATVr"},{concept:"73c10f0d-0a24-411f-9c97-49ab9e7eb2ce",label:"2i - ABC+3TC+LPVr"},{concept:"2a17d96a-3457-4b93-b007-b540a7543618",label:"2j -TDF+3TC+DTG"},{concept:"707d6943-9ec0-4c6b-8c72-f64143663043",label:"2k - AZT+3TC+DTG"},{concept:"25758e89-bfb1-4b9f-ba6d-240d953c99e8",label:"2L - Other Adult 2nd line regimen"},{concept:"ab265c19-afab-4497-84a9-c8b44a202ca5",label:"3a - DRV/r+DTG+AZT+3TC"},{concept:"7f9aed33-cc7e-4043-adc8-b947dd9638eb",label:"3b - DRV/r+DTG+TDF+3TC"},{concept:"664137bb-d538-4afc-bbd1-7538cf158882",label:"3c - DRV/r+ABC+3TC+DTG"},{concept:"dea28eb8-1f9b-455f-afcc-dc566898cb86",label:"3d - Other Adult 3rd line regimen"},{concept:"74f685e8-7ea1-40e1-adf1-651cdf30b272",label:"3e - DRV/r+TDF+3TC+EFV"},{concept:"e8cdf6eb-2b36-4cde-bb4b-f0fd1d6d748b",label:"3f - DRV/r+AZT+3TC+EFV"}],I=[{concept:"ad169a6d-cf1a-4363-a2da-be85998612bd",label:"4d - AZT+3TC+EFV"},{concept:"d3eedcf3-9571-42a2-b8b0-189e93f72f47",label:"4e - TDF+3TC+EFV"},{concept:"0343175a-e931-4f6c-a0c2-99e55637bda9",label:"4f - AZT+3TC+LPVr"},{concept:"e4353cd1-5a0e-4870-8af4-f012ca0145fe",label:"4g - ABC+3TC+LPVr"},{concept:"582c6b67-2f0a-4cc0-b7c0-632b4b387a17",label:"4h - Other Child 1st line regimen"},{concept:"eae01634-65ec-4174-a95c-622456663727",label:"4j - ABC+3TC+DTG"},{concept:"0dbe6b49-7356-4cf0-b489-890e18c38465",label:"4i - TDF+3TC+DTG"},{concept:"dabcfa6d-56e5-4e5d-a2f2-faf4e18b9211",label:"4K - AZT+3TC+DTG"},{concept:"c94ca2da-8066-42f7-b4c9-582dae83e552",label:"4L - ABC+3TC+EFV"},{concept:"fbb4db0f-4cf4-4ca3-bde0-e20eb065e7da",label:"5e - ABC+3TC+LPVr"},{concept:"9ef4d67d-0e05-422a-aac5-80eaf71daadc",label:"5f - AZT+3TC+LPVr"},{concept:"ee5b1c56-1131-40a6-a880-5dd33a72a861",label:"5g - TDF+3TC+EFV"},{concept:"e341cf6c-4923-4eb1-8c47-e76eef19e8cf",label:"5h - ABC+3TC+EFV"},{concept:"1294646b-2c36-4169-a0aa-a0c7692003fc",label:"5i - TDF+3TC+LPVr"},{concept:"0cc9e467-c1ce-4eff-879d-8936a81b6ea3",label:"5j - Other Child 2nd line regimen"},{concept:"3ed5d8a0-c957-4439-8f86-6c2538e69d3a",label:"5m - ABC+3TC+DTG"},{concept:"10c0f78a-cd78-40cd-9824-8d24dc95bb90",label:"5n - AZT+3TC+DTG"},{concept:"d34b5c26-c70d-4720-9784-cf8a0673d6b0",label:"5o - TDF+3TC+DTG"},{concept:"5c8d27eb-4642-4c6f-b131-1182df8d1276",label:"6c - DRVr+DTG+AZT+3TC"},{concept:"ee226f28-5e37-4c40-a8e0-47dfade32712",label:"6d - DRVr+DTG+TDF+3TC"},{concept:"57eef726-e977-4efd-996b-a94860341320",label:"6e - Other Child 3rd line regimen"},{concept:"e3eb6ae1-fd70-47b2-b1a6-702fae87b061",label:"6f - DRV/r+DTG+ABC+3TC"},{concept:"a270c994-8182-4204-9a1e-c7aa78a43b23",label:"6g - DRV/r+ABC+3TC+EFV"},{concept:"f0724e33-ca6e-415e-b385-91d53e125cfb",label:"6h - DRV/r+AZT+3TC+EFV"}],B=[{label:"Working",concept:"159468AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Ambulatory",concept:"160026AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Bedridden",concept:"162752AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],R=[{label:"Underweight",concept:"123814AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Normal weight for age",concept:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],N=[{label:"Appropriate for age",concept:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Delay",concept:"6022AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Regression",concept:"1116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],V=[{yesNoOptions:g},{label:"Not Applicable",concept:"1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],G=[{concept:"145455AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Chronic Cough"},{concept:"832AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Weight loss"},{concept:"b78fe564-9af7-4475-a0d3-858d2ed6fe38",label:"Dyspnea, Shortness of breath"},{concept:"5aeec702-8a9e-4b1c-8003-6356f91b949a",label:"Fever >1 Month"},{concept:"133027AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Night sweats"},{concept:"5018AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Chronic Diarrhea"},{concept:"3011df15-6588-4354-8828-78f80ca5ae94",label:"Mental Confusion"},{concept:"df1123f0-80fd-40a1-a4ce-b1f83220178d",label:"STI Symptoms"},{concept:"118789AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Dysphagia"},{concept:"125225AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Odynophagia, Swallowing Painful"},{concept:"5978AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Nausea"},{concept:"122983AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Vomiting"},{concept:"2423abaf-6cd5-4409-8b39-2d90ca584fba",label:"Persistent Headaches"},{concept:"e0318c3d-2926-4958-8517-72f7b3c53eb1",label:"Hemoptysis"},{concept:"140501AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Chronic Fatigue"},{concept:"0d51073d-99b9-4d66-95f4-d345756e6ba9",label:"Flu-like (URTI)"},{concept:"151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Abdominal pain"},{concept:"132653AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Numbness/Tingling"},{concept:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other"}],j=[{label:"Normal",concept:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Abnormal",concept:"1116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],U=[{label:"Stage I",concept:"1204AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Stage II",concept:"1205AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Stage III",concept:"1206AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Stage IV",concept:"1207AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}]},4200:(A,e,n)=>{n.d(e,{$w:()=>s,CA:()=>d,Go:()=>c,RZ:()=>t,Xl:()=>a,ZT:()=>f,ek:()=>l,gT:()=>r,hC:()=>i,mZ:()=>o,xM:()=>p});var t="custom:(uuid,encounterDatetime,encounterType,location:(uuid,name),patient:(uuid,display),encounterProviders:(uuid,provider:(uuid,name)),obs:(uuid,obsDatetime,voided,groupMembers,formFieldNamespace,formFieldPath,concept:(uuid,name:(uuid,name)),value:(uuid,name:(uuid,name),names:(uuid,conceptNameType,name))))",a="custom:(display,uuid,personB:(age,gender,display,birthdate,uuid,addresses,names,attributes))",i="d23b4634-7ee1-3d3f-b657-35a8bc1615a4",o="059cdca1-18bc-38c6-bd63-23661201ef3e",c="2d94354b-581f-340f-813a-07dffe8792e8",l="e270770f-19bf-3d32-baaf-4b677983dec3",r="05add044-67f8-48c9-928d-79002ab19efe",s="dc94a223-66bc-45b7-8e34-d13b8686f239",p="d384d248-04f8-42d3-9c49-3c44ab50f1d8",d="f1b397c1-46bd-43e6-a23d-ae2cedaec881",f="* Patient needs to have a registered MRN, before this form can be filled! Please add an MRN on patient details."},4710:(A,e,n)=>{n.d(e,{A:()=>c});var t=n(5037),a=n.n(t),i=n(5720),o=n.n(i)()(a());o.push([A.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-ethiohri-intake__intake-form__container___LjZBY section{margin:1rem 0}.-esm-ethiohri-intake__intake-form__formContainer___Eyqbm{display:flex;flex-direction:column;gap:1rem}.-esm-ethiohri-intake__intake-form__content___OEZUN{flex:1;margin-bottom:16px}.-esm-ethiohri-intake__intake-form__buttonContainer___Pl7uG{margin-top:auto}.-esm-ethiohri-intake__intake-form__form___NvHnK{display:flex;flex-direction:column;justify-content:space-between;height:100%}.-esm-ethiohri-intake__intake-form__fieldWrapper___PwAph{margin-bottom:16px}.-esm-ethiohri-intake__intake-form__label___IZWVB{top:5px;bottom:5px;color:#000;font-weight:bold}.-esm-ethiohri-intake__intake-form__radio___7VWSx{display:flex;flex-direction:row}.-esm-ethiohri-intake__intake-form__buttonSet___4z2ZI{position:absolute;bottom:0;left:0;right:0;width:100%}.-esm-ethiohri-intake__intake-form__button___sIO94{height:4rem;display:flex;align-content:flex-start;align-items:baseline;width:100%}.-esm-ethiohri-intake__intake-form__tablet___9uqKz{padding:1.5rem 1rem;background-color:#fff}.-esm-ethiohri-intake__intake-form__desktop___YHvZr{padding:0}.-esm-ethiohri-intake__intake-form__dateTimeSection___53AZg{display:flex;gap:.75rem}.-esm-ethiohri-intake__intake-form__dateTimeSection___53AZg>div:first-child{flex:2}.-esm-ethiohri-intake__intake-form__dateTimeSection___53AZg>div:last-child{flex:1}.-esm-ethiohri-intake__intake-form__pmtctSection___ca3H5{display:flex;gap:.75rem}@media screen and (max-width: 600px){.-esm-ethiohri-intake__intake-form__dateTimeSection___53AZg{flex-direction:column;gap:.75rem}}.omrs-breakpoint-lt-desktop .-esm-ethiohri-intake__intake-form__formGroup___7jTOj{flex-direction:row}.omrs-breakpoint-lt-desktop .-esm-ethiohri-intake__intake-form__formGroup___7jTOj .-esm-ethiohri-intake__intake-form__heading___-x7Ls{flex:1}.omrs-breakpoint-lt-desktop .-esm-ethiohri-intake__intake-form__formGroup___7jTOj div{flex:3}.-esm-ethiohri-intake__intake-form__heading___-x7Ls{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);margin-bottom:.5rem;margin-left:1rem}.-esm-ethiohri-intake__intake-form__lastField___xwKqp{margin-bottom:76px}","",{version:3,sources:["webpack://./node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/forms/intake-form.scss","webpack://./node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CChDA,8DACE,aAAA,CAKJ,0DACE,YAAA,CACA,qBAAA,CACA,QCeW,CDZb,oDACE,MAAA,CACA,kBAAA,CAGF,4DACE,eAAA,CAEF,iDACE,YAAA,CACA,qBAAA,CACA,6BAAA,CACA,WAAA,CAGF,yDACE,kBAAA,CAGF,kDACE,OAAA,CACA,UAAA,CACA,UAAA,CACA,gBAAA,CAEF,kDACE,YAAA,CACA,kBAAA,CAGF,sDACE,iBAAA,CACA,QAAA,CACA,MAAA,CACA,OAAA,CACA,UAAA,CAIF,mDACE,WCHW,CDIX,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,UAAA,CAGF,mDACE,mBAAA,CACA,qBDnEM,CCsER,oDACE,SAAA,CAGF,4DACE,YAAA,CACA,UCnDW,CDqDX,4EACE,MAAA,CAGF,2EACE,MAAA,CAIJ,yDACE,YAAA,CACA,UChEW,CDmEb,qCACE,4DACE,qBAAA,CACA,UCtES,CAAA,CDyEb,kFACI,kBAAA,CAEA,sIACE,MAAA,CAGF,sFACE,MAAA,CAIN,oDEmvBI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFhvBF,mBC7FW,CD8FX,gBCpFW,CDuFb,sDACE,kBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n"," \n@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n@use '@carbon/colors';\n@use '@carbon/type';\n\n.container { \n & section {\n margin: layout.$spacing-05 0;\n }\n \n}\n\n.formContainer {\n display: flex;\n flex-direction: column; // Ensures stacked layout\n gap: layout.$spacing-05; // Carbon spacing token for consistency \n \n}\n.content {\n flex: 1; /* Make the content div take up available space */\n margin-bottom: 16px;\n /* Add any additional styling for the content */\n}\n.buttonContainer {\n margin-top: auto; /* Push the buttons to the bottom */\n}\n.form {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n \n}\n.fieldWrapper {\n margin-bottom: 16px;\n}\n\n.label {\n top: 5px;\n bottom: 5px;\n color: black;\n font-weight:bold;\n}\n.radio {\n display: flex;\n flex-direction: row; \n}\n\n.buttonSet {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0; \n width: 100%;\n\n}\n\n.button {\n height: layout.$spacing-10;\n display: flex;\n align-content: flex-start;\n align-items: baseline;\n width: 100%;\n}\n\n.tablet {\n padding: layout.$spacing-06 layout.$spacing-05;\n background-color: $ui-02;\n}\n\n.desktop {\n padding: 0;\n}\n\n.dateTimeSection {\n display: flex;\n gap: layout.$spacing-04;\n\n & > div:first-child {\n flex: 2; // This makes the first column take up 2/3 of the space\n }\n\n & > div:last-child {\n flex: 1; // This makes the second column take up 1/3 of the space\n }\n}\n\n.pmtctSection {\n display: flex;\n gap: layout.$spacing-04;\n}\n\n@media screen and (max-width: 600px) {\n .dateTimeSection {\n flex-direction: column;\n gap: layout.$spacing-04;\n }\n}\n:global(.omrs-breakpoint-lt-desktop) .formGroup {\n flex-direction: row;\n \n .heading {\n flex: 1;\n }\n \n div {\n flex: 3;\n }\n }\n\n.heading {\n // color: colors.$gray-70;\n @include type.type-style('heading-compact-02');\n margin-bottom: layout.$spacing-03;\n margin-left: layout.$spacing-05;\n}\n\n.lastField {\n margin-bottom: 76px; /* Adjust as necessary */\n}","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={container:"-esm-ethiohri-intake__intake-form__container___LjZBY",formContainer:"-esm-ethiohri-intake__intake-form__formContainer___Eyqbm",content:"-esm-ethiohri-intake__intake-form__content___OEZUN",buttonContainer:"-esm-ethiohri-intake__intake-form__buttonContainer___Pl7uG",form:"-esm-ethiohri-intake__intake-form__form___NvHnK",fieldWrapper:"-esm-ethiohri-intake__intake-form__fieldWrapper___PwAph",label:"-esm-ethiohri-intake__intake-form__label___IZWVB",radio:"-esm-ethiohri-intake__intake-form__radio___7VWSx",buttonSet:"-esm-ethiohri-intake__intake-form__buttonSet___4z2ZI",button:"-esm-ethiohri-intake__intake-form__button___sIO94",tablet:"-esm-ethiohri-intake__intake-form__tablet___9uqKz",desktop:"-esm-ethiohri-intake__intake-form__desktop___YHvZr",dateTimeSection:"-esm-ethiohri-intake__intake-form__dateTimeSection___53AZg",pmtctSection:"-esm-ethiohri-intake__intake-form__pmtctSection___ca3H5",formGroup:"-esm-ethiohri-intake__intake-form__formGroup___7jTOj",heading:"-esm-ethiohri-intake__intake-form__heading___-x7Ls",lastField:"-esm-ethiohri-intake__intake-form__lastField___xwKqp"};const c=o},6818:(A,e,n)=>{n.d(e,{V:()=>c});var t=n(5987),a=n(6072),i=n(9324);function o(A,e){(null==e||e>A.length)&&(e=A.length);for(var n=0,t=new Array(e);n<e;n++)t[n]=A[n];return t}function c(){var A,e,n=(A=(0,a.useState)(null),e=2,function(A){if(Array.isArray(A))return A}(A)||function(A,e){var n=null==A?null:"undefined"!=typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=n){var t,a,i=[],o=!0,c=!1;try{for(n=n.call(A);!(o=(t=n.next()).done)&&(i.push(t.value),!e||i.length!==e);o=!0);}catch(A){c=!0,a=A}finally{try{o||null==n.return||n.return()}finally{if(c)throw a}}return i}}(A,e)||function(A,e){if(A){if("string"==typeof A)return o(A,e);var n=Object.prototype.toString.call(A).slice(8,-1);return"Object"===n&&A.constructor&&(n=A.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(A,e):void 0}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=n[0],l=n[1],r="".concat(t.restBaseUrl,"/location?v=default"),s=(0,i.Ay)(r,t.openmrsFetch),p=s.data,d=s.error,f=s.isLoading;return(0,a.useEffect)((function(){if(p){var A=p.data.results.find((function(A){var e;return null===(e=A.tags)||void 0===e?void 0:e.some((function(A){return"Facility Location"===A.display}))}));A&&l({uuid:A.uuid,display:A.display})}}),[p]),{facilityInfo:c,isLoading:f,isError:!!d}}},8322:(A,e,n)=>{n.d(e,{Gu:()=>r,H2:()=>u,SE:()=>b,g8:()=>f,m5:()=>s,t2:()=>l,x_:()=>p,yB:()=>d});var t=n(5987),a=n(4200);function i(A,e,n,t,a,i,o){try{var c=A[i](o),l=c.value}catch(A){return void n(A)}c.done?e(l):Promise.resolve(l).then(t,a)}function o(A){return function(){var e=this,n=arguments;return new Promise((function(t,a){var o=A.apply(e,n);function c(A){i(o,t,a,c,l,"next",A)}function l(A){i(o,t,a,c,l,"throw",A)}c(void 0)}))}}function c(A,e){var n,t,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,t&&(a=2&i[0]?t.return:i[0]?t.throw||((a=t.return)&&a.call(t),0):t.next)&&!(a=a.call(t,i[1])).done)return a;switch(t=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,t=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=e.call(A,o)}catch(A){i=[6,A],t=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function l(A,e,n){var i=n?"".concat(t.restBaseUrl,"/encounter/").concat(n,"?v=").concat(a.RZ):"".concat(t.restBaseUrl,"/encounter?v=").concat(a.RZ);return(0,t.openmrsFetch)(i,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(e),signal:A.signal}).catch((function(A){throw console.error("Error saving encounter:",A),A}))}function r(A,e,n){var a=n?"".concat(t.restBaseUrl,"/person/").concat(n):"".concat(t.restBaseUrl,"/person");return(0,t.openmrsFetch)(a,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(e),signal:A.signal}).catch((function(A){throw console.error("Error saving encounter:",A),A}))}function s(A,e,n){return n?"".concat(t.restBaseUrl,"/relationship/").concat(n):"".concat(t.restBaseUrl,"/relationship"),(0,t.openmrsFetch)("".concat(t.restBaseUrl,"/relationship"),{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(e),signal:A.signal}).catch((function(A){throw console.error("Error saving encounter:",A),A}))}o((function(A,e){var n;return c(this,(function(a){switch(a.label){case 0:return n=encodeURIComponent(A.join(",")),[4,(0,t.openmrsFetch)("/ws/rest/v1/snscoupon?q=".concat(n),{method:"GET",signal:e.signal,headers:{Accept:"application/json"}})];case 1:return[2,a.sent().data]}}))}));var p=function(){var A=o((function(A){var e,n;return c(this,(function(a){switch(a.label){case 0:return e=A.filter(Boolean).join("|"),n="/module/addresshierarchy/ajax/getChildAddressHierarchyEntries.form?searchString=".concat(encodeURIComponent(e)),[4,(0,t.openmrsFetch)(n)];case 1:return[2,a.sent().data]}}))}));return function(e){return A.apply(this,arguments)}}(),d=function(){var A=o((function(A){var e;return c(this,(function(n){switch(n.label){case 0:return e="/module/addresshierarchy/ajax/getPossibleFullAddresses.form?separator=%3E&searchString=".concat(encodeURIComponent(A)),[4,(0,t.openmrsFetch)(e)];case 1:return[2,n.sent().data]}}))}));return function(e){return A.apply(this,arguments)}}();function f(A){return(0,t.openmrsFetch)("".concat(t.restBaseUrl,"/relationship?v=").concat(a.Xl,"&person=").concat(A)).then((function(A){return A.data.results}))}function u(A,e){return(0,t.openmrsFetch)("".concat(t.restBaseUrl,"/person/").concat(e),{headers:{"Content-Type":"application/json"},method:"DELETE",signal:A.signal}).catch((function(A){throw console.error("Error saving encounter:",A),A}))}function b(A,e){return(0,t.openmrsFetch)("".concat(t.restBaseUrl,"/relationship/").concat(e),{headers:{"Content-Type":"application/json"},method:"DELETE",signal:A.signal}).catch((function(A){throw console.error("Error saving encounter:",A),A}))}},9208:(A,e,n)=>{n.d(e,{j:()=>o});var t=n(231),a=n.n(t);function i(A,e,n){return e in A?Object.defineProperty(A,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):A[e]=n,A}var o=function(A,e,n){var t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(!A||!A.obs)return e;var o=function(A){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},t=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(A){return Object.getOwnPropertyDescriptor(n,A).enumerable})))),t.forEach((function(e){i(A,e,n[e])}))}return A}({},e);return A.obs.forEach((function(A){var e=A.concept.uuid||A.concept,i=Object.keys(n).find((function(A){return n[A]===e}));if(i){var c,l,r,s,p,d=(null===(l=A)||void 0===l||null===(c=l.value)||void 0===c?void 0:c.uuid)?null===(s=A)||void 0===s||null===(r=s.value)||void 0===r?void 0:r.uuid:null===(p=A)||void 0===p?void 0:p.value;t.includes(e)?(o[i]||(o[i]={selectedItems:[]}),o[i].selectedItems.push({label:A.value.name.name,concept:A.value.uuid})):i.toLowerCase().includes("date")&&d?o[i]=a()(d).toDate():Array.isArray(o[i])&&d?o[i]=Array.isArray(d)?d:[d].filter(Boolean):o[i]=d}})),o}},9503:(A,e,n)=>{n.d(e,{A:()=>m});var t=n(7710),a=n.n(t),i=n(4583),o=n.n(i),c=n(6765),l=n.n(c),r=n(8206),s=n.n(r),p=n(3930),d=n.n(p),f=n(4079),u=n.n(f),b=n(4710),h={};h.styleTagTransform=u(),h.setAttributes=s(),h.insert=l().bind(null,"head"),h.domAPI=o(),h.insertStyleElement=d(),a()(b.A,h);const m=b.A&&b.A.locals?b.A.locals:void 0}}]);
|
package/dist/712.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"712.js","mappings":"sxCAQA,IAWMA,EAAsB,SAACC,EAAWC,EAAeC,EAAcC,G,IAE9DH,EAAL,MAAKA,QAAAA,EAAAA,SAAAA,IAAAA,OAAA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B,GACjBC,aAAc,GACdC,kBAAmB,IA4DRgB,EAAmB,CAC9B,CACEvH,QAAS,uCACTwH,MAAO,iBAET,CACExH,QAAS,uCACTwH,MAAO,WAET,CACExH,QAAS,uCACTwH,MAAO,YAET,CACExH,QAAS,uCACTwH,MAAO,WAET,CACExH,QAAS,uCACTwH,MAAO,aAET,CACExH,QAAS,uCACTwH,MAAO,oBAGEC,EAAc,CACzB,CACEzH,QAAS,uCACTwH,MAAO,YAET,CACExH,QAAS,uCACTwH,MAAO,UAET,CACExH,QAAS,uCACTwH,MAAO,YAET,CACExH,QAAS,uCACTwH,MAAO,cAET,CACExH,QAAS,uCACTwH,MAAO,UAGEE,EAAsB,CACjC,CACE1H,QAAS,uCACTwH,MAAO,gBAET,CACExH,QAAS,uCACTwH,MAAO,WAET,CACExH,QAAS,uCACTwH,MAAO,aAET,CACExH,QAAS,uCACTwH,MAAO,YAET,CACExH,QAAS,uCACTwH,MAAO,QAET,CACExH,QAAS,uCACTwH,MAAO,UAGEG,EAAqB,CAChC,CACE3H,QAAS,uCACTwH,MAAO,mBAET,CACExH,QAAS,uCACTwH,MAAO,QAET,CACExH,QAAS,uCACTwH,MAAO,UAGEI,EAAoB,CAC/B,CACE5H,QAAS,uCACTwH,MAAO,uBAET,CACExH,QAAS,uCACTwH,MAAO,oBAET,CACExH,QAAS,uCACTwH,MAAO,UAGEK,EAAc,CACzB,CACE7H,QAAS,uCACTwH,MAAO,kBAET,CACExH,QAAS,uCACTwH,MAAO,2BAGEM,EAAgB,CAC3B,CACE9H,QAAS,uCACTwH,MAAO,mCAET,CACExH,QAAS,uCACTwH,MAAO,yBAGEO,EAAsB,CACjC,CACE/H,QAAS,uCACTwH,MAAO,sBAET,CACExH,QAAS,uCACTwH,MAAO,wBAET,CACExH,QAAS,uCACTwH,MAAO,aAET,CACExH,QAAS,uCACTwH,MAAO,OAET,CACExH,QAAS,uCACTwH,MAAO,OAET,CACExH,QAAS,uCACTwH,MAAO,eAET,CACExH,QAAS,uCACTwH,MAAO,OAET,CACExH,QAAS,uCACTwH,MAAO,cAET,CACExH,QAAS,uCACTwH,MAAO,OAET,CACExH,QAAS,uCACTwH,MAAO,aAET,CACExH,QAAS,uCACTwH,MAAO,iBAET,CACExH,QAAS,uCACTwH,MAAO,aAET,CACExH,QAAS,uCACTwH,MAAO,UAGEQ,EAAqB,CAChC,CACEhI,QAAS,uCACTwH,MAAO,iBAET,CACExH,QAAS,uCACTwH,MAAO,mBAET,CACExH,QAAS,uCACTwH,MAAO,oBAET,CACExH,QAAS,uCACTwH,MAAO,oBAET,CACExH,QAAS,uCACTwH,MAAO,kBAET,CACExH,QAAS,uCACTwH,MAAO,iBAET,CACExH,QAAS,uCACTwH,MAAO,sBAET,CACExH,QAAS,uCACTwH,MAAO,UAGES,EAAuB,CAClC,CACEjI,QAAS,uCACTwH,MAAO,+CAET,CACExH,QAAS,uCACTwH,MAAO,wCAET,CACExH,QAAS,uCACTwH,MAAO,oDAGEU,EAAY,CACvB,CACElI,QAAS,uCACTwH,MAAO,QAET,CACExH,QAAS,uCACTwH,MAAO,WAGEW,EAAkB,CAC7B,CACEnI,QAAS,uCACTwH,MAAO,UAET,CACExH,QAAS,uCACTwH,MAAO,UAET,CACExH,QAAS,uCACTwH,MAAO,UAET,CACExH,QAAS,uCACTwH,MAAO,SAET,CACExH,QAAS,uCACTwH,MAAO,WAET,CACExH,QAAS,uCACTwH,MAAO,UAET,CACExH,QAAS,uCACTwH,MAAO,0BAET,CACExH,QAAS,uCACTwH,MAAO,oBAET,CACExH,QAAS,uCACTwH,MAAO,UAGEY,EAAc,CACzB,CAAEC,GAAI,kBAAmBb,MAAO,SAAUxH,QAAS,wCACnD,CAAEqI,GAAI,iBAAkBb,MAAO,iBAAkBxH,QAAS,wCAC1D,CAAEqI,GAAI,kBAAmBb,MAAO,YAAaxH,QAAS,wCACtD,CAAEqI,GAAI,oBAAqBb,MAAO,aAAcxH,QAAS,wCACzD,CAAEqI,GAAI,qBAAsBb,MAAO,Y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BAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQpD,OAAS,IAAQA,YAAS0D,C","sources":["webpack://@icap-ethiopia/esm-ethiohri-intake/./src/forms/hooks/createEncounter.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/forms/utils/form-constant.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/constants.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/forms/intake-form.scss","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/forms/hooks/useFetchLocation.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/api/api.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/forms/hooks/defaultValuesFromEncounter.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/forms/intake-form.scss?a855"],"names":["getTouchedFieldsObs","encounter","touchedFields","conceptsUuid","formValues","obs","touchedConceptUuids","Object","keys","filter","field","map","includes","concept","uuid","formField","fieldKey","find","formValue","item","obsValue","value","selectedItems","Array","isArray","voided","createEncounter","data","config","namespace","encounterType","formUuid","encounterDate","patientUuid","providerUuid","locationUuid","visibilityRules","context","encounterUuid","mutateEncounters","workspaceName","editMode","observations","payload","response","error","edited","push","entries","key","forEach","formFieldPath","formFieldNamespace","formattedValue","toLowerCase","jsDate","Date","isNaN","getTime","dayjs","format","v","formatValue","encounterDatetime","encounterProviders","provider","encounterRole","form","location","patient","orders","saveEncounter","AbortController","showSnackbar","isLowContrast","title","kind","subtitle","closeWorkspace","message","intakeADefault","enrollment_date","unit_tb_no","targetPopulation","childsCareGiverMaritalStatus","religion","otherReligion","levelOfEducation","otherEducation","occupation","residentialType","catchment_area","regular_followup","mothers_name","mothers_father_name","mothers_grandfather_name","placeOfDelivery","otherPlaceOfDelivery","modeOfDelivery","otherModeOfDelivery","date_confirmed","test_type","entryPoint","within_the_facility","otherEntryPointWithinTheFacility","outside_the_facility","otherEntryPointOutsideTheFacility","reason_for_referral","care_giver_first_name","care_giver_fathers_name","care_giver_grandfathers_name","careGiverAge","careGiverGender","addressRegion","telephoneMobile","relationship","otherRelationship","hasFamilyMember","hivDisclosure","whoKnows","otherPersonThatKnows","notes","careGiverDefault","workPhone","homePhone","houseNo","kebele","search","country","stateProvince","countyDistrict","cityVillage","maritalStatusOpt","label","religionOpt","levelOfEducationOpt","placeOfDeliveryOpt","modeOfDeliveryOpt","testTypeOpt","entryPointOpt","withinInFacilityOpt","outsideTheFacility","reasonForReferralOpt","genderOpt","relationshipOpt","whoKnowsOpt","id","yesNoOptions","opportunisticInfectionPresentOpt","residentialTypeOpt","intakeAConceptsUuid","familyMemberTypeOpt","hivTestResultOpt","familyMemberHealthStatusOpt","familyMemberConceptsUuid","familyMemberType","familyMemberAge","familyMemberGender","familyMemberHealthStatus","counselledForHIV","counsellationDate","testedForHIV","hivTestDate","hivTestResult","enrolledInCare","dateEnrolledInCare","artStarted","artStartDate","uniqueArtNumber","remark","familyMembersDefaultValues","intakeBconceptsUuid","opportunisticInfectionPresent","HIVRelatedOIs","otherOpportunisticIllnesses","cotrimoxazoleDateStarted","cotrimoxazoleDateStopped","TBProphylaxisType","inhStartedDate","inhCompletedDate","fluconazolePreventiveTherapyDateStarted","fluconazolePreventiveTherapyDateCompleted","ARVForPMTCT","healthFacility","regimenForMother","regimenForBaby","lifelongARTTI","Regimen","monthsOnART","stillonTreatment","temperature","heartRate","systolicBloodPressure","diastolicBloodPressure","rr","height","weight","bmi","patientFunctionalStatus","headCircumference","anthropometryInterpretation","developmentalStatus","pregnancyAtEnrollment","LMP","EDD","presentingComplaints","otherPresentingComplaints","percentOfLostBodyWeight","generalAppearance","areAllSystemsNormal","heentExamination","heentExaminationComment","lymphNodesExamination","lymphNodesExaminationComment","chestExamination","chestExaminationComment","heartExamination","heartExaminationComment","abdomenExamination","abdomenExaminationComment","genitourinarySystemExamination","genitourinarySystemExaminationComment","musculoskeletalSystemExamination","musculoskeletalSystemExaminationComment","skinExamination","skinExaminationComment","nervousSystemExamination","nervousSystemExaminationComment","otherPhysicalExaminationFindings","WHOStaging","whoWhy","intakeNotes","eligibileForART","whyEligibleForART","otherReasonWhyEligible","intakeBdefaultValues","HIVRelatedOIsOpt","phdpConceptsUuid","phdpDate","issuesAddressed","conclusion","phdpDefaultValues","issuesAddressedOpt","whyEligibleForARTOpt","tbProphylaxisTypeOpt","regimenForMotherOpt","regimenForBabyOpt","patientFunctionalStatusOpt","anthropometryInterpretationOpt","developmentalStatusOpt","yesNoNotApplicableOpt","presentingComplaintsOpt","heentExaminationOpt","whoStagingOpt","encounterRepresentation","personRepresntion","intakeAFormUuid","familyMemberFormUuid","intakeBFormUuid","phdpFormUuid","INTAKE_A_ENCOUNTER_TYPE","INTAKE_B_ENCOUNTER_TYPE","FAMILY_INFO_ENCOUNTER_TYPE","PHDP_ENCOUNTER_TYPE","MRN_NULL_WARNING","___CSS_LOADER_EXPORT___","module","locals","useFetchLocation","useState","facilityInfo","setFacilityInfo","url","restBaseUrl","useSWR","openmrsFetch","isLoading","useEffect","facility","results","element","tags","some","x","display","isError","abortController","headers","method","body","JSON","stringify","signal","catch","err","console","createPerson","relationshipPerson","couponIds","query","encodeURIComponent","join","Accept","fetchChildEntries","parentValues","searchString","Boolean","searchSuggestions","getPersonData","patientUUID","then","defaultValuesFromEncounter","defaultValues","filterItems","encounterValues","conceptUuid","fieldName","name","toDate","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"712.js","mappings":"sxCAQA,IAWMA,EAAsB,SAACC,EAAWC,EAAeC,EAAcC,G,IAE9DH,EAAL,MAAKA,QAAAA,EAAAA,SAAAA,IAAAA,OAAAA,EAAAA,EAAWI,MAAQH,GAAkBC,GAAiBC,GACzD,MAAO,GAIT,IAAME,EAAsBC,OAAOC,KAAKN,GACrCO,QAAO,SAACC,G,OAAUR,EAAcQ,IAAUP,EAAaO,E,IACvDC,KAAI,SAACD,G,OAAUP,EAAaO,E,IAmC/B,OAhCmBT,EAAUI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AO,aAET,CACExH,QAAS,uCACTwH,MAAO,oBAGEC,EAAc,CACzB,CACEzH,QAAS,uCACTwH,MAAO,YAET,CACExH,QAAS,uCACTwH,MAAO,UAET,CACExH,QAAS,uCACTwH,MAAO,YAET,CACExH,QAAS,uCACTwH,MAAO,cAET,CACExH,QAAS,uCACTwH,MAAO,UAGEE,EAAsB,CACjC,CACE1H,QAAS,uCACTwH,MAAO,gBAET,CACExH,QAAS,uCACTwH,MAAO,WAET,CACExH,QAAS,uCACTwH,MAAO,aAET,CACExH,QAAS,uCACTwH,MAAO,YAET,CACExH,QAAS,uCACTwH,MAAO,QAET,CACExH,QAAS,uCACTwH,MAAO,UAGEG,EAAqB,CAChC,CACE3H,QAAS,uCACTwH,MAAO,mBAET,CACExH,QAAS,uCACTwH,MAAO,QAET,CACExH,QAAS,uCACTwH,MAAO,UAGEI,EAAoB,CAC/B,CACE5H,QAAS,uCACTwH,MAAO,uBAET,CACExH,QAAS,uCACTwH,MAAO,oBAET,CACExH,QAAS,uCACTwH,MAAO,UAGEK,EAAc,CACzB,CACE7H,QAAS,uCACTwH,MAAO,kBAET,CACExH,QAAS,uCACTwH,MAAO,2BAGEM,EAAgB,CAC3B,CACE9H,QAAS,uCACTwH,MAAO,mCAET,CACExH,QAAS,uCACTwH,MAAO,yBAGEO,EAAsB,CACjC,CACE/H,QAAS,uCACTwH,MAAO,sBAET,CACExH,QAAS,uCACTwH,MAAO,wBAET,CACExH,QAAS,uCACTwH,MAAO,aAET,CACExH,QAAS,uCACTwH,MAAO,OAET,CACExH,QAAS,uCACTwH,MAAO,OAET,CACExH,QAAS,uCACTwH,MAAO,eAET,CACExH,QAAS,uCACTwH,MAAO,OAET,CACExH,QAAS,uCACTwH,MAAO,cAET,CACExH,QAAS,uCACTwH,MAAO,OAET,CACExH,QAAS,uCACTwH,MAAO,aAET,CACExH,QAAS,uCACTwH,MAAO,iBAET,CACExH,QAAS,uCACTwH,MAAO,aAET,CACExH,QAAS,uCACTwH,MAAO,U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AMC,QAAQoS,EAAgBE,KAA0BzS,EACjEuS,EAAgBE,GAAwBvS,MAAMC,QAAQH,GAASA,EAAS,CAACA,GAAOZ,OAAOyS,SAEvFU,EAAgBE,GAAwBzS,CAE5C,CACF,IAEOuS,CACT,C,kKC3BIK,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQtD,OAAS,IAAQA,YAAS4D,C","sources":["webpack://@icap-ethiopia/esm-ethiohri-intake/./src/forms/hooks/createEncounter.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/forms/utils/form-constant.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/constants.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/forms/intake-form.scss","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/forms/hooks/useFetchLocation.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/api/api.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/forms/hooks/defaultValuesFromEncounter.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/forms/intake-form.scss?a855"],"names":["getTouchedFieldsObs","encounter","touchedFields","conceptsUuid","formValues","obs","touchedConceptUuids","Object","keys","filter","field","map","includes","concept","uuid","formField","fieldKey","find","formValue","item","obsValue","value","selectedItems","Array","isArray","voided","createEncounter","data","config","namespace","encounterType","formUuid","encounterDate","patientUuid","providerUuid","locationUuid","visibilityRules","context","encounterUuid","mutateEncounters","workspaceName","editMode","observations","payload","response","error","edited","push","entries","key","forEach","formFieldPath","formFieldNamespace","formattedValue","toLowerCase","jsDate","Date","isNaN","getTime","dayjs","format","v","formatValue","encounterDatetime","encounterProviders","provider","encounterRole","form","location","patient","orders","saveEncounter","AbortController","showSnackbar","isLowContrast","title","kind","subtitle","closeWorkspace","message","intakeADefault","enrollment_date","unit_tb_no","targetPopulation","childsCareGiverMaritalStatus","religion","otherReligion","levelOfEducation","otherEducation","occupation","residentialType","catchment_area","regular_followup","mothers_name","mothers_father_name","mothers_grandfather_name","placeOfDelivery","otherPlaceOfDelivery","modeOfDelivery","otherModeOfDelivery","date_confirmed","test_type","entryPoint","within_the_facility","otherEntryPointWithinTheFacility","outside_the_facility","otherEntryPointOutsideTheFacility","reason_for_referral","care_giver_first_name","care_giver_fathers_name","care_giver_grandfathers_name","careGiverAge","careGiverGender","addressRegion","telephoneMobile","relationship","otherRelationship","hasFamilyMember","hivDisclosure","whoKnows","otherPersonThatKnows","notes","careGiverDefault","workPhone","homePhone","houseNo","kebele","search","country","stateProvince","countyDistrict","cityVillage","maritalStatusOpt","label","religionOpt","levelOfEducationOpt","placeOfDeliveryOpt","modeOfDeliveryOpt","testTypeOpt","entryPointOpt","withinInFacilityOpt","outsideTheFacility","reasonForReferralOpt","genderOpt","relationshipOpt","whoKnowsOpt","id","yesNoOptions","opportunisticInfectionPresentOpt","residentialTypeOpt","intakeAConceptsUuid","familyMemberTypeOpt","hivTestResultOpt","familyMemberHealthStatusOpt","familyMemberConceptsUuid","familyMemberType","familyMemberAge","familyMemberGender","familyMemberHealthStatus","counselledForHIV","counsellationDate","testedForHIV","hivTestDate","hivTestResult","enrolledInCare","dateEnrolledInCare","artStarted","artStartDate","uniqueArtNumber","remark","familyMembersDefaultValues","intakeBconceptsUuid","opportunisticInfectionPresent","HIVRelatedOIs","otherOpportunisticIllnesses","cotrimoxazoleDateStarted","cotrimoxazoleDateStopped","TBProphylaxisType","inhStartedDate","inhCompletedDate","fluconazolePreventiveTherapyDateStarted","fluconazolePreventiveTherapyDateCompleted","ARVForPMTCT","healthFacility","regimenForMother","regimenForBaby","lifelongARTTI","Regimen","monthsOnART","stillonTreatment","temperature","heartRate","systolicBloodPressure","diastolicBloodPressure","rr","height","weight","bmi","patientFunctionalStatus","headCircumference","anthropometryInterpretation","developmentalStatus","pregnancyAtEnrollment","LMP","EDD","presentingComplaints","otherPresentingComplaints","percentOfLostBodyWeight","generalAppearance","areAllSystemsNormal","heentExamination","heentExaminationComment","lymphNodesExamination","lymphNodesExaminationComment","chestExamination","chestExaminationComment","heartExamination","heartExaminationComment","abdomenExamination","abdomenExaminationComment","genitourinarySystemExamination","genitourinarySystemExaminationComment","musculoskeletalSystemExamination","musculoskeletalSystemExaminationComment","skinExamination","skinExaminationComment","nervousSystemExamination","nervousSystemExaminationComment","otherPhysicalExaminationFindings","WHOStaging","whoWhy","intakeNotes","eligibileForART","whyEligibleForART","otherReasonWhyEligible","intakeBdefaultValues","HIVRelatedOIsOpt","phdpConceptsUuid","phdpDate","issuesAddressed","conclusion","phdpDefaultValues","issuesAddressedOpt","whyEligibleForARTOpt","tbProphylaxisTypeOpt","regimenForMotherOpt","regimenForBabyOpt","patientFunctionalStatusOpt","anthropometryInterpretationOpt","developmentalStatusOpt","yesNoNotApplicableOpt","presentingComplaintsOpt","heentExaminationOpt","whoStagingOpt","encounterRepresentation","personRepresntion","intakeAFormUuid","familyMemberFormUuid","intakeBFormUuid","phdpFormUuid","INTAKE_A_ENCOUNTER_TYPE","INTAKE_B_ENCOUNTER_TYPE","FAMILY_INFO_ENCOUNTER_TYPE","PHDP_ENCOUNTER_TYPE","MRN_NULL_WARNING","___CSS_LOADER_EXPORT___","module","locals","useFetchLocation","useState","facilityInfo","setFacilityInfo","url","restBaseUrl","useSWR","openmrsFetch","isLoading","useEffect","facility","results","element","tags","some","x","display","isError","abortController","headers","method","body","JSON","stringify","signal","catch","err","console","createPerson","relationshipPerson","couponIds","query","encodeURIComponent","join","Accept","fetchChildEntries","parentValues","searchString","Boolean","searchSuggestions","getPersonData","patientUUID","then","deletePerson","deleteRelationship","defaultValuesFromEncounter","defaultValues","filterItems","encounterValues","conceptUuid","fieldName","name","toDate","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined"],"sourceRoot":""}
|
package/dist/937.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_intake=globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_intake||[]).push([[937],{4767:(e,t,n)=>{var r={"./am.json":[1197,197],"./en.json":[4300,300],"./es.json":[3099,99],"./fr.json":[4055,55],"./he.json":[4652,652],"./km.json":[4335,335]};function o(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return n.e(t[1]).then((()=>n(o)))}o.keys=()=>Object.keys(r),o.id=4767,e.exports=o},5937:(e,t,n)=>{"use strict";n.r(t),n.d(t,{encounterDeleteConfirmationDialog:()=>k,familyFrom:()=>g,importTranslation:()=>l,intake:()=>m,intakeAFrom:()=>h,intakeBForm:()=>d,intakeDashboardLink:()=>b,moduleName:()=>c,phdpForm:()=>O,root:()=>y,startupApp:()=>u});var r=n(5987),o={casualGreeting:{_type:r.Type.Boolean,_default:!1,_description:"Whether to use a casual greeting (or a formal one)."},whoToGreet:{_type:r.Type.Array,_default:["World"],_description:"Who should be greeted. Names will be separated by a comma and space.",_elements:{_type:r.Type.String},_validators:[(0,r.validator)((function(e){return e.length>0}),"At least one person must be greeted.")]}},i=n(6656);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c="@icap-ethiopia/esm-intake-app",s={featureName:"intake",moduleName:c},l=n(4767);function u(){(0,r.defineConfigSchema)(c,o)}var p,f,m=(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(404),n.e(72),n.e(941),n.e(231),n.e(692)]).then(n.bind(n,6692))}),s),y=(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(72),n.e(941),n.e(912)]).then(n.bind(n,4912))}),s),b=(0,r.getSyncLifecycle)((0,i.createDashboardLink)((p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}({},{slot:"intake-dashboard-slot",path:"intake",title:"
|
|
1
|
+
(globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_intake=globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_intake||[]).push([[937],{4767:(e,t,n)=>{var r={"./am.json":[1197,197],"./en.json":[4300,300],"./es.json":[3099,99],"./fr.json":[4055,55],"./he.json":[4652,652],"./km.json":[4335,335]};function o(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return n.e(t[1]).then((()=>n(o)))}o.keys=()=>Object.keys(r),o.id=4767,e.exports=o},5937:(e,t,n)=>{"use strict";n.r(t),n.d(t,{encounterDeleteConfirmationDialog:()=>k,familyFrom:()=>g,importTranslation:()=>l,intake:()=>m,intakeAFrom:()=>h,intakeBForm:()=>d,intakeDashboardLink:()=>b,moduleName:()=>c,phdpForm:()=>O,root:()=>y,startupApp:()=>u});var r=n(5987),o={casualGreeting:{_type:r.Type.Boolean,_default:!1,_description:"Whether to use a casual greeting (or a formal one)."},whoToGreet:{_type:r.Type.Array,_default:["World"],_description:"Who should be greeted. Names will be separated by a comma and space.",_elements:{_type:r.Type.String},_validators:[(0,r.validator)((function(e){return e.length>0}),"At least one person must be greeted.")]}},i=n(6656);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c="@icap-ethiopia/esm-intake-app",s={featureName:"intake",moduleName:c},l=n(4767);function u(){(0,r.defineConfigSchema)(c,o)}var p,f,m=(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(404),n.e(72),n.e(941),n.e(231),n.e(692)]).then(n.bind(n,6692))}),s),y=(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(72),n.e(941),n.e(912)]).then(n.bind(n,4912))}),s),b=(0,r.getSyncLifecycle)((0,i.createDashboardLink)((p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}({},{slot:"intake-dashboard-slot",path:"intake",title:"Intakes"}),f=null!=(f={moduleName:c})?f:{},Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(f)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(f)).forEach((function(e){Object.defineProperty(p,e,Object.getOwnPropertyDescriptor(f,e))})),p)),s),h=(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(404),n.e(319),n.e(72),n.e(941),n.e(231),n.e(712),n.e(159)]).then(n.bind(n,8540))}),s),d=(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(404),n.e(319),n.e(72),n.e(941),n.e(231),n.e(712),n.e(475)]).then(n.bind(n,8475))}),s),g=(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(404),n.e(319),n.e(72),n.e(231),n.e(712),n.e(410)]).then(n.bind(n,2410))}),s),O=(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(404),n.e(319),n.e(72),n.e(941),n.e(231),n.e(712),n.e(940)]).then(n.bind(n,1940))}),s),k=(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(404),n.e(72),n.e(941),n.e(917)]).then(n.bind(n,7917))}),{featureName:"encounters",moduleName:"@openmrs/esm-patient-encounters-app"})}}]);
|
package/dist/937.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"937.js","mappings":"sJAAA,IAAIA,EAAM,CACT,YAAa,CACZ,KACA,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AAA,EAAAA,oBAAkB,W,OAAM,iG,GAAiCP,GACvEiB,GAAcV,EAAAA,EAAAA,oBAAkB,W,OAAM,iG,GAAiCP,GACvEkB,GAAaX,EAAAA,EAAAA,oBAAkB,W,OAAM,wF,GAAsCP,GAC3EmB,GAAWZ,EAAAA,EAAAA,oBAAkB,W,OAAM,iG,GAA6BP,GAEhEoB,GAAoCb,EAAAA,EAAAA,oBAAkB,W,OAAM,sE,GAA0C,CACjHN,YAAa,aACbF,WAAY,uC","sources":["webpack://@icap-ethiopia/esm-ethiohri-intake/./translations/ lazy nonrecursive .json$","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/config-schema.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/index.ts","webpack://@icap-ethiopia/esm-ethiohri-intake/./src/dashboard.meta.ts"],"names":["map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","keys","Object","module","exports","configSchema","casualGreeting","_type","Type","Boolean","_default","_description","whoToGreet","Array","_elements","String","_validators","validator","v","length","moduleName","options","featureName","importTranslation","require","startupApp","defineConfigSchema","intake","getAsyncLifecycle","root","intakeDashboardLink","getSyncLifecycle","createDashboardLink","slot","path","title","snnDashboardMeta","intakeAFrom","intakeBForm","familyFrom","phdpForm","encounterDeleteConfirmationDialog"],"sourceRoot":""}
|