@ampath/esm-patient-registration-app 6.0.1-pre.24 → 6.0.1-pre.241

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 (136) hide show
  1. package/.turbo/turbo-build.log +24 -23
  2. package/dist/132.js +1 -1
  3. package/dist/197.js +1 -1
  4. package/dist/236.js +1 -1
  5. package/dist/300.js +1 -1
  6. package/dist/335.js +1 -1
  7. package/dist/41.js +1 -1
  8. package/dist/41.js.map +1 -1
  9. package/dist/421.js +1 -0
  10. package/dist/421.js.map +1 -0
  11. package/dist/449.js +1 -0
  12. package/dist/449.js.map +1 -0
  13. package/dist/531.js +2 -0
  14. package/dist/531.js.LICENSE.txt +24 -0
  15. package/dist/531.js.map +1 -0
  16. package/dist/55.js +1 -1
  17. package/dist/652.js +1 -1
  18. package/dist/661.js +1 -1
  19. package/dist/757.js +1 -0
  20. package/dist/757.js.map +1 -0
  21. package/dist/813.js +1 -0
  22. package/dist/813.js.map +1 -0
  23. package/dist/828.js +1 -0
  24. package/dist/828.js.map +1 -0
  25. package/dist/830.js +1 -0
  26. package/dist/830.js.map +1 -0
  27. package/dist/831.js +1 -1
  28. package/dist/831.js.map +1 -1
  29. package/dist/879.js +1 -1
  30. package/dist/913.js +1 -1
  31. package/dist/913.js.LICENSE.txt +3 -3
  32. package/dist/913.js.map +1 -1
  33. package/dist/927.js +1 -0
  34. package/dist/927.js.map +1 -0
  35. package/dist/99.js +1 -1
  36. package/dist/ampath-esm-patient-registration-app.js +1 -1
  37. package/dist/ampath-esm-patient-registration-app.js.buildmanifest.json +204 -132
  38. package/dist/ampath-esm-patient-registration-app.js.map +1 -1
  39. package/dist/main.js +1 -1
  40. package/dist/main.js.LICENSE.txt +0 -32
  41. package/dist/main.js.map +1 -1
  42. package/dist/routes.json +1 -1
  43. package/package.json +7 -10
  44. package/src/config-schema.ts +19 -10
  45. package/src/index.ts +11 -4
  46. package/src/offline.resources.ts +13 -18
  47. package/src/offline.ts +6 -4
  48. package/src/patient-photo.extension.tsx +9 -0
  49. package/src/patient-registration/field/address/custom-address-field.component.tsx +1 -0
  50. package/src/patient-registration/field/custom-field.component.tsx +6 -0
  51. package/src/patient-registration/field/dob/dob.component.tsx +45 -49
  52. package/src/patient-registration/field/field.resource.ts +3 -3
  53. package/src/patient-registration/field/obs/obs-field.component.tsx +1 -1
  54. package/src/patient-registration/field/person-attributes/coded-person-attribute-field.component.tsx +4 -0
  55. package/src/patient-registration/field/person-attributes/custom-person-attribute-field.component.tsx +56 -0
  56. package/src/patient-registration/field/person-attributes/person-attribute-field.component.tsx +22 -7
  57. package/src/patient-registration/field/person-attributes/person-attributes.resource.ts +2 -2
  58. package/src/patient-registration/field/phone/phone-field.component.tsx +1 -0
  59. package/src/patient-registration/form-manager.ts +13 -6
  60. package/src/patient-registration/patient-registration-hooks.ts +133 -9
  61. package/src/patient-registration/patient-registration.component.tsx +55 -13
  62. package/src/patient-registration/{patient-registration.resource.test.tsx → patient-registration.resource.testt.tsx} +4 -4
  63. package/src/patient-registration/patient-registration.resource.ts +15 -75
  64. package/src/patient-registration/patient-registration.scss +0 -8
  65. package/src/patient-registration/patient-registration.types.ts +7 -1
  66. package/src/patient-registration/section/patient-relationships/relationships-section.component.tsx +5 -1
  67. package/src/patient-registration/section/patient-relationships/relationships.resource.tsx +2 -2
  68. package/src/patient-verification/assets/counties.json +236 -0
  69. package/src/patient-verification/assets/verification-assets.ts +11 -0
  70. package/src/patient-verification/patient-verification-hook.tsx +181 -0
  71. package/src/patient-verification/patient-verification-utils.ts +179 -0
  72. package/src/patient-verification/patient-verification.component.tsx +124 -0
  73. package/src/patient-verification/patient-verification.scss +25 -0
  74. package/src/patient-verification/verification-modal/confirm-prompt.component.tsx +72 -0
  75. package/src/patient-verification/verification-modal/empty-prompt.component.tsx +35 -0
  76. package/src/patient-verification/verification-types.ts +50 -0
  77. package/src/patient-verification-HIE/assets/counties.json +236 -0
  78. package/src/patient-verification-HIE/assets/verification-assets.ts +11 -0
  79. package/src/patient-verification-HIE/patient-verification-hook.tsx +181 -0
  80. package/src/patient-verification-HIE/patient-verification-utils.ts +179 -0
  81. package/src/patient-verification-HIE/patient-verification.component.tsx +124 -0
  82. package/src/patient-verification-HIE/patient-verification.scss +25 -0
  83. package/src/patient-verification-HIE/verification-modal/confirm-prompt.component.tsx +72 -0
  84. package/src/patient-verification-HIE/verification-modal/empty-prompt.component.tsx +35 -0
  85. package/src/patient-verification-HIE/verification-types.ts +50 -0
  86. package/src/routes.json +12 -3
  87. package/translations/am.json +26 -12
  88. package/translations/ar.json +26 -12
  89. package/translations/en.json +18 -4
  90. package/translations/es.json +10 -0
  91. package/translations/fr.json +6 -0
  92. package/translations/he.json +18 -0
  93. package/translations/km.json +18 -0
  94. package/translations/zh.json +30 -22
  95. package/translations/zh_CN.json +30 -22
  96. package/dist/229.js +0 -2
  97. package/dist/229.js.LICENSE.txt +0 -56
  98. package/dist/229.js.map +0 -1
  99. package/dist/537.js +0 -1
  100. package/dist/537.js.map +0 -1
  101. package/dist/56.js +0 -1
  102. package/dist/56.js.map +0 -1
  103. package/dist/885.js +0 -1
  104. package/dist/885.js.map +0 -1
  105. package/dist/918.js +0 -1
  106. package/dist/918.js.map +0 -1
  107. package/src/patient-registration/field/address/tests/address-hierarchy.test.tsx +0 -214
  108. package/src/patient-registration/field/address/tests/address-search-component.test.tsx +0 -135
  109. package/src/patient-registration/field/dob/dob.test.tsx +0 -75
  110. package/src/patient-registration/field/field.test.tsx +0 -294
  111. package/src/patient-registration/field/id/id-field.test.tsx +0 -107
  112. package/src/patient-registration/field/person-attributes/coded-attributes.component.tsx +0 -60
  113. package/src/patient-registration/field/person-attributes/coded-person-attribute-field.test.tsx +0 -127
  114. package/src/patient-registration/field/person-attributes/person-attribute-field.test.tsx +0 -187
  115. package/src/patient-registration/field/person-attributes/text-person-attribute-field.test.tsx +0 -88
  116. package/src/patient-registration/form-manager.test.ts +0 -67
  117. package/src/patient-registration/input/basic-input/select/select-input.test.tsx +0 -49
  118. package/src/patient-registration/input/custom-input/autosuggest/autosuggest.test.tsx +0 -132
  119. package/src/patient-registration/input/custom-input/identifier/identifier-input.test.tsx +0 -107
  120. package/src/patient-registration/patient-registration.test.tsx +0 -471
  121. package/src/patient-registration/section/death-info/death-info-section.test.tsx +0 -64
  122. package/src/patient-registration/section/demographics/demographics-section.test.tsx +0 -83
  123. package/src/patient-registration/section/patient-relationships/relationships-section.test.tsx +0 -100
  124. package/src/patient-verification/client-registry-constants.ts +0 -13
  125. package/src/patient-verification/client-registry.component.tsx +0 -66
  126. package/src/patient-verification/client-registry.scss +0 -1
  127. package/src/patient-verification/utils.tsx +0 -56
  128. package/src/patient-verification/verification-modal.scss +0 -20
  129. package/src/patient-verification/verification.component.tsx +0 -48
  130. package/src/root.test.tsx +0 -32
  131. package/src/widgets/cancel-patient-edit.test.tsx +0 -27
  132. package/src/widgets/display-photo.component.tsx +0 -30
  133. package/src/widgets/display-photo.test.tsx +0 -37
  134. package/src/widgets/edit-patient-details-button.test.tsx +0 -41
  135. /package/src/patient-registration/input/custom-input/identifier/{utils.test.ts → utils.testt.ts} +0 -0
  136. /package/src/widgets/{delete-identifier-confirmation-modal.test.tsx → delete-identifier-confirmation-modal.testt.tsx} +0 -0
package/dist/879.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[879],{9879:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"添加关系","address1":"地址行1","address2":"地址行2","addressHeader":"地址","allFieldsRequiredText":"所有字段都是必填的,除非标记为可选。","autoGeneratedPlaceholderText":"自动生成","birthdayNotInTheFuture":"生日不能是未来的日期","birthdayRequired":"生日是必填项","birthFieldLabelText":"出生","cancel":"取消","causeOfDeathInputLabel":"死因","cityVillage":"城市","configure":"配置","country":"国家","countyDistrict":"区县","createNew":"新建","dateOfBirthLabelText":"出生日期","deathDateInputLabel":"死亡日期","deathdayNotInTheFuture":"死亡日期不能是未来的日期","deleteIdentifierTooltip":"删除","deleteRelationshipTooltipText":"删除","discard":"放弃","discardModalBody":"您对该患者的详细信息所做的更改尚未保存。放弃更改吗?","discardModalHeader":"确认放弃更改","dobToggleLabelText":"出生日期已知?","edit":"编辑","editIdentifierTooltip":"编辑","editPatientDetails":"编辑患者详情","emailLabelText":"电子邮件","estimatedAgeInMonthsLabelText":"月龄估算","estimatedAgeInYearsLabelText":"年龄估算","familyNameLabelText":"姓氏","familyNameRequired":"姓氏是必填项","female":"女性","fieldErrorTitleMessage":"以下字段存在错误:","fullNameLabelText":"全名","genderLabelText":"性别","genderRequired":"性别是必填项","genderUnspecified":"性别未指定","givenNameLabelText":"名字","givenNameRequired":"名字是必填项","identifierValueRequired":"ID标识是必填项","idFieldLabelText":"ID标识","incompleteForm":"表单未填完","invalidEmail":"需要提供一个有效的电子邮件地址","invalidInput":"输入无效","isDeadInputLabel":"已故","jumpTo":"跳转至","loadingResults":"正在加载结果","male":"男性","middleNameLabelText":"中间名","months":"月","negativeMonths":"负的月份","negativeYears":"负的年份","no":"否","noResultsFound":"未找到结果","numberInNameDubious":"姓名中含有数字","optional":"可选的","other":"其他","patient":"患者","patientNameKnown":"患者的姓名已知?","phoneEmailLabelText":"电话、电子邮件等。","phoneNumberInputLabelText":"电话号码","postalCode":"邮政编码","registerPatient":"注册患者","registrationSuccessToastDescription":"现在可以通过姓名或ID来搜索患者。","registrationSuccessToastTitle":"新患者已创建","relationship":"关系","relationshipPlaceholder":"关系","relationshipRemovedText":"关系已移除","relationshipToPatient":"与患者的关系","relativeFullNameLabelText":"全名","relativeNamePlaceholder":"名字 姓氏","resetIdentifierTooltip":"重置","restoreRelationshipActionButton":"撤销","searchAddress":"搜索地址","sexFieldLabelText":"性别","stateProvince":"省份","stroke":"卒中","unidentifiedPatient":"未知患者","unknown":"未知","updatePatient":"更新患者","updationSuccessToastDescription":"患者信息已成功更新","updationSuccessToastTitle":"患者详情已更新","years":"","yearsEstimateRequired":"需要年龄估算","yes":"是"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[879],{9879: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":"是"}')}}]);