@kenyaemr/esm-patient-registration-app 5.2.2 → 6.0.0

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.
Files changed (122) hide show
  1. package/dist/130.js +1 -1
  2. package/dist/130.js.map +1 -1
  3. package/dist/271.js +1 -0
  4. package/dist/319.js +1 -1
  5. package/dist/330.js +1 -1
  6. package/dist/460.js +1 -1
  7. package/dist/537.js +1 -1
  8. package/dist/574.js +1 -1
  9. package/dist/59.js +1 -1
  10. package/dist/59.js.map +1 -1
  11. package/dist/619.js +1 -0
  12. package/dist/619.js.map +1 -0
  13. package/dist/644.js +1 -0
  14. package/dist/735.js +1 -1
  15. package/dist/757.js +1 -1
  16. package/dist/784.js +1 -1
  17. package/dist/788.js +1 -1
  18. package/dist/807.js +1 -1
  19. package/dist/833.js +1 -1
  20. package/dist/895.js +2 -0
  21. package/dist/{388.js.LICENSE.txt → 895.js.LICENSE.txt} +4 -2
  22. package/dist/895.js.map +1 -0
  23. package/dist/{openmrs-esm-patient-registration-app.js → kenyaemr-esm-patient-registration-app.js} +1 -1
  24. package/dist/{openmrs-esm-patient-registration-app.js.buildmanifest.json → kenyaemr-esm-patient-registration-app.js.buildmanifest.json} +117 -73
  25. package/dist/kenyaemr-esm-patient-registration-app.js.map +1 -0
  26. package/dist/main.js +1 -1
  27. package/dist/main.js.LICENSE.txt +4 -2
  28. package/dist/main.js.map +1 -1
  29. package/dist/routes.json +1 -1
  30. package/package.json +6 -5
  31. package/src/add-patient-link.test.tsx +9 -7
  32. package/src/config-schema.ts +31 -38
  33. package/src/constants.ts +1 -1
  34. package/src/offline.resources.ts +13 -18
  35. package/src/offline.ts +8 -6
  36. package/src/patient-registration/before-save-prompt.tsx +2 -1
  37. package/src/patient-registration/field/__mocks__/field.resource.ts +1 -1
  38. package/src/patient-registration/field/address/address-field.component.tsx +5 -4
  39. package/src/patient-registration/field/address/address-hierarchy.resource.tsx +2 -2
  40. package/src/patient-registration/field/address/address-search.component.tsx +1 -14
  41. package/src/patient-registration/field/address/custom-address-field.component.tsx +1 -1
  42. package/src/patient-registration/field/address/tests/address-hierarchy.test.tsx +3 -3
  43. package/src/patient-registration/field/address/tests/address-search-component.test.tsx +14 -7
  44. package/src/patient-registration/field/custom-field.component.tsx +1 -1
  45. package/src/patient-registration/field/dob/dob.component.tsx +2 -2
  46. package/src/patient-registration/field/dob/dob.test.tsx +0 -3
  47. package/src/patient-registration/field/field.component.tsx +4 -1
  48. package/src/patient-registration/field/field.resource.ts +4 -4
  49. package/src/patient-registration/field/field.test.tsx +98 -95
  50. package/src/patient-registration/field/gender/gender-field.component.tsx +4 -4
  51. package/src/patient-registration/field/gender/gender-field.test.tsx +7 -14
  52. package/src/patient-registration/field/id/id-field.component.tsx +6 -6
  53. package/src/patient-registration/field/id/id-field.test.tsx +9 -7
  54. package/src/patient-registration/field/id/identifier-selection-overlay.component.tsx +1 -1
  55. package/src/patient-registration/field/name/name-field.component.tsx +1 -1
  56. package/src/patient-registration/field/obs/obs-field.component.tsx +35 -33
  57. package/src/patient-registration/field/obs/obs-field.test.tsx +106 -28
  58. package/src/patient-registration/field/person-attributes/coded-attributes.component.tsx +1 -1
  59. package/src/patient-registration/field/person-attributes/coded-person-attribute-field.component.tsx +70 -24
  60. package/src/patient-registration/field/person-attributes/coded-person-attribute-field.test.tsx +54 -30
  61. package/src/patient-registration/field/person-attributes/person-attribute-field.component.tsx +4 -3
  62. package/src/patient-registration/field/person-attributes/person-attribute-field.test.tsx +1 -1
  63. package/src/patient-registration/field/person-attributes/{person-attributes.resource.tsx → person-attributes.resource.ts} +3 -3
  64. package/src/patient-registration/field/person-attributes/text-person-attribute-field.component.tsx +1 -1
  65. package/src/patient-registration/field/phone/phone-field.component.tsx +16 -0
  66. package/src/patient-registration/form-manager.test.ts +1 -1
  67. package/src/patient-registration/form-manager.ts +22 -24
  68. package/src/patient-registration/input/basic-input/select/select-input.test.tsx +3 -3
  69. package/src/patient-registration/input/custom-input/autosuggest/autosuggest.component.tsx +5 -5
  70. package/src/patient-registration/input/custom-input/autosuggest/autosuggest.test.tsx +70 -58
  71. package/src/patient-registration/input/custom-input/identifier/identifier-input.component.tsx +2 -2
  72. package/src/patient-registration/input/custom-input/identifier/identifier-input.test.tsx +2 -5
  73. package/src/patient-registration/input/custom-input/identifier/utils.ts +1 -1
  74. package/src/patient-registration/input/dummy-data/dummy-data-input.component.tsx +1 -1
  75. package/src/patient-registration/input/dummy-data/dummy-data-input.test.tsx +6 -6
  76. package/src/patient-registration/patient-registration-context.ts +3 -4
  77. package/src/patient-registration/patient-registration-hooks.ts +25 -20
  78. package/src/patient-registration/patient-registration-utils.ts +7 -7
  79. package/src/patient-registration/patient-registration.component.tsx +20 -10
  80. package/src/patient-registration/patient-registration.resource.test.tsx +3 -3
  81. package/src/patient-registration/{patient-registration.resource.tsx → patient-registration.resource.ts} +15 -15
  82. package/src/patient-registration/patient-registration.test.tsx +270 -251
  83. package/src/patient-registration/{patient-registration.types.tsx → patient-registration.types.ts} +12 -3
  84. package/src/patient-registration/section/death-info/death-info-section.test.tsx +33 -45
  85. package/src/patient-registration/section/demographics/demographics-section.test.tsx +1 -2
  86. package/src/patient-registration/section/generic-section.component.tsx +1 -1
  87. package/src/patient-registration/section/patient-relationships/relationships-section.component.tsx +3 -3
  88. package/src/patient-registration/section/patient-relationships/relationships-section.test.tsx +17 -5
  89. package/src/patient-registration/section/patient-relationships/relationships.resource.tsx +4 -4
  90. package/src/patient-registration/section/section-wrapper.component.tsx +1 -1
  91. package/src/patient-registration/section/section.component.tsx +1 -1
  92. package/src/patient-registration/validation/patient-registration-validation.test.tsx +140 -126
  93. package/src/patient-registration/validation/patient-registration-validation.tsx +54 -46
  94. package/src/patient-verification/patient-verification-hook.tsx +13 -4
  95. package/src/patient-verification/patient-verification-utils.ts +20 -12
  96. package/src/patient-verification/patient-verification.component.tsx +13 -6
  97. package/src/patient-verification/patient-verification.scss +0 -1
  98. package/src/patient-verification/verification-modal/confirm-prompt.component.tsx +2 -11
  99. package/src/routes.json +1 -0
  100. package/src/widgets/cancel-patient-edit.test.tsx +7 -4
  101. package/src/widgets/delete-identifier-confirmation-modal.test.tsx +7 -4
  102. package/src/widgets/display-photo.test.tsx +1 -1
  103. package/src/widgets/edit-patient-details-button.test.tsx +12 -7
  104. package/translations/am.json +30 -14
  105. package/translations/ar.json +30 -14
  106. package/translations/en.json +11 -11
  107. package/translations/es.json +34 -22
  108. package/translations/fr.json +48 -40
  109. package/translations/he.json +22 -2
  110. package/translations/km.json +22 -2
  111. package/translations/zh.json +97 -0
  112. package/translations/zh_CN.json +97 -0
  113. package/tsconfig.json +1 -1
  114. package/__mocks__/autogenerationoptions.mock.ts +0 -34
  115. package/dist/388.js +0 -2
  116. package/dist/388.js.map +0 -1
  117. package/dist/598.js +0 -1
  118. package/dist/598.js.map +0 -1
  119. package/dist/openmrs-esm-patient-registration-app.js.map +0 -1
  120. package/src/patient-registration/field/__mocks__/identifier-types.mock.ts +0 -76
  121. package/src/patient-registration/field/__mocks__/identifiers.mock.ts +0 -27
  122. package/src/patient-registration/field/address/tests/mocks.ts +0 -98
package/dist/271.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[271],{8271:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"添加关系","addressHeader":"地址","allFieldsRequiredText":"所有字段都是必填的,除非标记为可选。","autoGeneratedPlaceholderText":"自动生成","birthdayNotInTheFuture":"生日不能是未来的日期","birthdayRequired":"生日是必填项","birthFieldLabelText":"出生","cancel":"取消","causeOfDeathInputLabel":"死因","closeOverlay":"关闭叠加","codedPersonAttributeAnswerSetEmpty":"编码的人员属性字段\'{{codedPersonAttributeFieldId}}\'已使用没有任何概念答案的答案概念集UUID\'{{answerConceptSetUuid}}\'进行定义。","codedPersonAttributeAnswerSetInvalid":"编码的人员属性字段\'{{codedPersonAttributeFieldId}}\'已使用无效的答案概念集UUID\'{{answerConceptSetUuid}}\'进行定义。","codedPersonAttributeNoAnswerSet":"人员属性字段\'{{codedPersonAttributeFieldId}}\'的类型为\'coded\',但未定义答案概念集UUID。\'answerConceptSetUuid\'键是必需的。","configure":"配置","configureIdentifiers":"配置ID标识","contactSection":"联系方式","createNew":"新建","dateOfBirthLabelText":"出生日期","deathDateInputLabel":"死亡日期","deathdayNotInTheFuture":"死亡日期不能是未来的日期","deathSection":"死亡信息","deleteIdentifierTooltip":"删除","deleteRelationshipTooltipText":"删除","demographicsSection":"基本信息","discard":"放弃","discardModalBody":"您对该患者的详细信息所做的更改尚未保存。放弃更改吗?","discardModalHeader":"确认放弃更改","dobToggleLabelText":"出生日期已知?","edit":"编辑","editIdentifierTooltip":"编辑","editPatientDetails":"编辑患者详情","editPatientDetailsBreadcrumb":"编辑患者详情","error":"错误","errorFetchingOrderedFields":"获取地址层次结构的排序字段时发生错误","estimatedAgeInMonthsLabelText":"月龄估算","estimatedAgeInYearsLabelText":"年龄估算","familyNameLabelText":"姓氏","familyNameRequired":"姓氏是必填项","female":"女性","fullNameLabelText":"全名","genderLabelText":"性别","genderRequired":"性别是必填项","genderUnspecified":"性别未指定","givenNameLabelText":"名字","givenNameRequired":"名字是必填项","identifierValueRequired":"ID标识是必填项","idFieldLabelText":"ID标识","IDInstructions":"选择您想为该患者添加的ID标识:","incompleteForm":"表单未填完","invalidEmail":"需要提供一个有效的电子邮件地址","invalidInput":"输入无效","isDeadInputLabel":"已故","jumpTo":"跳转至","male":"男性","middleNameLabelText":"中间名","negativeMonths":"负的月份","negativeYears":"负的年份","no":"否","numberInNameDubious":"姓名中含有数字","obsFieldUnknownDatatype":"obs字段\'{{fieldDefinitionId}}\'的概念具有未知数据类型\'{{datatypeName}}\'","optional":"可选的","other":"其他","patient":"患者","patientNameKnown":"患者的姓名已知?","patientRegistrationBreadcrumb":"患者注册","registerPatient":"注册患者","registerPatientSuccessSnackbarSubtitle":"现在可以通过姓名或ID号搜索到该患者","registerPatientSuccessSnackbarTitle":"新患者已创建","registrationErrorSnackbarTitle":"患者注册失败","relationship":"关系","relationshipPersonMustExist":"关系人必须是现有的人员","relationshipPlaceholder":"关系","relationshipRemovedText":"关系已移除","relationshipsSection":"关系人信息","relationshipToPatient":"与患者的关系","relativeFullNameLabelText":"关系人","relativeNamePlaceholder":"名字 姓氏","resetIdentifierTooltip":"重置","restoreRelationshipActionButton":"撤销","searchAddress":"搜索地址","searchIdentifierPlaceholder":"搜索ID标识","selectAnOption":"选择一个选项","sexFieldLabelText":"性别","source":"来源","stroke":"卒中","submitting":"提交中","unableToFetch":"无法获取人员属性类型{{personattributetype}}","unknown":"未知","unknownPatientAttributeType":"患者属性类型具有未知格式{{personAttributeTypeFormat}}","updatePatient":"更新患者","updatePatientErrorSnackbarTitle":"患者详情更新失败","updatePatientSuccessSnackbarSubtitle":"患者的信息已成功更新","updatePatientSuccessSnackbarTitle":"患者详情已更新","yearsEstimateRequired":"需要年龄估算","yes":"是"}')}}]);
package/dist/319.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[319],{8319: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":"Close overlay","configure":"Configurar","configureIdentifiers":"Configure identifiers","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 cambios de descarte","dobToggleLabelText":"¿Se conoce la fecha de nacimiento?","edit":"Editar","editIdentifierTooltip":"Editar","editPatientDetails":"Modificar los datos del paciente","editPatientDetailsBreadcrumb":"Edit patient details","error":"Error","errorFetchingOrderedFields":"Error ocurrió 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":"Select the identifiers you\'d like to add for this patient:","incompleteForm":"Formulario incompleto","invalidEmail":"Debe indicar un email válido","invalidInput":"Entrada no válida","isDeadInputLabel":"Está muerto","jumpTo":"Ir a","loadingResults":"Cargando resultados","male":"Masculino","middleNameLabelText":"Segundo Nombre","negativeMonths":"Meses negativos","negativeYears":"Años negativos","no":"No","noResultsFound":"No se encuentran resultados","numberInNameDubious":"Número en nombre es dudoso","optional":"opcional","other":"Otro","patient":"Paciente","patientNameKnown":"¿Se sabe el nombre del paciente?","patientRegistrationBreadcrumb":"Patient Registration","registerPatient":"Registrar paciente","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":"Relación","relationshipPersonMustExist":"Related person must be an existing person","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":"Search identifier","selectAnOption":"Seleccionar una opción","sexFieldLabelText":"Sexo","source":"Source","stroke":"Ictus","submitting":"Submitting","unableToFetch":"No se puede obtener el tipo de atributo de persona {{personattributetype}}","unknown":"Desconocido","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Paciente Actualizado","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimación de años obligatoria","yes":"Sí"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[319],{8319: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í"}')}}]);
package/dist/330.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[330],{1330:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var a=n(268),o=n.n(a),r=n(4924),c=n(4151);const i=function(e){var t=e.close,n=e.onConfirm,a=(0,r.useTranslation)().t;return o().createElement(o().Fragment,null,o().createElement("div",{className:"cds--modal-header"},o().createElement("h3",{className:"cds--modal-header__heading"},a("clientRegistryEmpty","Create & Post Patient"))),o().createElement("div",{className:"cds--modal-content"},o().createElement("p",null,a("patientNotFound","The patient records could not be found in Client registry, do you want to continue to create and post patient to registry"))),o().createElement("div",{className:"cds--modal-footer"},o().createElement(c.zxk,{kind:"secondary",onClick:t},a("cancel","Cancel")),o().createElement(c.zxk,{onClick:n},a("continue","Continue to registration"))))}}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[330],{1330:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var a=n(268),o=n.n(a),r=n(4924),c=n(5305);const i=function(e){var t=e.close,n=e.onConfirm,a=(0,r.useTranslation)().t;return o().createElement(o().Fragment,null,o().createElement("div",{className:"cds--modal-header"},o().createElement("h3",{className:"cds--modal-header__heading"},a("clientRegistryEmpty","Create & Post Patient"))),o().createElement("div",{className:"cds--modal-content"},o().createElement("p",null,a("patientNotFound","The patient records could not be found in Client registry, do you want to continue to create and post patient to registry"))),o().createElement("div",{className:"cds--modal-footer"},o().createElement(c.zxk,{kind:"secondary",onClick:t},a("cancel","Cancel")),o().createElement(c.zxk,{onClick:n},a("continue","Continue to registration"))))}}}]);
package/dist/460.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[460],{4460:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"أضف علاقة","addressHeader":"العنوان","allFieldsRequiredText":"جميع الحقول مطلوبة ما لم يتم التأشير عليها بأنها اختيارية","autoGeneratedPlaceholderText":"تم إنشاؤه تلقائيًا","birthdayNotInTheFuture":"","birthdayRequired":"","birthFieldLabelText":"الميلاد","cancel":"إلغاء","causeOfDeathInputLabel":"سبب الوفاة","closeOverlay":"Close overlay","configure":"تكوين","configureIdentifiers":"Configure identifiers","contactSection":"تفاصيل الاتصال","createNew":"أنشئ جديد","dateOfBirthLabelText":"تاريخ الميلاد","deathDateInputLabel":"تاريخ الوفاة","deathdayNotInTheFuture":"","deathSection":"معلومات الوفاة","deleteIdentifierTooltip":"حذف","deleteRelationshipTooltipText":"حذف","demographicsSection":"معلومات أساسية","discard":"تجاهل","discardModalBody":"لم يتم حفظ التغييرات التي قمت بها في تفاصيل هذا المريض. هل تريد تجاهل التغييرات؟","discardModalHeader":"تأكيد تجاهل التغييرات","dobToggleLabelText":"هل تاريخ الميلاد معروف؟","edit":"تعديل","editIdentifierTooltip":"تعديل","editPatientDetails":"تعديل تفاصيل المريض","editPatientDetailsBreadcrumb":"Edit patient details","error":"خطأ","errorFetchingOrderedFields":"حدث خطأ أثناء جلب الحقول المرتبة لتسلسل العنوان","estimatedAgeInMonthsLabelText":"العمر المقدر بالشهور","estimatedAgeInYearsLabelText":"العمر المقدر بالسنوات","familyNameLabelText":"اسم العائلة","familyNameRequired":"","female":"أنثى","fullNameLabelText":"الاسم الكامل","genderLabelText":"الجنس","genderRequired":"","genderUnspecified":"","givenNameLabelText":"الاسم الأول","givenNameRequired":"","identifierValueRequired":"قيمة المعرف مطلوبة","idFieldLabelText":"المعرفات","IDInstructions":"Select the identifiers you\'d like to add for this patient:","incompleteForm":"نموذج غير مكتمل","invalidEmail":"","invalidInput":"إدخال غير صالح","isDeadInputLabel":"هل المريض متوفى؟","jumpTo":"اذهب إلى","loadingResults":"جارٍ تحميل النتائج","male":"ذكر","middleNameLabelText":"الاسم الأوسط","negativeMonths":"","negativeYears":"","no":"لا","noResultsFound":"لم يتم العثور على نتائج","numberInNameDubious":"","optional":"اختياري","other":"آخر","patient":"المريض","patientNameKnown":"هل اسم المريض معروف؟","patientRegistrationBreadcrumb":"Patient Registration","registerPatient":"تسجيل المريض","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":"العلاقة","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"العلاقة","relationshipRemovedText":"تمت إزالة العلاقة","relationshipsSection":"العلاقات","relationshipToPatient":"العلاقة بالمريض","relativeFullNameLabelText":"الاسم الكامل للقريب","relativeNamePlaceholder":"الاسم الأول اسم العائلة","resetIdentifierTooltip":"إعادة تعيين","restoreRelationshipActionButton":"تراجع","searchAddress":"ابحث عن العنوان","searchIdentifierPlaceholder":"Search identifier","selectAnOption":"اختر خيارًا","sexFieldLabelText":"الجنس","source":"Source","stroke":"جلطة","submitting":"Submitting","unableToFetch":"تعذر الجلب نوع السمة الشخصية - {{personattributetype}}","unknown":"غير معروف","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"تحديث المريض","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"","yes":"نعم"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[460],{4460:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"أضف علاقة","addressHeader":"العنوان","age":"Age","allFieldsRequiredText":"جميع الحقول مطلوبة ما لم يتم التأشير عليها بأنها اختيارية","autoGeneratedPlaceholderText":"تم إنشاؤه تلقائيًا","birthdayNotInTheFuture":"Birthday cannot be in the future","birthdayRequired":"Birthday is required","birthFieldLabelText":"الميلاد","cancel":"إلغاء","causeOfDeathInputLabel":"سبب الوفاة","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":"تكوين","configureIdentifiers":"Configure identifiers","contactSection":"تفاصيل الاتصال","continue":"Continue to registration","createNew":"أنشئ جديد","dateOfBirth":"Date of birth","dateOfBirthLabelText":"تاريخ الميلاد","deathDateInputLabel":"تاريخ الوفاة","deathdayNotInTheFuture":"Death day cannot be in the future","deathSection":"معلومات الوفاة","deleteIdentifierTooltip":"حذف","deleteRelationshipTooltipText":"حذف","demographicsSection":"معلومات أساسية","discard":"تجاهل","discardModalBody":"لم يتم حفظ التغييرات التي قمت بها في تفاصيل هذا المريض. هل تريد تجاهل التغييرات؟","discardModalHeader":"تأكيد تجاهل التغييرات","dobToggleLabelText":"هل تاريخ الميلاد معروف؟","edit":"تعديل","editIdentifierTooltip":"تعديل","editPatientDetails":"تعديل تفاصيل المريض","editPatientDetailsBreadcrumb":"Edit patient details","error":"خطأ","errorFetchingOrderedFields":"حدث خطأ أثناء جلب الحقول المرتبة لتسلسل العنوان","estimatedAgeInMonthsLabelText":"العمر المقدر بالشهور","estimatedAgeInYearsLabelText":"العمر المقدر بالسنوات","familyNameLabelText":"اسم العائلة","familyNameRequired":"Family name is required","female":"أنثى","fullNameLabelText":"الاسم الكامل","gender":"Gender","genderLabelText":"الجنس","genderRequired":"Gender is required","genderUnspecified":"Gender is not specified","givenNameLabelText":"الاسم الأول","givenNameRequired":"Given name is required","identifierValueRequired":"قيمة المعرف مطلوبة","idFieldLabelText":"المعرفات","IDInstructions":"Select the identifiers you\'d like to add for this patient:","incompleteForm":"نموذج غير مكتمل","invalidEmail":"A valid email has to be given","invalidInput":"إدخال غير صالح","isDeadInputLabel":"هل المريض متوفى؟","jumpTo":"اذهب إلى","male":"ذكر","middleNameLabelText":"الاسم الأوسط","negativeMonths":"Negative months","negativeYears":"Negative years","no":"لا","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"اختياري","originFacilityCode":"Origin facility code","originFacilityName":"Origin facility name","other":"آخر","patient":"المريض","patientDetailsFound":"Patient information found in the registry, do you want to use the information to continue with registration?","patientName":"Patient name","patientNameKnown":"هل اسم المريض معروف؟","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":"تسجيل المريض","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":"العلاقة","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"العلاقة","relationshipRemovedText":"تمت إزالة العلاقة","relationshipsSection":"العلاقات","relationshipToPatient":"العلاقة بالمريض","relativeFullNameLabelText":"الاسم الكامل للقريب","relativeNamePlaceholder":"الاسم الأول اسم العائلة","resetIdentifierTooltip":"إعادة تعيين","restoreRelationshipActionButton":"تراجع","searchAddress":"ابحث عن العنوان","searchIdentifierPlaceholder":"Search identifier","selectAnOption":"اختر خيارًا","selectCountry":"Select country","selectIdentifierType":"Select identifier type","sexFieldLabelText":"الجنس","source":"Source","stroke":"جلطة","submitting":"Submitting","unableToFetch":"تعذر الجلب نوع السمة الشخصية - {{personattributetype}}","unknown":"غير معروف","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"تحديث المريض","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Years estimate required","yes":"نعم"}')}}]);
package/dist/537.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[537],{5209:(e,t,i)=>{i.d(t,{Z:()=>o});var n=i(272),a=i.n(n),r=i(2609),_=i.n(r)()(a());_.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-patient-registration__delete-identifier-modal__title___hMGNM{color:var(--omrs-color-brand-teal)}.-esm-patient-registration__delete-identifier-modal__submit___qcqgw{width:250px}.-esm-patient-registration__delete-identifier-modal__submit___qcqgw:hover{cursor:pointer}.-esm-patient-registration__delete-identifier-modal__cancelButton___pwJQh{width:11.688rem}.-esm-patient-registration__delete-identifier-modal__submitButton___svJpa{margin-bottom:1rem;width:11.688rem;display:block}.-esm-patient-registration__delete-identifier-modal__infoGrid___aVWpC{width:100%;padding-left:2rem;margin-bottom:40vh;margin-top:1rem;max-width:50rem}.-esm-patient-registration__delete-identifier-modal__label01___NrWy3{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);margin-top:1rem;margin-bottom:1rem;color:#8d8d8d}.-esm-patient-registration__delete-identifier-modal__productiveHeading02___e9SQf{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);color:#8d8d8d;cursor:pointer}.-esm-patient-registration__delete-identifier-modal__space05___m3N7E{margin:1rem 0 1rem 0}.-esm-patient-registration__delete-identifier-modal__formContainer___DYO6j{display:flex;width:100%}.-esm-patient-registration__delete-identifier-modal__stickyColumn___H7wlJ{position:sticky;margin-top:1rem;top:4rem}.-esm-patient-registration__delete-identifier-modal__touchTarget___NDpl7 a:active{color:#161616}.-esm-patient-registration__delete-identifier-modal__linkName___DsKMZ{color:#525252;line-height:1.38;font-size:1rem;font-weight:600}.-esm-patient-registration__delete-identifier-modal__linkName___DsKMZ:active{text-decoration:none;color:#161616}.-esm-patient-registration__delete-identifier-modal__linkName___DsKMZ:hover{text-decoration:none;color:#161616;cursor:pointer}.-esm-patient-registration__delete-identifier-modal__main___XdF9s{background-color:#fff}.omrs-breakpoint-lt-desktop .-esm-patient-registration__delete-identifier-modal__infoGrid___aVWpC{max-width:unset}.-esm-patient-registration__delete-identifier-modal__spinner___wmIqq.cds--inline-loading{min-height:1rem}html[dir=rtl] .-esm-patient-registration__delete-identifier-modal__linkName___DsKMZ>svg{transform:scale(-1, 1)}html[dir=rtl] .-esm-patient-registration__delete-identifier-modal__infoGrid___aVWpC{padding-left:unset;padding-right:2rem}.-esm-patient-registration__delete-identifier-modal__productiveHeading___BrwBm{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)}.-esm-patient-registration__delete-identifier-modal__modalContent___z9Haz{width:100%;background-color:#f4f4f4;padding:1rem}.-esm-patient-registration__delete-identifier-modal__modalSubtitle___kcdlp{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-patient-registration__delete-identifier-modal__modalBody___ibLva{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);margin:1rem 0}.-esm-patient-registration__delete-identifier-modal__buttonSet___tr4Qy{display:grid;grid-template-columns:1fr 1fr;margin-left:-1rem;margin-right:-1rem;margin-bottom:-1rem}.-esm-patient-registration__delete-identifier-modal__buttonSet___tr4Qy>button{max-width:unset !important}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/patient-registration/patient-registration.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./src/widgets/delete-identifier-modal.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCnDF,mEACE,kCAAA,CAGF,oEACE,WAAA,CAGF,0EACE,cAAA,CAGF,0EACE,eAAA,CAGF,0EACE,kBCUW,CDTX,eAAA,CACA,aAAA,CAGF,sEACE,UAAA,CACA,iBCaW,CDZX,kBAAA,CACA,eCCW,CAAA,eAAA,CDGb,qEEg0BI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CF9zBF,eCLW,CDMX,kBCNW,CDOX,aDnCM,CCsCR,iFEyzBI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFvzBF,aDxCM,CCyCN,cAAA,CAGF,qEACE,oBAAA,CAGF,2EACE,YAAA,CACA,UAAA,CAGF,0EACE,eAAA,CACA,eC3BW,CD6BX,QAAA,CAGF,kFACE,aDtDe,CCyDjB,sEACE,aD3Dc,CC4Dd,gBAAA,CACA,cCvCW,CDwCX,eAAA,CAEA,6EACE,oBAAA,CACA,aDjEa,CCoEf,4EACE,oBAAA,CACA,aDtEa,CCuEb,cAAA,CAIJ,kEACE,qBAAA,CAIA,kGACE,eAAA,CAKF,yFACE,eAAA,CAOA,wFACE,sBAAA,CAIJ,oFACE,kBAAA,CACA,kBCtES,CErCb,+ED81BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CC11BJ,0EACE,UAAA,CACA,wBJVM,CIWN,YFoBW,CEjBb,2EDo1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CCh1BJ,uEDg1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CC90BF,aAAA,CAGF,uEACE,YAAA,CACA,6BAAA,CACA,iBAAA,CACA,kBAAA,CACA,mBAAA,CAGF,8EACE,0BAAA",sourceRoot:""}]),_.locals={title:"-esm-patient-registration__delete-identifier-modal__title___hMGNM",submit:"-esm-patient-registration__delete-identifier-modal__submit___qcqgw",cancelButton:"-esm-patient-registration__delete-identifier-modal__cancelButton___pwJQh",submitButton:"-esm-patient-registration__delete-identifier-modal__submitButton___svJpa",infoGrid:"-esm-patient-registration__delete-identifier-modal__infoGrid___aVWpC",label01:"-esm-patient-registration__delete-identifier-modal__label01___NrWy3",productiveHeading02:"-esm-patient-registration__delete-identifier-modal__productiveHeading02___e9SQf",space05:"-esm-patient-registration__delete-identifier-modal__space05___m3N7E",formContainer:"-esm-patient-registration__delete-identifier-modal__formContainer___DYO6j",stickyColumn:"-esm-patient-registration__delete-identifier-modal__stickyColumn___H7wlJ",touchTarget:"-esm-patient-registration__delete-identifier-modal__touchTarget___NDpl7",linkName:"-esm-patient-registration__delete-identifier-modal__linkName___DsKMZ",main:"-esm-patient-registration__delete-identifier-modal__main___XdF9s",spinner:"-esm-patient-registration__delete-identifier-modal__spinner___wmIqq",productiveHeading:"-esm-patient-registration__delete-identifier-modal__productiveHeading___BrwBm",modalContent:"-esm-patient-registration__delete-identifier-modal__modalContent___z9Haz",modalSubtitle:"-esm-patient-registration__delete-identifier-modal__modalSubtitle___kcdlp",modalBody:"-esm-patient-registration__delete-identifier-modal__modalBody___ibLva",buttonSet:"-esm-patient-registration__delete-identifier-modal__buttonSet___tr4Qy"};const o=_},3537:(e,t,i)=>{i.r(t),i.d(t,{default:()=>v});var n=i(268),a=i.n(n),r=i(2124),_=i.n(r),o=i(1583),d=i.n(o),A=i(7378),s=i.n(A),l=i(5993),m=i.n(l),c=i(4154),C=i.n(c),g=i(8141),p=i.n(g),f=i(5209),u={};u.styleTagTransform=p(),u.setAttributes=m(),u.insert=s().bind(null,"head"),u.domAPI=d(),u.insertStyleElement=C(),_()(f.Z,u);const h=f.Z&&f.Z.locals?f.Z.locals:void 0;var E=i(4924),b=i(4151);const v=function(e){var t=e.deleteIdentifier,i=e.identifierName,n=e.identifierValue,r=(0,E.useTranslation)().t;return a().createElement("div",{className:h.modalContent},a().createElement("h1",{className:h.productiveHeading},r("deleteIdentifierModalHeading","Remove identifier?")),a().createElement("h3",{className:h.modalSubtitle},i,r("deleteIdentifierModalText"," has a value of ")," ",n),a().createElement("p",{className:h.modalBody},r("confirmIdentifierDeletionText","Are you sure you want to remove this identifier?")),a().createElement("div",{className:h.buttonSet},a().createElement(b.zxk,{kind:"secondary",size:"lg",onClick:function(){return t(!1)}},r("cancel","Cancel")),a().createElement(b.zxk,{kind:"danger",size:"lg",onClick:function(){return t(!0)}},r("removeIdentifierButton","Remove Identifier"))))}}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[537],{5209:(e,t,i)=>{i.d(t,{Z:()=>o});var n=i(272),a=i.n(n),r=i(2609),_=i.n(r)()(a());_.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-patient-registration__delete-identifier-modal__title___hMGNM{color:var(--omrs-color-brand-teal)}.-esm-patient-registration__delete-identifier-modal__submit___qcqgw{width:250px}.-esm-patient-registration__delete-identifier-modal__submit___qcqgw:hover{cursor:pointer}.-esm-patient-registration__delete-identifier-modal__cancelButton___pwJQh{width:11.688rem}.-esm-patient-registration__delete-identifier-modal__submitButton___svJpa{margin-bottom:1rem;width:11.688rem;display:block}.-esm-patient-registration__delete-identifier-modal__infoGrid___aVWpC{width:100%;padding-left:2rem;margin-bottom:40vh;margin-top:1rem;max-width:50rem}.-esm-patient-registration__delete-identifier-modal__label01___NrWy3{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);margin-top:1rem;margin-bottom:1rem;color:#8d8d8d}.-esm-patient-registration__delete-identifier-modal__productiveHeading02___e9SQf{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);color:#8d8d8d;cursor:pointer}.-esm-patient-registration__delete-identifier-modal__space05___m3N7E{margin:1rem 0 1rem 0}.-esm-patient-registration__delete-identifier-modal__formContainer___DYO6j{display:flex;width:100%}.-esm-patient-registration__delete-identifier-modal__stickyColumn___H7wlJ{position:sticky;margin-top:1rem;top:4rem}.-esm-patient-registration__delete-identifier-modal__touchTarget___NDpl7 a:active{color:#161616}.-esm-patient-registration__delete-identifier-modal__linkName___DsKMZ{color:#525252;line-height:1.38;font-size:1rem;font-weight:600}.-esm-patient-registration__delete-identifier-modal__linkName___DsKMZ:active{text-decoration:none;color:#161616}.-esm-patient-registration__delete-identifier-modal__linkName___DsKMZ:hover{text-decoration:none;color:#161616;cursor:pointer}.-esm-patient-registration__delete-identifier-modal__main___XdF9s{background-color:#fff}.omrs-breakpoint-lt-desktop .-esm-patient-registration__delete-identifier-modal__infoGrid___aVWpC{max-width:unset}.-esm-patient-registration__delete-identifier-modal__spinner___wmIqq.cds--inline-loading{min-height:1rem}html[dir=rtl] .-esm-patient-registration__delete-identifier-modal__linkName___DsKMZ>svg{transform:scale(-1, 1)}html[dir=rtl] .-esm-patient-registration__delete-identifier-modal__infoGrid___aVWpC{padding-left:unset;padding-right:2rem}.-esm-patient-registration__delete-identifier-modal__productiveHeading___BrwBm{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)}.-esm-patient-registration__delete-identifier-modal__modalContent___z9Haz{width:100%;background-color:#f4f4f4;padding:1rem}.-esm-patient-registration__delete-identifier-modal__modalSubtitle___kcdlp{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-patient-registration__delete-identifier-modal__modalBody___ibLva{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);margin:1rem 0}.-esm-patient-registration__delete-identifier-modal__buttonSet___tr4Qy{display:grid;grid-template-columns:1fr 1fr;margin-left:-1rem;margin-right:-1rem;margin-bottom:-1rem}.-esm-patient-registration__delete-identifier-modal__buttonSet___tr4Qy>button{max-width:unset !important}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/patient-registration/patient-registration.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./src/widgets/delete-identifier-modal.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCnDF,mEACE,kCAAA,CAGF,oEACE,WAAA,CAGF,0EACE,cAAA,CAGF,0EACE,eAAA,CAGF,0EACE,kBCUW,CDTX,eAAA,CACA,aAAA,CAGF,sEACE,UAAA,CACA,iBCaW,CDZX,kBAAA,CACA,eCCW,CAAA,eAAA,CDGb,qEEg0BI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CF9zBF,eCLW,CDMX,kBCNW,CDOX,aDnCM,CCsCR,iFEyzBI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFvzBF,aDxCM,CCyCN,cAAA,CAGF,qEACE,oBAAA,CAGF,2EACE,YAAA,CACA,UAAA,CAGF,0EACE,eAAA,CACA,eC3BW,CD6BX,QAAA,CAGF,kFACE,aDtDe,CCyDjB,sEACE,aD3Dc,CC4Dd,gBAAA,CACA,cCvCW,CDwCX,eAAA,CAEA,6EACE,oBAAA,CACA,aDjEa,CCoEf,4EACE,oBAAA,CACA,aDtEa,CCuEb,cAAA,CAIJ,kEACE,qBAAA,CAIA,kGACE,eAAA,CAKF,yFACE,eAAA,CAOA,wFACE,sBAAA,CAIJ,oFACE,kBAAA,CACA,kBCtES,CErCb,+ED81BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CC11BJ,0EACE,UAAA,CACA,wBJVM,CIWN,YFoBW,CEjBb,2EDo1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CCh1BJ,uEDg1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CC90BF,aAAA,CAGF,uEACE,YAAA,CACA,6BAAA,CACA,iBAAA,CACA,kBAAA,CACA,mBAAA,CAGF,8EACE,0BAAA",sourceRoot:""}]),_.locals={title:"-esm-patient-registration__delete-identifier-modal__title___hMGNM",submit:"-esm-patient-registration__delete-identifier-modal__submit___qcqgw",cancelButton:"-esm-patient-registration__delete-identifier-modal__cancelButton___pwJQh",submitButton:"-esm-patient-registration__delete-identifier-modal__submitButton___svJpa",infoGrid:"-esm-patient-registration__delete-identifier-modal__infoGrid___aVWpC",label01:"-esm-patient-registration__delete-identifier-modal__label01___NrWy3",productiveHeading02:"-esm-patient-registration__delete-identifier-modal__productiveHeading02___e9SQf",space05:"-esm-patient-registration__delete-identifier-modal__space05___m3N7E",formContainer:"-esm-patient-registration__delete-identifier-modal__formContainer___DYO6j",stickyColumn:"-esm-patient-registration__delete-identifier-modal__stickyColumn___H7wlJ",touchTarget:"-esm-patient-registration__delete-identifier-modal__touchTarget___NDpl7",linkName:"-esm-patient-registration__delete-identifier-modal__linkName___DsKMZ",main:"-esm-patient-registration__delete-identifier-modal__main___XdF9s",spinner:"-esm-patient-registration__delete-identifier-modal__spinner___wmIqq",productiveHeading:"-esm-patient-registration__delete-identifier-modal__productiveHeading___BrwBm",modalContent:"-esm-patient-registration__delete-identifier-modal__modalContent___z9Haz",modalSubtitle:"-esm-patient-registration__delete-identifier-modal__modalSubtitle___kcdlp",modalBody:"-esm-patient-registration__delete-identifier-modal__modalBody___ibLva",buttonSet:"-esm-patient-registration__delete-identifier-modal__buttonSet___tr4Qy"};const o=_},3537:(e,t,i)=>{i.r(t),i.d(t,{default:()=>v});var n=i(268),a=i.n(n),r=i(2124),_=i.n(r),o=i(1583),d=i.n(o),A=i(7378),s=i.n(A),l=i(5993),m=i.n(l),c=i(4154),C=i.n(c),g=i(8141),p=i.n(g),f=i(5209),u={};u.styleTagTransform=p(),u.setAttributes=m(),u.insert=s().bind(null,"head"),u.domAPI=d(),u.insertStyleElement=C(),_()(f.Z,u);const h=f.Z&&f.Z.locals?f.Z.locals:void 0;var E=i(4924),b=i(5305);const v=function(e){var t=e.deleteIdentifier,i=e.identifierName,n=e.identifierValue,r=(0,E.useTranslation)().t;return a().createElement("div",{className:h.modalContent},a().createElement("h1",{className:h.productiveHeading},r("deleteIdentifierModalHeading","Remove identifier?")),a().createElement("h3",{className:h.modalSubtitle},i,r("deleteIdentifierModalText"," has a value of ")," ",n),a().createElement("p",{className:h.modalBody},r("confirmIdentifierDeletionText","Are you sure you want to remove this identifier?")),a().createElement("div",{className:h.buttonSet},a().createElement(b.zxk,{kind:"secondary",size:"lg",onClick:function(){return t(!1)}},r("cancel","Cancel")),a().createElement(b.zxk,{kind:"danger",size:"lg",onClick:function(){return t(!0)}},r("removeIdentifierButton","Remove Identifier"))))}}}]);
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","closeOverlay":"Close overlay","configure":"Configure","configureIdentifiers":"Configure identifiers","contactSection":"Contact Details","cityVillage":"City","clientRegistryEmpty":"Create & Post Patient","clientVerificationWithClientRegistry":"Client verification with client registry","continue":"Continue","country":"Country","countyDistrict":"District","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","loadingResults":"Loading results","male":"Male","middleNameLabelText":"Middle Name","nascopNumber":"Nascop facility no","nationalId":"National ID","negativeMonths":"Negative months","negativeYears":"Negative years","no":"No","noResultsFound":"No results found","numberInNameDubious":"Number in name is dubious","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","postalCode":"Postcode","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","selectAnOption":"Select an option","selectCountry":"Select country","selectIdentifierType":"Select identifier type","sexFieldLabelText":"Sex","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","updationSuccessToastDescription":"The patient\'s information has been successfully updated","updationSuccessToastTitle":"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":"","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"}')}}]);
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),o=a(4151),r=a(2870),c=a(1140),m=a(6275),d=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,u=(0,i.useTranslation)().t,v=(0,m.y$)(null==s?void 0:s.originFacilityKmflCode),f=v.facilityName,g=v.isLoading;return n().createElement(n().Fragment,null,n().createElement("div",{className:"cds--modal-header"},n().createElement("h3",{className:"cds--modal-header__heading"},u("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,u("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(r.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(d,{label:u("patientName","Patient name"),value:"".concat(null==s?void 0:s.firstName," ").concat(null==s?void 0:s.lastName)}),n().createElement(d,{label:u("nationalId","National ID"),value:null===(t=null==s?void 0:s.identifications[0])||void 0===t?void 0:t.identificationNumber}),n().createElement(d,{label:u("age","Age"),value:(0,r.age)(null==s?void 0:s.dateOfBirth)}),n().createElement(d,{label:u("dateOfBirth","Date of birth"),value:(0,r.formatDate)(new Date(null==s?void 0:s.dateOfBirth))}),n().createElement(d,{label:u("gender","Gender"),value:(0,c.Z)(null==s?void 0:s.gender)}),n().createElement(d,{label:u("nascopNumber","Nascop facility no"),value:(0,c.Z)(null==s?void 0:s.nascopCCCNumber)}),n().createElement(d,{label:u("originFacilityCode","Origin facility code"),value:null==s?void 0:s.originFacilityKmflCode}),n().createElement(d,{label:u("originFacilityName","Origin facility name"),value:g?"--":null==f?void 0:f.name})))),n().createElement("div",{className:"cds--modal-footer"},n().createElement(o.zxk,{kind:"secondary",onClick:a},u("cancel","Cancel")),n().createElement(o.zxk,{onClick:l},u("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"),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"))))}}}]);
package/dist/59.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"59.js","mappings":"gRAOMA,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,EAkEA,QA1DoD,Y,MAAGS,EAAAA,EAAAA,MAAOC,EAAAA,EAAAA,UAAWC,EAAAA,EAAAA,QACjE,GAAQC,EAAAA,EAAAA,kBAANC,EAC4BC,GAAAA,EAAAA,EAAAA,IAAgBH,aAAAA,EAAAA,EAASI,wBAArDC,EAA4BF,EAA5BE,aAAcC,EAAcH,EAAdG,UAEtB,OACE,oCACE,kBAAChB,MAAAA,CAAIiB,UAAU,qBACb,kBAACC,KAAAA,CAAGD,UAAU,8BACXL,EAAE,sBAAuB,WAAiCF,OAAtBA,aAAAA,EAAAA,EAASS,UAAU,KAAqB,OAAlBT,aAAAA,EAAAA,EAASU,SAAS,aAGjF,kBAACpB,MAAAA,CAAIiB,UAAU,sBACb,kBAACI,IAAAA,KACET,EACC,sBACA,iHAGJ,kBAACZ,MAAAA,CAAIC,MAAO,CAAEC,QAAS,OAAQE,OAAQ,SACrC,kBAACkB,EAAAA,cAAaA,CACZrB,MAAO,CAAEC,QAAS,OAAQqB,WAAY,UACtCC,kBAAkB,qBAClBC,MAAO,CAAEC,YAAa,GAAyBhB,OAAtBA,aAAAA,EAAAA,EAASS,UAAU,KAAqB,OAAlBT,aAAAA,EAAAA,EAASU,aAE1D,kBAACpB,MAAAA,CAAIC,MAAO,CAAE0B,MAAO,OAAQC,WAAY,aACvC,kBAAC/B,EAAAA,CACCC,MAAOc,EAAE,cAAe,gBACxBb,MAAO,GAAyBW,OAAtBA,aAAAA,EAAAA,EAASS,UAAU,KAAqB,OAAlBT,aAAAA,EAAAA,EAASU,YAE3C,kBAACvB,EAAAA,CACCC,MAAOc,EAAE,aAAc,eACvBb,MAAkC,QAA3BW,EAAAA,aAAAA,EAAAA,EAASmB,gBAAgB,UAAE,WAA3BnB,EAAAA,EAA6BoB,uBAEtC,kBAACjC,EAAAA,CAAYC,MAAOc,EAAE,MAAO,OAAQb,OAAOgC,EAAAA,EAAAA,KAAIrB,aAAAA,EAAAA,EAASsB,eACzD,kBAACnC,EAAAA,CAAYC,MAAOc,EAAE,cAAe,iBAAkBb,OAAOkC,EAAAA,EAAAA,YAAW,IAAIC,KAAKxB,aAAAA,EAAAA,EAASsB,gBAC3F,kBAACnC,EAAAA,CAAYC,MAAOc,EAAE,SAAU,UAAWb,OAAOoC,EAAAA,EAAAA,GAAWzB,aAAAA,EAAAA,EAAS0B,UACtE,kBAACvC,EAAAA,CAAYC,MAAOc,EAAE,eAAgB,sBAAuBb,OAAOoC,EAAAA,EAAAA,GAAWzB,aAAAA,EAAAA,EAAS2B,mBACxF,kBAACxC,EAAAA,CACCC,MAAOc,EAAE,qBAAsB,wBAC/Bb,MAAOW,aAAAA,EAAAA,EAASI,yBAElB,kBAACjB,EAAAA,CACCC,MAAOc,EAAE,qBAAsB,wBAC/Bb,MAAOiB,EAAY,KAAOD,aAAAA,EAAAA,EAAcuB,UAKhD,kBAACtC,MAAAA,CAAIiB,UAAU,qBACb,kBAACsB,EAAAA,IAAMA,CAACC,KAAK,YAAYC,QAASjC,GAC/BI,EAAE,SAAU,WAEf,kBAAC2B,EAAAA,IAAMA,CAACE,QAAShC,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","useFacilityName","originFacilityKmflCode","facilityName","isLoading","className","h3","firstName","lastName","p","ExtensionSlot","alignItems","extensionSlotName","state","patientName","width","marginLeft","identifications","identificationNumber","age","dateOfBirth","formatDate","Date","capitalize","gender","nascopCCCNumber","name","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,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":""}