@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
@@ -1,7 +1,5 @@
1
1
  {
2
2
  "addRelationshipButtonText": "添加关系",
3
- "address1": "地址行1",
4
- "address2": "地址行2",
5
3
  "addressHeader": "地址",
6
4
  "allFieldsRequiredText": "所有字段都是必填的,除非标记为可选。",
7
5
  "autoGeneratedPlaceholderText": "自动生成",
@@ -10,16 +8,21 @@
10
8
  "birthFieldLabelText": "出生",
11
9
  "cancel": "取消",
12
10
  "causeOfDeathInputLabel": "死因",
13
- "cityVillage": "城市",
11
+ "closeOverlay": "关闭叠加",
12
+ "codedPersonAttributeAnswerSetEmpty": "编码的人员属性字段'{{codedPersonAttributeFieldId}}'已使用没有任何概念答案的答案概念集UUID'{{answerConceptSetUuid}}'进行定义。",
13
+ "codedPersonAttributeAnswerSetInvalid": "编码的人员属性字段'{{codedPersonAttributeFieldId}}'已使用无效的答案概念集UUID'{{answerConceptSetUuid}}'进行定义。",
14
+ "codedPersonAttributeNoAnswerSet": "人员属性字段'{{codedPersonAttributeFieldId}}'的类型为'coded',但未定义答案概念集UUID。'answerConceptSetUuid'键是必需的。",
14
15
  "configure": "配置",
15
- "country": "国家",
16
- "countyDistrict": "区县",
16
+ "configureIdentifiers": "配置ID标识",
17
+ "contactSection": "联系方式",
17
18
  "createNew": "新建",
18
19
  "dateOfBirthLabelText": "出生日期",
19
20
  "deathDateInputLabel": "死亡日期",
20
21
  "deathdayNotInTheFuture": "死亡日期不能是未来的日期",
22
+ "deathSection": "死亡信息",
21
23
  "deleteIdentifierTooltip": "删除",
22
24
  "deleteRelationshipTooltipText": "删除",
25
+ "demographicsSection": "基本信息",
23
26
  "discard": "放弃",
24
27
  "discardModalBody": "您对该患者的详细信息所做的更改尚未保存。放弃更改吗?",
25
28
  "discardModalHeader": "确认放弃更改",
@@ -27,13 +30,14 @@
27
30
  "edit": "编辑",
28
31
  "editIdentifierTooltip": "编辑",
29
32
  "editPatientDetails": "编辑患者详情",
30
- "emailLabelText": "电子邮件",
33
+ "editPatientDetailsBreadcrumb": "编辑患者详情",
34
+ "error": "错误",
35
+ "errorFetchingOrderedFields": "获取地址层次结构的排序字段时发生错误",
31
36
  "estimatedAgeInMonthsLabelText": "月龄估算",
32
37
  "estimatedAgeInYearsLabelText": "年龄估算",
33
38
  "familyNameLabelText": "姓氏",
34
39
  "familyNameRequired": "姓氏是必填项",
35
40
  "female": "女性",
36
- "fieldErrorTitleMessage": "以下字段存在错误:",
37
41
  "fullNameLabelText": "全名",
38
42
  "genderLabelText": "性别",
39
43
  "genderRequired": "性别是必填项",
@@ -41,49 +45,53 @@
41
45
  "givenNameLabelText": "名字",
42
46
  "givenNameRequired": "名字是必填项",
43
47
  "identifierValueRequired": "ID标识是必填项",
44
- "idFieldLabelText": "ID标识",
48
+ "idFieldLabelText": "ID",
49
+ "IDInstructions": "选择您想为该患者添加的ID标识:",
45
50
  "incompleteForm": "表单未填完",
46
51
  "invalidEmail": "需要提供一个有效的电子邮件地址",
47
52
  "invalidInput": "输入无效",
48
53
  "isDeadInputLabel": "已故",
49
54
  "jumpTo": "跳转至",
50
- "loadingResults": "正在加载结果",
51
55
  "male": "男性",
52
56
  "middleNameLabelText": "中间名",
53
- "months": "月",
54
57
  "negativeMonths": "负的月份",
55
58
  "negativeYears": "负的年份",
56
59
  "no": "否",
57
- "noResultsFound": "未找到结果",
58
60
  "numberInNameDubious": "姓名中含有数字",
61
+ "obsFieldUnknownDatatype": "obs字段'{{fieldDefinitionId}}'的概念具有未知数据类型'{{datatypeName}}'",
59
62
  "optional": "可选的",
60
63
  "other": "其他",
61
64
  "patient": "患者",
62
65
  "patientNameKnown": "患者的姓名已知?",
63
- "phoneEmailLabelText": "电话、电子邮件等。",
64
- "phoneNumberInputLabelText": "电话号码",
65
- "postalCode": "邮政编码",
66
+ "patientRegistrationBreadcrumb": "患者注册",
66
67
  "registerPatient": "注册患者",
67
- "registrationSuccessToastDescription": "现在可以通过姓名或ID来搜索患者。",
68
- "registrationSuccessToastTitle": "新患者已创建",
68
+ "registerPatientSuccessSnackbarSubtitle": "现在可以通过姓名或ID号搜索到该患者",
69
+ "registerPatientSuccessSnackbarTitle": "新患者已创建",
70
+ "registrationErrorSnackbarTitle": "患者注册失败",
69
71
  "relationship": "关系",
72
+ "relationshipPersonMustExist": "关系人必须是现有的人员",
70
73
  "relationshipPlaceholder": "关系",
71
74
  "relationshipRemovedText": "关系已移除",
75
+ "relationshipsSection": "关系人信息",
72
76
  "relationshipToPatient": "与患者的关系",
73
- "relativeFullNameLabelText": "全名",
77
+ "relativeFullNameLabelText": "关系人",
74
78
  "relativeNamePlaceholder": "名字 姓氏",
75
79
  "resetIdentifierTooltip": "重置",
76
80
  "restoreRelationshipActionButton": "撤销",
77
81
  "searchAddress": "搜索地址",
82
+ "searchIdentifierPlaceholder": "搜索ID标识",
83
+ "selectAnOption": "选择一个选项",
78
84
  "sexFieldLabelText": "性别",
79
- "stateProvince": "省份",
85
+ "source": "来源",
80
86
  "stroke": "卒中",
81
- "unidentifiedPatient": "未知患者",
87
+ "submitting": "提交中",
88
+ "unableToFetch": "无法获取人员属性类型{{personattributetype}}",
82
89
  "unknown": "未知",
90
+ "unknownPatientAttributeType": "患者属性类型具有未知格式{{personAttributeTypeFormat}}",
83
91
  "updatePatient": "更新患者",
84
- "updationSuccessToastDescription": "患者信息已成功更新",
85
- "updationSuccessToastTitle": "患者详情已更新",
86
- "years": "",
92
+ "updatePatientErrorSnackbarTitle": "患者详情更新失败",
93
+ "updatePatientSuccessSnackbarSubtitle": "患者的信息已成功更新",
94
+ "updatePatientSuccessSnackbarTitle": "患者详情已更新",
87
95
  "yearsEstimateRequired": "需要年龄估算",
88
96
  "yes": "是"
89
97
  }
@@ -1,7 +1,5 @@
1
1
  {
2
2
  "addRelationshipButtonText": "添加关系",
3
- "address1": "地址行1",
4
- "address2": "地址行2",
5
3
  "addressHeader": "地址",
6
4
  "allFieldsRequiredText": "所有字段都是必填的,除非标记为可选。",
7
5
  "autoGeneratedPlaceholderText": "自动生成",
@@ -10,16 +8,21 @@
10
8
  "birthFieldLabelText": "出生",
11
9
  "cancel": "取消",
12
10
  "causeOfDeathInputLabel": "死因",
13
- "cityVillage": "城市",
11
+ "closeOverlay": "关闭叠加",
12
+ "codedPersonAttributeAnswerSetEmpty": "编码的人员属性字段'{{codedPersonAttributeFieldId}}'已使用没有任何概念答案的答案概念集UUID'{{answerConceptSetUuid}}'进行定义。",
13
+ "codedPersonAttributeAnswerSetInvalid": "编码的人员属性字段'{{codedPersonAttributeFieldId}}'已使用无效的答案概念集UUID'{{answerConceptSetUuid}}'进行定义。",
14
+ "codedPersonAttributeNoAnswerSet": "人员属性字段'{{codedPersonAttributeFieldId}}'的类型为'coded',但未定义答案概念集UUID。'answerConceptSetUuid'键是必需的。",
14
15
  "configure": "配置",
15
- "country": "国家",
16
- "countyDistrict": "区县",
16
+ "configureIdentifiers": "配置ID标识",
17
+ "contactSection": "联系方式",
17
18
  "createNew": "新建",
18
19
  "dateOfBirthLabelText": "出生日期",
19
20
  "deathDateInputLabel": "死亡日期",
20
21
  "deathdayNotInTheFuture": "死亡日期不能是未来的日期",
22
+ "deathSection": "死亡信息",
21
23
  "deleteIdentifierTooltip": "删除",
22
24
  "deleteRelationshipTooltipText": "删除",
25
+ "demographicsSection": "基本信息",
23
26
  "discard": "放弃",
24
27
  "discardModalBody": "您对该患者的详细信息所做的更改尚未保存。放弃更改吗?",
25
28
  "discardModalHeader": "确认放弃更改",
@@ -27,13 +30,14 @@
27
30
  "edit": "编辑",
28
31
  "editIdentifierTooltip": "编辑",
29
32
  "editPatientDetails": "编辑患者详情",
30
- "emailLabelText": "电子邮件",
33
+ "editPatientDetailsBreadcrumb": "编辑患者详情",
34
+ "error": "错误",
35
+ "errorFetchingOrderedFields": "获取地址层次结构的排序字段时发生错误",
31
36
  "estimatedAgeInMonthsLabelText": "月龄估算",
32
37
  "estimatedAgeInYearsLabelText": "年龄估算",
33
38
  "familyNameLabelText": "姓氏",
34
39
  "familyNameRequired": "姓氏是必填项",
35
40
  "female": "女性",
36
- "fieldErrorTitleMessage": "以下字段存在错误:",
37
41
  "fullNameLabelText": "全名",
38
42
  "genderLabelText": "性别",
39
43
  "genderRequired": "性别是必填项",
@@ -41,49 +45,53 @@
41
45
  "givenNameLabelText": "名字",
42
46
  "givenNameRequired": "名字是必填项",
43
47
  "identifierValueRequired": "ID标识是必填项",
44
- "idFieldLabelText": "ID标识",
48
+ "idFieldLabelText": "ID",
49
+ "IDInstructions": "选择您想为该患者添加的ID标识:",
45
50
  "incompleteForm": "表单未填完",
46
51
  "invalidEmail": "需要提供一个有效的电子邮件地址",
47
52
  "invalidInput": "输入无效",
48
53
  "isDeadInputLabel": "已故",
49
54
  "jumpTo": "跳转至",
50
- "loadingResults": "正在加载结果",
51
55
  "male": "男性",
52
56
  "middleNameLabelText": "中间名",
53
- "months": "月",
54
57
  "negativeMonths": "负的月份",
55
58
  "negativeYears": "负的年份",
56
59
  "no": "否",
57
- "noResultsFound": "未找到结果",
58
60
  "numberInNameDubious": "姓名中含有数字",
61
+ "obsFieldUnknownDatatype": "obs字段'{{fieldDefinitionId}}'的概念具有未知数据类型'{{datatypeName}}'",
59
62
  "optional": "可选的",
60
63
  "other": "其他",
61
64
  "patient": "患者",
62
65
  "patientNameKnown": "患者的姓名已知?",
63
- "phoneEmailLabelText": "电话、电子邮件等。",
64
- "phoneNumberInputLabelText": "电话号码",
65
- "postalCode": "邮政编码",
66
+ "patientRegistrationBreadcrumb": "患者注册",
66
67
  "registerPatient": "注册患者",
67
- "registrationSuccessToastDescription": "现在可以通过姓名或ID来搜索患者。",
68
- "registrationSuccessToastTitle": "新患者已创建",
68
+ "registerPatientSuccessSnackbarSubtitle": "现在可以通过姓名或ID号搜索到该患者",
69
+ "registerPatientSuccessSnackbarTitle": "新患者已创建",
70
+ "registrationErrorSnackbarTitle": "患者注册失败",
69
71
  "relationship": "关系",
72
+ "relationshipPersonMustExist": "关系人必须是现有的人员",
70
73
  "relationshipPlaceholder": "关系",
71
74
  "relationshipRemovedText": "关系已移除",
75
+ "relationshipsSection": "关系人信息",
72
76
  "relationshipToPatient": "与患者的关系",
73
- "relativeFullNameLabelText": "全名",
77
+ "relativeFullNameLabelText": "关系人",
74
78
  "relativeNamePlaceholder": "名字 姓氏",
75
79
  "resetIdentifierTooltip": "重置",
76
80
  "restoreRelationshipActionButton": "撤销",
77
81
  "searchAddress": "搜索地址",
82
+ "searchIdentifierPlaceholder": "搜索ID标识",
83
+ "selectAnOption": "选择一个选项",
78
84
  "sexFieldLabelText": "性别",
79
- "stateProvince": "省份",
85
+ "source": "来源",
80
86
  "stroke": "卒中",
81
- "unidentifiedPatient": "未知患者",
87
+ "submitting": "提交中",
88
+ "unableToFetch": "无法获取人员属性类型{{personattributetype}}",
82
89
  "unknown": "未知",
90
+ "unknownPatientAttributeType": "患者属性类型具有未知格式{{personAttributeTypeFormat}}",
83
91
  "updatePatient": "更新患者",
84
- "updationSuccessToastDescription": "患者信息已成功更新",
85
- "updationSuccessToastTitle": "患者详情已更新",
86
- "years": "",
92
+ "updatePatientErrorSnackbarTitle": "患者详情更新失败",
93
+ "updatePatientSuccessSnackbarSubtitle": "患者的信息已成功更新",
94
+ "updatePatientSuccessSnackbarTitle": "患者详情已更新",
87
95
  "yearsEstimateRequired": "需要年龄估算",
88
96
  "yes": "是"
89
97
  }