@kenyaemr/esm-patient-registration-app 6.0.1-pre.1.0.2 → 6.0.1-pre.1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/574.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[574],{3574:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"Add Relationship","addressHeader":"Address","age":"Age","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in the future","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of Death","clientRegistryEmpty":"Create & Post Patient","clientVerificationWithClientRegistry":"Client verification with client registry","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","contactSection":"Contact Details","continue":"Continue","createNew":"Create New","dateOfBirth":"Date of birth","dateOfBirthLabelText":"Date of Birth","deathDateInputLabel":"Date of Death","deathdayNotInTheFuture":"Death day cannot be in the future","deathSection":"Death Info","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","discardModalHeader":"Confirm Discard Changes","dobToggleLabelText":"Date of Birth Known?","edit":"Edit","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","error":"Error","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fullNameLabelText":"Full Name","gender":"Gender","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender is not specified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","incompleteForm":"Incomplete form","invalidEmail":"A valid email has to be given","invalidInput":"Invalid Input","isDeadInputLabel":"Is Dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","nationalId":"National ID","negativeMonths":"Negative months","negativeYears":"Negative years","no":"No","numberInNameDubious":"Number in name is dubious","NUPI":"","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","other":"Other","patient":"Patient","patientDetailsFound":"Patient information found in the registry, do you want to use the information to continue with registration?","patientName":"Patient name","patientNameKnown":"Patient\'s Name is Known?","patientNotFound":"The patient records could not be found in Client registry, do you want to continue to create and post patient to registry","patientRegistrationBreadcrumb":"Patient Registration","postToRegistry":"Post to registry","registerPatient":"Register Patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Related person","relativeNamePlaceholder":"Firstname Familyname","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchClientRegistry":"Search client registry","searchIdentifierPlaceholder":"Search identifier","selectAnOption":"Select an option","selectCountry":"Select country","selectIdentifierType":"Select identifier type","sexFieldLabelText":"Sex","SHA Number":"","source":"Source","stroke":"Stroke","submitting":"Submitting","unableToFetch":"Unable to fetch person attribute type {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update Patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","useValues":"Use values","validate":"Validate","yearsEstimateRequired":"Years estimate required","yes":"Yes"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[574],{3574:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"Add Relationship","addressHeader":"Address","age":"Age","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in the future","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of Death","clientRegistryEmpty":"Create & Post Patient","clientVerificationWithClientRegistry":"Client verification with client registry","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","contactSection":"Contact Details","continue":"Continue","createNew":"Create New","dateOfBirth":"Date of birth","dateOfBirthLabelText":"Date of Birth","deathDateInputLabel":"Date of Death","deathdayNotInTheFuture":"Death day cannot be in the future","deathSection":"Death Info","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","discardModalHeader":"Confirm Discard Changes","dobToggleLabelText":"Date of Birth Known?","edit":"Edit","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","error":"Error","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fullNameLabelText":"Full Name","gender":"Gender","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender is not specified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","incompleteForm":"Incomplete form","invalidEmail":"A valid email has to be given","invalidInput":"Invalid Input","isDeadInputLabel":"Is Dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","nationalId":"National ID","negativeMonths":"Negative months","negativeYears":"Negative years","no":"No","numberInNameDubious":"Number in name is dubious","nupi":"NUPI","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","other":"Other","patient":"Patient","patientDetailsFound":"Patient information found in the registry, do you want to use the information to continue with registration?","patientName":"Patient name","patientNameKnown":"Patient\'s Name is Known?","patientNotFound":"The patient records could not be found in Client registry, do you want to continue to create and post patient to registry","patientRegistrationBreadcrumb":"Patient Registration","postToRegistry":"Post to registry","registerPatient":"Register Patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Related person","relativeNamePlaceholder":"Firstname Familyname","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchClientRegistry":"Search client registry","searchIdentifierPlaceholder":"Search identifier","selectAnOption":"Select an option","selectCountry":"Select country","selectIdentifierType":"Select identifier type","sexFieldLabelText":"Sex","shaNumber":"SHA Number","source":"Source","stroke":"Stroke","submitting":"Submitting","unableToFetch":"Unable to fetch person attribute type {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update Patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","useValues":"Use values","validate":"Validate","yearsEstimateRequired":"Years estimate required","yes":"Yes"}')}}]);
package/dist/59.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[59],{7059:(e,t,a)=>{a.r(t),a.d(t,{default:()=>s});var l=a(268),n=a.n(l),i=a(4924),r=a(5305),o=a(2870),m=a(1140),c=function(e){var t=e.label,a=e.value;return n().createElement("div",{style:{display:"grid",gridTemplateColumns:"0.25fr 0.75fr",margin:"0.25rem"}},n().createElement("span",{style:{minWidth:"5rem",fontWeight:"bold"}},t),n().createElement("span",null,a))};const s=function(e){var t,a=e.close,l=e.onConfirm,s=e.patient,d=(0,i.useTranslation)().t;return n().createElement(n().Fragment,null,n().createElement("div",{className:"cds--modal-header"},n().createElement("h3",{className:"cds--modal-header__heading"},d("clientRegistryEmpty","Patient ".concat(null==s?void 0:s.firstName," ").concat(null==s?void 0:s.lastName," found")))),n().createElement("div",{className:"cds--modal-content"},n().createElement("p",null,d("patientDetailsFound","Patient information found in the registry, do you want to use the information to continue with registration?")),n().createElement("div",{style:{display:"flex",margin:"1rem"}},n().createElement(o.ExtensionSlot,{style:{display:"flex",alignItems:"center"},extensionSlotName:"patient-photo-slot",state:{patientName:"".concat(null==s?void 0:s.firstName," ").concat(null==s?void 0:s.lastName)}}),n().createElement("div",{style:{width:"100%",marginLeft:"0.625rem"}},n().createElement(c,{label:d("patientName","Patient name"),value:"".concat(null==s?void 0:s.firstName," ").concat(null==s?void 0:s.lastName)}),n().createElement(c,{label:d("nationalId","National ID"),value:null===(t=null==s?void 0:s.identifications[0])||void 0===t?void 0:t.identificationNumber}),n().createElement(c,{label:d("age","Age"),value:(0,o.age)(null==s?void 0:s.dateOfBirth)}),n().createElement(c,{label:d("dateOfBirth","Date of birth"),value:(0,o.formatDate)(new Date(null==s?void 0:s.dateOfBirth))}),n().createElement(c,{label:d("gender","Gender"),value:(0,m.Z)(null==s?void 0:s.gender)}),n().createElement(c,{label:d("NUPI"),value:null==s?void 0:s.clientNumber}),n().createElement(c,{label:d("SHA Number"),value:"--"})))),n().createElement("div",{className:"cds--modal-footer"},n().createElement(r.zxk,{kind:"secondary",onClick:a},d("cancel","Cancel")),n().createElement(r.zxk,{onClick:l},d("useValues","Use values"))))}}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[59],{7059:(e,t,a)=>{a.r(t),a.d(t,{default:()=>s});var l=a(268),n=a.n(l),i=a(4924),r=a(5305),o=a(2870),m=a(1140),c=function(e){var t=e.label,a=e.value;return n().createElement("div",{style:{display:"grid",gridTemplateColumns:"0.25fr 0.75fr",margin:"0.25rem"}},n().createElement("span",{style:{minWidth:"5rem",fontWeight:"bold"}},t),n().createElement("span",null,a))};const s=function(e){var t,a=e.close,l=e.onConfirm,s=e.patient,d=(0,i.useTranslation)().t;return n().createElement(n().Fragment,null,n().createElement("div",{className:"cds--modal-header"},n().createElement("h3",{className:"cds--modal-header__heading"},d("clientRegistryEmpty","Patient ".concat(null==s?void 0:s.firstName," ").concat(null==s?void 0:s.lastName," found")))),n().createElement("div",{className:"cds--modal-content"},n().createElement("p",null,d("patientDetailsFound","Patient information found in the registry, do you want to use the information to continue with registration?")),n().createElement("div",{style:{display:"flex",margin:"1rem"}},n().createElement(o.ExtensionSlot,{style:{display:"flex",alignItems:"center"},extensionSlotName:"patient-photo-slot",state:{patientName:"".concat(null==s?void 0:s.firstName," ").concat(null==s?void 0:s.lastName)}}),n().createElement("div",{style:{width:"100%",marginLeft:"0.625rem"}},n().createElement(c,{label:d("patientName","Patient name"),value:"".concat(null==s?void 0:s.firstName," ").concat(null==s?void 0:s.lastName)}),n().createElement(c,{label:d("nationalId","National ID"),value:null===(t=null==s?void 0:s.identifications[0])||void 0===t?void 0:t.identificationNumber}),n().createElement(c,{label:d("age","Age"),value:(0,o.age)(null==s?void 0:s.dateOfBirth)}),n().createElement(c,{label:d("dateOfBirth","Date of birth"),value:(0,o.formatDate)(new Date(null==s?void 0:s.dateOfBirth))}),n().createElement(c,{label:d("gender","Gender"),value:(0,m.Z)(null==s?void 0:s.gender)}),n().createElement(c,{label:d("nupi","NUPI"),value:null==s?void 0:s.clientNumber}),n().createElement(c,{label:d("shaNumber","SHA Number"),value:"--"})))),n().createElement("div",{className:"cds--modal-footer"},n().createElement(r.zxk,{kind:"secondary",onClick:a},d("cancel","Cancel")),n().createElement(r.zxk,{onClick:l},d("useValues","Use values"))))}}}]);
package/dist/59.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"59.js","mappings":"sQAOMA,EAA0D,Y,IAAGC,EAAAA,EAAAA,MAAOC,EAAAA,EAAAA,MACxE,OACE,kBAACC,MAAAA,CAAIC,MAAO,CAAEC,QAAS,OAAQC,oBAAqB,gBAAiBC,OAAQ,YAC3E,kBAACC,OAAAA,CAAKJ,MAAO,CAAEK,SAAU,OAAQC,WAAY,SAAWT,GACxD,kBAACO,OAAAA,KAAMN,GAGb,EAyDA,QAjDoD,Y,MAAGS,EAAAA,EAAAA,MAAOC,EAAAA,EAAAA,UAAWC,EAAAA,EAAAA,QACjE,GAAQC,EAAAA,EAAAA,kBAANC,EACR,OACE,oCACE,kBAACZ,MAAAA,CAAIa,UAAU,qBACb,kBAACC,KAAAA,CAAGD,UAAU,8BACXD,EAAE,sBAAuB,WAAiCF,OAAtBA,aAAAA,EAAAA,EAASK,UAAU,KAAqB,OAAlBL,aAAAA,EAAAA,EAASM,SAAS,aAGjF,kBAAChB,MAAAA,CAAIa,UAAU,sBACb,kBAACI,IAAAA,KACEL,EACC,sBACA,iHAGJ,kBAACZ,MAAAA,CAAIC,MAAO,CAAEC,QAAS,OAAQE,OAAQ,SACrC,kBAACc,EAAAA,cAAaA,CACZjB,MAAO,CAAEC,QAAS,OAAQiB,WAAY,UACtCC,kBAAkB,qBAClBC,MAAO,CAAEC,YAAa,GAAyBZ,OAAtBA,aAAAA,EAAAA,EAASK,UAAU,KAAqB,OAAlBL,aAAAA,EAAAA,EAASM,aAE1D,kBAAChB,MAAAA,CAAIC,MAAO,CAAEsB,MAAO,OAAQC,WAAY,aACvC,kBAAC3B,EAAAA,CACCC,MAAOc,EAAE,cAAe,gBACxBb,MAAO,GAAyBW,OAAtBA,aAAAA,EAAAA,EAASK,UAAU,KAAqB,OAAlBL,aAAAA,EAAAA,EAASM,YAE3C,kBAACnB,EAAAA,CACCC,MAAOc,EAAE,aAAc,eACvBb,MAAkC,QAA3BW,EAAAA,aAAAA,EAAAA,EAASe,gBAAgB,UAAE,WAA3Bf,EAAAA,EAA6BgB,uBAEtC,kBAAC7B,EAAAA,CAAYC,MAAOc,EAAE,MAAO,OAAQb,OAAO4B,EAAAA,EAAAA,KAAIjB,aAAAA,EAAAA,EAASkB,eACzD,kBAAC/B,EAAAA,CAAYC,MAAOc,EAAE,cAAe,iBAAkBb,OAAO8B,EAAAA,EAAAA,YAAW,IAAIC,KAAKpB,aAAAA,EAAAA,EAASkB,gBAC3F,kBAAC/B,EAAAA,CAAYC,MAAOc,EAAE,SAAU,UAAWb,OAAOgC,EAAAA,EAAAA,GAAWrB,aAAAA,EAAAA,EAASsB,UACtE,kBAACnC,EAAAA,CAAYC,MAAOc,EAAE,QAASb,MAAOW,aAAAA,EAAAA,EAASuB,eAC/C,kBAACpC,EAAAA,CAAYC,MAAOc,EAAE,cAAeb,MAAO,UAIlD,kBAACC,MAAAA,CAAIa,UAAU,qBACb,kBAACqB,EAAAA,IAAMA,CAACC,KAAK,YAAYC,QAAS5B,GAC/BI,EAAE,SAAU,WAEf,kBAACsB,EAAAA,IAAMA,CAACE,QAAS3B,GAAYG,EAAE,YAAa,gBAIpD,C","sources":["webpack://@kenyaemr/esm-patient-registration-app/./src/patient-verification/verification-modal/confirm-prompt.component.tsx"],"names":["PatientInfo","label","value","div","style","display","gridTemplateColumns","margin","span","minWidth","fontWeight","close","onConfirm","patient","useTranslation","t","className","h3","firstName","lastName","p","ExtensionSlot","alignItems","extensionSlotName","state","patientName","width","marginLeft","identifications","identificationNumber","age","dateOfBirth","formatDate","Date","capitalize","gender","clientNumber","Button","kind","onClick"],"sourceRoot":""}
1
+ {"version":3,"file":"59.js","mappings":"sQAOMA,EAA0D,Y,IAAGC,EAAAA,EAAAA,MAAOC,EAAAA,EAAAA,MACxE,OACE,kBAACC,MAAAA,CAAIC,MAAO,CAAEC,QAAS,OAAQC,oBAAqB,gBAAiBC,OAAQ,YAC3E,kBAACC,OAAAA,CAAKJ,MAAO,CAAEK,SAAU,OAAQC,WAAY,SAAWT,GACxD,kBAACO,OAAAA,KAAMN,GAGb,EAyDA,QAjDoD,Y,MAAGS,EAAAA,EAAAA,MAAOC,EAAAA,EAAAA,UAAWC,EAAAA,EAAAA,QACjE,GAAQC,EAAAA,EAAAA,kBAANC,EACR,OACE,oCACE,kBAACZ,MAAAA,CAAIa,UAAU,qBACb,kBAACC,KAAAA,CAAGD,UAAU,8BACXD,EAAE,sBAAuB,WAAiCF,OAAtBA,aAAAA,EAAAA,EAASK,UAAU,KAAqB,OAAlBL,aAAAA,EAAAA,EAASM,SAAS,aAGjF,kBAAChB,MAAAA,CAAIa,UAAU,sBACb,kBAACI,IAAAA,KACEL,EACC,sBACA,iHAGJ,kBAACZ,MAAAA,CAAIC,MAAO,CAAEC,QAAS,OAAQE,OAAQ,SACrC,kBAACc,EAAAA,cAAaA,CACZjB,MAAO,CAAEC,QAAS,OAAQiB,WAAY,UACtCC,kBAAkB,qBAClBC,MAAO,CAAEC,YAAa,GAAyBZ,OAAtBA,aAAAA,EAAAA,EAASK,UAAU,KAAqB,OAAlBL,aAAAA,EAAAA,EAASM,aAE1D,kBAAChB,MAAAA,CAAIC,MAAO,CAAEsB,MAAO,OAAQC,WAAY,aACvC,kBAAC3B,EAAAA,CACCC,MAAOc,EAAE,cAAe,gBACxBb,MAAO,GAAyBW,OAAtBA,aAAAA,EAAAA,EAASK,UAAU,KAAqB,OAAlBL,aAAAA,EAAAA,EAASM,YAE3C,kBAACnB,EAAAA,CACCC,MAAOc,EAAE,aAAc,eACvBb,MAAkC,QAA3BW,EAAAA,aAAAA,EAAAA,EAASe,gBAAgB,UAAE,WAA3Bf,EAAAA,EAA6BgB,uBAEtC,kBAAC7B,EAAAA,CAAYC,MAAOc,EAAE,MAAO,OAAQb,OAAO4B,EAAAA,EAAAA,KAAIjB,aAAAA,EAAAA,EAASkB,eACzD,kBAAC/B,EAAAA,CAAYC,MAAOc,EAAE,cAAe,iBAAkBb,OAAO8B,EAAAA,EAAAA,YAAW,IAAIC,KAAKpB,aAAAA,EAAAA,EAASkB,gBAC3F,kBAAC/B,EAAAA,CAAYC,MAAOc,EAAE,SAAU,UAAWb,OAAOgC,EAAAA,EAAAA,GAAWrB,aAAAA,EAAAA,EAASsB,UACtE,kBAACnC,EAAAA,CAAYC,MAAOc,EAAE,OAAQ,QAASb,MAAOW,aAAAA,EAAAA,EAASuB,eACvD,kBAACpC,EAAAA,CAAYC,MAAOc,EAAE,YAAa,cAAeb,MAAO,UAI/D,kBAACC,MAAAA,CAAIa,UAAU,qBACb,kBAACqB,EAAAA,IAAMA,CAACC,KAAK,YAAYC,QAAS5B,GAC/BI,EAAE,SAAU,WAEf,kBAACsB,EAAAA,IAAMA,CAACE,QAAS3B,GAAYG,EAAE,YAAa,gBAIpD,C","sources":["webpack://@kenyaemr/esm-patient-registration-app/./src/patient-verification/verification-modal/confirm-prompt.component.tsx"],"names":["PatientInfo","label","value","div","style","display","gridTemplateColumns","margin","span","minWidth","fontWeight","close","onConfirm","patient","useTranslation","t","className","h3","firstName","lastName","p","ExtensionSlot","alignItems","extensionSlotName","state","patientName","width","marginLeft","identifications","identificationNumber","age","dateOfBirth","formatDate","Date","capitalize","gender","clientNumber","Button","kind","onClick"],"sourceRoot":""}
@@ -1 +1 @@
1
- var _kenyaemr_esm_patient_registration_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,s,u,p,f,d,h,c,m={3158:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(255),t.e(762),t.e(268),t.e(325),t.e(816)]).then((()=>()=>t(5816)))},a=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),o=(e,r)=>{if(t.S){var n="default",a=t.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>a,init:()=>o})}},v={};function g(e){var r=v[e];if(void 0!==r)return r.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return m[e].call(t.exports,t,t.exports,g),t.loaded=!0,t.exports}g.m=m,g.c=v,g.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return g.d(r,{a:r}),r},g.d=(e,r)=>{for(var t in r)g.o(r,t)&&!g.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},g.f={},g.e=e=>Promise.all(Object.keys(g.f).reduce(((r,t)=>(g.f[t](e,r),r)),[])),g.u=e=>e+".js",g.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),g.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@kenyaemr/esm-patient-registration-app:",g.l=(t,n,a,o)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==a)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,g.nc&&i.setAttribute("nonce",g.nc),i.setAttribute("data-webpack",r+a),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var a=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},g.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},g.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{g.S={};var e={},r={};g.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];g.o(g.S,t)||(g.S[t]={});var o=g.S[t],i="@kenyaemr/esm-patient-registration-app",l=(e,r,t,n)=>{var a=o[e]=o[e]||{},l=a[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(a[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","5.4.1-pre.1638",(()=>Promise.all([g.e(130),g.e(268)]).then((()=>()=>g(130))))),l("dayjs","1.11.6",(()=>g.e(879).then((()=>()=>g(8879))))),l("react-i18next","11.18.6",(()=>Promise.all([g.e(268),g.e(481)]).then((()=>()=>g(9481))))),l("react-router-dom","6.4.3",(()=>Promise.all([g.e(591),g.e(268)]).then((()=>()=>g(6591))))),l("react","18.2.0",(()=>g.e(784).then((()=>()=>g(2784))))),l("swr/_internal","2.0.1",(()=>Promise.all([g.e(729),g.e(268)]).then((()=>()=>g(4729))))),l("swr/immutable","2.0.1",(()=>Promise.all([g.e(255),g.e(268),g.e(325),g.e(152)]).then((()=>()=>g(2303)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;g.g.importScripts&&(e=g.g.location+"");var r=g.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&!e;)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),g.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var a=e[n],o=(typeof a)[0];if(n>=r.length)return"u"==o;var i=r[n],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&a!=i)return a<i;n++}},a=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(l=e[o]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(o=1;o<e.length;o++){var l=e[o];i.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?i.pop()+" "+i.pop():a(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,r)=>{if(0 in e){r=t(r);var n=e[0],a=n<0;a&&(n=-n-1);for(var i=0,l=1,s=!0;;l++,i++){var u,p,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(p=(typeof(u=r[i]))[0]))return!s||("u"==f?l>n&&!a:""==f!=a);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(l<=n){if(u!=e[l])return!1}else{if(a?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=f&&"n"!=f){if(a||l<=n)return!1;s=!1,l--}else{if(l<=n||p<f!=a)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,l--)}}var d=[],h=d.pop.bind(d);for(i=1;i<e.length;i++){var c=e[i];d.push(1==c?h()|h():2==c?h()&h():c?o(c,r):!h())}return!!h()},i=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&n(e,r)?r:e),0)},l=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+a(n)+")",s=(e,r,t,n)=>{var a=i(e,t);return o(n,a)||u(l(e,t,a,n)),p(e[t][a])},u=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},p=e=>(e.loaded=1,e.get()),f=(e=>function(r,t,n,a){var o=g.I(r);return o&&o.then?o.then(e.bind(e,r,g.S[r],t,n,a)):e(0,g.S[r],t,n,a)})(((e,r,t,n,a)=>r&&g.o(r,t)?s(r,0,t,n):a())),d={},h={268:()=>f("default","react",[1,18],(()=>g.e(784).then((()=>()=>g(2784))))),3325:()=>f("default","swr/_internal",[1,2],(()=>g.e(729).then((()=>()=>g(4729))))),2870:()=>f("default","@openmrs/esm-framework",[1,5],(()=>g.e(130).then((()=>()=>g(130))))),3565:()=>f("default","dayjs",[1,1],(()=>g.e(879).then((()=>()=>g(8879))))),4924:()=>f("default","react-i18next",[1,11],(()=>g.e(676).then((()=>()=>g(9481))))),8744:()=>f("default","react-router-dom",[1,6],(()=>g.e(591).then((()=>()=>g(6591))))),9198:()=>f("default","swr/immutable",[1,2],(()=>g.e(303).then((()=>()=>g(2303)))))},c={268:[268],325:[3325],816:[2870,3565,4924,8744,9198]},g.f.consumes=(e,r)=>{g.o(c,e)&&c[e].forEach((e=>{if(g.o(d,e))return r.push(d[e]);var t=r=>{d[e]=0,g.m[e]=t=>{delete g.c[e],t.exports=r()}},n=r=>{delete d[e],g.m[e]=t=>{throw delete g.c[e],r}};try{var a=h[e]();a.then?r.push(d[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}))},(()=>{var e={884:0};g.f.j=(r,t)=>{var n=g.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(268|325)$/.test(r))e[r]=0;else{var a=new Promise(((t,a)=>n=e[r]=[t,a]));t.push(n[2]=a);var o=g.p+g.u(r),i=new Error;g.l(o,(t=>{if(g.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,i,l]=t,s=0;if(o.some((r=>0!==e[r]))){for(n in i)g.o(i,n)&&(g.m[n]=i[n]);l&&l(g)}for(r&&r(t);s<o.length;s++)a=o[s],g.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),g.nc=void 0;var y=g(3158);_kenyaemr_esm_patient_registration_app=y})();
1
+ var _kenyaemr_esm_patient_registration_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,s,u,p,f,d,h,c,m={2475:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(255),t.e(762),t.e(268),t.e(325),t.e(816)]).then((()=>()=>t(5816)))},a=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),o=(e,r)=>{if(t.S){var n="default",a=t.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>a,init:()=>o})}},v={};function g(e){var r=v[e];if(void 0!==r)return r.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return m[e].call(t.exports,t,t.exports,g),t.loaded=!0,t.exports}g.m=m,g.c=v,g.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return g.d(r,{a:r}),r},g.d=(e,r)=>{for(var t in r)g.o(r,t)&&!g.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},g.f={},g.e=e=>Promise.all(Object.keys(g.f).reduce(((r,t)=>(g.f[t](e,r),r)),[])),g.u=e=>e+".js",g.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),g.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@kenyaemr/esm-patient-registration-app:",g.l=(t,n,a,o)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==a)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,g.nc&&i.setAttribute("nonce",g.nc),i.setAttribute("data-webpack",r+a),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var a=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},g.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},g.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{g.S={};var e={},r={};g.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];g.o(g.S,t)||(g.S[t]={});var o=g.S[t],i="@kenyaemr/esm-patient-registration-app",l=(e,r,t,n)=>{var a=o[e]=o[e]||{},l=a[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(a[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","5.4.1-pre.1638",(()=>Promise.all([g.e(130),g.e(268)]).then((()=>()=>g(130))))),l("dayjs","1.11.6",(()=>g.e(879).then((()=>()=>g(8879))))),l("react-i18next","11.18.6",(()=>Promise.all([g.e(268),g.e(481)]).then((()=>()=>g(9481))))),l("react-router-dom","6.4.3",(()=>Promise.all([g.e(591),g.e(268)]).then((()=>()=>g(6591))))),l("react","18.2.0",(()=>g.e(784).then((()=>()=>g(2784))))),l("swr/_internal","2.0.1",(()=>Promise.all([g.e(729),g.e(268)]).then((()=>()=>g(4729))))),l("swr/immutable","2.0.1",(()=>Promise.all([g.e(255),g.e(268),g.e(325),g.e(152)]).then((()=>()=>g(2303)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;g.g.importScripts&&(e=g.g.location+"");var r=g.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&!e;)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),g.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var a=e[n],o=(typeof a)[0];if(n>=r.length)return"u"==o;var i=r[n],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&a!=i)return a<i;n++}},a=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(l=e[o]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(o=1;o<e.length;o++){var l=e[o];i.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?i.pop()+" "+i.pop():a(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,r)=>{if(0 in e){r=t(r);var n=e[0],a=n<0;a&&(n=-n-1);for(var i=0,l=1,s=!0;;l++,i++){var u,p,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(p=(typeof(u=r[i]))[0]))return!s||("u"==f?l>n&&!a:""==f!=a);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(l<=n){if(u!=e[l])return!1}else{if(a?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=f&&"n"!=f){if(a||l<=n)return!1;s=!1,l--}else{if(l<=n||p<f!=a)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,l--)}}var d=[],h=d.pop.bind(d);for(i=1;i<e.length;i++){var c=e[i];d.push(1==c?h()|h():2==c?h()&h():c?o(c,r):!h())}return!!h()},i=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&n(e,r)?r:e),0)},l=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+a(n)+")",s=(e,r,t,n)=>{var a=i(e,t);return o(n,a)||u(l(e,t,a,n)),p(e[t][a])},u=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},p=e=>(e.loaded=1,e.get()),f=(e=>function(r,t,n,a){var o=g.I(r);return o&&o.then?o.then(e.bind(e,r,g.S[r],t,n,a)):e(0,g.S[r],t,n,a)})(((e,r,t,n,a)=>r&&g.o(r,t)?s(r,0,t,n):a())),d={},h={268:()=>f("default","react",[1,18],(()=>g.e(784).then((()=>()=>g(2784))))),3325:()=>f("default","swr/_internal",[1,2],(()=>g.e(729).then((()=>()=>g(4729))))),2870:()=>f("default","@openmrs/esm-framework",[1,5],(()=>g.e(130).then((()=>()=>g(130))))),3565:()=>f("default","dayjs",[1,1],(()=>g.e(879).then((()=>()=>g(8879))))),4924:()=>f("default","react-i18next",[1,11],(()=>g.e(676).then((()=>()=>g(9481))))),8744:()=>f("default","react-router-dom",[1,6],(()=>g.e(591).then((()=>()=>g(6591))))),9198:()=>f("default","swr/immutable",[1,2],(()=>g.e(303).then((()=>()=>g(2303)))))},c={268:[268],325:[3325],816:[2870,3565,4924,8744,9198]},g.f.consumes=(e,r)=>{g.o(c,e)&&c[e].forEach((e=>{if(g.o(d,e))return r.push(d[e]);var t=r=>{d[e]=0,g.m[e]=t=>{delete g.c[e],t.exports=r()}},n=r=>{delete d[e],g.m[e]=t=>{throw delete g.c[e],r}};try{var a=h[e]();a.then?r.push(d[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}))},(()=>{var e={884:0};g.f.j=(r,t)=>{var n=g.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(268|325)$/.test(r))e[r]=0;else{var a=new Promise(((t,a)=>n=e[r]=[t,a]));t.push(n[2]=a);var o=g.p+g.u(r),i=new Error;g.l(o,(t=>{if(g.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,i,l]=t,s=0;if(o.some((r=>0!==e[r]))){for(n in i)g.o(i,n)&&(g.m[n]=i[n]);l&&l(g)}for(r&&r(t);s<o.length;s++)a=o[s],g.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),g.nc=void 0;var y=g(2475);_kenyaemr_esm_patient_registration_app=y})();
@@ -5,9 +5,9 @@
5
5
  "initial": false,
6
6
  "entry": false,
7
7
  "recorded": false,
8
- "size": 4071,
8
+ "size": 4092,
9
9
  "sizes": {
10
- "javascript": 4071
10
+ "javascript": 4092
11
11
  },
12
12
  "names": [],
13
13
  "idHints": [],
@@ -21,7 +21,7 @@
21
21
  "auxiliaryFiles": [
22
22
  "59.js.map"
23
23
  ],
24
- "hash": "f0520ab4bc7ec4aa",
24
+ "hash": "2bccbe43f1b59703",
25
25
  "childrenByOrder": {}
26
26
  },
27
27
  {
@@ -48,7 +48,7 @@
48
48
  "auxiliaryFiles": [
49
49
  "130.js.map"
50
50
  ],
51
- "hash": "9dbfe02fe6286a94",
51
+ "hash": "143d634530ef98cf",
52
52
  "childrenByOrder": {}
53
53
  },
54
54
  {
@@ -100,7 +100,7 @@
100
100
  "auxiliaryFiles": [
101
101
  "main.js.map"
102
102
  ],
103
- "hash": "993097aeff07a0e5",
103
+ "hash": "b5736a56d54dbdae",
104
104
  "childrenByOrder": {}
105
105
  },
106
106
  {
@@ -148,7 +148,7 @@
148
148
  ],
149
149
  "files": [],
150
150
  "auxiliaryFiles": [],
151
- "hash": "233a17bdb1100c9b",
151
+ "hash": "b74b5d117b031153",
152
152
  "childrenByOrder": {}
153
153
  },
154
154
  {
@@ -237,7 +237,7 @@
237
237
  ],
238
238
  "files": [],
239
239
  "auxiliaryFiles": [],
240
- "hash": "476359042a768c25",
240
+ "hash": "0b2ea30abf13a431",
241
241
  "childrenByOrder": {}
242
242
  },
243
243
  {
@@ -261,7 +261,7 @@
261
261
  "auxiliaryFiles": [
262
262
  "330.js.map"
263
263
  ],
264
- "hash": "d94bb5013373483b",
264
+ "hash": "333dab4c3f0ddf16",
265
265
  "childrenByOrder": {}
266
266
  },
267
267
  {
@@ -331,7 +331,7 @@
331
331
  "auxiliaryFiles": [
332
332
  "537.js.map"
333
333
  ],
334
- "hash": "373e741a95eb8a91",
334
+ "hash": "9cf315954f873d55",
335
335
  "childrenByOrder": {}
336
336
  },
337
337
  {
@@ -339,9 +339,9 @@
339
339
  "initial": false,
340
340
  "entry": false,
341
341
  "recorded": false,
342
- "size": 5394,
342
+ "size": 5407,
343
343
  "sizes": {
344
- "javascript": 5394
344
+ "javascript": 5407
345
345
  },
346
346
  "names": [],
347
347
  "idHints": [],
@@ -353,7 +353,7 @@
353
353
  "574.js"
354
354
  ],
355
355
  "auxiliaryFiles": [],
356
- "hash": "b8a1f8ef7236f16d",
356
+ "hash": "9f7a8238e5973c96",
357
357
  "childrenByOrder": {}
358
358
  },
359
359
  {
@@ -477,7 +477,7 @@
477
477
  "auxiliaryFiles": [
478
478
  "735.js.map"
479
479
  ],
480
- "hash": "1baea568fabd6065",
480
+ "hash": "da5d086dd43466ef",
481
481
  "childrenByOrder": {}
482
482
  },
483
483
  {
@@ -617,7 +617,7 @@
617
617
  "auxiliaryFiles": [
618
618
  "816.js.map"
619
619
  ],
620
- "hash": "bf1e55c8484c16a2",
620
+ "hash": "e43acf502089f024",
621
621
  "childrenByOrder": {}
622
622
  },
623
623
  {
@@ -690,7 +690,7 @@
690
690
  "auxiliaryFiles": [
691
691
  "kenyaemr-esm-patient-registration-app.js.map"
692
692
  ],
693
- "hash": "4e711931399a8a91",
693
+ "hash": "2470fa537e20b6fb",
694
694
  "childrenByOrder": {}
695
695
  }
696
696
  ]
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.24.0"},"pages":[{"component":"root","route":"patient-registration","online":true,"offline":true},{"component":"editPatient","routeRegex":"patient\\/([a-zA-Z0-9\\-]+)\\/edit","online":true,"offline":true}],"extensions":[{"component":"addPatientLink","name":"add-patient-action","slot":"top-nav-actions-slot","online":true,"offline":true},{"component":"cancelPatientEditModal","name":"cancel-patient-edit-modal","online":true,"offline":true},{"component":"patientPhotoExtension","name":"patient-photo-widget","slot":"patient-photo-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-actions-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-search-actions-slot","online":true,"offline":true},{"component":"deleteIdentifierConfirmationModal","name":"delete-identifier-confirmation-modal","online":true,"offline":true},{"component":"emptyClientRegistryModal","name":"empty-client-registry-modal","online":true,"offline":true},{"component":"confirmClientRegistryModal","name":"confirm-client-registry-modal","online":true,"offline":true}],"version":"6.0.1-pre.1.0.2"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.24.0"},"pages":[{"component":"root","route":"patient-registration","online":true,"offline":true},{"component":"editPatient","routeRegex":"patient\\/([a-zA-Z0-9\\-]+)\\/edit","online":true,"offline":true}],"extensions":[{"component":"addPatientLink","name":"add-patient-action","slot":"top-nav-actions-slot","online":true,"offline":true},{"component":"cancelPatientEditModal","name":"cancel-patient-edit-modal","online":true,"offline":true},{"component":"patientPhotoExtension","name":"patient-photo-widget","slot":"patient-photo-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-actions-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-search-actions-slot","online":true,"offline":true},{"component":"deleteIdentifierConfirmationModal","name":"delete-identifier-confirmation-modal","online":true,"offline":true},{"component":"emptyClientRegistryModal","name":"empty-client-registry-modal","online":true,"offline":true},{"component":"confirmClientRegistryModal","name":"confirm-client-registry-modal","online":true,"offline":true}],"version":"6.0.1-pre.1.0.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenyaemr/esm-patient-registration-app",
3
- "version": "6.0.1-pre.1.0.2",
3
+ "version": "6.0.1-pre.1.0.4",
4
4
  "description": "Patient registration microfrontend for the OpenMRS SPA",
5
5
  "browser": "dist/kenyaemr-esm-patient-registration-app.js",
6
6
  "main": "src/index.ts",
@@ -54,8 +54,8 @@ const ConfirmPrompt: React.FC<ConfirmPromptProps> = ({ close, onConfirm, patient
54
54
  <PatientInfo label={t('age', 'Age')} value={age(patient?.dateOfBirth)} />
55
55
  <PatientInfo label={t('dateOfBirth', 'Date of birth')} value={formatDate(new Date(patient?.dateOfBirth))} />
56
56
  <PatientInfo label={t('gender', 'Gender')} value={capitalize(patient?.gender)} />
57
- <PatientInfo label={t('NUPI')} value={patient?.clientNumber} />
58
- <PatientInfo label={t('SHA Number')} value={'--'} />
57
+ <PatientInfo label={t('nupi', 'NUPI')} value={patient?.clientNumber} />
58
+ <PatientInfo label={t('shaNumber', 'SHA Number')} value={'--'} />
59
59
  </div>
60
60
  </div>
61
61
  </div>
@@ -65,7 +65,7 @@
65
65
  "negativeYears": "Negative years",
66
66
  "no": "No",
67
67
  "numberInNameDubious": "Number in name is dubious",
68
- "NUPI": "",
68
+ "nupi": "NUPI",
69
69
  "obsFieldUnknownDatatype": "Concept for obs field '{{fieldDefinitionId}}' has unknown datatype '{{datatypeName}}'",
70
70
  "optional": "optional",
71
71
  "other": "Other",
@@ -97,7 +97,7 @@
97
97
  "selectCountry": "Select country",
98
98
  "selectIdentifierType": "Select identifier type",
99
99
  "sexFieldLabelText": "Sex",
100
- "SHA Number": "",
100
+ "shaNumber": "SHA Number",
101
101
  "source": "Source",
102
102
  "stroke": "Stroke",
103
103
  "submitting": "Submitting",