@icap-ethiopia/esm-ethiohri-intake 1.0.0-pre.5 → 1.0.0-pre.50
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 +2 -1
- package/dist/159.js.map +1 -1
- package/dist/222.js +1 -1
- package/dist/319.js +1 -1
- package/dist/319.js.map +1 -1
- package/dist/410.js +1 -1
- package/dist/410.js.map +1 -1
- package/dist/475.js +1 -1
- package/dist/475.js.map +1 -1
- package/dist/540.js +1 -2
- package/dist/540.js.map +1 -1
- package/dist/697.js +2 -0
- package/dist/697.js.map +1 -0
- package/dist/712.js +1 -1
- package/dist/712.js.map +1 -1
- package/dist/772.js +1 -0
- package/dist/772.js.map +1 -0
- package/dist/917.js +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 +1 -1
- package/dist/openmrs-esm-ethio-template-app.js.buildmanifest.json +63 -63
- package/dist/routes.json +1 -1
- package/package.json +2 -2
- package/src/index.ts +1 -4
- package/dist/404.js +0 -2
- package/dist/404.js.map +0 -1
- package/dist/692.js +0 -1
- package/dist/692.js.map +0 -1
- /package/dist/{540.js.LICENSE.txt → 159.js.LICENSE.txt} +0 -0
- /package/dist/{404.js.LICENSE.txt → 697.js.LICENSE.txt} +0 -0
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,b,u=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!==(b=null===(d=h)||void 0===d||null===(p=d.value)||void 0===p?void 0:p.uuid)&&void 0!==b?b:null===(f=h)||void 0===f?void 0:f.value,Array.isArray(r)?!r.includes(u):u!==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,b,u,h,m,g,y,_,v,$,k,C,x,w,T,D,E,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(F){switch(F.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,b=e.patientUuid,u=e.providerUuid,h=e.locationUuid,m=e.visibilityRules,g=void 0===m?{}:m,y=e.context,_=void 0===y?{}:y,v=e.encounterUuid,$=e.mutateEncounters,k=e.workspaceName,C=e.editMode,x=void 0!==C&&C,w=[],[4,s(c,i,l,A)];case 1:F.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,_))})).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:u,encounterRole:"a0b03050-c99b-11e0-9572-0800200c9a66"}],encounterType:p,form:{uuid:d},location:h,patient:b,orders:[],obs:w},F.label=2;case 2:return F.trys.push([2,4,,5]),[4,(0,a.t2)(new AbortController,T,v)];case 3:return D=F.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,D.data];case 4:throw E=F.sent(),(0,t.showSnackbar)({isLowContrast:!0,title:x?"Error Updating encounter":"Error creating encounter",kind:"error",subtitle:(null===(S=E.response)||void 0===S||null===(M=S.data)||void 0===M||null===(z=M.error)||void 0===z?void 0:z.message)||E.message}),E;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:()=>O,Cj:()=>B,HV:()=>u,IG:()=>k,Jz:()=>T,Nj:()=>c,Oe:()=>p,RY:()=>j,S3:()=>l,SD:()=>y,ST:()=>v,UO:()=>m,VG:()=>G,VT:()=>o,Vv:()=>z,aq:()=>r,bB:()=>E,c2:()=>_,d:()=>d,ek:()=>h,fq:()=>w,gk:()=>a,gm:()=>N,iq:()=>C,lP:()=>R,nc:()=>F,oM:()=>I,oT:()=>D,ps:()=>x,qD:()=>b,qh:()=>V,r4:()=>g,sM:()=>i,sT:()=>M,uy:()=>$,wG:()=>s,yr:()=>f,z$:()=>P,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"}],b=[{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"}],u=[{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"}],_=[{concept:"515f3768-30f6-4b87-bc9c-c64ce42db187",label:"Rural"},{concept:"32e92a9c-cc61-4079-851a-afc56808037a",label:"Urban"}],v={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"},D={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:""},E=[{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"}],F=[{label:"6H",concept:"8ba598a1-9e8a-4499-bd7a-54c3d0c94f01"},{label:"3HP",concept:"e8588507-635c-4e28-a1f8-3c493e30b2f5"}],P=[{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"},{concept:"2798d3bc-2e0a-459c-b249-9516b380a69e",label:"1a30 - D4T(30)+3TC+NVP",hide:!0},{concept:"3495d89f-4d46-44d8-b1c9-d101bc9f15d4",label:"1a40 - D4T(40)+3TC+NVP",hide:!0},{concept:"ae0dc59c-eb3d-421b-913b-ee5a06ec6182",label:"1b30 - D4T(30)+3TC+EFV",hide:!0},{concept:"c5995b5c-19bb-42f6-895b-0b4627bc9dd1",label:"1b40 - D4T(40)+3TC+EFV",hide:!0},{concept:"a9da3e97-3916-4834-854c-6bcbc5142aca",label:"1c - AZT+3TC+NVP",hide:!0},{concept:"8b727274-4a3c-4a81-ae50-9f759a87358d",label:"1f - TDF+3TC+NVP",hide:!0},{concept:"a664a63f-57f5-4cfc-80c0-4a8456725c2a",label:"1g - ABC+3TC+EFV"},{concept:"71ecf102-8d3d-4a2a-b799-30773ad5d447",label:"1h - ABC+3TC+NVP",hide:!0},{concept:"a87d9674-11af-4440-afd0-d097d84d0393",label:"2a - ABC+DDL+LPV",hide:!0},{concept:"82e23d8c-4c9d-4b18-a960-9f8890b86f2f",label:"2b - ABC+DDL+NFV",hide:!0},{concept:"cf29c24b-b796-4536-aaa5-8303f45bb5f8",label:"2c - TDF+DDL+LPV",hide:!0},{concept:"2e84a82a-8b93-40fc-a556-2028d39f5710",label:"2d - TDF+DDL+NFV",hide:!0}],O=[{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"}],I=[{label:"Working",concept:"159468AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Ambulatory",concept:"160026AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Bedridden",concept:"162752AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],B=[{label:"Underweight",concept:"123814AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Normal weight for age",concept:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],V=[{label:"Appropriate for age",concept:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Delay",concept:"6022AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Regression",concept:"1116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],N=[{yesNoOptions:g},{label:"Not Applicable",concept:"1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],R=[{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"}],G=[{label:"Normal",concept:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Abnormal",concept:"1116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],j=[{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}.-esm-ethiohri-intake__intake-form__containerForm___gU58h{overflow:auto;height:80vh}","",{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,CAIF,sDACE,iBAAA,CACA,QAAA,CACA,MAAA,CACA,OAAA,CACA,UAAA,CAIF,mDACE,WCJW,CDKX,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,UAAA,CAGF,mDACE,mBAAA,CACA,qBDpEM,CCuER,oDACE,SAAA,CAGF,4DACE,YAAA,CACA,UCpDW,CDsDX,4EACE,MAAA,CAGF,2EACE,MAAA,CAIJ,yDACE,YAAA,CACA,UCjEW,CDoEb,qCACE,4DACE,qBAAA,CACA,UCvES,CAAA,CD0Eb,kFACI,kBAAA,CAEA,sIACE,MAAA,CAGF,sFACE,MAAA,CAIN,oDEkvBI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CF/uBF,mBC9FW,CD+FX,gBCrFW,CDwFb,sDACE,kBAAA,CAGF,0DACE,aAAA,CACA,WAAA",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\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}\n// styles.module.scss\n.containerForm {\n overflow: auto; // scrolls vertically and horizontally if needed\n height: 80vh;\n}\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",containerForm:"-esm-ethiohri-intake__intake-form__containerForm___gU58h"};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:()=>b,SE:()=>u,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 b(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 u(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),b=n.n(f),u=n(4710),h={};h.styleTagTransform=b(),h.setAttributes=s(),h.insert=l().bind(null,"head"),h.domAPI=o(),h.insertStyleElement=d(),a()(u.A,h);const m=u.A&&u.A.locals?u.A.locals:void 0}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_intake=globalThis.webpackChunk_icap_ethiopia_esm_ethiohri_intake||[]).push([[712],{3371:(e,A,n)=>{n.d(A,{g:()=>f});var a=n(5987),t=n(8322),o=n(231),c=n.n(o);function l(e,A){(null==A||A>e.length)&&(A=e.length);for(var n=0,a=new Array(A);n<A;n++)a[n]=e[n];return a}function i(e,A,n,a,t,o,c){try{var l=e[o](c),i=l.value}catch(e){return void n(e)}l.done?A(i):Promise.resolve(i).then(a,t)}function r(e,A){return function(e){if(Array.isArray(e))return e}(e)||function(e,A){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,t,o=[],c=!0,l=!1;try{for(n=n.call(e);!(c=(a=n.next()).done)&&(o.push(a.value),!A||o.length!==A);c=!0);}catch(e){l=!0,t=e}finally{try{c||null==n.return||n.return()}finally{if(l)throw t}}return o}}(e,A)||function(e,A){if(e){if("string"==typeof e)return l(e,A);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,A):void 0}}(e,A)||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 d=function(e,A,n,a){var t;if(!((null===(t=e)||void 0===t?void 0:t.obs)&&A&&n&&a))return[];var o=Object.keys(A).filter((function(e){return A[e]&&n[e]})).map((function(e){return n[e]}));return e.obs.filter((function(e){var A,n;return o.includes(null===(n=e)||void 0===n||null===(A=n.concept)||void 0===A?void 0:A.uuid)})).filter((function(e){var A,t,o,c,l,i=Object.keys(n).find((function(A){return n[A]===e.concept.uuid}));if(!i)return!1;var r,d,f,s,p,b,u=null!==(l=null===(t=e)||void 0===t||null===(A=t.value)||void 0===A?void 0:A.uuid)&&void 0!==l?l:null===(o=e)||void 0===o?void 0:o.value,h=a[i];return r=(null===(c=h)||void 0===c?void 0:c.selectedItems)?Array.isArray(h.selectedItems)?h.selectedItems.map((function(e){var A;return null!==(d=null===(A=e)||void 0===A?void 0:A.uuid)&&void 0!==d?d:e})):[]:null!==(b=null===(s=h)||void 0===s||null===(f=s.value)||void 0===f?void 0:f.uuid)&&void 0!==b?b:null===(p=h)||void 0===p?void 0:p.value,Array.isArray(r)?!r.includes(u):u!==r})).map((function(e){return{uuid:e.uuid,voided:!0}}))};function f(e,A){return s.apply(this,arguments)}function s(){var e;return e=function(e,A){var n,o,l,i,f,s,p,b,u,h,g,m,y,$,v,_,C,T,k,w,x,D,E,F,P,V,S;return function(e,A){var n,a,t,o,c={label:0,sent:function(){if(1&t[0])throw t[1];return t[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,a&&(t=2&o[0]?a.return:o[0]?a.throw||((t=a.return)&&t.call(a),0):a.next)&&!(t=t.call(a,o[1])).done)return t;switch(a=0,t&&(o=[2&o[0],t.value]),o[0]){case 0:case 1:t=o;break;case 4:return c.label++,{value:o[1],done:!1};case 5:c.label++,a=o[1],o=[0];continue;case 7:o=c.ops.pop(),c.trys.pop();continue;default:if(!((t=(t=c.trys).length>0&&t[t.length-1])||6!==o[0]&&2!==o[0])){c=0;continue}if(3===o[0]&&(!t||o[1]>t[0]&&o[1]<t[3])){c.label=o[1];break}if(6===o[0]&&c.label<t[1]){c.label=t[1],t=o;break}if(t&&c.label<t[2]){c.label=t[2],c.ops.push(o);break}t[2]&&c.ops.pop(),c.trys.pop();continue}o=A.call(e,c)}catch(e){o=[6,e],a=0}finally{n=t=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}(this,(function(M){switch(M.label){case 0:return o=A.namespace,l=A.touchedFields,i=A.encounter,f=A.conceptsUuid,s=A.encounterType,p=A.formUuid,b=A.encounterDate,u=A.patientUuid,h=A.providerUuid,g=A.locationUuid,m=A.visibilityRules,y=void 0===m?{}:m,$=A.context,v=void 0===$?{}:$,_=A.encounterUuid,C=A.mutateEncounters,T=A.workspaceName,k=A.editMode,w=void 0!==k&&k,x=[],[4,d(i,l,f,e)];case 1:M.sent().forEach((function(e){return x.push(e)})),(null===(n=i)||void 0===n?void 0:n.obs)&&Object.keys(y).length>0&&Object.keys(y).forEach((function(A){var n=f[A];if(n){var a=y[A](e,v);l[A],a||i.obs.filter((function(e){var A;return(null===(A=e.concept)||void 0===A?void 0:A.uuid)===n})).forEach((function(e){x.push({uuid:e.uuid,voided:!0})}))}})),Object.entries(e).filter((function(A){var n=r(A,2),a=n[0],t=n[1];if(""===t||null==t||0===t)return!1;var o=l[a],c=!y[a]||y[a](e,v);return o&&c})).forEach((function(e){var A,n=r(e,2),a=n[0],t=n[1],l="".concat(o,"-").concat(a);if(Array.isArray(null===(A=t)||void 0===A?void 0:A.selectedItems))t.selectedItems.forEach((function(e){x.push({concept:f[a],formFieldNamespace:o,formFieldPath:l,value:e.concept})}));else{var i=function(e,A){if(A.toLowerCase().includes("date")&&e){var n=new Date(e);return isNaN(n.getTime())?null:c()(n).format("YYYY-MM-DD")}return Array.isArray(e)?e.filter((function(e){return""!==e&&null!=e})):""===e||null==e||0===e?null:e}(t,a);null!==i&&x.push({concept:f[a],formFieldNamespace:o,formFieldPath:l,value:i})}})),D={encounterDatetime:b,encounterProviders:[{provider:h,encounterRole:"a0b03050-c99b-11e0-9572-0800200c9a66"}],encounterType:s,form:{uuid:p},location:g,patient:u,orders:[],obs:x},M.label=2;case 2:return M.trys.push([2,4,,5]),[4,(0,t.t2)(new AbortController,D,_)];case 3:return E=M.sent(),(0,a.showSnackbar)({isLowContrast:!0,title:w?"Record Updated":"Record Saved",kind:"success",subtitle:w?"Encounter Updated":"A new encounter was created"}),C(),(0,a.closeWorkspace)(T),[2,E.data];case 4:throw F=M.sent(),(0,a.showSnackbar)({isLowContrast:!0,title:w?"Error Updating encounter":"Error creating encounter",kind:"error",subtitle:(null===(S=F.response)||void 0===S||null===(V=S.data)||void 0===V||null===(P=V.error)||void 0===P?void 0:P.message)||F.message}),F;case 5:return[2]}}))},s=function(){var A=this,n=arguments;return new Promise((function(a,t){var o=e.apply(A,n);function c(e){i(o,a,t,c,l,"next",e)}function l(e){i(o,a,t,c,l,"throw",e)}c(void 0)}))},s.apply(this,arguments)}},3670:(e,A,n)=>{n.d(A,{CK:()=>O,Cj:()=>R,HV:()=>u,IG:()=>C,J4:()=>M,Jz:()=>x,Nj:()=>l,Oe:()=>f,RY:()=>U,S3:()=>i,SD:()=>y,ST:()=>v,UO:()=>g,VG:()=>j,VT:()=>c,Vm:()=>I,Vv:()=>P,aq:()=>r,bB:()=>E,c2:()=>$,d:()=>s,ek:()=>h,fq:()=>w,gk:()=>t,gm:()=>G,iq:()=>T,lP:()=>Z,nc:()=>z,oM:()=>N,oT:()=>D,ps:()=>k,qD:()=>b,qh:()=>L,r4:()=>m,sM:()=>o,sT:()=>V,uy:()=>_,wG:()=>d,wp:()=>F,yr:()=>p,z$:()=>B,zg:()=>S,zh:()=>a});var a={careGiverKnown:"",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:null,careGiverGender:"",addressRegion:"",telephoneMobile:"",relationship:null,otherRelationship:"",hasFamilyMember:"",hivDisclosure:"",whoKnows:null,otherPersonThatKnows:"",notes:""},t={careGiverKnown:"",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:""},o=[{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"}],c=[{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"}],l=[{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"}],i=[{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"}],d=[{concept:"163722AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Rapid HIV test"},{concept:"164461AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"DNA/PCR (for children)"}],f=[{concept:"163266AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"From Within the Health Facility"},{concept:"164407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Outside the facility"}],s=[{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"}],p=[{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"}],b=[{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"}],u=[{concept:"1534AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Male",short:"M"},{concept:"1535AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Female",short:"F"}],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"}],g=[{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"}],m=[{id:"yes",label:"Yes",concept:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"no",label:"No",concept:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],y=[{concept:"131768AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Yes"},{concept:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"No"}],$=[{concept:"515f3768-30f6-4b87-bc9c-c64ce42db187",label:"Rural"},{concept:"32e92a9c-cc61-4079-851a-afc56808037a",label:"Urban"}],v={careGiverKnown:"639fdcea-05d2-414d-bfe5-3da8a6af92f9",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"}],C=[{concept:"703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Positive"},{concept:"5e4fc757-0b14-49ae-b3b7-419666f41e15",label:"Negative"},{concept:"165649AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Inconclusive"}],T=[{label:"Healthy",concept:"1855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Chronically Ill",concept:"9c849633-3589-42c7-bcb1-b4af7ec392c5"},{label:"Dead",concept:"160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],k={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:null,familyMemberGender:"",familyMemberHealthStatus:"",counselledForHIV:"",counsellationDate:null,testedForHIV:"",hivTestDate:null,hivTestResult:"",enrolledInCare:"",dateEnrolledInCare:null,artStarted:"",artStartDate:null,uniqueArtNumber:"",remark:""},x={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",lmpDate:"30d8d278-5ace-4d01-b2f1-8efc28372070",eddDate:"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"},D={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:null,heartRate:null,systolicBloodPressure:null,diastolicBloodPressure:null,rr:null,height:null,weight:null,bmi:null,patientFunctionalStatus:"",headCircumference:null,anthropometryInterpretation:"",developmentalStatus:"",pregnancyAtEnrollment:"",lmpDate:null,eddDate: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:""},E=[{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"}],F=[{concept:"5339AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:">10% of body weight loss"},{concept:"3471dcf1-7c5a-460e-a05e-c3fbf93c25d3",label:"5 - 10% body weight loss"},{concept:"8c035eeb-4760-4ba5-9116-c5f26f1ed54d",label:"Atypical disseminated lesihmaniasis"},{concept:"61da1b11-7bc4-4fd6-b263-bdf87de8d870",label:"Atypical Myco-bacteriosis"},{concept:"121252AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Bacteria Pneumonia"},{concept:"48cd6b34-1a0d-4963-b48b-3f7bbc75bf84",label:"Candidiasis (Esophagus, Trachea, Bronchi or Lungs)"},{concept:"696cb188-859a-4599-ab96-9b984fb33cca",label:"Clinically asymptomatic client"},{concept:"57fb79df-5668-464e-ac38-2d4f1585fd45",label:"CMV Disease (other than Liver, Spleen, Lymph nodes)"},{concept:"fd853cea-e306-4dd7-8731-b46dd87ddd4b",label:"Cryptosporidiosis with diarrhea (>1 month)"},{concept:"128139AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Cryptococcosis Extra Pulmonary"},{concept:"fadf2d65-cf3a-4bc1-aa83-9a938b7d205d",label:"Extra Pulmonary Tuberculosis"},{concept:"f5194b9d-eee8-41e3-b58f-8f0fbb05053b",label:"Disseminated (i.e. Histoplasma, Coccidioides)"},{concept:"7ad72b79-f35d-4d47-aec4-00ec6ca3d06d",label:"Herpes Simplex (Mucocutaneous >1 month, or visceral)"},{concept:"117543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Herpes zoster"},{concept:"160442AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"HIV encephalopathy"},{concept:"feba334d-46af-4ea6-a82c-fc5cde1ec9bf",label:"HIV Wasting Syndrome"},{concept:"22690c1f-444b-40b8-b461-b473873d1e90",label:"Invasive cervical carcinoma"},{concept:"77ab6c51-3694-4ba9-9c41-6fa7475250cf",label:"Karposi's Sarcoma"},{concept:"00a8521a-b621-49b4-85b0-6ff5f0ff7edf",label:"Lymphoma"},{concept:"5330AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Minor muco-cutaneous manifestations"},{concept:"6396014f-ac6f-4567-a0e3-4df49144f5a3",label:"Mycosis"},{concept:"06a09c1f-636a-43fb-bbac-d75d13f0b9f3",label:"Nephropathy or Cardiomyopathy"},{concept:"cd47b725-e507-4bdb-aace-6a3707d3d929",label:"Neutropenia (<0.5 x 109/1) and/or Chronic thrombocytopenia (<50 x 109/L)"},{concept:"6e2b911f-1ba1-4a5a-b351-0c1b3eff6de2",label:"Non-typhoid"},{concept:"5334AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Oral Candidiasis"},{concept:"87980305-20f9-49f2-9763-9b1987b90ad4",label:"Oral Hair Leukoplakia"},{concept:"d74390b1-5da1-432a-82c3-4bb1fdf68fc5",label:"Other sever bacterial infections (E.g: Pyomositis)"},{concept:"b2ad0941-d3ef-43fa-8d3d-8a73c33eaaf4",label:"Persistent Generalized Lymphadenopathy (PGL)"},{concept:"80d19a31-a096-4cdd-9e91-7d5b9a0867f8",label:"PML"},{concept:"6fdd205f-d467-40c0-ab3d-62e73c22acf6",label:"Pneumocystis Carinii Pneumonia (PCP)"},{concept:"988737cf-d3ae-4fa3-99f1-0929ccafeb9d",label:"Pulmonary Tuberculosis"},{concept:"127784AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Recurrent Upper Respiratory Tract Infection"},{concept:"127198AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Salmonella Septicaemia"},{concept:"b393fcd2-c410-465b-866d-751f8c90df25",label:"Symptomatic HIV- associated"},{concept:"990AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Toxoplasmosis of the CNS"},{concept:"51214d9b-dc52-4451-b418-8477e98c65ee",label:"Unexplained Anemia (< 8 g/dl)"},{concept:"ee348bda-ca86-471f-9cc3-ca0c39d3205e",label:"Unexplained Chronic Diarrhea (>1 month)"},{concept:"5aeec702-8a9e-4b1c-8003-6356f91b949a",label:"Unexplained Prolonged Fever (>1 month)"}],P={phdpDate:"2c4db7e7-1ece-49a6-a075-d466e6d9b27d",issuesAddressed:"5e8e03b1-d6ad-4362-a99a-f610af940f57",conclusion:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},V={phdpDate:null,issuesAddressed:null,conclusion:""},S=[{concept:"6c5fd1d8-8b2a-43e8-a5f6-d3aac54f72b5",label:"Basic HIV and TB transmission education"},{concept:"92f0adc7-b087-4cc2-97d7-bc9706659cfc",label:"Prevention: Abstinence, Safer sex and Condoms"},{concept:"35c006b3-6ff3-4155-a367-8a50e37109ea",label:"Positive living"},{concept:"8b428610-e187-49dd-a00a-1d1317c2c129",label:"Progression of disease"},{concept:"7e2703cc-bb5a-4f16-80c4-a14c51f6fd93",label:"Available treatment/Prophylaxis CPT, IPT, FPT"},{concept:"a4674c1b-af47-4c9b-a8e7-d1c6efc6103a",label:"Education on essentials of ART"},{concept:"5226a9de-0171-45ea-bd2d-6479cde1647a",label:"Why complete adherence needed"},{concept:"b5a43c78-660c-4fb4-9488-01ed5c2ceaaa",label:"Explain dose, When to take"},{concept:"7c7c22aa-9ec8-4806-b196-fa654febedfa",label:"What side effects and How to manage"},{concept:"bca15fd1-2449-4eb2-9be5-576a5da654a8",label:"What to do if one forgets dose"}],M=[{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"}],z=[{label:"6H",concept:"8ba598a1-9e8a-4499-bd7a-54c3d0c94f01"},{label:"3HP",concept:"e8588507-635c-4e28-a1f8-3c493e30b2f5"}],B=[{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"},{concept:"2798d3bc-2e0a-459c-b249-9516b380a69e",label:"1a30 - D4T(30)+3TC+NVP",hide:!0},{concept:"3495d89f-4d46-44d8-b1c9-d101bc9f15d4",label:"1a40 - D4T(40)+3TC+NVP",hide:!0},{concept:"ae0dc59c-eb3d-421b-913b-ee5a06ec6182",label:"1b30 - D4T(30)+3TC+EFV",hide:!0},{concept:"c5995b5c-19bb-42f6-895b-0b4627bc9dd1",label:"1b40 - D4T(40)+3TC+EFV",hide:!0},{concept:"a9da3e97-3916-4834-854c-6bcbc5142aca",label:"1c - AZT+3TC+NVP",hide:!0},{concept:"8b727274-4a3c-4a81-ae50-9f759a87358d",label:"1f - TDF+3TC+NVP",hide:!0},{concept:"a664a63f-57f5-4cfc-80c0-4a8456725c2a",label:"1g - ABC+3TC+EFV"},{concept:"71ecf102-8d3d-4a2a-b799-30773ad5d447",label:"1h - ABC+3TC+NVP",hide:!0},{concept:"a87d9674-11af-4440-afd0-d097d84d0393",label:"2a - ABC+DDL+LPV",hide:!0},{concept:"82e23d8c-4c9d-4b18-a960-9f8890b86f2f",label:"2b - ABC+DDL+NFV",hide:!0},{concept:"cf29c24b-b796-4536-aaa5-8303f45bb5f8",label:"2c - TDF+DDL+LPV",hide:!0},{concept:"2e84a82a-8b93-40fc-a556-2028d39f5710",label:"2d - TDF+DDL+NFV",hide:!0}],O=[{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"},{concept:"c33efc4a-734f-4e89-92a4-71b259a5e547",label:"4a - D4T+3TC+NVP",hide:!0},{concept:"7bbee32a-31a8-4199-a8a2-2d15c748d80a",label:"4b - D4T+3TC+EFV",hide:!0},{concept:"756b4487-f358-4817-b248-9c05080bad67",label:"4c - AZT+3TC+NVP",hide:!0},{concept:"fcafc964-f018-41c8-9dc9-343a2f4a94b5",label:"5a - ABC+DDL+LPY",hide:!0},{concept:"7c30ed1a-a770-4b74-8704-82077427128d",label:"5b - ABC+DDL+NFV",hide:!0},{concept:"18c78c5f-082c-4acc-a121-62fa334f34d3",label:"5c - TDF+DDL+LPV",hide:!0},{concept:"5c9424e6-4f18-44e1-a074-e561643a7d91",label:"5d - TDF+DDL+NFV",hide:!0},{concept:"2e58ef33-d019-4bd9-97b8-553e39e12646",label:"5k - RAL+AZT+3TC",hide:!0},{concept:"8feb33db-71db-4fd0-a0e7-c02f81fcc76f",label:"5l - RAL+ABC+3TC",hide:!0},{concept:"5415f1b1-a680-4870-89c5-3324d42da408",label:"6a - DRVr+RAL+AZT+3TC",hide:!0},{concept:"3e7d018b-9669-4f48-9298-d7c633f86b0f",label:"6b - DRVr+RAL+TDF+3TC",hide:!0}],I=[{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"},{concept:"ad169a6d-cf1a-4363-a2da-be85998612bd",label:"4d - AZT+3TC+EFV"},{concept:"0343175a-e931-4f6c-a0c2-99e55637bda9",label:"4f - AZT+3TC+LPVr"},{concept:"d3eedcf3-9571-42a2-b8b0-189e93f72f47",label:"4e - TDF+3TC+EFV"},{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:"0dbe6b49-7356-4cf0-b489-890e18c38465",label:"4i - TDF+3TC+DTG"},{concept:"eae01634-65ec-4174-a95c-622456663727",label:"4j - ABC+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"},{concept:"2798d3bc-2e0a-459c-b249-9516b380a69e",label:"1a30 - D4T(30)+3TC+NVP",hide:!0},{concept:"3495d89f-4d46-44d8-b1c9-d101bc9f15d4",label:"1a40 - D4T(40)+3TC+NVP",hide:!0},{concept:"ae0dc59c-eb3d-421b-913b-ee5a06ec6182",label:"1b30 - D4T(30)+3TC+EFV",hide:!0},{concept:"c5995b5c-19bb-42f6-895b-0b4627bc9dd1",label:"1b40 - D4T(40)+3TC+EFV",hide:!0},{concept:"a9da3e97-3916-4834-854c-6bcbc5142aca",label:"1c - AZT+3TC+NVP",hide:!0},{concept:"8b727274-4a3c-4a81-ae50-9f759a87358d",label:"1f - TDF+3TC+NVP",hide:!0},{concept:"71ecf102-8d3d-4a2a-b799-30773ad5d447",label:"1h - ABC+3TC+NVP",hide:!0},{concept:"a87d9674-11af-4440-afd0-d097d84d0393",label:"2a - ABC+DDL+LPV",hide:!0},{concept:"82e23d8c-4c9d-4b18-a960-9f8890b86f2f",label:"2b - ABC+DDL+NFV",hide:!0},{concept:"cf29c24b-b796-4536-aaa5-8303f45bb5f8",label:"2c - TDF+DDL+LPV",hide:!0},{concept:"2e84a82a-8b93-40fc-a556-2028d39f5710",label:"2d - TDF+DDL+NFV",hide:!0},{concept:"5415f1b1-a680-4870-89c5-3324d42da408",label:"6a - DRVr+RAL+AZT+3TC",hide:!0},{concept:"3e7d018b-9669-4f48-9298-d7c633f86b0f",label:"6b - DRVr+RAL+TDF+3TC",hide:!0},{concept:"2e58ef33-d019-4bd9-97b8-553e39e12646",label:"5k - RAL+AZT+3TC",hide:!0},{concept:"8feb33db-71db-4fd0-a0e7-c02f81fcc76f",label:"5l - RAL+ABC+3TC",hide:!0},{concept:"fcafc964-f018-41c8-9dc9-343a2f4a94b5",label:"5a - ABC+DDL+LPY",hide:!0},{concept:"7c30ed1a-a770-4b74-8704-82077427128d",label:"5b - ABC+DDL+NFV",hide:!0},{concept:"18c78c5f-082c-4acc-a121-62fa334f34d3",label:"5c - TDF+DDL+LPV",hide:!0},{concept:"5c9424e6-4f18-44e1-a074-e561643a7d91",label:"5d - TDF+DDL+NFV",hide:!0},{concept:"c33efc4a-734f-4e89-92a4-71b259a5e547",label:"4a - D4T+3TC+NVP",hide:!0},{concept:"7bbee32a-31a8-4199-a8a2-2d15c748d80a",label:"4b - D4T+3TC+EFV",hide:!0},{concept:"756b4487-f358-4817-b248-9c05080bad67",label:"4c - AZT+3TC+NVP",hide:!0}],N=[{label:"Working",concept:"159468AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Ambulatory",concept:"160026AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Bedridden",concept:"162752AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],R=[{label:"Underweight",concept:"123814AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Normal weight for age",concept:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],L=[{label:"Appropriate for age",concept:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Delay",concept:"6022AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{label:"Regression",concept:"1116AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],G=[{id:"yes",label:"Yes",concept:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"no",label:"No",concept:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},{id:"not",label:"Not Applicable",concept:"1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],Z=[{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:(e,A,n)=>{n.d(A,{$w:()=>d,CA:()=>s,Go:()=>l,RZ:()=>a,Xl:()=>t,ZT:()=>p,ek:()=>i,gT:()=>r,hC:()=>o,mZ:()=>c,xM:()=>f});var a="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))))",t="custom:(display,uuid,personB:(age,gender,display,birthdate,uuid,addresses,names,attributes))",o="d23b4634-7ee1-3d3f-b657-35a8bc1615a4",c="059cdca1-18bc-38c6-bd63-23661201ef3e",l="2d94354b-581f-340f-813a-07dffe8792e8",i="e270770f-19bf-3d32-baaf-4b677983dec3",r="05add044-67f8-48c9-928d-79002ab19efe",d="dc94a223-66bc-45b7-8e34-d13b8686f239",f="d384d248-04f8-42d3-9c49-3c44ab50f1d8",s="f1b397c1-46bd-43e6-a23d-ae2cedaec881",p="* Patient needs to have a registered MRN, before this form can be filled! Please add an MRN on patient details."},4710:(e,A,n)=>{n.d(A,{A:()=>l});var a=n(5037),t=n.n(a),o=n(5720),c=n.n(o)()(t());c.push([e.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{display:flex;flex-direction:row;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;flex:1}.-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}.-esm-ethiohri-intake__intake-form__containerForm___gU58h{overflow:auto;height:80vh}.-esm-ethiohri-intake__intake-form__helperText___rRFkY{color:red;font-weight:bold}.-esm-ethiohri-intake__intake-form__required___RC46Z{color:red}.-esm-ethiohri-intake__intake-form__formNew___FMW2U{display:flex;flex-direction:column;height:100vh;background-color:#fff}.-esm-ethiohri-intake__intake-form__scrollableContent___VxKOJ{flex:1;overflow-y:auto;min-height:0}.-esm-ethiohri-intake__intake-form__stickyButtonSet___btvks{position:sticky;bottom:0;background-color:#fff;padding:1rem;display:flex;gap:.5rem;box-shadow:0 -2px 4px rgba(0,0,0,.08);z-index:10}","",{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","webpack://./node_modules/@carbon/colors/index.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,YAAA,CACA,kBAAA,CACA,OAAA,CACA,UAAA,CACA,UAAA,CACA,gBAAA,CAEF,kDACE,YAAA,CACA,kBAAA,CAIF,sDACE,iBAAA,CACA,QAAA,CACA,MAAA,CACA,OAAA,CACA,UAAA,CAIF,mDACE,WCNW,CDOX,MAAA,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,CAGF,0DACE,aAAA,CACA,WAAA,CAEF,uDACE,SAAA,CACA,gBAAA,CAEF,qDACE,SAAA,CAIF,oDACE,YAAA,CACA,qBAAA,CACA,YAAA,CACA,qBGjBQ,CHoBV,8DACE,MAAA,CACA,eAAA,CACA,YAAA,CAGF,4DACE,eAAA,CACA,QAAA,CACA,qBG7BQ,CH8BR,YCzHW,CD0HX,YAAA,CACA,SCrIW,CDsIX,qCAAA,CACA,UAAA",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 display: flex;\n flex-direction: row;\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\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 flex: 1;\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}\n// styles.module.scss\n.containerForm {\n overflow: auto; // scrolls vertically and horizontally if needed\n height: 80vh;\n}\n.helperText{\n color: red;\n font-weight:bold;\n}\n.required {\n color:red\n}\n\n\n.formNew {\n display: flex;\n flex-direction: column;\n height: 100vh; // or 100% if in a constrained container\n background-color: colors.$white-0;\n}\n\n.scrollableContent {\n flex: 1;\n overflow-y: auto; \n min-height: 0;\n}\n\n.stickyButtonSet {\n position: sticky;\n bottom: 0;\n background-color: colors.$white-0;\n padding: layout.$spacing-05;\n display: flex; \n gap: layout.$spacing-03;\n box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.08);\n z-index: 10;\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","// Code generated by @carbon/colors. 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$black: #000000 !default;\n$white: #ffffff !default;\n\n$black-100: #000000 !default;\n$blue-10: #edf5ff !default;\n$blue-20: #d0e2ff !default;\n$blue-30: #a6c8ff !default;\n$blue-40: #78a9ff !default;\n$blue-50: #4589ff !default;\n$blue-60: #0f62fe !default;\n$blue-70: #0043ce !default;\n$blue-80: #002d9c !default;\n$blue-90: #001d6c !default;\n$blue-100: #001141 !default;\n$cool-gray-10: #f2f4f8 !default;\n$cool-gray-20: #dde1e6 !default;\n$cool-gray-30: #c1c7cd !default;\n$cool-gray-40: #a2a9b0 !default;\n$cool-gray-50: #878d96 !default;\n$cool-gray-60: #697077 !default;\n$cool-gray-70: #4d5358 !default;\n$cool-gray-80: #343a3f !default;\n$cool-gray-90: #21272a !default;\n$cool-gray-100: #121619 !default;\n$cyan-10: #e5f6ff !default;\n$cyan-20: #bae6ff !default;\n$cyan-30: #82cfff !default;\n$cyan-40: #33b1ff !default;\n$cyan-50: #1192e8 !default;\n$cyan-60: #0072c3 !default;\n$cyan-70: #00539a !default;\n$cyan-80: #003a6d !default;\n$cyan-90: #012749 !default;\n$cyan-100: #061727 !default;\n$gray-10: #f4f4f4 !default;\n$gray-20: #e0e0e0 !default;\n$gray-30: #c6c6c6 !default;\n$gray-40: #a8a8a8 !default;\n$gray-50: #8d8d8d !default;\n$gray-60: #6f6f6f !default;\n$gray-70: #525252 !default;\n$gray-80: #393939 !default;\n$gray-90: #262626 !default;\n$gray-100: #161616 !default;\n$green-10: #defbe6 !default;\n$green-20: #a7f0ba !default;\n$green-30: #6fdc8c !default;\n$green-40: #42be65 !default;\n$green-50: #24a148 !default;\n$green-60: #198038 !default;\n$green-70: #0e6027 !default;\n$green-80: #044317 !default;\n$green-90: #022d0d !default;\n$green-100: #071908 !default;\n$magenta-10: #fff0f7 !default;\n$magenta-20: #ffd6e8 !default;\n$magenta-30: #ffafd2 !default;\n$magenta-40: #ff7eb6 !default;\n$magenta-50: #ee5396 !default;\n$magenta-60: #d02670 !default;\n$magenta-70: #9f1853 !default;\n$magenta-80: #740937 !default;\n$magenta-90: #510224 !default;\n$magenta-100: #2a0a18 !default;\n$orange-10: #fff2e8 !default;\n$orange-20: #ffd9be !default;\n$orange-30: #ffb784 !default;\n$orange-40: #ff832b !default;\n$orange-50: #eb6200 !default;\n$orange-60: #ba4e00 !default;\n$orange-70: #8a3800 !default;\n$orange-80: #5e2900 !default;\n$orange-90: #3e1a00 !default;\n$orange-100: #231000 !default;\n$purple-10: #f6f2ff !default;\n$purple-20: #e8daff !default;\n$purple-30: #d4bbff !default;\n$purple-40: #be95ff !default;\n$purple-50: #a56eff !default;\n$purple-60: #8a3ffc !default;\n$purple-70: #6929c4 !default;\n$purple-80: #491d8b !default;\n$purple-90: #31135e !default;\n$purple-100: #1c0f30 !default;\n$red-10: #fff1f1 !default;\n$red-20: #ffd7d9 !default;\n$red-30: #ffb3b8 !default;\n$red-40: #ff8389 !default;\n$red-50: #fa4d56 !default;\n$red-60: #da1e28 !default;\n$red-70: #a2191f !default;\n$red-80: #750e13 !default;\n$red-90: #520408 !default;\n$red-100: #2d0709 !default;\n$teal-10: #d9fbfb !default;\n$teal-20: #9ef0f0 !default;\n$teal-30: #3ddbd9 !default;\n$teal-40: #08bdba !default;\n$teal-50: #009d9a !default;\n$teal-60: #007d79 !default;\n$teal-70: #005d5d !default;\n$teal-80: #004144 !default;\n$teal-90: #022b30 !default;\n$teal-100: #081a1c !default;\n$warm-gray-10: #f7f3f2 !default;\n$warm-gray-20: #e5e0df !default;\n$warm-gray-30: #cac5c4 !default;\n$warm-gray-40: #ada8a8 !default;\n$warm-gray-50: #8f8b8b !default;\n$warm-gray-60: #726e6e !default;\n$warm-gray-70: #565151 !default;\n$warm-gray-80: #3c3838 !default;\n$warm-gray-90: #272525 !default;\n$warm-gray-100: #171414 !default;\n$white-0: #ffffff !default;\n$yellow-10: #fcf4d6 !default;\n$yellow-20: #fddc69 !default;\n$yellow-30: #f1c21b !default;\n$yellow-40: #d2a106 !default;\n$yellow-50: #b28600 !default;\n$yellow-60: #8e6a00 !default;\n$yellow-70: #684e00 !default;\n$yellow-80: #483700 !default;\n$yellow-90: #302400 !default;\n$yellow-100: #1c1500 !default;\n\n$white-hover: #e8e8e8 !default;\n$black-hover: #212121 !default;\n$blue-10-hover: #dbebff !default;\n$blue-20-hover: #b8d3ff !default;\n$blue-30-hover: #8ab6ff !default;\n$blue-40-hover: #5c97ff !default;\n$blue-50-hover: #1f70ff !default;\n$blue-60-hover: #0050e6 !default;\n$blue-70-hover: #0053ff !default;\n$blue-80-hover: #0039c7 !default;\n$blue-90-hover: #00258a !default;\n$blue-100-hover: #001f75 !default;\n$cool-gray-10-hover: #e4e9f1 !default;\n$cool-gray-20-hover: #cdd3da !default;\n$cool-gray-30-hover: #adb5bd !default;\n$cool-gray-40-hover: #9199a1 !default;\n$cool-gray-50-hover: #757b85 !default;\n$cool-gray-60-hover: #585e64 !default;\n$cool-gray-70-hover: #5d646a !default;\n$cool-gray-80-hover: #434a51 !default;\n$cool-gray-90-hover: #2b3236 !default;\n$cool-gray-100-hover: #222a2f !default;\n$cyan-10-hover: #cceeff !default;\n$cyan-20-hover: #99daff !default;\n$cyan-30-hover: #57beff !default;\n$cyan-40-hover: #059fff !default;\n$cyan-50-hover: #0f7ec8 !default;\n$cyan-60-hover: #005fa3 !default;\n$cyan-70-hover: #0066bd !default;\n$cyan-80-hover: #00498a !default;\n$cyan-90-hover: #013360 !default;\n$cyan-100-hover: #0b2947 !default;\n$gray-10-hover: #e8e8e8 !default;\n$gray-20-hover: #d1d1d1 !default;\n$gray-30-hover: #b5b5b5 !default;\n$gray-40-hover: #999999 !default;\n$gray-50-hover: #7a7a7a !default;\n$gray-60-hover: #5e5e5e !default;\n$gray-70-hover: #636363 !default;\n$gray-80-hover: #474747 !default;\n$gray-90-hover: #333333 !default;\n$gray-100-hover: #292929 !default;\n$green-10-hover: #b6f6c8 !default;\n$green-20-hover: #74e792 !default;\n$green-30-hover: #36ce5e !default;\n$green-40-hover: #3bab5a !default;\n$green-50-hover: #208e3f !default;\n$green-60-hover: #166f31 !default;\n$green-70-hover: #11742f !default;\n$green-80-hover: #05521c !default;\n$green-90-hover: #033b11 !default;\n$green-100-hover: #0d300f !default;\n$magenta-10-hover: #ffe0ef !default;\n$magenta-20-hover: #ffbdda !default;\n$magenta-30-hover: #ff94c3 !default;\n$magenta-40-hover: #ff57a0 !default;\n$magenta-50-hover: #e3176f !default;\n$magenta-60-hover: #b0215f !default;\n$magenta-70-hover: #bf1d63 !default;\n$magenta-80-hover: #8e0b43 !default;\n$magenta-90-hover: #68032e !default;\n$magenta-100-hover: #53142f !default;\n$orange-10-hover: #ffe2cc !default;\n$orange-20-hover: #ffc69e !default;\n$orange-30-hover: #ff9d57 !default;\n$orange-40-hover: #fa6800 !default;\n$orange-50-hover: #cc5500 !default;\n$orange-60-hover: #9e4200 !default;\n$orange-70-hover: #a84400 !default;\n$orange-80-hover: #753300 !default;\n$orange-90-hover: #522200 !default;\n$orange-100-hover: #421e00 !default;\n$purple-10-hover: #ede5ff !default;\n$purple-20-hover: #dcc7ff !default;\n$purple-30-hover: #c5a3ff !default;\n$purple-40-hover: #ae7aff !default;\n$purple-50-hover: #9352ff !default;\n$purple-60-hover: #7822fb !default;\n$purple-70-hover: #7c3dd6 !default;\n$purple-80-hover: #5b24ad !default;\n$purple-90-hover: #40197b !default;\n$purple-100-hover: #341c59 !default;\n$red-10-hover: #ffe0e0 !default;\n$red-20-hover: #ffc2c5 !default;\n$red-30-hover: #ff99a0 !default;\n$red-40-hover: #ff6168 !default;\n$red-50-hover: #ee0713 !default;\n$red-60-hover: #b81922 !default;\n$red-70-hover: #c21e25 !default;\n$red-80-hover: #921118 !default;\n$red-90-hover: #66050a !default;\n$red-100-hover: #540d11 !default;\n$teal-10-hover: #acf6f6 !default;\n$teal-20-hover: #57e5e5 !default;\n$teal-30-hover: #25cac8 !default;\n$teal-40-hover: #07aba9 !default;\n$teal-50-hover: #008a87 !default;\n$teal-60-hover: #006b68 !default;\n$teal-70-hover: #007070 !default;\n$teal-80-hover: #005357 !default;\n$teal-90-hover: #033940 !default;\n$teal-100-hover: #0f3034 !default;\n$warm-gray-10-hover: #f0e8e6 !default;\n$warm-gray-20-hover: #d8d0cf !default;\n$warm-gray-30-hover: #b9b3b1 !default;\n$warm-gray-40-hover: #9c9696 !default;\n$warm-gray-50-hover: #7f7b7b !default;\n$warm-gray-60-hover: #605d5d !default;\n$warm-gray-70-hover: #696363 !default;\n$warm-gray-80-hover: #4c4848 !default;\n$warm-gray-90-hover: #343232 !default;\n$warm-gray-100-hover: #2c2626 !default;\n$yellow-10-hover: #f8e6a0 !default;\n$yellow-20-hover: #fccd27 !default;\n$yellow-30-hover: #ddb00e !default;\n$yellow-40-hover: #bc9005 !default;\n$yellow-50-hover: #9e7700 !default;\n$yellow-60-hover: #755800 !default;\n$yellow-70-hover: #806000 !default;\n$yellow-80-hover: #5c4600 !default;\n$yellow-90-hover: #3d2e00 !default;\n$yellow-100-hover: #332600 !default;\n\n/// Colors from the IBM Design Language\n/// @access public\n/// @group @carbon/colors\n$colors: (\n black: (\n 100: #000000,\n ),\n blue: (\n 10: #edf5ff,\n 20: #d0e2ff,\n 30: #a6c8ff,\n 40: #78a9ff,\n 50: #4589ff,\n 60: #0f62fe,\n 70: #0043ce,\n 80: #002d9c,\n 90: #001d6c,\n 100: #001141,\n ),\n cool-gray: (\n 10: #f2f4f8,\n 20: #dde1e6,\n 30: #c1c7cd,\n 40: #a2a9b0,\n 50: #878d96,\n 60: #697077,\n 70: #4d5358,\n 80: #343a3f,\n 90: #21272a,\n 100: #121619,\n ),\n cyan: (\n 10: #e5f6ff,\n 20: #bae6ff,\n 30: #82cfff,\n 40: #33b1ff,\n 50: #1192e8,\n 60: #0072c3,\n 70: #00539a,\n 80: #003a6d,\n 90: #012749,\n 100: #061727,\n ),\n gray: (\n 10: #f4f4f4,\n 20: #e0e0e0,\n 30: #c6c6c6,\n 40: #a8a8a8,\n 50: #8d8d8d,\n 60: #6f6f6f,\n 70: #525252,\n 80: #393939,\n 90: #262626,\n 100: #161616,\n ),\n green: (\n 10: #defbe6,\n 20: #a7f0ba,\n 30: #6fdc8c,\n 40: #42be65,\n 50: #24a148,\n 60: #198038,\n 70: #0e6027,\n 80: #044317,\n 90: #022d0d,\n 100: #071908,\n ),\n magenta: (\n 10: #fff0f7,\n 20: #ffd6e8,\n 30: #ffafd2,\n 40: #ff7eb6,\n 50: #ee5396,\n 60: #d02670,\n 70: #9f1853,\n 80: #740937,\n 90: #510224,\n 100: #2a0a18,\n ),\n orange: (\n 10: #fff2e8,\n 20: #ffd9be,\n 30: #ffb784,\n 40: #ff832b,\n 50: #eb6200,\n 60: #ba4e00,\n 70: #8a3800,\n 80: #5e2900,\n 90: #3e1a00,\n 100: #231000,\n ),\n purple: (\n 10: #f6f2ff,\n 20: #e8daff,\n 30: #d4bbff,\n 40: #be95ff,\n 50: #a56eff,\n 60: #8a3ffc,\n 70: #6929c4,\n 80: #491d8b,\n 90: #31135e,\n 100: #1c0f30,\n ),\n red: (\n 10: #fff1f1,\n 20: #ffd7d9,\n 30: #ffb3b8,\n 40: #ff8389,\n 50: #fa4d56,\n 60: #da1e28,\n 70: #a2191f,\n 80: #750e13,\n 90: #520408,\n 100: #2d0709,\n ),\n teal: (\n 10: #d9fbfb,\n 20: #9ef0f0,\n 30: #3ddbd9,\n 40: #08bdba,\n 50: #009d9a,\n 60: #007d79,\n 70: #005d5d,\n 80: #004144,\n 90: #022b30,\n 100: #081a1c,\n ),\n warm-gray: (\n 10: #f7f3f2,\n 20: #e5e0df,\n 30: #cac5c4,\n 40: #ada8a8,\n 50: #8f8b8b,\n 60: #726e6e,\n 70: #565151,\n 80: #3c3838,\n 90: #272525,\n 100: #171414,\n ),\n white: (\n 0: #ffffff,\n ),\n yellow: (\n 10: #fcf4d6,\n 20: #fddc69,\n 30: #f1c21b,\n 40: #d2a106,\n 50: #b28600,\n 60: #8e6a00,\n 70: #684e00,\n 80: #483700,\n 90: #302400,\n 100: #1c1500,\n ),\n) !default;\n"],sourceRoot:""}]),c.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",containerForm:"-esm-ethiohri-intake__intake-form__containerForm___gU58h",helperText:"-esm-ethiohri-intake__intake-form__helperText___rRFkY",required:"-esm-ethiohri-intake__intake-form__required___RC46Z",formNew:"-esm-ethiohri-intake__intake-form__formNew___FMW2U",scrollableContent:"-esm-ethiohri-intake__intake-form__scrollableContent___VxKOJ",stickyButtonSet:"-esm-ethiohri-intake__intake-form__stickyButtonSet___btvks"};const l=c},6818:(e,A,n)=>{n.d(A,{V:()=>l});var a=n(5987),t=n(6072),o=n(9324);function c(e,A){(null==A||A>e.length)&&(A=e.length);for(var n=0,a=new Array(A);n<A;n++)a[n]=e[n];return a}function l(){var e,A,n=(e=(0,t.useState)(null),A=2,function(e){if(Array.isArray(e))return e}(e)||function(e,A){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,t,o=[],c=!0,l=!1;try{for(n=n.call(e);!(c=(a=n.next()).done)&&(o.push(a.value),!A||o.length!==A);c=!0);}catch(e){l=!0,t=e}finally{try{c||null==n.return||n.return()}finally{if(l)throw t}}return o}}(e,A)||function(e,A){if(e){if("string"==typeof e)return c(e,A);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,A):void 0}}(e,A)||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.")}()),l=n[0],i=n[1],r="".concat(a.restBaseUrl,"/location?v=default"),d=(0,o.Ay)(r,a.openmrsFetch),f=d.data,s=d.error,p=d.isLoading;return(0,t.useEffect)((function(){if(f){var e=f.data.results.find((function(e){var A;return null===(A=e.tags)||void 0===A?void 0:A.some((function(e){return"Facility Location"===e.display}))}));e&&i({uuid:e.uuid,display:e.display})}}),[f]),{facilityInfo:l,isLoading:p,isError:!!s}}},8322:(e,A,n)=>{n.d(A,{Gu:()=>r,H2:()=>b,SE:()=>u,g8:()=>p,gU:()=>h,m5:()=>d,t:()=>g,t2:()=>i,x_:()=>f,yB:()=>s});var a=n(5987),t=n(4200);function o(e,A,n,a,t,o,c){try{var l=e[o](c),i=l.value}catch(e){return void n(e)}l.done?A(i):Promise.resolve(i).then(a,t)}function c(e){return function(){var A=this,n=arguments;return new Promise((function(a,t){var c=e.apply(A,n);function l(e){o(c,a,t,l,i,"next",e)}function i(e){o(c,a,t,l,i,"throw",e)}l(void 0)}))}}function l(e,A){var n,a,t,o,c={label:0,sent:function(){if(1&t[0])throw t[1];return t[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,a&&(t=2&o[0]?a.return:o[0]?a.throw||((t=a.return)&&t.call(a),0):a.next)&&!(t=t.call(a,o[1])).done)return t;switch(a=0,t&&(o=[2&o[0],t.value]),o[0]){case 0:case 1:t=o;break;case 4:return c.label++,{value:o[1],done:!1};case 5:c.label++,a=o[1],o=[0];continue;case 7:o=c.ops.pop(),c.trys.pop();continue;default:if(!((t=(t=c.trys).length>0&&t[t.length-1])||6!==o[0]&&2!==o[0])){c=0;continue}if(3===o[0]&&(!t||o[1]>t[0]&&o[1]<t[3])){c.label=o[1];break}if(6===o[0]&&c.label<t[1]){c.label=t[1],t=o;break}if(t&&c.label<t[2]){c.label=t[2],c.ops.push(o);break}t[2]&&c.ops.pop(),c.trys.pop();continue}o=A.call(e,c)}catch(e){o=[6,e],a=0}finally{n=t=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}function i(e,A,n){var o=n?"".concat(a.restBaseUrl,"/encounter/").concat(n,"?v=").concat(t.RZ):"".concat(a.restBaseUrl,"/encounter?v=").concat(t.RZ);return(0,a.openmrsFetch)(o,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(A),signal:e.signal}).catch((function(e){throw console.error("Error saving encounter:",e),e}))}function r(e,A,n){var t=n?"".concat(a.restBaseUrl,"/person/").concat(n):"".concat(a.restBaseUrl,"/person");return(0,a.openmrsFetch)(t,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(A),signal:e.signal}).catch((function(e){throw console.error("Error saving encounter:",e),e}))}function d(e,A,n){return n?"".concat(a.restBaseUrl,"/relationship/").concat(n):"".concat(a.restBaseUrl,"/relationship"),(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/relationship"),{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(A),signal:e.signal}).catch((function(e){throw console.error("Error saving encounter:",e),e}))}c((function(e,A){var n;return l(this,(function(t){switch(t.label){case 0:return n=encodeURIComponent(e.join(",")),[4,(0,a.openmrsFetch)("/ws/rest/v1/snscoupon?q=".concat(n),{method:"GET",signal:A.signal,headers:{Accept:"application/json"}})];case 1:return[2,t.sent().data]}}))}));var f=function(){var e=c((function(e){var A,n;return l(this,(function(t){switch(t.label){case 0:return A=e.filter(Boolean).join("|"),n="/module/addresshierarchy/ajax/getChildAddressHierarchyEntries.form?searchString=".concat(encodeURIComponent(A)),[4,(0,a.openmrsFetch)(n)];case 1:return[2,t.sent().data]}}))}));return function(A){return e.apply(this,arguments)}}(),s=function(){var e=c((function(e){var A;return l(this,(function(n){switch(n.label){case 0:return A="/module/addresshierarchy/ajax/getPossibleFullAddresses.form?separator=%3E&searchString=".concat(encodeURIComponent(e)),[4,(0,a.openmrsFetch)(A)];case 1:return[2,n.sent().data]}}))}));return function(A){return e.apply(this,arguments)}}();function p(e){return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/relationship?v=").concat(t.Xl,"&person=").concat(e)).then((function(e){return e.data.results}))}function b(e,A){return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/person/").concat(A),{headers:{"Content-Type":"application/json"},method:"DELETE",signal:e.signal}).catch((function(e){throw console.error("Error saving encounter:",e),e}))}function u(e,A){return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/relationship/").concat(A),{headers:{"Content-Type":"application/json"},method:"DELETE",signal:e.signal}).catch((function(e){throw console.error("Error saving encounter:",e),e}))}function h(e){return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/person/").concat(e,"/address")).then((function(e){return e.data.results}))}var g=function(){var e=c((function(e,A,n,t,o){return l(this,(function(c){switch(c.label){case 0:return[4,(0,a.openmrsFetch)("/ws/rest/v1/ethiohri/validatencounter?patientUuid=".concat(e,"&encounterTypeUuid=").concat(A,"&conceptUuid=").concat(n,"&obsDate=").concat(t),{method:"GET",signal:o.signal,headers:{Accept:"application/json"}})];case 1:return[2,c.sent().data]}}))}));return function(A,n,a,t,o){return e.apply(this,arguments)}}()},9208:(e,A,n)=>{n.d(A,{j:()=>c});var a=n(231),t=n.n(a);function o(e,A,n){return A in e?Object.defineProperty(e,A,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[A]=n,e}var c=function(e,A,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(!e||!e.obs)return A;var c=function(e){for(var A=1;A<arguments.length;A++){var n=null!=arguments[A]?arguments[A]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(A){o(e,A,n[A])}))}return e}({},A);return e.obs.forEach((function(e){var A=e.concept.uuid||e.concept,o=Object.keys(n).find((function(e){return n[e]===A}));if(o){var l,i,r,d,f,s=(null===(i=e)||void 0===i||null===(l=i.value)||void 0===l?void 0:l.uuid)?null===(d=e)||void 0===d||null===(r=d.value)||void 0===r?void 0:r.uuid:null===(f=e)||void 0===f?void 0:f.value;a.includes(A)?(c[o]||(c[o]={selectedItems:[]}),c[o].selectedItems.push({label:e.value.name.name,concept:e.value.uuid})):o.toLowerCase().includes("date")&&s?c[o]=t()(s).toDate():Array.isArray(c[o])&&s?c[o]=Array.isArray(s)?s:[s].filter(Boolean):c[o]=s}})),c}},9503:(e,A,n)=>{n.d(A,{A:()=>g});var a=n(7710),t=n.n(a),o=n(4583),c=n.n(o),l=n(6765),i=n.n(l),r=n(8206),d=n.n(r),f=n(3930),s=n.n(f),p=n(4079),b=n.n(p),u=n(4710),h={};h.styleTagTransform=b(),h.setAttributes=d(),h.insert=i().bind(null,"head"),h.domAPI=c(),h.insertStyleElement=s(),t()(u.A,h);const g=u.A&&u.A.locals?u.A.locals:void 0}}]);
|