@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.
- package/.turbo/turbo-build.log +24 -23
- package/dist/132.js +1 -1
- package/dist/197.js +1 -1
- package/dist/236.js +1 -1
- package/dist/300.js +1 -1
- package/dist/335.js +1 -1
- package/dist/41.js +1 -1
- package/dist/41.js.map +1 -1
- package/dist/421.js +1 -0
- package/dist/421.js.map +1 -0
- package/dist/449.js +1 -0
- package/dist/449.js.map +1 -0
- package/dist/531.js +2 -0
- package/dist/531.js.LICENSE.txt +24 -0
- package/dist/531.js.map +1 -0
- package/dist/55.js +1 -1
- package/dist/652.js +1 -1
- package/dist/661.js +1 -1
- package/dist/757.js +1 -0
- package/dist/757.js.map +1 -0
- package/dist/813.js +1 -0
- package/dist/813.js.map +1 -0
- package/dist/828.js +1 -0
- package/dist/828.js.map +1 -0
- package/dist/830.js +1 -0
- package/dist/830.js.map +1 -0
- package/dist/831.js +1 -1
- package/dist/831.js.map +1 -1
- package/dist/879.js +1 -1
- package/dist/913.js +1 -1
- package/dist/913.js.LICENSE.txt +3 -3
- package/dist/913.js.map +1 -1
- package/dist/927.js +1 -0
- package/dist/927.js.map +1 -0
- package/dist/99.js +1 -1
- package/dist/ampath-esm-patient-registration-app.js +1 -1
- package/dist/ampath-esm-patient-registration-app.js.buildmanifest.json +204 -132
- package/dist/ampath-esm-patient-registration-app.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.LICENSE.txt +0 -32
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +7 -10
- package/src/config-schema.ts +19 -10
- package/src/index.ts +11 -4
- package/src/offline.resources.ts +13 -18
- package/src/offline.ts +6 -4
- package/src/patient-photo.extension.tsx +9 -0
- package/src/patient-registration/field/address/custom-address-field.component.tsx +1 -0
- package/src/patient-registration/field/custom-field.component.tsx +6 -0
- package/src/patient-registration/field/dob/dob.component.tsx +45 -49
- package/src/patient-registration/field/field.resource.ts +3 -3
- package/src/patient-registration/field/obs/obs-field.component.tsx +1 -1
- package/src/patient-registration/field/person-attributes/coded-person-attribute-field.component.tsx +4 -0
- package/src/patient-registration/field/person-attributes/custom-person-attribute-field.component.tsx +56 -0
- package/src/patient-registration/field/person-attributes/person-attribute-field.component.tsx +22 -7
- package/src/patient-registration/field/person-attributes/person-attributes.resource.ts +2 -2
- package/src/patient-registration/field/phone/phone-field.component.tsx +1 -0
- package/src/patient-registration/form-manager.ts +13 -6
- package/src/patient-registration/patient-registration-hooks.ts +133 -9
- package/src/patient-registration/patient-registration.component.tsx +55 -13
- package/src/patient-registration/{patient-registration.resource.test.tsx → patient-registration.resource.testt.tsx} +4 -4
- package/src/patient-registration/patient-registration.resource.ts +15 -75
- package/src/patient-registration/patient-registration.scss +0 -8
- package/src/patient-registration/patient-registration.types.ts +7 -1
- package/src/patient-registration/section/patient-relationships/relationships-section.component.tsx +5 -1
- package/src/patient-registration/section/patient-relationships/relationships.resource.tsx +2 -2
- package/src/patient-verification/assets/counties.json +236 -0
- package/src/patient-verification/assets/verification-assets.ts +11 -0
- package/src/patient-verification/patient-verification-hook.tsx +181 -0
- package/src/patient-verification/patient-verification-utils.ts +179 -0
- package/src/patient-verification/patient-verification.component.tsx +124 -0
- package/src/patient-verification/patient-verification.scss +25 -0
- package/src/patient-verification/verification-modal/confirm-prompt.component.tsx +72 -0
- package/src/patient-verification/verification-modal/empty-prompt.component.tsx +35 -0
- package/src/patient-verification/verification-types.ts +50 -0
- package/src/patient-verification-HIE/assets/counties.json +236 -0
- package/src/patient-verification-HIE/assets/verification-assets.ts +11 -0
- package/src/patient-verification-HIE/patient-verification-hook.tsx +181 -0
- package/src/patient-verification-HIE/patient-verification-utils.ts +179 -0
- package/src/patient-verification-HIE/patient-verification.component.tsx +124 -0
- package/src/patient-verification-HIE/patient-verification.scss +25 -0
- package/src/patient-verification-HIE/verification-modal/confirm-prompt.component.tsx +72 -0
- package/src/patient-verification-HIE/verification-modal/empty-prompt.component.tsx +35 -0
- package/src/patient-verification-HIE/verification-types.ts +50 -0
- package/src/routes.json +12 -3
- package/translations/am.json +26 -12
- package/translations/ar.json +26 -12
- package/translations/en.json +18 -4
- package/translations/es.json +10 -0
- package/translations/fr.json +6 -0
- package/translations/he.json +18 -0
- package/translations/km.json +18 -0
- package/translations/zh.json +30 -22
- package/translations/zh_CN.json +30 -22
- package/dist/229.js +0 -2
- package/dist/229.js.LICENSE.txt +0 -56
- package/dist/229.js.map +0 -1
- package/dist/537.js +0 -1
- package/dist/537.js.map +0 -1
- package/dist/56.js +0 -1
- package/dist/56.js.map +0 -1
- package/dist/885.js +0 -1
- package/dist/885.js.map +0 -1
- package/dist/918.js +0 -1
- package/dist/918.js.map +0 -1
- package/src/patient-registration/field/address/tests/address-hierarchy.test.tsx +0 -214
- package/src/patient-registration/field/address/tests/address-search-component.test.tsx +0 -135
- package/src/patient-registration/field/dob/dob.test.tsx +0 -75
- package/src/patient-registration/field/field.test.tsx +0 -294
- package/src/patient-registration/field/id/id-field.test.tsx +0 -107
- package/src/patient-registration/field/person-attributes/coded-attributes.component.tsx +0 -60
- package/src/patient-registration/field/person-attributes/coded-person-attribute-field.test.tsx +0 -127
- package/src/patient-registration/field/person-attributes/person-attribute-field.test.tsx +0 -187
- package/src/patient-registration/field/person-attributes/text-person-attribute-field.test.tsx +0 -88
- package/src/patient-registration/form-manager.test.ts +0 -67
- package/src/patient-registration/input/basic-input/select/select-input.test.tsx +0 -49
- package/src/patient-registration/input/custom-input/autosuggest/autosuggest.test.tsx +0 -132
- package/src/patient-registration/input/custom-input/identifier/identifier-input.test.tsx +0 -107
- package/src/patient-registration/patient-registration.test.tsx +0 -471
- package/src/patient-registration/section/death-info/death-info-section.test.tsx +0 -64
- package/src/patient-registration/section/demographics/demographics-section.test.tsx +0 -83
- package/src/patient-registration/section/patient-relationships/relationships-section.test.tsx +0 -100
- package/src/patient-verification/client-registry-constants.ts +0 -13
- package/src/patient-verification/client-registry.component.tsx +0 -66
- package/src/patient-verification/client-registry.scss +0 -1
- package/src/patient-verification/utils.tsx +0 -56
- package/src/patient-verification/verification-modal.scss +0 -20
- package/src/patient-verification/verification.component.tsx +0 -48
- package/src/root.test.tsx +0 -32
- package/src/widgets/cancel-patient-edit.test.tsx +0 -27
- package/src/widgets/display-photo.component.tsx +0 -30
- package/src/widgets/display-photo.test.tsx +0 -37
- package/src/widgets/edit-patient-details-button.test.tsx +0 -41
- /package/src/patient-registration/input/custom-input/identifier/{utils.test.ts → utils.testt.ts} +0 -0
- /package/src/widgets/{delete-identifier-confirmation-modal.test.tsx → delete-identifier-confirmation-modal.testt.tsx} +0 -0
package/translations/zh.json
CHANGED
|
@@ -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
|
-
"
|
|
11
|
+
"closeOverlay": "关闭叠加",
|
|
12
|
+
"codedPersonAttributeAnswerSetEmpty": "编码的人员属性字段'{{codedPersonAttributeFieldId}}'已使用没有任何概念答案的答案概念集UUID'{{answerConceptSetUuid}}'进行定义。",
|
|
13
|
+
"codedPersonAttributeAnswerSetInvalid": "编码的人员属性字段'{{codedPersonAttributeFieldId}}'已使用无效的答案概念集UUID'{{answerConceptSetUuid}}'进行定义。",
|
|
14
|
+
"codedPersonAttributeNoAnswerSet": "人员属性字段'{{codedPersonAttributeFieldId}}'的类型为'coded',但未定义答案概念集UUID。'answerConceptSetUuid'键是必需的。",
|
|
14
15
|
"configure": "配置",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
64
|
-
"phoneNumberInputLabelText": "电话号码",
|
|
65
|
-
"postalCode": "邮政编码",
|
|
66
|
+
"patientRegistrationBreadcrumb": "患者注册",
|
|
66
67
|
"registerPatient": "注册患者",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
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
|
-
"
|
|
85
|
+
"source": "来源",
|
|
80
86
|
"stroke": "卒中",
|
|
81
|
-
"
|
|
87
|
+
"submitting": "提交中",
|
|
88
|
+
"unableToFetch": "无法获取人员属性类型{{personattributetype}}",
|
|
82
89
|
"unknown": "未知",
|
|
90
|
+
"unknownPatientAttributeType": "患者属性类型具有未知格式{{personAttributeTypeFormat}}",
|
|
83
91
|
"updatePatient": "更新患者",
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
92
|
+
"updatePatientErrorSnackbarTitle": "患者详情更新失败",
|
|
93
|
+
"updatePatientSuccessSnackbarSubtitle": "患者的信息已成功更新",
|
|
94
|
+
"updatePatientSuccessSnackbarTitle": "患者详情已更新",
|
|
87
95
|
"yearsEstimateRequired": "需要年龄估算",
|
|
88
96
|
"yes": "是"
|
|
89
97
|
}
|
package/translations/zh_CN.json
CHANGED
|
@@ -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
|
-
"
|
|
11
|
+
"closeOverlay": "关闭叠加",
|
|
12
|
+
"codedPersonAttributeAnswerSetEmpty": "编码的人员属性字段'{{codedPersonAttributeFieldId}}'已使用没有任何概念答案的答案概念集UUID'{{answerConceptSetUuid}}'进行定义。",
|
|
13
|
+
"codedPersonAttributeAnswerSetInvalid": "编码的人员属性字段'{{codedPersonAttributeFieldId}}'已使用无效的答案概念集UUID'{{answerConceptSetUuid}}'进行定义。",
|
|
14
|
+
"codedPersonAttributeNoAnswerSet": "人员属性字段'{{codedPersonAttributeFieldId}}'的类型为'coded',但未定义答案概念集UUID。'answerConceptSetUuid'键是必需的。",
|
|
14
15
|
"configure": "配置",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
64
|
-
"phoneNumberInputLabelText": "电话号码",
|
|
65
|
-
"postalCode": "邮政编码",
|
|
66
|
+
"patientRegistrationBreadcrumb": "患者注册",
|
|
66
67
|
"registerPatient": "注册患者",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
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
|
-
"
|
|
85
|
+
"source": "来源",
|
|
80
86
|
"stroke": "卒中",
|
|
81
|
-
"
|
|
87
|
+
"submitting": "提交中",
|
|
88
|
+
"unableToFetch": "无法获取人员属性类型{{personattributetype}}",
|
|
82
89
|
"unknown": "未知",
|
|
90
|
+
"unknownPatientAttributeType": "患者属性类型具有未知格式{{personAttributeTypeFormat}}",
|
|
83
91
|
"updatePatient": "更新患者",
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
92
|
+
"updatePatientErrorSnackbarTitle": "患者详情更新失败",
|
|
93
|
+
"updatePatientSuccessSnackbarSubtitle": "患者的信息已成功更新",
|
|
94
|
+
"updatePatientSuccessSnackbarTitle": "患者详情已更新",
|
|
87
95
|
"yearsEstimateRequired": "需要年龄估算",
|
|
88
96
|
"yes": "是"
|
|
89
97
|
}
|