@ampath/esm-patient-registration-app 6.0.1-pre.17 → 6.0.1-pre.170
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/.turbo/turbo-build.log +20 -20
- package/dist/132.js +1 -1
- package/dist/197.js +1 -1
- package/dist/236.js +1 -1
- package/dist/300.js +1 -1
- package/dist/335.js +1 -1
- package/dist/41.js +1 -1
- package/dist/41.js.map +1 -1
- package/dist/449.js +1 -0
- package/dist/449.js.map +1 -0
- package/dist/55.js +1 -1
- package/dist/56.js +1 -1
- package/dist/56.js.map +1 -1
- package/dist/621.js +1 -0
- package/dist/621.js.map +1 -0
- package/dist/629.js +2 -0
- package/dist/629.js.LICENSE.txt +24 -0
- package/dist/629.js.map +1 -0
- package/dist/652.js +1 -1
- package/dist/661.js +1 -1
- package/dist/757.js +1 -0
- package/dist/757.js.map +1 -0
- package/dist/828.js +1 -0
- package/dist/828.js.map +1 -0
- package/dist/830.js +1 -0
- package/dist/830.js.map +1 -0
- package/dist/831.js +1 -1
- package/dist/831.js.map +1 -1
- package/dist/879.js +1 -1
- package/dist/913.js +1 -1
- package/dist/913.js.LICENSE.txt +3 -3
- package/dist/913.js.map +1 -1
- package/dist/927.js +1 -0
- package/dist/927.js.map +1 -0
- package/dist/99.js +1 -1
- package/dist/ampath-esm-patient-registration-app.js +1 -1
- package/dist/ampath-esm-patient-registration-app.js.buildmanifest.json +183 -111
- package/dist/ampath-esm-patient-registration-app.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.LICENSE.txt +0 -32
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +7 -10
- package/src/config-schema.ts +19 -10
- package/src/index.ts +11 -4
- package/src/offline.resources.ts +13 -18
- package/src/offline.ts +6 -4
- package/src/patient-photo.extension.tsx +9 -0
- package/src/patient-registration/field/address/custom-address-field.component.tsx +1 -0
- package/src/patient-registration/field/custom-field.component.tsx +6 -0
- package/src/patient-registration/field/dob/dob.component.tsx +17 -14
- package/src/patient-registration/field/field.resource.ts +3 -3
- package/src/patient-registration/field/person-attributes/coded-person-attribute-field.component.tsx +4 -0
- package/src/patient-registration/field/person-attributes/custom-person-attribute-field.component.tsx +56 -0
- package/src/patient-registration/field/person-attributes/person-attribute-field.component.tsx +22 -7
- package/src/patient-registration/field/person-attributes/person-attributes.resource.ts +2 -2
- package/src/patient-registration/field/phone/phone-field.component.tsx +1 -0
- package/src/patient-registration/form-manager.ts +13 -6
- package/src/patient-registration/patient-registration-hooks.ts +133 -9
- package/src/patient-registration/patient-registration.component.tsx +55 -13
- package/src/patient-registration/{patient-registration.resource.test.tsx → patient-registration.resource.testt.tsx} +4 -4
- package/src/patient-registration/patient-registration.resource.ts +15 -75
- package/src/patient-registration/patient-registration.scss +0 -8
- package/src/patient-registration/patient-registration.types.ts +7 -1
- package/src/patient-registration/section/patient-relationships/relationships-section.component.tsx +5 -1
- package/src/patient-registration/section/patient-relationships/relationships.resource.tsx +2 -2
- package/src/patient-verification/assets/counties.json +236 -0
- package/src/patient-verification/assets/verification-assets.ts +11 -0
- package/src/patient-verification/patient-verification-hook.tsx +176 -0
- package/src/patient-verification/patient-verification-utils.ts +179 -0
- package/src/patient-verification/patient-verification.component.tsx +124 -0
- package/src/patient-verification/patient-verification.scss +25 -0
- package/src/patient-verification/verification-modal/confirm-prompt.component.tsx +72 -0
- package/src/patient-verification/verification-modal/empty-prompt.component.tsx +35 -0
- package/src/patient-verification/verification-types.ts +50 -0
- package/src/routes.json +12 -3
- package/translations/am.json +26 -12
- package/translations/ar.json +26 -12
- package/translations/en.json +18 -4
- package/translations/es.json +10 -0
- package/translations/fr.json +6 -0
- package/translations/he.json +18 -0
- package/translations/km.json +18 -0
- package/translations/zh.json +30 -22
- package/translations/zh_CN.json +30 -22
- package/dist/229.js +0 -2
- package/dist/229.js.LICENSE.txt +0 -56
- package/dist/229.js.map +0 -1
- package/dist/537.js +0 -1
- package/dist/537.js.map +0 -1
- package/dist/885.js +0 -1
- package/dist/885.js.map +0 -1
- package/dist/918.js +0 -1
- package/dist/918.js.map +0 -1
- package/src/patient-registration/field/address/tests/address-hierarchy.test.tsx +0 -214
- package/src/patient-registration/field/address/tests/address-search-component.test.tsx +0 -135
- package/src/patient-registration/field/dob/dob.test.tsx +0 -75
- package/src/patient-registration/field/field.test.tsx +0 -294
- package/src/patient-registration/field/id/id-field.test.tsx +0 -107
- package/src/patient-registration/field/person-attributes/coded-attributes.component.tsx +0 -60
- package/src/patient-registration/field/person-attributes/coded-person-attribute-field.test.tsx +0 -127
- package/src/patient-registration/field/person-attributes/person-attribute-field.test.tsx +0 -187
- package/src/patient-registration/field/person-attributes/text-person-attribute-field.test.tsx +0 -88
- package/src/patient-registration/form-manager.test.ts +0 -67
- package/src/patient-registration/input/basic-input/select/select-input.test.tsx +0 -49
- package/src/patient-registration/input/custom-input/autosuggest/autosuggest.test.tsx +0 -132
- package/src/patient-registration/input/custom-input/identifier/identifier-input.test.tsx +0 -107
- package/src/patient-registration/patient-registration.test.tsx +0 -471
- package/src/patient-registration/section/death-info/death-info-section.test.tsx +0 -64
- package/src/patient-registration/section/demographics/demographics-section.test.tsx +0 -83
- package/src/patient-registration/section/patient-relationships/relationships-section.test.tsx +0 -100
- package/src/patient-verification/client-registry-constants.ts +0 -13
- package/src/patient-verification/client-registry.component.tsx +0 -66
- package/src/patient-verification/client-registry.scss +0 -1
- package/src/patient-verification/utils.tsx +0 -56
- package/src/patient-verification/verification-modal.scss +0 -20
- package/src/patient-verification/verification.component.tsx +0 -48
- package/src/root.test.tsx +0 -32
- package/src/widgets/cancel-patient-edit.test.tsx +0 -27
- package/src/widgets/display-photo.component.tsx +0 -30
- package/src/widgets/display-photo.test.tsx +0 -37
- package/src/widgets/edit-patient-details-button.test.tsx +0 -41
- /package/src/patient-registration/input/custom-input/identifier/{utils.test.ts → utils.testt.ts} +0 -0
- /package/src/widgets/{delete-identifier-confirmation-modal.test.tsx → delete-identifier-confirmation-modal.testt.tsx} +0 -0
package/dist/927.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[927],{2474:(t,e,r)=>{function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,{A:()=>n})},414:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(8515);function o(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(0,n.A)(o.key),o)}}function i(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}},1087:(t,e,r)=>{function n(t,e){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},n(t,e)}r.d(e,{A:()=>n})},8515:(t,e,r)=>{r.d(e,{A:()=>o});var n=r(7545);function o(t){var e=function(t,e){if("object"!=(0,n.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,"string");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,n.A)(e)?e:e+""}},7545:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{A:()=>n})}}]);
|
package/dist/927.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"927.js","mappings":"uKAAA,SAASA,EAAuBC,GAC9B,QAAI,IAAWA,EAAG,MAAM,IAAIC,eAAe,6DAC3C,OAAOD,CACT,C,+DCFA,SAASE,EAAkBF,EAAGG,GAC5B,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAEE,OAAQD,IAAK,CACjC,IAAIE,EAAIH,EAAEC,GACVE,EAAEC,WAAaD,EAAEC,aAAc,EAAID,EAAEE,cAAe,EAAI,UAAWF,IAAMA,EAAEG,UAAW,GAAKC,OAAOC,eAAeX,GAAG,OAAcM,EAAEM,KAAMN,EAC5I,CACF,CACA,SAASO,EAAab,EAAGG,EAAGC,GAC1B,OAAOD,GAAKD,EAAkBF,EAAEc,UAAWX,GAAIC,GAAKF,EAAkBF,EAAGI,GAAIM,OAAOC,eAAeX,EAAG,YAAa,CACjHS,UAAU,IACRT,CACN,C,iBCXA,SAASe,EAAgBX,EAAGJ,GAC1B,OAAOe,EAAkBL,OAAOM,eAAiBN,OAAOM,eAAeC,OAAS,SAAUb,EAAGJ,GAC3F,OAAOI,EAAEc,UAAYlB,EAAGI,CAC1B,EAAGW,EAAgBX,EAAGJ,EACxB,C,gECFA,SAASmB,EAAcf,GACrB,IAAIgB,ECFN,SAAqBhB,EAAGD,GACtB,GAAI,WAAY,OAAQC,KAAOA,EAAG,OAAOA,EACzC,IAAIJ,EAAII,EAAEiB,OAAOC,aACjB,QAAI,IAAWtB,EAAG,CAChB,IAAIoB,EAAIpB,EAAEuB,KAAKnB,EAAGD,UAClB,GAAI,WAAY,OAAQiB,GAAI,OAAOA,EACnC,MAAM,IAAII,UAAU,+CACtB,CACA,OAAyBC,OAAiBrB,EAC5C,CDPUkB,CAAYlB,GACpB,MAAO,WAAY,OAAQgB,GAAKA,EAAIA,EAAI,EAC1C,C,iBELA,SAASM,EAAQpB,GAGf,OAAOoB,EAAU,mBAAqBL,QAAU,iBAAmBA,OAAOM,SAAW,SAAUrB,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAK,mBAAqBe,QAAUf,EAAEsB,cAAgBP,QAAUf,IAAMe,OAAOP,UAAY,gBAAkBR,CACpH,EAAGoB,EAAQpB,EACb,C","sources":["webpack://@ampath/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"names":["_assertThisInitialized","e","ReferenceError","_defineProperties","r","t","length","o","enumerable","configurable","writable","Object","defineProperty","key","_createClass","prototype","_setPrototypeOf","setPrototypeOf","bind","__proto__","toPropertyKey","i","Symbol","toPrimitive","call","TypeError","String","_typeof","iterator","constructor"],"sourceRoot":""}
|
package/dist/99.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[99],{3099:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"Agregar relación","addressHeader":"Dirección","allFieldsRequiredText":"Todos los campos son obligatorios a menos que se indique como opcionales","autoGeneratedPlaceholderText":"Autogenerado","birthdayNotInTheFuture":"Cumpleaños no puede ser en el futuro","birthdayRequired":"Cumpleaños es obligatorio","birthFieldLabelText":"Nacimiento","cancel":"Cancelar","causeOfDeathInputLabel":"Causa de defunción","closeOverlay":"Cerrar superposición","codedPersonAttributeAnswerSetEmpty":"El campo de atributo de persona codificado \'{{codedPersonAttributeFieldId}}\' se ha definido con un conjunto de conceptos de respuesta UUID \'{{answerConceptSetUuid}}\' que no tiene respuestas de concepto.","codedPersonAttributeAnswerSetInvalid":"El campo de atributo de persona codificado \'{{codedPersonAttributeFieldId}}\' se ha definido con un UUID de conjunto de conceptos de respuesta no válido \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"El campo de atributo de persona \'{{codedPersonAttributeFieldId}}\' es de tipo \'codificado\' pero se ha definido sin UUID de conjunto de conceptos de respuesta. La clave \'answerConceptSetUuid\' es requerida.","configure":"Configurar","configureIdentifiers":"Configurar identificadores","contactSection":"Detalles de Contacto","createNew":"Crear Nuevo/a","dateOfBirthLabelText":"Fecha de Nacimiento","deathDateInputLabel":"Fecha de fallecimiento","deathdayNotInTheFuture":"El día de la muerte no puede ser en el futuro","deathSection":"Información de Fallecimiento","deleteIdentifierTooltip":"Eliminar","deleteRelationshipTooltipText":"Eliminar","demographicsSection":"Información Básica","discard":"Descartar","discardModalBody":"Los cambios realizados en los datos de este paciente no se han guardado. ¿Descartar cambios?","discardModalHeader":"Confirmar descarte de cambios","dobToggleLabelText":"¿Se conoce la fecha de nacimiento?","edit":"Editar","editIdentifierTooltip":"Editar","editPatientDetails":"Modificar los datos del paciente","editPatientDetailsBreadcrumb":"Editar detalles del paciente","error":"Error","errorFetchingOrderedFields":"Ocurrió un error al obtener campos ordenados para la jerarquía de direcciones","estimatedAgeInMonthsLabelText":"Edad estimada en meses","estimatedAgeInYearsLabelText":"Edad estimada en años","familyNameLabelText":"Apellidos","familyNameRequired":"Apellidos es obligatorio","female":"Femenino","fullNameLabelText":"Nombre y Apellidos","genderLabelText":"Sexo","genderRequired":"El sexo es obligatorio","genderUnspecified":"Género no especificado","givenNameLabelText":"Nombre","givenNameRequired":"El nombre es obligatorio","identifierValueRequired":"El valor del identificador es obligatorio","idFieldLabelText":"Identificadores","IDInstructions":"Selecciona los identificadores que te gustaría agregar para este paciente:","incompleteForm":"Formulario incompleto","invalidEmail":"Debe indicar un email válido","invalidInput":"Entrada no válida","isDeadInputLabel":"Está muerto","jumpTo":"Ir a","male":"Masculino","middleNameLabelText":"Segundo Nombre","negativeMonths":"Meses negativos","negativeYears":"Años negativos","no":"No","numberInNameDubious":"Número en nombre es dudoso","obsFieldUnknownDatatype":"El concepto para el campo de observación \'{{fieldDefinitionId}}\' tiene un tipo de datos desconocido \'{{datatypeName}}\'","optional":"Opcional","other":"Otro","patient":"Paciente","patientNameKnown":"¿Se sabe el nombre del paciente?","patientRegistrationBreadcrumb":"Registro de Pacientes","registerPatient":"Registrar paciente","registerPatientSuccessSnackbarSubtitle":"El paciente ahora se puede encontrar buscándolo por su nombre o número de identificación","registerPatientSuccessSnackbarTitle":"Nuevo paciente creado","registrationErrorSnackbarTitle":"Error en el registro del paciente","relationship":"Relación","relationshipPersonMustExist":"La persona relacionada debe ser una persona existente","relationshipPlaceholder":"Relación","relationshipRemovedText":"Relación eliminada","relationshipsSection":"Relaciones","relationshipToPatient":"Relación con el paciente","relativeFullNameLabelText":"Nombre y Apellidos","relativeNamePlaceholder":"Nombre Apellido","resetIdentifierTooltip":"Resetear","restoreRelationshipActionButton":"Deshacer","searchAddress":"Buscar dirección","searchIdentifierPlaceholder":"Buscar identificador","selectAnOption":"Seleccionar una opción","sexFieldLabelText":"Sexo","source":"Fuente","stroke":"Ictus","submitting":"Enviando","unableToFetch":"No se puede obtener el tipo de atributo de persona {{personattributetype}}","unknown":"Desconocido","unknownPatientAttributeType":"El tipo de atributo del paciente tiene un formato desconocido {{personAttributeTypeFormat}}","updatePatient":"Paciente Actualizado","updatePatientErrorSnackbarTitle":"Error al actualizar los detalles del paciente","updatePatientSuccessSnackbarSubtitle":"La información del paciente se ha actualizado correctamente","updatePatientSuccessSnackbarTitle":"Detalles del paciente actualizados","yearsEstimateRequired":"Estimación de años obligatoria","yes":"Sí"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[99],{3099:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"Agregar relación","addressHeader":"Dirección","age":"Age","allFieldsRequiredText":"Todos los campos son obligatorios a menos que se indique como opcionales","autoGeneratedPlaceholderText":"Autogenerado","birthdayNotInTheFuture":"Cumpleaños no puede ser en el futuro","birthdayRequired":"Cumpleaños es obligatorio","birthFieldLabelText":"Nacimiento","cancel":"Cancelar","causeOfDeathInputLabel":"Causa de defunción","closeOverlay":"Cerrar superposición","codedPersonAttributeAnswerSetEmpty":"El campo de atributo de persona codificado \'{{codedPersonAttributeFieldId}}\' se ha definido con un conjunto de conceptos de respuesta UUID \'{{answerConceptSetUuid}}\' que no tiene respuestas de concepto.","codedPersonAttributeAnswerSetInvalid":"El campo de atributo de persona codificado \'{{codedPersonAttributeFieldId}}\' se ha definido con un UUID de conjunto de conceptos de respuesta no válido \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"El campo de atributo de persona \'{{codedPersonAttributeFieldId}}\' es de tipo \'codificado\' pero se ha definido sin UUID de conjunto de conceptos de respuesta. La clave \'answerConceptSetUuid\' es requerida.","configure":"Configurar","configureIdentifiers":"Configurar identificadores","contactSection":"Detalles de Contacto","continue":"Continue to registration","createNew":"Crear Nuevo/a","dateOfBirth":"Date of birth","dateOfBirthLabelText":"Fecha de Nacimiento","deathDateInputLabel":"Fecha de fallecimiento","deathdayNotInTheFuture":"El día de la muerte no puede ser en el futuro","deathSection":"Información de Fallecimiento","deleteIdentifierTooltip":"Eliminar","deleteRelationshipTooltipText":"Eliminar","demographicsSection":"Información Básica","discard":"Descartar","discardModalBody":"Los cambios realizados en los datos de este paciente no se han guardado. ¿Descartar cambios?","discardModalHeader":"Confirmar descarte de cambios","dobToggleLabelText":"¿Se conoce la fecha de nacimiento?","edit":"Editar","editIdentifierTooltip":"Editar","editPatientDetails":"Modificar los datos del paciente","editPatientDetailsBreadcrumb":"Editar detalles del paciente","error":"Error","errorFetchingOrderedFields":"Ocurrió un error al obtener campos ordenados para la jerarquía de direcciones","estimatedAgeInMonthsLabelText":"Edad estimada en meses","estimatedAgeInYearsLabelText":"Edad estimada en años","familyNameLabelText":"Apellidos","familyNameRequired":"Apellidos es obligatorio","female":"Femenino","fullNameLabelText":"Nombre y Apellidos","gender":"Gender","genderLabelText":"Sexo","genderRequired":"El sexo es obligatorio","genderUnspecified":"Género no especificado","givenNameLabelText":"Nombre","givenNameRequired":"El nombre es obligatorio","identifierValueRequired":"El valor del identificador es obligatorio","idFieldLabelText":"Identificadores","IDInstructions":"Selecciona los identificadores que te gustaría agregar para este paciente:","incompleteForm":"Formulario incompleto","invalidEmail":"Debe indicar un email válido","invalidInput":"Entrada no válida","isDeadInputLabel":"Está muerto","jumpTo":"Ir a","male":"Masculino","middleNameLabelText":"Segundo Nombre","nascopNumber":"Nascop facility no","nationalId":"National ID","negativeMonths":"Meses negativos","negativeYears":"Años negativos","no":"No","numberInNameDubious":"Número en nombre es dudoso","obsFieldUnknownDatatype":"El concepto para el campo de observación \'{{fieldDefinitionId}}\' tiene un tipo de datos desconocido \'{{datatypeName}}\'","optional":"Opcional","other":"Otro","patient":"Paciente","patientDetailsFound":"Patient information found in the registry, do you want to use the information to continue with registration?","patientName":"Patient name","patientNameKnown":"¿Se sabe el nombre del paciente?","patientRegistrationBreadcrumb":"Registro de Pacientes","registerPatient":"Registrar paciente","registerPatientSuccessSnackbarSubtitle":"El paciente ahora se puede encontrar buscándolo por su nombre o número de identificación","registerPatientSuccessSnackbarTitle":"Nuevo paciente creado","registrationErrorSnackbarTitle":"Error en el registro del paciente","relationship":"Relación","relationshipPersonMustExist":"La persona relacionada debe ser una persona existente","relationshipPlaceholder":"Relación","relationshipRemovedText":"Relación eliminada","relationshipsSection":"Relaciones","relationshipToPatient":"Relación con el paciente","relativeFullNameLabelText":"Nombre y Apellidos","relativeNamePlaceholder":"Nombre Apellido","resetIdentifierTooltip":"Resetear","restoreRelationshipActionButton":"Deshacer","searchAddress":"Buscar dirección","searchIdentifierPlaceholder":"Buscar identificador","selectAnOption":"Seleccionar una opción","selectCountry":"Select country","selectIdentifierType":"Select identifier type","sexFieldLabelText":"Sexo","source":"Fuente","stroke":"Ictus","submitting":"Enviando","unableToFetch":"No se puede obtener el tipo de atributo de persona {{personattributetype}}","unknown":"Desconocido","unknownPatientAttributeType":"El tipo de atributo del paciente tiene un formato desconocido {{personAttributeTypeFormat}}","updatePatient":"Paciente Actualizado","updatePatientErrorSnackbarTitle":"Error al actualizar los detalles del paciente","updatePatientSuccessSnackbarSubtitle":"La información del paciente se ha actualizado correctamente","updatePatientSuccessSnackbarTitle":"Detalles del paciente actualizados","yearsEstimateRequired":"Estimación de años obligatoria","yes":"Sí"}')}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _ampath_esm_patient_registration_app;(()=>{"use strict";var e,t,r,n,a,o,i,l,u,s,f,p,d,h,c,m,v,g,b={800:(e,t,r)=>{var n={"./start":()=>Promise.all([r.e(
|
|
1
|
+
var _ampath_esm_patient_registration_app;(()=>{"use strict";var e,t,r,n,a,o,i,l,u,s,f,p,d,h,c,m,v,g,b={800:(e,t,r)=>{var n={"./start":()=>Promise.all([r.e(629),r.e(343),r.e(434),r.e(621)]).then((()=>()=>r(1621)))},a=(e,t)=>(r.R=t,t=r.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,t),o=(e,t)=>{if(r.S){var n="default",a=r.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[n]=e,r.I(n,t)}};r.d(t,{get:()=>a,init:()=>o})}},y={};function _(e){var t=y[e];if(void 0!==t)return t.exports;var r=y[e]={id:e,loaded:!1,exports:{}};return b[e].call(r.exports,r,r.exports,_),r.loaded=!0,r.exports}_.m=b,_.c=y,_.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return _.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,_.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);_.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&n&&r;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>o[e]=()=>r[e]));return o.default=()=>r,_.d(a,o),a},_.d=(e,t)=>{for(var r in t)_.o(t,r)&&!_.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},_.f={},_.e=e=>Promise.all(Object.keys(_.f).reduce(((t,r)=>(_.f[r](e,t),t)),[])),_.u=e=>e+".js",_.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),_.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@ampath/esm-patient-registration-app:",_.l=(e,t,a,o)=>{if(r[e])r[e].push(t);else{var i,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var f=u[s];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+a){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,_.nc&&i.setAttribute("nonce",_.nc),i.setAttribute("data-webpack",n+a),i.src=e),r[e]=[t];var p=(t,n)=>{i.onerror=i.onload=null,clearTimeout(d);var a=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((e=>e(n))),t)return t(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},_.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},_.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{_.S={};var e={},t={};_.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];_.o(_.S,r)||(_.S[r]={});var o=_.S[r],i="@ampath/esm-patient-registration-app",l=(e,t,r,n)=>{var a=o[e]=o[e]||{},l=a[t];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(a[t]={get:r,from:i,eager:!!n})},u=[];return"default"===r&&(l("@openmrs/esm-framework","5.6.1-pre.1920",(()=>Promise.all([_.e(831),_.e(343),_.e(927)]).then((()=>()=>_(831))))),l("dayjs","1.11.11",(()=>_.e(464).then((()=>()=>_(3464))))),l("react-i18next","11.18.6",(()=>Promise.all([_.e(343),_.e(449)]).then((()=>()=>_(7449))))),l("react-router-dom","6.23.1",(()=>Promise.all([_.e(913),_.e(343)]).then((()=>()=>_(2913))))),l("react","18.3.1",(()=>_.e(41).then((()=>()=>_(4041))))),l("swr/_internal","2.2.5",(()=>Promise.all([_.e(372),_.e(343)]).then((()=>()=>_(2372))))),l("swr/immutable","2.2.5",(()=>Promise.all([_.e(343),_.e(434),_.e(876)]).then((()=>()=>_(9876)))))),e[r]=u.length?Promise.all(u).then((()=>e[r]=1)):1}}})(),(()=>{var e;_.g.importScripts&&(e=_.g.location+"");var t=_.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),_.p=e})(),a=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},o=(e,t)=>{e=a(e),t=a(t);for(var r=0;;){if(r>=e.length)return r<t.length&&"u"!=(typeof t[r])[0];var n=e[r],o=(typeof n)[0];if(r>=t.length)return"u"==o;var i=t[r],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&n!=i)return n<i;r++}},i=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,r+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return r}var o=[];for(a=1;a<e.length;a++){var l=e[a];o.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?o.pop()+" "+o.pop():i(l))}return u();function u(){return o.pop().replace(/^\((.+)\)$/,"$1")}},l=(e,t)=>{if(0 in e){t=a(t);var r=e[0],n=r<0;n&&(r=-r-1);for(var o=0,i=1,u=!0;;i++,o++){var s,f,p=i<e.length?(typeof e[i])[0]:"";if(o>=t.length||"o"==(f=(typeof(s=t[o]))[0]))return!u||("u"==p?i>r&&!n:""==p!=n);if("u"==f){if(!u||"u"!=p)return!1}else if(u)if(p==f)if(i<=r){if(s!=e[i])return!1}else{if(n?s>e[i]:s<e[i])return!1;s!=e[i]&&(u=!1)}else if("s"!=p&&"n"!=p){if(n||i<=r)return!1;u=!1,i--}else{if(i<=r||f<p!=n)return!1;u=!1}else"s"!=p&&"n"!=p&&(u=!1,i--)}}var d=[],h=d.pop.bind(d);for(o=1;o<e.length;o++){var c=e[o];d.push(1==c?h()|h():2==c?h()&h():c?l(c,t):!h())}return!!h()},u=(e,t)=>{var r=e[t];return Object.keys(r).reduce(((e,t)=>!e||!r[e].loaded&&o(e,t)?t:e),0)},s=(e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+i(n)+")",f=(e,t,r,n)=>{var a=u(e,r);return l(n,a)||p(s(e,r,a,n)),d(e[r][a])},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},d=e=>(e.loaded=1,e.get()),h=(e=>function(t,r,n,a){var o=_.I(t);return o&&o.then?o.then(e.bind(e,t,_.S[t],r,n,a)):e(0,_.S[t],r,n,a)})(((e,t,r,n,a)=>t&&_.o(t,r)?f(t,0,r,n):a())),c={},m={1343:()=>h("default","react",[1,18],(()=>_.e(41).then((()=>()=>_(4041))))),5434:()=>h("default","swr/_internal",[1,2],(()=>_.e(372).then((()=>()=>_(2372))))),1083:()=>h("default","@openmrs/esm-framework",[1,5],(()=>_.e(831).then((()=>()=>_(831))))),3150:()=>h("default","react-i18next",[1,11],(()=>_.e(830).then((()=>()=>_(7449))))),6372:()=>h("default","dayjs",[1,1],(()=>_.e(464).then((()=>()=>_(3464))))),8010:()=>h("default","swr/immutable",[1,2],(()=>_.e(495).then((()=>()=>_(9876))))),8877:()=>h("default","react-router-dom",[1,6],(()=>_.e(913).then((()=>()=>_(2913)))))},v={343:[1343],434:[5434],621:[1083,3150,6372,8010,8877]},g={},_.f.consumes=(e,t)=>{_.o(v,e)&&v[e].forEach((e=>{if(_.o(c,e))return t.push(c[e]);if(!g[e]){var r=t=>{c[e]=0,_.m[e]=r=>{delete _.c[e],r.exports=t()}};g[e]=!0;var n=t=>{delete c[e],_.m[e]=r=>{throw delete _.c[e],t}};try{var a=m[e]();a.then?t.push(c[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}}))},(()=>{var e={898:0};_.f.j=(t,r)=>{var n=_.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(343|434)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=_.p+_.u(t),i=new Error;_.l(o,(r=>{if(_.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,n[1](i)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[o,i,l]=r,u=0;if(o.some((t=>0!==e[t]))){for(n in i)_.o(i,n)&&(_.m[n]=i[n]);l&&l(_)}for(t&&t(r);u<o.length;u++)a=o[u],_.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),_.nc=void 0;var w=_(800);_ampath_esm_patient_registration_app=w})();
|