@kenyaemr/esm-patient-registration-app 8.0.1-pre.99 → 8.0.2

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 (133) hide show
  1. package/.turbo/turbo-build.log +23 -22
  2. package/dist/108.js +1 -0
  3. package/dist/108.js.map +1 -0
  4. package/dist/130.js +1 -1
  5. package/dist/130.js.LICENSE.txt +2 -0
  6. package/dist/130.js.map +1 -1
  7. package/dist/2.js +1 -0
  8. package/dist/2.js.map +1 -0
  9. package/dist/250.js +1 -0
  10. package/dist/250.js.map +1 -0
  11. package/dist/271.js +1 -1
  12. package/dist/319.js +1 -1
  13. package/dist/325.js +1 -0
  14. package/dist/325.js.map +1 -0
  15. package/dist/372.js +2 -0
  16. package/dist/372.js.map +1 -0
  17. package/dist/460.js +1 -1
  18. package/dist/574.js +1 -1
  19. package/dist/644.js +1 -1
  20. package/dist/66.js +1 -0
  21. package/dist/66.js.map +1 -0
  22. package/dist/662.js +1 -0
  23. package/dist/662.js.map +1 -0
  24. package/dist/757.js +1 -1
  25. package/dist/{59.js → 76.js} +1 -1
  26. package/dist/{59.js.map → 76.js.map} +1 -1
  27. package/dist/788.js +1 -1
  28. package/dist/807.js +1 -1
  29. package/dist/833.js +1 -1
  30. package/dist/895.js +2 -0
  31. package/dist/895.js.LICENSE.txt +34 -0
  32. package/dist/895.js.map +1 -0
  33. package/dist/kenyaemr-esm-patient-registration-app.js +1 -1
  34. package/dist/kenyaemr-esm-patient-registration-app.js.buildmanifest.json +161 -188
  35. package/dist/kenyaemr-esm-patient-registration-app.js.map +1 -1
  36. package/dist/main.js +1 -1
  37. package/dist/main.js.LICENSE.txt +10 -0
  38. package/dist/main.js.map +1 -1
  39. package/dist/routes.json +1 -1
  40. package/package-lock.json +6047 -0
  41. package/package.json +3 -4
  42. package/src/client-registry/client-registry.component.tsx +22 -0
  43. package/src/client-registry/hie-client-registry/hie-client-registry.component.tsx +134 -0
  44. package/src/client-registry/hie-client-registry/hie-client-registry.scss +53 -0
  45. package/src/client-registry/hie-client-registry/hie-resource.ts +162 -0
  46. package/src/client-registry/hie-client-registry/hie-types.ts +29 -0
  47. package/src/client-registry/hie-client-registry/modal/confirm-hie.modal.tsx +82 -0
  48. package/src/client-registry/hie-client-registry/modal/confirm-hie.scss +10 -0
  49. package/src/{patient-verification → client-registry/patient-verification}/patient-verification-hook.tsx +1 -1
  50. package/src/{patient-verification → client-registry/patient-verification}/patient-verification-utils.ts +1 -1
  51. package/src/{patient-verification → client-registry/patient-verification}/patient-verification.component.tsx +1 -1
  52. package/src/{patient-verification → client-registry/patient-verification}/patient-verification.scss +1 -1
  53. package/src/{patient-verification → client-registry/patient-verification}/verification-modal/empty-prompt.component.tsx +9 -6
  54. package/src/config-schema.ts +72 -2
  55. package/src/index.ts +6 -6
  56. package/src/patient-registration/field/cause-of-death/cause-of-death.component.tsx +98 -0
  57. package/src/patient-registration/field/date-and-time-of-death/date-and-time-of-death.component.tsx +84 -0
  58. package/src/patient-registration/field/dob/dob.component.tsx +21 -7
  59. package/src/patient-registration/field/field.component.tsx +11 -5
  60. package/src/patient-registration/field/field.resource.ts +11 -4
  61. package/src/patient-registration/field/field.scss +44 -5
  62. package/src/patient-registration/field/gender/gender-field.component.tsx +2 -1
  63. package/src/patient-registration/field/gender/gender-field.test.tsx +1 -0
  64. package/src/patient-registration/field/id/id-field.component.tsx +8 -6
  65. package/src/patient-registration/field/id/id-field.test.tsx +27 -8
  66. package/src/patient-registration/field/name/name-field.component.tsx +5 -1
  67. package/src/patient-registration/field/person-attributes/coded-person-attribute-field.component.tsx +1 -0
  68. package/src/patient-registration/field/person-attributes/custom-person-attribute-field.component.tsx +76 -27
  69. package/src/patient-registration/field/person-attributes/location-person-attribute-field.component.tsx +105 -0
  70. package/src/patient-registration/field/person-attributes/location-person-attribute-field.resource.tsx +48 -0
  71. package/src/patient-registration/field/person-attributes/person-attribute-field.component.tsx +12 -1
  72. package/src/patient-registration/field/person-attributes/useUpdateIdentifierRequirement.tsx +83 -0
  73. package/src/patient-registration/form-manager.test.ts +21 -0
  74. package/src/patient-registration/form-manager.ts +40 -20
  75. package/src/patient-registration/input/basic-input/input/input.component.tsx +5 -1
  76. package/src/patient-registration/input/custom-input/identifier/identifier-input.component.tsx +18 -10
  77. package/src/patient-registration/input/custom-input/identifier/identifier-input.test.tsx +166 -67
  78. package/src/patient-registration/input/dummy-data/dummy-data-input.component.tsx +3 -0
  79. package/src/patient-registration/input/input.scss +5 -0
  80. package/src/patient-registration/patient-registration-context.ts +4 -3
  81. package/src/patient-registration/patient-registration-hooks.ts +67 -9
  82. package/src/patient-registration/patient-registration-utils.ts +3 -7
  83. package/src/patient-registration/patient-registration.component.tsx +44 -30
  84. package/src/patient-registration/patient-registration.resource.ts +8 -0
  85. package/src/patient-registration/patient-registration.test.tsx +9 -3
  86. package/src/patient-registration/patient-registration.types.ts +4 -1
  87. package/src/patient-registration/section/death-info/death-info-section.component.tsx +22 -17
  88. package/src/patient-registration/section/death-info/death-info-section.test.tsx +4 -14
  89. package/src/patient-registration/section/section.component.tsx +1 -1
  90. package/src/patient-registration/section/section.scss +5 -0
  91. package/src/patient-registration/validation/{patient-registration-validation.test.tsx → patient-registration-validation.test.ts} +26 -4
  92. package/src/patient-registration/validation/patient-registration-validation.ts +126 -0
  93. package/src/routes.json +14 -17
  94. package/src/widgets/cancel-patient-edit.modal.tsx +33 -0
  95. package/src/widgets/cancel-patient-edit.test.tsx +2 -3
  96. package/src/widgets/delete-identifier-confirmation.modal.tsx +22 -15
  97. package/src/widgets/delete-identifier-confirmation.test.tsx +2 -1
  98. package/translations/am.json +36 -25
  99. package/translations/ar.json +37 -26
  100. package/translations/en.json +51 -20
  101. package/translations/es.json +38 -26
  102. package/translations/fr.json +47 -35
  103. package/translations/he.json +37 -30
  104. package/translations/km.json +37 -30
  105. package/translations/zh.json +37 -20
  106. package/translations/zh_CN.json +37 -20
  107. package/dist/152.js +0 -1
  108. package/dist/152.js.map +0 -1
  109. package/dist/255.js +0 -2
  110. package/dist/255.js.map +0 -1
  111. package/dist/303.js +0 -1
  112. package/dist/303.js.map +0 -1
  113. package/dist/330.js +0 -1
  114. package/dist/330.js.map +0 -1
  115. package/dist/564.js +0 -1
  116. package/dist/564.js.map +0 -1
  117. package/dist/623.js +0 -1
  118. package/dist/623.js.map +0 -1
  119. package/dist/729.js +0 -1
  120. package/dist/729.js.map +0 -1
  121. package/dist/735.js +0 -1
  122. package/dist/735.js.map +0 -1
  123. package/dist/831.js +0 -2
  124. package/dist/831.js.LICENSE.txt +0 -14
  125. package/dist/831.js.map +0 -1
  126. package/src/patient-registration/validation/patient-registration-validation.tsx +0 -60
  127. package/src/widgets/cancel-patient-edit.component.tsx +0 -37
  128. package/src/widgets/delete-identifier-confirmation.scss +0 -34
  129. /package/dist/{255.js.LICENSE.txt → 372.js.LICENSE.txt} +0 -0
  130. /package/src/{patient-verification → client-registry/patient-verification}/assets/counties.json +0 -0
  131. /package/src/{patient-verification → client-registry/patient-verification}/assets/verification-assets.ts +0 -0
  132. /package/src/{patient-verification → client-registry/patient-verification}/verification-modal/confirm-prompt.component.tsx +0 -0
  133. /package/src/{patient-verification → client-registry/patient-verification}/verification-types.ts +0 -0
@@ -3,69 +3,85 @@
3
3
  "addressHeader": "地址",
4
4
  "allFieldsRequiredText": "所有字段都是必填的,除非标记为可选。",
5
5
  "autoGeneratedPlaceholderText": "自动生成",
6
- "birthdayNotInTheFuture": "生日不能是未来的日期",
6
+ "birthdayNotInTheFuture": "Birthday cannot be in future",
7
+ "birthdayNotOver140YearsAgo": "Birthday cannot be more than 140 years ago",
7
8
  "birthdayRequired": "生日是必填项",
8
9
  "birthFieldLabelText": "出生",
9
10
  "cancel": "取消",
10
- "causeOfDeathInputLabel": "死因",
11
+ "causeOfDeathInputLabel": "Cause of death",
11
12
  "closeOverlay": "关闭叠加",
12
13
  "codedPersonAttributeAnswerSetEmpty": "编码的人员属性字段'{{codedPersonAttributeFieldId}}'已使用没有任何概念答案的答案概念集UUID'{{answerConceptSetUuid}}'进行定义。",
13
14
  "codedPersonAttributeAnswerSetInvalid": "编码的人员属性字段'{{codedPersonAttributeFieldId}}'已使用无效的答案概念集UUID'{{answerConceptSetUuid}}'进行定义。",
14
15
  "codedPersonAttributeNoAnswerSet": "人员属性字段'{{codedPersonAttributeFieldId}}'的类型为'coded',但未定义答案概念集UUID。'answerConceptSetUuid'键是必需的。",
15
16
  "configure": "配置",
16
17
  "configureIdentifiers": "配置ID标识",
18
+ "confirmDiscardChangesBody": "Your unsaved changes will be lost if you proceed to discard the form",
19
+ "confirmDiscardChangesTitle": "Are you sure you want to discard these changes?",
17
20
  "confirmIdentifierDeletionText": "Are you sure you want to remove this identifier?",
18
21
  "contactSection": "联系方式",
19
22
  "createNewPatient": "Create new patient",
20
- "dateOfBirthLabelText": "出生日期",
21
- "deathDateInputLabel": "死亡日期",
22
- "deathdayNotInTheFuture": "死亡日期不能是未来的日期",
23
+ "dateOfBirthLabelText": "Date of birth",
24
+ "deathCauseRequired": "Cause of death is required",
25
+ "deathDateInFuture": "Death date cannot be in future",
26
+ "deathDateInputLabel": "Date of death",
27
+ "deathDateRequired": "Death date is required",
28
+ "deathdayInvalidDate": "Death date and time cannot be before the birthday",
29
+ "deathdayIsRequired": "Death date is required when the patient is marked as deceased.",
30
+ "deathdayNotInTheFuture": "",
23
31
  "deathSection": "死亡信息",
32
+ "deathTimeFormatInvalid": "Time format is invalid",
33
+ "deathTimeFormatRequired": "Time format is required",
34
+ "deathTimeInvalid": "Time doesn't match the format 'hh:mm'",
35
+ "deathTimeRequired": "Death time is required",
24
36
  "deleteIdentifierModalHeading": "Remove identifier?",
25
37
  "deleteIdentifierModalText": " has a value of ",
26
38
  "deleteIdentifierTooltip": "删除",
27
39
  "deleteRelationshipTooltipText": "删除",
28
40
  "demographicsSection": "基本信息",
29
41
  "discard": "放弃",
30
- "discardModalBody": "您对该患者的详细信息所做的更改尚未保存。放弃更改吗?",
31
- "discardModalHeader": "确认放弃更改",
32
42
  "dobToggleLabelText": "出生日期已知?",
33
43
  "editIdentifierTooltip": "编辑",
34
44
  "editPatientDetails": "编辑患者详情",
35
45
  "editPatientDetailsBreadcrumb": "编辑患者详情",
46
+ "enterNonCodedCauseOfDeath": "Enter non-coded cause of death",
36
47
  "error": "错误",
48
+ "errorFetchingCodedCausesOfDeath": "Error fetching coded causes of death",
37
49
  "errorFetchingOrderedFields": "获取地址层次结构的排序字段时发生错误",
38
50
  "estimatedAgeInMonthsLabelText": "月龄估算",
39
51
  "estimatedAgeInYearsLabelText": "年龄估算",
40
52
  "familyNameLabelText": "姓氏",
41
53
  "familyNameRequired": "姓氏是必填项",
42
54
  "female": "女性",
55
+ "fieldsWithErrors": "The following fields have errors: ",
43
56
  "fullNameLabelText": "全名",
44
57
  "genderLabelText": "性别",
45
58
  "genderRequired": "性别是必填项",
46
- "genderUnspecified": "性别未指定",
59
+ "genderUnspecified": "Gender unspecified",
47
60
  "givenNameLabelText": "名字",
48
61
  "givenNameRequired": "名字是必填项",
49
62
  "identifierValueRequired": "ID标识是必填项",
50
63
  "idFieldLabelText": "ID",
51
64
  "IDInstructions": "选择您想为该患者添加的ID标识:",
52
- "incompleteForm": "表单未填完",
53
- "invalidEmail": "需要提供一个有效的电子邮件地址",
65
+ "invalidEmail": "Invalid email",
54
66
  "invalidInput": "输入无效",
55
- "isDeadInputLabel": "已故",
67
+ "isDeadInputLabel": "Is dead",
56
68
  "jumpTo": "跳转至",
57
69
  "male": "男性",
58
70
  "middleNameLabelText": "中间名",
59
- "negativeMonths": "负的月份",
60
- "negativeYears": "负的年份",
71
+ "negativeMonths": "Estimated months cannot be negative",
72
+ "negativeYears": "Estimated years cannot be negative",
61
73
  "no": "否",
74
+ "nonCodedCauseOfDeath": "Non-coded cause of death",
75
+ "nonCodedCauseOfDeathRequired": "Cause of death is required",
76
+ "nonsensicalYears": "Estimated years cannot be more than 140",
62
77
  "numberInNameDubious": "姓名中含有数字",
63
78
  "obsFieldUnknownDatatype": "obs字段'{{fieldDefinitionId}}'的概念具有未知数据类型'{{datatypeName}}'",
64
79
  "optional": "可选的",
65
80
  "other": "其他",
66
81
  "patientNameKnown": "患者的姓名已知?",
67
82
  "patientRegistrationBreadcrumb": "患者注册",
68
- "registerPatient": "注册患者",
83
+ "refreshOrContactAdmin": "Try refreshing the page or contact your system administrator",
84
+ "registerPatient": "Register patient",
69
85
  "registerPatientSuccessSnackbarSubtitle": "现在可以通过姓名或ID号搜索到该患者",
70
86
  "registerPatientSuccessSnackbarTitle": "新患者已创建",
71
87
  "registrationErrorSnackbarTitle": "患者注册失败",
@@ -75,9 +91,9 @@
75
91
  "relationshipRemovedText": "关系已移除",
76
92
  "relationshipsSection": "关系人信息",
77
93
  "relationshipToPatient": "与患者的关系",
78
- "relativeFullNameLabelText": "关系人",
94
+ "relativeFullNameLabelText": "Full name",
79
95
  "relativeNamePlaceholder": "名字 姓氏",
80
- "removeIdentifierButton": "Remove Identifier",
96
+ "removeIdentifierButton": "Remove identifier",
81
97
  "resetIdentifierTooltip": "重置",
82
98
  "restoreRelationshipActionButton": "撤销",
83
99
  "searchAddress": "搜索地址",
@@ -85,15 +101,16 @@
85
101
  "selectAnOption": "选择一个选项",
86
102
  "sexFieldLabelText": "性别",
87
103
  "source": "来源",
88
- "stroke": "卒中",
89
104
  "submitting": "提交中",
90
- "unableToFetch": "无法获取人员属性类型{{personattributetype}}",
105
+ "timeFormat": "Time Format",
106
+ "timeOfDeathInputLabel": "Time of death (hh:mm)",
107
+ "unableToFetch": "Unable to fetch person attribute type - {{personattributetype}}",
91
108
  "unknown": "未知",
92
109
  "unknownPatientAttributeType": "患者属性类型具有未知格式{{personAttributeTypeFormat}}",
93
- "updatePatient": "更新患者",
110
+ "updatePatient": "Update patient",
94
111
  "updatePatientErrorSnackbarTitle": "患者详情更新失败",
95
112
  "updatePatientSuccessSnackbarSubtitle": "患者的信息已成功更新",
96
113
  "updatePatientSuccessSnackbarTitle": "患者详情已更新",
97
- "yearsEstimateRequired": "需要年龄估算",
114
+ "yearsEstimateRequired": "Estimated years required",
98
115
  "yes": "是"
99
116
  }
@@ -3,69 +3,85 @@
3
3
  "addressHeader": "地址",
4
4
  "allFieldsRequiredText": "所有字段都是必填的,除非标记为可选。",
5
5
  "autoGeneratedPlaceholderText": "自动生成",
6
- "birthdayNotInTheFuture": "生日不能是未来的日期",
6
+ "birthdayNotInTheFuture": "Birthday cannot be in future",
7
+ "birthdayNotOver140YearsAgo": "Birthday cannot be more than 140 years ago",
7
8
  "birthdayRequired": "生日是必填项",
8
9
  "birthFieldLabelText": "出生",
9
10
  "cancel": "取消",
10
- "causeOfDeathInputLabel": "死因",
11
+ "causeOfDeathInputLabel": "Cause of death",
11
12
  "closeOverlay": "关闭叠加",
12
13
  "codedPersonAttributeAnswerSetEmpty": "编码的人员属性字段'{{codedPersonAttributeFieldId}}'已使用没有任何概念答案的答案概念集UUID'{{answerConceptSetUuid}}'进行定义。",
13
14
  "codedPersonAttributeAnswerSetInvalid": "编码的人员属性字段'{{codedPersonAttributeFieldId}}'已使用无效的答案概念集UUID'{{answerConceptSetUuid}}'进行定义。",
14
15
  "codedPersonAttributeNoAnswerSet": "人员属性字段'{{codedPersonAttributeFieldId}}'的类型为'coded',但未定义答案概念集UUID。'answerConceptSetUuid'键是必需的。",
15
16
  "configure": "配置",
16
17
  "configureIdentifiers": "配置ID标识",
18
+ "confirmDiscardChangesBody": "Your unsaved changes will be lost if you proceed to discard the form",
19
+ "confirmDiscardChangesTitle": "Are you sure you want to discard these changes?",
17
20
  "confirmIdentifierDeletionText": "Are you sure you want to remove this identifier?",
18
21
  "contactSection": "联系方式",
19
22
  "createNewPatient": "Create new patient",
20
- "dateOfBirthLabelText": "出生日期",
21
- "deathDateInputLabel": "死亡日期",
22
- "deathdayNotInTheFuture": "死亡日期不能是未来的日期",
23
+ "dateOfBirthLabelText": "Date of birth",
24
+ "deathCauseRequired": "Cause of death is required",
25
+ "deathDateInFuture": "Death date cannot be in future",
26
+ "deathDateInputLabel": "Date of death",
27
+ "deathDateRequired": "Death date is required",
28
+ "deathdayInvalidDate": "Death date and time cannot be before the birthday",
29
+ "deathdayIsRequired": "Death date is required when the patient is marked as deceased.",
30
+ "deathdayNotInTheFuture": "",
23
31
  "deathSection": "死亡信息",
32
+ "deathTimeFormatInvalid": "Time format is invalid",
33
+ "deathTimeFormatRequired": "Time format is required",
34
+ "deathTimeInvalid": "Time doesn't match the format 'hh:mm'",
35
+ "deathTimeRequired": "Death time is required",
24
36
  "deleteIdentifierModalHeading": "Remove identifier?",
25
37
  "deleteIdentifierModalText": " has a value of ",
26
38
  "deleteIdentifierTooltip": "删除",
27
39
  "deleteRelationshipTooltipText": "删除",
28
40
  "demographicsSection": "基本信息",
29
41
  "discard": "放弃",
30
- "discardModalBody": "您对该患者的详细信息所做的更改尚未保存。放弃更改吗?",
31
- "discardModalHeader": "确认放弃更改",
32
42
  "dobToggleLabelText": "出生日期已知?",
33
43
  "editIdentifierTooltip": "编辑",
34
44
  "editPatientDetails": "编辑患者详情",
35
45
  "editPatientDetailsBreadcrumb": "编辑患者详情",
46
+ "enterNonCodedCauseOfDeath": "Enter non-coded cause of death",
36
47
  "error": "错误",
48
+ "errorFetchingCodedCausesOfDeath": "Error fetching coded causes of death",
37
49
  "errorFetchingOrderedFields": "获取地址层次结构的排序字段时发生错误",
38
50
  "estimatedAgeInMonthsLabelText": "月龄估算",
39
51
  "estimatedAgeInYearsLabelText": "年龄估算",
40
52
  "familyNameLabelText": "姓氏",
41
53
  "familyNameRequired": "姓氏是必填项",
42
54
  "female": "女性",
55
+ "fieldsWithErrors": "The following fields have errors: ",
43
56
  "fullNameLabelText": "全名",
44
57
  "genderLabelText": "性别",
45
58
  "genderRequired": "性别是必填项",
46
- "genderUnspecified": "性别未指定",
59
+ "genderUnspecified": "Gender unspecified",
47
60
  "givenNameLabelText": "名字",
48
61
  "givenNameRequired": "名字是必填项",
49
62
  "identifierValueRequired": "ID标识是必填项",
50
63
  "idFieldLabelText": "ID",
51
64
  "IDInstructions": "选择您想为该患者添加的ID标识:",
52
- "incompleteForm": "表单未填完",
53
- "invalidEmail": "需要提供一个有效的电子邮件地址",
65
+ "invalidEmail": "Invalid email",
54
66
  "invalidInput": "输入无效",
55
- "isDeadInputLabel": "已故",
67
+ "isDeadInputLabel": "Is dead",
56
68
  "jumpTo": "跳转至",
57
69
  "male": "男性",
58
70
  "middleNameLabelText": "中间名",
59
- "negativeMonths": "负的月份",
60
- "negativeYears": "负的年份",
71
+ "negativeMonths": "Estimated months cannot be negative",
72
+ "negativeYears": "Estimated years cannot be negative",
61
73
  "no": "否",
74
+ "nonCodedCauseOfDeath": "Non-coded cause of death",
75
+ "nonCodedCauseOfDeathRequired": "Cause of death is required",
76
+ "nonsensicalYears": "Estimated years cannot be more than 140",
62
77
  "numberInNameDubious": "姓名中含有数字",
63
78
  "obsFieldUnknownDatatype": "obs字段'{{fieldDefinitionId}}'的概念具有未知数据类型'{{datatypeName}}'",
64
79
  "optional": "可选的",
65
80
  "other": "其他",
66
81
  "patientNameKnown": "患者的姓名已知?",
67
82
  "patientRegistrationBreadcrumb": "患者注册",
68
- "registerPatient": "注册患者",
83
+ "refreshOrContactAdmin": "Try refreshing the page or contact your system administrator",
84
+ "registerPatient": "Register patient",
69
85
  "registerPatientSuccessSnackbarSubtitle": "现在可以通过姓名或ID号搜索到该患者",
70
86
  "registerPatientSuccessSnackbarTitle": "新患者已创建",
71
87
  "registrationErrorSnackbarTitle": "患者注册失败",
@@ -75,9 +91,9 @@
75
91
  "relationshipRemovedText": "关系已移除",
76
92
  "relationshipsSection": "关系人信息",
77
93
  "relationshipToPatient": "与患者的关系",
78
- "relativeFullNameLabelText": "关系人",
94
+ "relativeFullNameLabelText": "Full name",
79
95
  "relativeNamePlaceholder": "名字 姓氏",
80
- "removeIdentifierButton": "Remove Identifier",
96
+ "removeIdentifierButton": "Remove identifier",
81
97
  "resetIdentifierTooltip": "重置",
82
98
  "restoreRelationshipActionButton": "撤销",
83
99
  "searchAddress": "搜索地址",
@@ -85,15 +101,16 @@
85
101
  "selectAnOption": "选择一个选项",
86
102
  "sexFieldLabelText": "性别",
87
103
  "source": "来源",
88
- "stroke": "卒中",
89
104
  "submitting": "提交中",
90
- "unableToFetch": "无法获取人员属性类型{{personattributetype}}",
105
+ "timeFormat": "Time Format",
106
+ "timeOfDeathInputLabel": "Time of death (hh:mm)",
107
+ "unableToFetch": "Unable to fetch person attribute type - {{personattributetype}}",
91
108
  "unknown": "未知",
92
109
  "unknownPatientAttributeType": "患者属性类型具有未知格式{{personAttributeTypeFormat}}",
93
- "updatePatient": "更新患者",
110
+ "updatePatient": "Update patient",
94
111
  "updatePatientErrorSnackbarTitle": "患者详情更新失败",
95
112
  "updatePatientSuccessSnackbarSubtitle": "患者的信息已成功更新",
96
113
  "updatePatientSuccessSnackbarTitle": "患者详情已更新",
97
- "yearsEstimateRequired": "需要年龄估算",
114
+ "yearsEstimateRequired": "Estimated years required",
98
115
  "yes": "是"
99
116
  }
package/dist/152.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[152,303],{2303:(e,a,t)=>{t.r(a),t.d(a,{default:()=>l,immutable:()=>r});var i=t(3255),n=t(3325);const r=e=>(a,t,i)=>(i.revalidateOnFocus=!1,i.revalidateIfStale=!1,i.revalidateOnReconnect=!1,e(a,t,i)),l=(0,n.withMiddleware)(i.ZP,r)}}]);
package/dist/152.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"152.js","mappings":"qPAGA,MAAMA,EAAaC,GAAa,CAACC,EAAKC,EAASC,KAEvCA,EAAOC,mBAAoB,EAC3BD,EAAOE,mBAAoB,EAC3BF,EAAOG,uBAAwB,EACxBN,EAAWC,EAAKC,EAASC,IAElCI,GAAkB,IAAAC,gBAAe,KAAQT,E","sources":["webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/swr/immutable/dist/index.mjs"],"names":["immutable","useSWRNext","key","fetcher","config","revalidateOnFocus","revalidateIfStale","revalidateOnReconnect","useSWRImmutable","withMiddleware"],"sourceRoot":""}
package/dist/255.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 255.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[255],{452:(e,t,n)=>{var r=n(268),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=r.useState,a=r.useEffect,u=r.useLayoutEffect,d=r.useDebugValue;function o(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=s({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return u((function(){i.value=n,i.getSnapshot=t,o(i)&&c({inst:i})}),[e,n,t]),a((function(){return o(i)&&c({inst:i}),e((function(){o(i)&&c({inst:i})}))}),[e]),d(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},3100:(e,t,n)=>{e.exports=n(452)},3255:(e,t,n)=>{n.d(t,{ZP:()=>d});var r=n(268),i=n(3100),s=n(3325);const a=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),u={dedupe:!0},d=(s.OBJECT.defineProperty(s.SWRConfig,"defaultValue",{value:s.defaultConfig}),(0,s.withArgs)(((e,t,n)=>{const{cache:d,compare:o,suspense:c,fallbackData:l,revalidateOnMount:f,revalidateIfStale:E,refreshInterval:g,refreshWhenHidden:v,refreshWhenOffline:h,keepPreviousData:p}=n,[R,S,U,_]=s.SWRGlobalState.get(d),[T,V]=(0,s.serialize)(e),b=(0,r.useRef)(!1),m=(0,r.useRef)(!1),y=(0,r.useRef)(T),C=(0,r.useRef)(t),w=(0,r.useRef)(n),L=()=>w.current,k=()=>L().isVisible()&&L().isOnline(),[I,O,D,A]=(0,s.createCacheHelper)(d,T),N=(0,r.useRef)({}).current,F=(0,s.isUndefined)(l)?n.fallback[T]:l,P=(e,t)=>{for(const n in N){const r=n;if("data"===r){if(!o(e[r],t[r])){if(!(0,s.isUndefined)(e[r]))return!1;if(!o(z,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},j=(0,r.useMemo)((()=>{const e=!!T&&!!t&&((0,s.isUndefined)(f)?!L().isPaused()&&!c&&(!!(0,s.isUndefined)(E)||E):f),n=t=>{const n=(0,s.mergeObjects)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=I(),i=A(),a=n(r),u=r===i?a:n(i);let d=a;return[()=>{const e=n(I());return P(e,d)?(d.data=e.data,d.isLoading=e.isLoading,d.isValidating=e.isValidating,d.error=e.error,d):(d=e,e)},()=>u]}),[d,T]),x=(0,i.useSyncExternalStore)((0,r.useCallback)((e=>D(T,((t,n)=>{P(n,t)||e()}))),[d,T]),j[0],j[1]),M=!b.current,W=R[T]&&R[T].length>0,G=x.data,H=(0,s.isUndefined)(G)?F:G,Y=x.error,q=(0,r.useRef)(H),z=p?(0,s.isUndefined)(G)?q.current:G:H,B=!(W&&!(0,s.isUndefined)(Y))&&(M&&!(0,s.isUndefined)(f)?f:!L().isPaused()&&(c?!(0,s.isUndefined)(H)&&E:(0,s.isUndefined)(H)||E)),J=!!(T&&t&&M&&B),Z=(0,s.isUndefined)(x.isValidating)?J:x.isValidating,K=(0,s.isUndefined)(x.isLoading)?J:x.isLoading,Q=(0,r.useCallback)((async e=>{const t=C.current;if(!T||!t||m.current||L().isPaused())return!1;let r,i,a=!0;const u=e||{},d=!U[T]||!u.dedupe,c=()=>s.IS_REACT_LEGACY?!m.current&&T===y.current&&b.current:T===y.current,l={isValidating:!1,isLoading:!1},f=()=>{O(l)},E=()=>{const e=U[T];e&&e[1]===i&&delete U[T]},g={isValidating:!0};(0,s.isUndefined)(I().data)&&(g.isLoading=!0);try{if(d&&(O(g),n.loadingTimeout&&(0,s.isUndefined)(I().data)&&setTimeout((()=>{a&&c()&&L().onLoadingSlow(T,n)}),n.loadingTimeout),U[T]=[t(V),(0,s.getTimestamp)()]),[r,i]=U[T],r=await r,d&&setTimeout(E,n.dedupingInterval),!U[T]||U[T][1]!==i)return d&&c()&&L().onDiscarded(T),!1;l.error=s.UNDEFINED;const e=S[T];if(!(0,s.isUndefined)(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return f(),d&&c()&&L().onDiscarded(T),!1;const u=I().data;l.data=o(u,r)?u:r,d&&c()&&L().onSuccess(r,T,n)}catch(e){E();const t=L(),{shouldRetryOnError:n}=t;t.isPaused()||(l.error=e,d&&c()&&(t.onError(e,T,t),(!0===n||(0,s.isFunction)(n)&&n(e))&&k()&&t.onErrorRetry(e,T,t,(e=>{const t=R[T];t&&t[0]&&t[0](s.revalidateEvents.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(u.retryCount||0)+1,dedupe:!0})))}return a=!1,f(),!0}),[T,d]),X=(0,r.useCallback)(((...e)=>(0,s.internalMutate)(d,y.current,...e)),[]);if((0,s.useIsomorphicLayoutEffect)((()=>{C.current=t,w.current=n,(0,s.isUndefined)(G)||(q.current=G)})),(0,s.useIsomorphicLayoutEffect)((()=>{if(!T)return;const e=Q.bind(s.UNDEFINED,u);let t=0;const n=(0,s.subscribeCallback)(T,R,((n,r={})=>{if(n==s.revalidateEvents.FOCUS_EVENT){const n=Date.now();L().revalidateOnFocus&&n>t&&k()&&(t=n+L().focusThrottleInterval,e())}else if(n==s.revalidateEvents.RECONNECT_EVENT)L().revalidateOnReconnect&&k()&&e();else{if(n==s.revalidateEvents.MUTATE_EVENT)return Q();if(n==s.revalidateEvents.ERROR_REVALIDATE_EVENT)return Q(r)}}));return m.current=!1,y.current=T,b.current=!0,O({_k:V}),B&&((0,s.isUndefined)(H)||s.IS_SERVER?e():(0,s.rAF)(e)),()=>{m.current=!0,n()}}),[T]),(0,s.useIsomorphicLayoutEffect)((()=>{let e;function t(){const t=(0,s.isFunction)(g)?g(I().data):g;t&&-1!==e&&(e=setTimeout(n,t))}function n(){I().error||!v&&!L().isVisible()||!h&&!L().isOnline()?t():Q(u).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[g,v,h,T]),(0,r.useDebugValue)(z),c&&(0,s.isUndefined)(H)&&T){if(!s.IS_REACT_LEGACY&&s.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");C.current=t,w.current=n,m.current=!1;const e=_[T];if(!(0,s.isUndefined)(e)){const t=X(e);a(t)}if(!(0,s.isUndefined)(Y))throw Y;{const e=Q(u);(0,s.isUndefined)(z)||(e.status="fulfilled",e.value=!0),a(e)}}return{mutate:X,get data(){return N.data=!0,z},get error(){return N.error=!0,Y},get isValidating(){return N.isValidating=!0,Z},get isLoading(){return N.isLoading=!0,K}}})))}}]);
package/dist/255.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"255.js","mappings":";0KASa,IAAIA,EAAE,EAAQ,KAA4EC,EAAE,mBAAoBC,OAAOC,GAAGD,OAAOC,GAA1G,SAAWC,EAAEC,GAAG,OAAOD,IAAIC,IAAI,IAAID,GAAG,EAAEA,GAAI,EAAEC,IAAID,GAAIA,GAAGC,GAAIA,CAAC,EAAiDC,EAAEN,EAAEO,SAASC,EAAER,EAAES,UAAUC,EAAEV,EAAEW,gBAAgBC,EAAEZ,EAAEa,cACtM,SAASC,EAAEV,GAAG,IAAIC,EAAED,EAAEW,YAAYX,EAAEA,EAAEY,MAAM,IAAI,IAAIC,EAAEZ,IAAI,OAAOJ,EAAEG,EAAEa,EAAE,CAAC,MAAMC,GAAG,OAAM,CAAE,CAAC,CAA4B,IAAIC,EAAE,oBAAqBC,aAAQ,IAAqBA,OAAOC,eAAU,IAAqBD,OAAOC,SAASC,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AzB,EAAkByB,OAAQ,EACnBA,CACX,EACIT,mBAEA,OADAhB,EAAkBgB,cAAe,EAC1BA,CACX,EACIC,gBAEA,OADAjB,EAAkBiB,WAAY,EACvBA,CACX,EACH","sources":["webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/use-sync-external-store/shim/index.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/swr/core/dist/index.mjs"],"names":["e","k","Object","is","a","b","l","useState","m","useEffect","n","useLayoutEffect","p","useDebugValue","r","getSnapshot","value","d","f","u","window","document","createElement","inst","c","g","exports","useSyncExternalStore","module","use","promise","status","reason","then","v","WITH_DEDUPE","dedupe","useSWR","OBJECT","defineProperty","SWRConfig","defaultConfig","withArgs","_key","fetcher","config","cache","compare","suspense","fallbackData","revalidateOnMount","revalidateIfStale","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","SWRGlobalState","get","key","fnArg","serialize","initialMountedRef","useRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","current","isActive","isVisible","isOnline","getCache","setCache","subscribeCache","getInitialCache","createCacheHelper","stateDependencies","fallback","isUndefined","isEqual","prev","_","t","returnedData","useMemo","shouldStartRequest","isPaused","getSelectedCache","state","snapshot","mergeObjects","_k","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","data","error","cached","useCallback","callback","isInitialMount","hasRevalidator","length","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidate","async","revalidateOpts","currentFetcher","newData","startAt","loading","opts","shouldStartNewRequest","callbackSafeguard","IS_REACT_LEGACY","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","loadingTimeout","setTimeout","onLoadingSlow","getTimestamp","dedupingInterval","onDiscarded","UNDEFINED","mutationInfo","cacheData","onSuccess","err","currentConfig","shouldRetryOnError","onError","isFunction","onErrorRetry","_opts","revalidators","revalidateEvents","ERROR_REVALIDATE_EVENT","retryCount","boundMutate","args","internalMutate","useIsomorphicLayoutEffect","softRevalidate","bind","nextFocusRevalidatedAt","unsubEvents","subscribeCallback","type","FOCUS_EVENT","now","Date","revalidateOnFocus","focusThrottleInterval","RECONNECT_EVENT","revalidateOnReconnect","MUTATE_EVENT","IS_SERVER","rAF","timer","next","interval","execute","clearTimeout","Error","req","mutate"],"sourceRoot":""}
package/dist/303.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[303,152],{2303:(e,a,t)=>{t.r(a),t.d(a,{default:()=>l,immutable:()=>r});var i=t(3255),n=t(3325);const r=e=>(a,t,i)=>(i.revalidateOnFocus=!1,i.revalidateIfStale=!1,i.revalidateOnReconnect=!1,e(a,t,i)),l=(0,n.withMiddleware)(i.ZP,r)}}]);
package/dist/303.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"303.js","mappings":"qPAGA,MAAMA,EAAaC,GAAa,CAACC,EAAKC,EAASC,KAEvCA,EAAOC,mBAAoB,EAC3BD,EAAOE,mBAAoB,EAC3BF,EAAOG,uBAAwB,EACxBN,EAAWC,EAAKC,EAASC,IAElCI,GAAkB,IAAAC,gBAAe,KAAQT,E","sources":["webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/swr/immutable/dist/index.mjs"],"names":["immutable","useSWRNext","key","fetcher","config","revalidateOnFocus","revalidateIfStale","revalidateOnReconnect","useSWRImmutable","withMiddleware"],"sourceRoot":""}
package/dist/330.js DELETED
@@ -1 +0,0 @@
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(5950);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/330.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"330.js","mappings":"mPAkCA,QAzBgD,Y,IAAGA,EAAAA,EAAAA,MAAOC,EAAAA,EAAAA,UAClD,GAAQC,EAAAA,EAAAA,kBAANC,EACR,OACE,oCACE,kBAACC,MAAAA,CAAIC,UAAU,qBACb,kBAACC,KAAAA,CAAGD,UAAU,8BAA8BF,EAAE,sBAAuB,2BAEvE,kBAACC,MAAAA,CAAIC,UAAU,sBACb,kBAACE,IAAAA,KACEJ,EACC,kBACA,+HAIN,kBAACC,MAAAA,CAAIC,UAAU,qBACb,kBAACG,EAAAA,IAAMA,CAACC,KAAK,YAAYC,QAASV,GAC/BG,EAAE,SAAU,WAEf,kBAACK,EAAAA,IAAMA,CAACE,QAAST,GAAYE,EAAE,WAAY,8BAInD,C","sources":["webpack://@kenyaemr/esm-patient-registration-app/./src/patient-verification/verification-modal/empty-prompt.component.tsx"],"names":["close","onConfirm","useTranslation","t","div","className","h3","p","Button","kind","onClick"],"sourceRoot":""}