@kenyaemr/esm-patient-registration-app 8.1.1-pre.129 → 8.1.2-pre.152

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 (124) hide show
  1. package/.turbo/turbo-build.log +21 -23
  2. package/dist/108.js +1 -1
  3. package/dist/130.js +1 -1
  4. package/dist/130.js.map +1 -1
  5. package/dist/173.js +2 -0
  6. package/dist/{895.js.LICENSE.txt → 173.js.LICENSE.txt} +25 -0
  7. package/dist/173.js.map +1 -0
  8. package/dist/236.js +1 -0
  9. package/dist/240.js +1 -0
  10. package/dist/261.js +1 -0
  11. package/dist/271.js +1 -1
  12. package/dist/272.js +1 -0
  13. package/dist/319.js +1 -1
  14. package/dist/336.js +1 -0
  15. package/dist/371.js +1 -0
  16. package/dist/371.js.map +1 -0
  17. package/dist/378.js +1 -0
  18. package/dist/460.js +1 -1
  19. package/dist/501.js +1 -1
  20. package/dist/501.js.map +1 -1
  21. package/dist/539.js +1 -0
  22. package/dist/566.js +1 -0
  23. package/dist/574.js +1 -1
  24. package/dist/623.js +1 -0
  25. package/dist/623.js.map +1 -0
  26. package/dist/644.js +1 -1
  27. package/dist/652.js +1 -0
  28. package/dist/657.js +1 -0
  29. package/dist/657.js.map +1 -0
  30. package/dist/673.js +1 -0
  31. package/dist/705.js +1 -0
  32. package/dist/711.js +1 -0
  33. package/dist/727.js +1 -0
  34. package/dist/737.js +1 -0
  35. package/dist/744.js +1 -0
  36. package/dist/757.js +1 -1
  37. package/dist/759.js +1 -0
  38. package/dist/759.js.map +1 -0
  39. package/dist/76.js +1 -1
  40. package/dist/788.js +1 -1
  41. package/dist/807.js +1 -1
  42. package/dist/833.js +1 -1
  43. package/dist/899.js +1 -0
  44. package/dist/kenyaemr-esm-patient-registration-app.js +1 -1
  45. package/dist/kenyaemr-esm-patient-registration-app.js.buildmanifest.json +445 -93
  46. package/dist/kenyaemr-esm-patient-registration-app.js.map +1 -1
  47. package/dist/main.js +1 -1
  48. package/dist/main.js.LICENSE.txt +25 -0
  49. package/dist/main.js.map +1 -1
  50. package/dist/routes.json +1 -1
  51. package/package-lock.json +2052 -1699
  52. package/package.json +4 -4
  53. package/src/client-registry/hie-client-registry/dependants/dependants.component.tsx +46 -0
  54. package/src/client-registry/hie-client-registry/hie-client-registry.component.tsx +38 -8
  55. package/src/client-registry/hie-client-registry/hie-resource.ts +126 -21
  56. package/src/client-registry/hie-client-registry/hie-types.ts +102 -0
  57. package/src/client-registry/hie-client-registry/modal/confirm-hie.modal.tsx +78 -62
  58. package/src/client-registry/hie-client-registry/modal/confirm-hie.scss +55 -3
  59. package/src/client-registry/hie-client-registry/modal/hie-otp-verification-form.component.tsx +88 -0
  60. package/src/client-registry/hie-client-registry/modal/hie-patient-detail-preview.component.tsx +77 -0
  61. package/src/client-registry/hie-client-registry/patient-info/patient-info.component.tsx +17 -0
  62. package/src/config-schema.ts +30 -2
  63. package/src/patient-registration/field/address/address-search.component.tsx +5 -2
  64. package/src/patient-registration/field/date-and-time-of-death/date-and-time-of-death.component.tsx +1 -1
  65. package/src/patient-registration/field/dob/dob.component.tsx +1 -1
  66. package/src/patient-registration/field/gender/gender-field.component.tsx +6 -2
  67. package/src/patient-registration/field/id/identifier-selection-overlay.component.tsx +3 -3
  68. package/src/patient-registration/field/name/name-field.component.tsx +2 -2
  69. package/src/patient-registration/field/obs/obs-field.component.tsx +9 -5
  70. package/src/patient-registration/field/person-attributes/coded-person-attribute-field.component.tsx +3 -3
  71. package/src/patient-registration/field/person-attributes/coded-person-attribute-field.test.tsx +22 -11
  72. package/src/patient-registration/field/person-attributes/location-person-attribute-field.component.tsx +1 -1
  73. package/src/patient-registration/field/person-attributes/person-attribute-field.test.tsx +12 -4
  74. package/src/patient-registration/form-manager.test.ts +4 -1
  75. package/src/patient-registration/form-manager.ts +0 -1
  76. package/src/patient-registration/input/custom-input/autosuggest/autosuggest.test.tsx +52 -62
  77. package/src/patient-registration/mpi/mpi-patient.resource.ts +21 -0
  78. package/src/patient-registration/patient-registration-hooks.ts +90 -25
  79. package/src/patient-registration/patient-registration-utils.test.ts +33 -0
  80. package/src/patient-registration/patient-registration-utils.ts +63 -13
  81. package/src/patient-registration/patient-registration.component.tsx +17 -2
  82. package/src/patient-registration/patient-registration.test.tsx +442 -56
  83. package/src/patient-registration/section/demographics/demographics-section.component.tsx +3 -3
  84. package/src/patient-registration/section/patient-relationships/relationships-section.component.tsx +1 -1
  85. package/src/patient-registration/section/patient-relationships/relationships.resource.tsx +28 -28
  86. package/src/widgets/cancel-patient-edit.modal.tsx +2 -0
  87. package/src/widgets/cancel-patient-edit.scss +29 -0
  88. package/src/widgets/delete-identifier-confirmation.modal.tsx +2 -0
  89. package/src/widgets/delete-identifier-confirmation.scss +29 -0
  90. package/translations/am.json +1 -0
  91. package/translations/ar.json +6 -4
  92. package/translations/de.json +118 -0
  93. package/translations/en.json +17 -0
  94. package/translations/es.json +2 -0
  95. package/translations/fr.json +1 -0
  96. package/translations/he.json +1 -0
  97. package/translations/hi.json +118 -0
  98. package/translations/hi_IN.json +118 -0
  99. package/translations/id.json +118 -0
  100. package/translations/it.json +118 -0
  101. package/translations/km.json +1 -0
  102. package/translations/ne.json +118 -0
  103. package/translations/pt.json +118 -0
  104. package/translations/pt_BR.json +118 -0
  105. package/translations/qu.json +118 -0
  106. package/translations/si.json +118 -0
  107. package/translations/sw.json +118 -0
  108. package/translations/sw_KE.json +118 -0
  109. package/translations/tr.json +118 -0
  110. package/translations/tr_TR.json +118 -0
  111. package/translations/uk.json +118 -0
  112. package/translations/vi.json +118 -0
  113. package/translations/zh.json +3 -1
  114. package/translations/zh_CN.json +2 -0
  115. package/dist/250.js +0 -1
  116. package/dist/250.js.map +0 -1
  117. package/dist/66.js +0 -1
  118. package/dist/66.js.map +0 -1
  119. package/dist/662.js +0 -1
  120. package/dist/662.js.map +0 -1
  121. package/dist/753.js +0 -1
  122. package/dist/753.js.map +0 -1
  123. package/dist/895.js +0 -2
  124. package/dist/895.js.map +0 -1
@@ -0,0 +1,118 @@
1
+ {
2
+ "addRelationshipButtonText": "Add Relationship",
3
+ "addressHeader": "Address",
4
+ "allFieldsRequiredText": "All fields are required unless marked optional",
5
+ "autoGeneratedPlaceholderText": "Auto-generated",
6
+ "birthdayNotInTheFuture": "Birthday cannot be in future",
7
+ "birthdayNotOver140YearsAgo": "Birthday cannot be more than 140 years ago",
8
+ "birthdayRequired": "Birthday is required",
9
+ "birthFieldLabelText": "Birth",
10
+ "cancel": "Cancel",
11
+ "causeOfDeathInputLabel": "Cause of death",
12
+ "closeOverlay": "Close overlay",
13
+ "codedPersonAttributeAnswerSetEmpty": "The coded person attribute field '{{codedPersonAttributeFieldId}}' has been defined with an answer concept set UUID '{{answerConceptSetUuid}}' that does not have any concept answers.",
14
+ "codedPersonAttributeAnswerSetInvalid": "The coded person attribute field '{{codedPersonAttributeFieldId}}' has been defined with an invalid answer concept set UUID '{{answerConceptSetUuid}}'.",
15
+ "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.",
16
+ "configure": "Configure",
17
+ "configureIdentifiers": "Configure identifiers",
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?",
20
+ "confirmIdentifierDeletionText": "Are you sure you want to remove this identifier?",
21
+ "contactSection": "Contact Details",
22
+ "createNewPatient": "Create new patient",
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": "",
31
+ "deathSection": "Death Info",
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",
36
+ "deleteIdentifierModalHeading": "Remove identifier?",
37
+ "deleteIdentifierModalText": " has a value of ",
38
+ "deleteIdentifierTooltip": "Delete",
39
+ "deleteRelationshipTooltipText": "Delete",
40
+ "demographicsSection": "Basic Info",
41
+ "discard": "Discard",
42
+ "dobToggleLabelText": "Date of Birth Known?",
43
+ "editIdentifierTooltip": "Edit",
44
+ "editPatientDetails": "Edit patient details",
45
+ "editPatientDetailsBreadcrumb": "Edit patient details",
46
+ "enterNonCodedCauseOfDeath": "Enter non-coded cause of death",
47
+ "error": "Error",
48
+ "errorFetchingCodedCausesOfDeath": "Error fetching coded causes of death",
49
+ "errorFetchingOrderedFields": "Error occured fetching ordered fields for address hierarchy",
50
+ "estimatedAgeInMonthsLabelText": "Estimated age in months",
51
+ "estimatedAgeInYearsLabelText": "Estimated age in years",
52
+ "familyNameLabelText": "Family Name",
53
+ "familyNameRequired": "Family name is required",
54
+ "female": "Female",
55
+ "fieldsWithErrors": "The following fields have errors: ",
56
+ "fullNameLabelText": "Full Name",
57
+ "genderLabelText": "Sex",
58
+ "genderRequired": "Gender is required",
59
+ "genderUnspecified": "Gender unspecified",
60
+ "givenNameLabelText": "First Name",
61
+ "givenNameRequired": "Given name is required",
62
+ "identifierValueRequired": "Identifier value is required",
63
+ "idFieldLabelText": "Identifiers",
64
+ "IDInstructions": "Select the identifiers you'd like to add for this patient:",
65
+ "invalidEmail": "Invalid email",
66
+ "invalidInput": "Invalid Input",
67
+ "isDeadInputLabel": "Is dead",
68
+ "jumpTo": "Jump to",
69
+ "male": "Male",
70
+ "middleNameLabelText": "Middle Name",
71
+ "negativeMonths": "Estimated months cannot be negative",
72
+ "negativeYears": "Estimated years cannot be negative",
73
+ "no": "No",
74
+ "nonCodedCauseOfDeath": "Non-coded cause of death",
75
+ "nonCodedCauseOfDeathRequired": "Cause of death is required",
76
+ "nonsensicalYears": "Estimated years cannot be more than 140",
77
+ "numberInNameDubious": "Number in name is dubious",
78
+ "obsFieldUnknownDatatype": "Concept for obs field '{{fieldDefinitionId}}' has unknown datatype '{{datatypeName}}'",
79
+ "optional": "optional",
80
+ "optionalIdentifierLabel": "{{identifierName}} (optional)",
81
+ "other": "Other",
82
+ "patientNameKnown": "Patient's Name is Known?",
83
+ "patientRegistrationBreadcrumb": "Patient Registration",
84
+ "refreshOrContactAdmin": "Try refreshing the page or contact your system administrator",
85
+ "registerPatient": "Register patient",
86
+ "registerPatientSuccessSnackbarSubtitle": "The patient can now be found by searching for them using their name or ID number",
87
+ "registerPatientSuccessSnackbarTitle": "New Patient Created",
88
+ "registrationErrorSnackbarTitle": "Patient Registration Failed",
89
+ "relationship": "Relationship",
90
+ "relationshipPersonMustExist": "Related person must be an existing person",
91
+ "relationshipPlaceholder": "Relationship",
92
+ "relationshipRemovedText": "Relationship removed",
93
+ "relationshipsSection": "Relationships",
94
+ "relationshipToPatient": "Relationship to patient",
95
+ "relativeFullNameLabelText": "Full name",
96
+ "relativeNamePlaceholder": "Firstname Familyname",
97
+ "removeIdentifierButton": "Remove identifier",
98
+ "resetIdentifierTooltip": "Reset",
99
+ "restoreRelationshipActionButton": "Undo",
100
+ "searchAddress": "Search address",
101
+ "searchIdentifierPlaceholder": "Search identifier",
102
+ "searchLocationPersonAttribute": "Search location",
103
+ "selectAnOption": "Select an option",
104
+ "sexFieldLabelText": "Sex",
105
+ "source": "Source",
106
+ "submitting": "Submitting",
107
+ "timeFormat": "Time Format",
108
+ "timeOfDeathInputLabel": "Time of death (hh:mm)",
109
+ "unableToFetch": "Unable to fetch person attribute type - {{personattributetype}}",
110
+ "unknown": "Unknown",
111
+ "unknownPatientAttributeType": "Patient attribute type has unknown format {{personAttributeTypeFormat}}",
112
+ "updatePatient": "Update patient",
113
+ "updatePatientErrorSnackbarTitle": "Patient Details Update Failed",
114
+ "updatePatientSuccessSnackbarSubtitle": "The patient's information has been successfully updated",
115
+ "updatePatientSuccessSnackbarTitle": "Patient Details Updated",
116
+ "yearsEstimateRequired": "Estimated years required",
117
+ "yes": "Yes"
118
+ }
@@ -0,0 +1,118 @@
1
+ {
2
+ "addRelationshipButtonText": "Add Relationship",
3
+ "addressHeader": "Address",
4
+ "allFieldsRequiredText": "All fields are required unless marked optional",
5
+ "autoGeneratedPlaceholderText": "Auto-generated",
6
+ "birthdayNotInTheFuture": "Birthday cannot be in future",
7
+ "birthdayNotOver140YearsAgo": "Birthday cannot be more than 140 years ago",
8
+ "birthdayRequired": "Birthday is required",
9
+ "birthFieldLabelText": "Birth",
10
+ "cancel": "Cancel",
11
+ "causeOfDeathInputLabel": "Cause of death",
12
+ "closeOverlay": "Close overlay",
13
+ "codedPersonAttributeAnswerSetEmpty": "The coded person attribute field '{{codedPersonAttributeFieldId}}' has been defined with an answer concept set UUID '{{answerConceptSetUuid}}' that does not have any concept answers.",
14
+ "codedPersonAttributeAnswerSetInvalid": "The coded person attribute field '{{codedPersonAttributeFieldId}}' has been defined with an invalid answer concept set UUID '{{answerConceptSetUuid}}'.",
15
+ "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.",
16
+ "configure": "Configure",
17
+ "configureIdentifiers": "Configure identifiers",
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?",
20
+ "confirmIdentifierDeletionText": "Are you sure you want to remove this identifier?",
21
+ "contactSection": "Contact Details",
22
+ "createNewPatient": "Create new patient",
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": "",
31
+ "deathSection": "Death Info",
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",
36
+ "deleteIdentifierModalHeading": "Remove identifier?",
37
+ "deleteIdentifierModalText": " has a value of ",
38
+ "deleteIdentifierTooltip": "Delete",
39
+ "deleteRelationshipTooltipText": "Delete",
40
+ "demographicsSection": "Basic Info",
41
+ "discard": "Discard",
42
+ "dobToggleLabelText": "Date of Birth Known?",
43
+ "editIdentifierTooltip": "Edit",
44
+ "editPatientDetails": "Edit patient details",
45
+ "editPatientDetailsBreadcrumb": "Edit patient details",
46
+ "enterNonCodedCauseOfDeath": "Enter non-coded cause of death",
47
+ "error": "Error",
48
+ "errorFetchingCodedCausesOfDeath": "Error fetching coded causes of death",
49
+ "errorFetchingOrderedFields": "Error occured fetching ordered fields for address hierarchy",
50
+ "estimatedAgeInMonthsLabelText": "Estimated age in months",
51
+ "estimatedAgeInYearsLabelText": "Estimated age in years",
52
+ "familyNameLabelText": "Family Name",
53
+ "familyNameRequired": "Family name is required",
54
+ "female": "Female",
55
+ "fieldsWithErrors": "The following fields have errors: ",
56
+ "fullNameLabelText": "Full Name",
57
+ "genderLabelText": "Sex",
58
+ "genderRequired": "Gender is required",
59
+ "genderUnspecified": "Gender unspecified",
60
+ "givenNameLabelText": "First Name",
61
+ "givenNameRequired": "Given name is required",
62
+ "identifierValueRequired": "Identifier value is required",
63
+ "idFieldLabelText": "Identifiers",
64
+ "IDInstructions": "Select the identifiers you'd like to add for this patient:",
65
+ "invalidEmail": "Invalid email",
66
+ "invalidInput": "Invalid Input",
67
+ "isDeadInputLabel": "Is dead",
68
+ "jumpTo": "Jump to",
69
+ "male": "Male",
70
+ "middleNameLabelText": "Middle Name",
71
+ "negativeMonths": "Estimated months cannot be negative",
72
+ "negativeYears": "Estimated years cannot be negative",
73
+ "no": "No",
74
+ "nonCodedCauseOfDeath": "Non-coded cause of death",
75
+ "nonCodedCauseOfDeathRequired": "Cause of death is required",
76
+ "nonsensicalYears": "Estimated years cannot be more than 140",
77
+ "numberInNameDubious": "Number in name is dubious",
78
+ "obsFieldUnknownDatatype": "Concept for obs field '{{fieldDefinitionId}}' has unknown datatype '{{datatypeName}}'",
79
+ "optional": "optional",
80
+ "optionalIdentifierLabel": "{{identifierName}} (optional)",
81
+ "other": "Other",
82
+ "patientNameKnown": "Patient's Name is Known?",
83
+ "patientRegistrationBreadcrumb": "Patient Registration",
84
+ "refreshOrContactAdmin": "Try refreshing the page or contact your system administrator",
85
+ "registerPatient": "Register patient",
86
+ "registerPatientSuccessSnackbarSubtitle": "The patient can now be found by searching for them using their name or ID number",
87
+ "registerPatientSuccessSnackbarTitle": "New Patient Created",
88
+ "registrationErrorSnackbarTitle": "Patient Registration Failed",
89
+ "relationship": "Relationship",
90
+ "relationshipPersonMustExist": "Related person must be an existing person",
91
+ "relationshipPlaceholder": "Relationship",
92
+ "relationshipRemovedText": "Relationship removed",
93
+ "relationshipsSection": "Relationships",
94
+ "relationshipToPatient": "Relationship to patient",
95
+ "relativeFullNameLabelText": "Full name",
96
+ "relativeNamePlaceholder": "Firstname Familyname",
97
+ "removeIdentifierButton": "Remove identifier",
98
+ "resetIdentifierTooltip": "Reset",
99
+ "restoreRelationshipActionButton": "Undo",
100
+ "searchAddress": "Search address",
101
+ "searchIdentifierPlaceholder": "Search identifier",
102
+ "searchLocationPersonAttribute": "Search location",
103
+ "selectAnOption": "Select an option",
104
+ "sexFieldLabelText": "Sex",
105
+ "source": "Source",
106
+ "submitting": "Submitting",
107
+ "timeFormat": "Time Format",
108
+ "timeOfDeathInputLabel": "Time of death (hh:mm)",
109
+ "unableToFetch": "Unable to fetch person attribute type - {{personattributetype}}",
110
+ "unknown": "Unknown",
111
+ "unknownPatientAttributeType": "Patient attribute type has unknown format {{personAttributeTypeFormat}}",
112
+ "updatePatient": "Update patient",
113
+ "updatePatientErrorSnackbarTitle": "Patient Details Update Failed",
114
+ "updatePatientSuccessSnackbarSubtitle": "The patient's information has been successfully updated",
115
+ "updatePatientSuccessSnackbarTitle": "Patient Details Updated",
116
+ "yearsEstimateRequired": "Estimated years required",
117
+ "yes": "Yes"
118
+ }
@@ -0,0 +1,118 @@
1
+ {
2
+ "addRelationshipButtonText": "Add Relationship",
3
+ "addressHeader": "Address",
4
+ "allFieldsRequiredText": "All fields are required unless marked optional",
5
+ "autoGeneratedPlaceholderText": "Auto-generated",
6
+ "birthdayNotInTheFuture": "Birthday cannot be in future",
7
+ "birthdayNotOver140YearsAgo": "Birthday cannot be more than 140 years ago",
8
+ "birthdayRequired": "Birthday is required",
9
+ "birthFieldLabelText": "Birth",
10
+ "cancel": "Cancel",
11
+ "causeOfDeathInputLabel": "Cause of death",
12
+ "closeOverlay": "Close overlay",
13
+ "codedPersonAttributeAnswerSetEmpty": "The coded person attribute field '{{codedPersonAttributeFieldId}}' has been defined with an answer concept set UUID '{{answerConceptSetUuid}}' that does not have any concept answers.",
14
+ "codedPersonAttributeAnswerSetInvalid": "The coded person attribute field '{{codedPersonAttributeFieldId}}' has been defined with an invalid answer concept set UUID '{{answerConceptSetUuid}}'.",
15
+ "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.",
16
+ "configure": "Configure",
17
+ "configureIdentifiers": "Configure identifiers",
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?",
20
+ "confirmIdentifierDeletionText": "Are you sure you want to remove this identifier?",
21
+ "contactSection": "Contact Details",
22
+ "createNewPatient": "Create new patient",
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": "",
31
+ "deathSection": "Death Info",
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",
36
+ "deleteIdentifierModalHeading": "Remove identifier?",
37
+ "deleteIdentifierModalText": " has a value of ",
38
+ "deleteIdentifierTooltip": "Delete",
39
+ "deleteRelationshipTooltipText": "Delete",
40
+ "demographicsSection": "Basic Info",
41
+ "discard": "Discard",
42
+ "dobToggleLabelText": "Date of Birth Known?",
43
+ "editIdentifierTooltip": "Edit",
44
+ "editPatientDetails": "Edit patient details",
45
+ "editPatientDetailsBreadcrumb": "Edit patient details",
46
+ "enterNonCodedCauseOfDeath": "Enter non-coded cause of death",
47
+ "error": "Error",
48
+ "errorFetchingCodedCausesOfDeath": "Error fetching coded causes of death",
49
+ "errorFetchingOrderedFields": "Error occured fetching ordered fields for address hierarchy",
50
+ "estimatedAgeInMonthsLabelText": "Estimated age in months",
51
+ "estimatedAgeInYearsLabelText": "Estimated age in years",
52
+ "familyNameLabelText": "Family Name",
53
+ "familyNameRequired": "Family name is required",
54
+ "female": "Female",
55
+ "fieldsWithErrors": "The following fields have errors: ",
56
+ "fullNameLabelText": "Full Name",
57
+ "genderLabelText": "Sex",
58
+ "genderRequired": "Gender is required",
59
+ "genderUnspecified": "Gender unspecified",
60
+ "givenNameLabelText": "First Name",
61
+ "givenNameRequired": "Given name is required",
62
+ "identifierValueRequired": "Identifier value is required",
63
+ "idFieldLabelText": "Identifiers",
64
+ "IDInstructions": "Select the identifiers you'd like to add for this patient:",
65
+ "invalidEmail": "Invalid email",
66
+ "invalidInput": "Invalid Input",
67
+ "isDeadInputLabel": "Is dead",
68
+ "jumpTo": "Jump to",
69
+ "male": "Male",
70
+ "middleNameLabelText": "Middle Name",
71
+ "negativeMonths": "Estimated months cannot be negative",
72
+ "negativeYears": "Estimated years cannot be negative",
73
+ "no": "No",
74
+ "nonCodedCauseOfDeath": "Non-coded cause of death",
75
+ "nonCodedCauseOfDeathRequired": "Cause of death is required",
76
+ "nonsensicalYears": "Estimated years cannot be more than 140",
77
+ "numberInNameDubious": "Number in name is dubious",
78
+ "obsFieldUnknownDatatype": "Concept for obs field '{{fieldDefinitionId}}' has unknown datatype '{{datatypeName}}'",
79
+ "optional": "optional",
80
+ "optionalIdentifierLabel": "{{identifierName}} (optional)",
81
+ "other": "Other",
82
+ "patientNameKnown": "Patient's Name is Known?",
83
+ "patientRegistrationBreadcrumb": "Patient Registration",
84
+ "refreshOrContactAdmin": "Try refreshing the page or contact your system administrator",
85
+ "registerPatient": "Register patient",
86
+ "registerPatientSuccessSnackbarSubtitle": "The patient can now be found by searching for them using their name or ID number",
87
+ "registerPatientSuccessSnackbarTitle": "New Patient Created",
88
+ "registrationErrorSnackbarTitle": "Patient Registration Failed",
89
+ "relationship": "Relationship",
90
+ "relationshipPersonMustExist": "Related person must be an existing person",
91
+ "relationshipPlaceholder": "Relationship",
92
+ "relationshipRemovedText": "Relationship removed",
93
+ "relationshipsSection": "Relationships",
94
+ "relationshipToPatient": "Relationship to patient",
95
+ "relativeFullNameLabelText": "Full name",
96
+ "relativeNamePlaceholder": "Firstname Familyname",
97
+ "removeIdentifierButton": "Remove identifier",
98
+ "resetIdentifierTooltip": "Reset",
99
+ "restoreRelationshipActionButton": "Undo",
100
+ "searchAddress": "Search address",
101
+ "searchIdentifierPlaceholder": "Search identifier",
102
+ "searchLocationPersonAttribute": "Search location",
103
+ "selectAnOption": "Select an option",
104
+ "sexFieldLabelText": "Sex",
105
+ "source": "Source",
106
+ "submitting": "Submitting",
107
+ "timeFormat": "Time Format",
108
+ "timeOfDeathInputLabel": "Time of death (hh:mm)",
109
+ "unableToFetch": "Unable to fetch person attribute type - {{personattributetype}}",
110
+ "unknown": "Unknown",
111
+ "unknownPatientAttributeType": "Patient attribute type has unknown format {{personAttributeTypeFormat}}",
112
+ "updatePatient": "Update patient",
113
+ "updatePatientErrorSnackbarTitle": "Patient Details Update Failed",
114
+ "updatePatientSuccessSnackbarSubtitle": "The patient's information has been successfully updated",
115
+ "updatePatientSuccessSnackbarTitle": "Patient Details Updated",
116
+ "yearsEstimateRequired": "Estimated years required",
117
+ "yes": "Yes"
118
+ }
@@ -0,0 +1,118 @@
1
+ {
2
+ "addRelationshipButtonText": "Thêm mối quan hệ",
3
+ "addressHeader": "Địa chỉ",
4
+ "allFieldsRequiredText": "Tất cả các trường đều bắt buộc trừ khi được đánh dấu là tùy chọn",
5
+ "autoGeneratedPlaceholderText": "Tự động tạo ra",
6
+ "birthdayNotInTheFuture": "Ngày sinh không thể là ngày trong tương lai",
7
+ "birthdayNotOver140YearsAgo": "Ngày sinh không thể cách đây quá 140 năm",
8
+ "birthdayRequired": "Ngày sinh là bắt buộc",
9
+ "birthFieldLabelText": "Sinh ra",
10
+ "cancel": "Hủy",
11
+ "causeOfDeathInputLabel": "Nguyên nhân tử vong",
12
+ "closeOverlay": "Đóng lớp phủ",
13
+ "codedPersonAttributeAnswerSetEmpty": "Trường thuộc tính người được mã hóa '{{codedPersonAttributeFieldId}}' đã được định nghĩa với tập khái niệm câu trả lời UUID '{{answerConceptSetUuid}}' không có bất kỳ câu trả lời khái niệm nào.",
14
+ "codedPersonAttributeAnswerSetInvalid": "Trường thuộc tính người được mã hóa '{{codedPersonAttributeFieldId}}' đã được định nghĩa với tập khái niệm câu trả lời không hợp lệ UUID '{{answerConceptSetUuid}}'.",
15
+ "codedPersonAttributeNoAnswerSet": "Trường thuộc tính người '{{codedPersonAttributeFieldId}}' thuộc loại 'coded' nhưng đã được định nghĩa mà không có UUID tập hợp khái niệm câu trả lời. Khóa 'answerConceptSetUuid' là bắt buộc.",
16
+ "configure": "Cấu hình",
17
+ "configureIdentifiers": "Cấu hình định danh",
18
+ "confirmDiscardChangesBody": "Những thay đổi chưa lưu của bạn sẽ bị mất nếu bạn tiếp tục hủy biểu mẫu",
19
+ "confirmDiscardChangesTitle": "Bạn có chắc chắn muốn hủy bỏ thay đổi này?",
20
+ "confirmIdentifierDeletionText": "Bạn có chắc chắn muốn xóa bỏ id này?",
21
+ "contactSection": "Chi tiết liên hệ",
22
+ "createNewPatient": "Thêm mới bệnh nhân",
23
+ "dateOfBirthLabelText": "Ngày sinh",
24
+ "deathCauseRequired": "Cause of death is required",
25
+ "deathDateInFuture": "Death date cannot be in future",
26
+ "deathDateInputLabel": "Ngày tử vong",
27
+ "deathDateRequired": "Ngày tử vong là bắt buộc",
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": "",
31
+ "deathSection": "Thông tin tử vong",
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",
36
+ "deleteIdentifierModalHeading": "Remove identifier?",
37
+ "deleteIdentifierModalText": "có một giá trị của",
38
+ "deleteIdentifierTooltip": "Xóa",
39
+ "deleteRelationshipTooltipText": "Xóa",
40
+ "demographicsSection": "Thông tin cơ bản",
41
+ "discard": "Hủy bỏ",
42
+ "dobToggleLabelText": "Date of Birth Known?",
43
+ "editIdentifierTooltip": "Chỉnh sửa",
44
+ "editPatientDetails": "Chỉnh sửa thông tin bệnh nhân",
45
+ "editPatientDetailsBreadcrumb": "Chỉnh sửa thông tin bệnh nhân",
46
+ "enterNonCodedCauseOfDeath": "Enter non-coded cause of death",
47
+ "error": "Lỗi",
48
+ "errorFetchingCodedCausesOfDeath": "Error fetching coded causes of death",
49
+ "errorFetchingOrderedFields": "Error occured fetching ordered fields for address hierarchy",
50
+ "estimatedAgeInMonthsLabelText": "Estimated age in months",
51
+ "estimatedAgeInYearsLabelText": "Estimated age in years",
52
+ "familyNameLabelText": "Family Name",
53
+ "familyNameRequired": "Family name is required",
54
+ "female": "Nữ giới",
55
+ "fieldsWithErrors": "The following fields have errors: ",
56
+ "fullNameLabelText": "Tên đầy đủ",
57
+ "genderLabelText": "Giới tính",
58
+ "genderRequired": "Giới tính là bắt buộc",
59
+ "genderUnspecified": "Gender unspecified",
60
+ "givenNameLabelText": "First Name",
61
+ "givenNameRequired": "Given name is required",
62
+ "identifierValueRequired": "Identifier value is required",
63
+ "idFieldLabelText": "Identifiers",
64
+ "IDInstructions": "Select the identifiers you'd like to add for this patient:",
65
+ "invalidEmail": "Email không hợp lệ",
66
+ "invalidInput": "Invalid Input",
67
+ "isDeadInputLabel": "Is dead",
68
+ "jumpTo": "Jump to",
69
+ "male": "Nam giới",
70
+ "middleNameLabelText": "Tên Đệm",
71
+ "negativeMonths": "Estimated months cannot be negative",
72
+ "negativeYears": "Estimated years cannot be negative",
73
+ "no": "Không",
74
+ "nonCodedCauseOfDeath": "Non-coded cause of death",
75
+ "nonCodedCauseOfDeathRequired": "Lý do tử vong là bắt buộc",
76
+ "nonsensicalYears": "Estimated years cannot be more than 140",
77
+ "numberInNameDubious": "Number in name is dubious",
78
+ "obsFieldUnknownDatatype": "Concept for obs field '{{fieldDefinitionId}}' has unknown datatype '{{datatypeName}}'",
79
+ "optional": "không bắt buộc",
80
+ "optionalIdentifierLabel": "{{identifierName}} (optional)",
81
+ "other": "Khác",
82
+ "patientNameKnown": "Patient's Name is Known?",
83
+ "patientRegistrationBreadcrumb": "Patient Registration",
84
+ "refreshOrContactAdmin": "Try refreshing the page or contact your system administrator",
85
+ "registerPatient": "Đăng ký bệnh nhân",
86
+ "registerPatientSuccessSnackbarSubtitle": "The patient can now be found by searching for them using their name or ID number",
87
+ "registerPatientSuccessSnackbarTitle": "Bệnh nhân mới đã được tạo",
88
+ "registrationErrorSnackbarTitle": "Patient Registration Failed",
89
+ "relationship": "Mối quan hệ",
90
+ "relationshipPersonMustExist": "Related person must be an existing person",
91
+ "relationshipPlaceholder": "Mối quan hệ",
92
+ "relationshipRemovedText": "Relationship removed",
93
+ "relationshipsSection": "Mối quan hệ",
94
+ "relationshipToPatient": "Relationship to patient",
95
+ "relativeFullNameLabelText": "Tên đầy đủ",
96
+ "relativeNamePlaceholder": "Firstname Familyname",
97
+ "removeIdentifierButton": "Remove identifier",
98
+ "resetIdentifierTooltip": "Cài lại",
99
+ "restoreRelationshipActionButton": "Hoàn tác",
100
+ "searchAddress": "Tìm kiếm địa chỉ",
101
+ "searchIdentifierPlaceholder": "Search identifier",
102
+ "searchLocationPersonAttribute": "Tìm kiếm vị trí",
103
+ "selectAnOption": "Chọn một tùy chọn",
104
+ "sexFieldLabelText": "Giới tính",
105
+ "source": "Nguồn",
106
+ "submitting": "Đang nộp",
107
+ "timeFormat": "Định dạng thời gian",
108
+ "timeOfDeathInputLabel": "Time of death (hh:mm)",
109
+ "unableToFetch": "Unable to fetch person attribute type - {{personattributetype}}",
110
+ "unknown": "Unknown",
111
+ "unknownPatientAttributeType": "Patient attribute type has unknown format {{personAttributeTypeFormat}}",
112
+ "updatePatient": "Update patient",
113
+ "updatePatientErrorSnackbarTitle": "Patient Details Update Failed",
114
+ "updatePatientSuccessSnackbarSubtitle": "The patient's information has been successfully updated",
115
+ "updatePatientSuccessSnackbarTitle": "Patient Details Updated",
116
+ "yearsEstimateRequired": "Estimated years required",
117
+ "yes": "Có"
118
+ }
@@ -60,7 +60,7 @@
60
60
  "givenNameLabelText": "名字",
61
61
  "givenNameRequired": "名字是必填项",
62
62
  "identifierValueRequired": "ID标识是必填项",
63
- "idFieldLabelText": "ID",
63
+ "idFieldLabelText": "Identifiers",
64
64
  "IDInstructions": "选择您想为该患者添加的ID标识:",
65
65
  "invalidEmail": "Invalid email",
66
66
  "invalidInput": "输入无效",
@@ -77,6 +77,7 @@
77
77
  "numberInNameDubious": "姓名中含有数字",
78
78
  "obsFieldUnknownDatatype": "obs字段'{{fieldDefinitionId}}'的概念具有未知数据类型'{{datatypeName}}'",
79
79
  "optional": "可选的",
80
+ "optionalIdentifierLabel": "{{identifierName}} (optional)",
80
81
  "other": "其他",
81
82
  "patientNameKnown": "患者的姓名已知?",
82
83
  "patientRegistrationBreadcrumb": "患者注册",
@@ -98,6 +99,7 @@
98
99
  "restoreRelationshipActionButton": "撤销",
99
100
  "searchAddress": "搜索地址",
100
101
  "searchIdentifierPlaceholder": "搜索ID标识",
102
+ "searchLocationPersonAttribute": "Search location",
101
103
  "selectAnOption": "选择一个选项",
102
104
  "sexFieldLabelText": "性别",
103
105
  "source": "来源",
@@ -77,6 +77,7 @@
77
77
  "numberInNameDubious": "姓名中含有数字",
78
78
  "obsFieldUnknownDatatype": "obs字段'{{fieldDefinitionId}}'的概念具有未知数据类型'{{datatypeName}}'",
79
79
  "optional": "可选的",
80
+ "optionalIdentifierLabel": "{{identifierName}} (optional)",
80
81
  "other": "其他",
81
82
  "patientNameKnown": "患者的姓名已知?",
82
83
  "patientRegistrationBreadcrumb": "患者注册",
@@ -98,6 +99,7 @@
98
99
  "restoreRelationshipActionButton": "撤销",
99
100
  "searchAddress": "搜索地址",
100
101
  "searchIdentifierPlaceholder": "搜索ID标识",
102
+ "searchLocationPersonAttribute": "Search location",
101
103
  "selectAnOption": "选择一个选项",
102
104
  "sexFieldLabelText": "性别",
103
105
  "source": "来源",
package/dist/250.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[250],{9250:(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var l=n(268),i=n.n(l),r=n(4924),a=n(5615);const o=function(e){var t=e.closeModal,n=e.deleteIdentifier,l=e.identifierName,o=e.identifierValue,c=(0,r.useTranslation)().t;return i().createElement(i().Fragment,null,i().createElement(a.xBx,{closeModal:t,title:c("deleteIdentifierModalHeading","Delete identifier?")}),i().createElement(a.fef,null,i().createElement("p",null,l&&o&&i().createElement("span",null,i().createElement("strong",null,l),c("deleteIdentifierModalText"," has a value of ")," ",i().createElement("strong",null,o),"."," "),c("confirmIdentifierDeletionText","Are you sure you want to delete this identifier?"))),i().createElement(a.mzw,null,i().createElement(a.zxk,{kind:"secondary",size:"lg",onClick:function(){return n(!1)}},c("cancel","Cancel")),i().createElement(a.zxk,{kind:"danger",size:"lg",onClick:function(){return n(!0)}},c("removeIdentifierButton","Remove identifier"))))}}}]);
package/dist/250.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"250.js","mappings":"mPA+CA,QApC4F,Y,IAC1FA,EAAAA,EAAAA,WACAC,EAAAA,EAAAA,iBACAC,EAAAA,EAAAA,eACAC,EAAAA,EAAAA,gBAEM,GAAQC,EAAAA,EAAAA,kBAANC,EAER,OACE,oCACE,kBAACC,EAAAA,IAAWA,CACVN,WAAYA,EACZO,MAAOF,EAAE,+BAAgC,wBAC3C,kBAACG,EAAAA,IAASA,KACR,kBAACC,IAAAA,KACEP,GAAkBC,GACjB,kBAACO,OAAAA,KACC,kBAACC,SAAAA,KAAQT,GACRG,EAAE,4BAA6B,oBAAoB,IAAC,kBAACM,SAAAA,KAAQR,GAAyB,IAAE,KAG5FE,EAAE,gCAAiC,sDAGxC,kBAACO,EAAAA,IAAWA,KACV,kBAACC,EAAAA,IAAMA,CAACC,KAAK,YAAYC,KAAK,KAAKC,QAAS,W,OAAMf,GAAiB,E,GAChEI,EAAE,SAAU,WAEf,kBAACQ,EAAAA,IAAMA,CAACC,KAAK,SAASC,KAAK,KAAKC,QAAS,W,OAAMf,GAAiB,E,GAC7DI,EAAE,yBAA0B,uBAKvC,C","sources":["webpack://@kenyaemr/esm-patient-registration-app/./src/widgets/delete-identifier-confirmation.modal.tsx"],"names":["closeModal","deleteIdentifier","identifierName","identifierValue","useTranslation","t","ModalHeader","title","ModalBody","p","span","strong","ModalFooter","Button","kind","size","onClick"],"sourceRoot":""}