@kenyaemr/esm-patient-registration-app 8.1.1-pre.124 → 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.
- package/.turbo/turbo-build.log +21 -23
- package/dist/108.js +1 -1
- package/dist/130.js +1 -1
- package/dist/130.js.map +1 -1
- package/dist/173.js +2 -0
- package/dist/{895.js.LICENSE.txt → 173.js.LICENSE.txt} +25 -0
- package/dist/173.js.map +1 -0
- package/dist/236.js +1 -0
- package/dist/240.js +1 -0
- package/dist/261.js +1 -0
- package/dist/271.js +1 -1
- package/dist/272.js +1 -0
- package/dist/319.js +1 -1
- package/dist/336.js +1 -0
- package/dist/371.js +1 -0
- package/dist/371.js.map +1 -0
- package/dist/378.js +1 -0
- package/dist/460.js +1 -1
- package/dist/501.js +1 -1
- package/dist/501.js.map +1 -1
- package/dist/539.js +1 -0
- package/dist/566.js +1 -0
- package/dist/574.js +1 -1
- package/dist/623.js +1 -0
- package/dist/623.js.map +1 -0
- package/dist/644.js +1 -1
- package/dist/652.js +1 -0
- package/dist/657.js +1 -0
- package/dist/657.js.map +1 -0
- package/dist/673.js +1 -0
- package/dist/705.js +1 -0
- package/dist/711.js +1 -0
- package/dist/727.js +1 -0
- package/dist/737.js +1 -0
- package/dist/744.js +1 -0
- package/dist/757.js +1 -1
- package/dist/759.js +1 -0
- package/dist/759.js.map +1 -0
- package/dist/76.js +1 -1
- package/dist/788.js +1 -1
- package/dist/807.js +1 -1
- package/dist/833.js +1 -1
- package/dist/899.js +1 -0
- package/dist/kenyaemr-esm-patient-registration-app.js +1 -1
- package/dist/kenyaemr-esm-patient-registration-app.js.buildmanifest.json +445 -93
- package/dist/kenyaemr-esm-patient-registration-app.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.LICENSE.txt +25 -0
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package-lock.json +6400 -0
- package/package.json +4 -4
- package/src/client-registry/hie-client-registry/dependants/dependants.component.tsx +46 -0
- package/src/client-registry/hie-client-registry/hie-client-registry.component.tsx +38 -8
- package/src/client-registry/hie-client-registry/hie-resource.ts +126 -21
- package/src/client-registry/hie-client-registry/hie-types.ts +102 -0
- package/src/client-registry/hie-client-registry/modal/confirm-hie.modal.tsx +78 -62
- package/src/client-registry/hie-client-registry/modal/confirm-hie.scss +55 -3
- package/src/client-registry/hie-client-registry/modal/hie-otp-verification-form.component.tsx +88 -0
- package/src/client-registry/hie-client-registry/modal/hie-patient-detail-preview.component.tsx +77 -0
- package/src/client-registry/hie-client-registry/patient-info/patient-info.component.tsx +17 -0
- package/src/config-schema.ts +30 -2
- package/src/patient-registration/field/address/address-search.component.tsx +5 -2
- package/src/patient-registration/field/date-and-time-of-death/date-and-time-of-death.component.tsx +1 -1
- package/src/patient-registration/field/dob/dob.component.tsx +1 -1
- package/src/patient-registration/field/field.scss +4 -4
- package/src/patient-registration/field/gender/gender-field.component.tsx +6 -2
- package/src/patient-registration/field/id/identifier-selection-overlay.component.tsx +3 -3
- package/src/patient-registration/field/name/name-field.component.tsx +2 -2
- package/src/patient-registration/field/obs/obs-field.component.tsx +9 -5
- package/src/patient-registration/field/person-attributes/coded-person-attribute-field.component.tsx +4 -3
- package/src/patient-registration/field/person-attributes/coded-person-attribute-field.test.tsx +22 -11
- package/src/patient-registration/field/person-attributes/custom-person-attribute-field.component.tsx +76 -27
- package/src/patient-registration/field/person-attributes/location-person-attribute-field.component.tsx +1 -1
- package/src/patient-registration/field/person-attributes/person-attribute-field.test.tsx +12 -4
- package/src/patient-registration/field/person-attributes/useUpdateIdentifierRequirement.tsx +83 -0
- package/src/patient-registration/form-manager.test.ts +4 -1
- package/src/patient-registration/form-manager.ts +0 -1
- package/src/patient-registration/input/custom-input/autosuggest/autosuggest.test.tsx +52 -62
- package/src/patient-registration/mpi/mpi-patient.resource.ts +21 -0
- package/src/patient-registration/patient-registration-hooks.ts +90 -25
- package/src/patient-registration/patient-registration-utils.test.ts +33 -0
- package/src/patient-registration/patient-registration-utils.ts +63 -13
- package/src/patient-registration/patient-registration.component.tsx +17 -2
- package/src/patient-registration/patient-registration.test.tsx +442 -56
- package/src/patient-registration/section/demographics/demographics-section.component.tsx +3 -3
- package/src/patient-registration/section/patient-relationships/relationships-section.component.tsx +1 -1
- package/src/patient-registration/section/patient-relationships/relationships.resource.tsx +28 -28
- package/src/widgets/cancel-patient-edit.modal.tsx +2 -0
- package/src/widgets/cancel-patient-edit.scss +29 -0
- package/src/widgets/delete-identifier-confirmation.modal.tsx +2 -0
- package/src/widgets/delete-identifier-confirmation.scss +29 -0
- package/translations/am.json +1 -0
- package/translations/ar.json +6 -4
- package/translations/de.json +118 -0
- package/translations/en.json +17 -0
- package/translations/es.json +2 -0
- package/translations/fr.json +1 -0
- package/translations/he.json +1 -0
- package/translations/hi.json +118 -0
- package/translations/hi_IN.json +118 -0
- package/translations/id.json +118 -0
- package/translations/it.json +118 -0
- package/translations/km.json +1 -0
- package/translations/ne.json +118 -0
- package/translations/pt.json +118 -0
- package/translations/pt_BR.json +118 -0
- package/translations/qu.json +118 -0
- package/translations/si.json +118 -0
- package/translations/sw.json +118 -0
- package/translations/sw_KE.json +118 -0
- package/translations/tr.json +118 -0
- package/translations/tr_TR.json +118 -0
- package/translations/uk.json +118 -0
- package/translations/vi.json +118 -0
- package/translations/zh.json +3 -1
- package/translations/zh_CN.json +2 -0
- package/dist/10.js +0 -1
- package/dist/10.js.map +0 -1
- package/dist/250.js +0 -1
- package/dist/250.js.map +0 -1
- package/dist/662.js +0 -1
- package/dist/662.js.map +0 -1
- package/dist/753.js +0 -1
- package/dist/753.js.map +0 -1
- package/dist/895.js +0 -2
- package/dist/895.js.map +0 -1
|
@@ -4,6 +4,33 @@ import { type FetchResponse, openmrsFetch, restBaseUrl } from '@openmrs/esm-fram
|
|
|
4
4
|
import { type RelationshipValue } from '../../patient-registration.types';
|
|
5
5
|
import { personRelationshipRepresentation } from '../../../constants';
|
|
6
6
|
|
|
7
|
+
export interface Relationship {
|
|
8
|
+
display: string;
|
|
9
|
+
uuid: string;
|
|
10
|
+
personA: {
|
|
11
|
+
age: number;
|
|
12
|
+
display: string;
|
|
13
|
+
birthdate: string;
|
|
14
|
+
uuid: string;
|
|
15
|
+
};
|
|
16
|
+
personB: {
|
|
17
|
+
age: number;
|
|
18
|
+
display: string;
|
|
19
|
+
birthdate: string;
|
|
20
|
+
uuid: string;
|
|
21
|
+
};
|
|
22
|
+
relationshipType: {
|
|
23
|
+
uuid: string;
|
|
24
|
+
display: string;
|
|
25
|
+
aIsToB: string;
|
|
26
|
+
bIsToA: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
interface RelationshipsResponse {
|
|
31
|
+
results: Array<Relationship>;
|
|
32
|
+
}
|
|
33
|
+
|
|
7
34
|
export function useInitialPatientRelationships(patientUuid: string): {
|
|
8
35
|
data: Array<RelationshipValue>;
|
|
9
36
|
isLoading: boolean;
|
|
@@ -45,34 +72,7 @@ export function useInitialPatientRelationships(patientUuid: string): {
|
|
|
45
72
|
error,
|
|
46
73
|
isLoading,
|
|
47
74
|
};
|
|
48
|
-
}, [
|
|
75
|
+
}, [data?.data?.results, error, isLoading, patientUuid]);
|
|
49
76
|
|
|
50
77
|
return result;
|
|
51
78
|
}
|
|
52
|
-
|
|
53
|
-
export interface Relationship {
|
|
54
|
-
display: string;
|
|
55
|
-
uuid: string;
|
|
56
|
-
personA: {
|
|
57
|
-
age: number;
|
|
58
|
-
display: string;
|
|
59
|
-
birthdate: string;
|
|
60
|
-
uuid: string;
|
|
61
|
-
};
|
|
62
|
-
personB: {
|
|
63
|
-
age: number;
|
|
64
|
-
display: string;
|
|
65
|
-
birthdate: string;
|
|
66
|
-
uuid: string;
|
|
67
|
-
};
|
|
68
|
-
relationshipType: {
|
|
69
|
-
uuid: string;
|
|
70
|
-
display: string;
|
|
71
|
-
aIsToB: string;
|
|
72
|
-
bIsToA: string;
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
interface RelationshipsResponse {
|
|
77
|
-
results: Array<Relationship>;
|
|
78
|
-
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
3
|
import { Button, ModalBody, ModalFooter, ModalHeader } from '@carbon/react';
|
|
4
|
+
import styles from './cancel-patient-edit.scss';
|
|
4
5
|
|
|
5
6
|
interface CancelPatientEditPropsModal {
|
|
6
7
|
close(): void;
|
|
@@ -12,6 +13,7 @@ const CancelPatientEditModal: React.FC<CancelPatientEditPropsModal> = ({ close,
|
|
|
12
13
|
return (
|
|
13
14
|
<>
|
|
14
15
|
<ModalHeader
|
|
16
|
+
className={styles.modalHeader}
|
|
15
17
|
closeModal={close}
|
|
16
18
|
title={t('confirmDiscardChangesTitle', 'Are you sure you want to discard these changes?')}
|
|
17
19
|
/>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use '@carbon/layout';
|
|
2
|
+
|
|
3
|
+
.modalHeader {
|
|
4
|
+
:global {
|
|
5
|
+
.cds--modal-close-button {
|
|
6
|
+
position: absolute;
|
|
7
|
+
inset-block-start: 0;
|
|
8
|
+
inset-inline-end: 0;
|
|
9
|
+
margin: 0;
|
|
10
|
+
margin-top: calc(-1 * #{layout.$spacing-05});
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.cds--modal-close {
|
|
14
|
+
background-color: rgba(0, 0, 0, 0);
|
|
15
|
+
|
|
16
|
+
&:hover {
|
|
17
|
+
background-color: var(--cds-layer-hover);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.cds--popover--left > .cds--popover > .cds--popover-content {
|
|
22
|
+
transform: translate(-4rem, 0.85rem);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.cds--popover--left > .cds--popover > .cds--popover-caret {
|
|
26
|
+
transform: translate(-3.75rem, 1.25rem);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
3
|
import { Button, ModalBody, ModalHeader, ModalFooter } from '@carbon/react';
|
|
4
|
+
import styles from './delete-identifier-confirmation.scss';
|
|
4
5
|
|
|
5
6
|
interface DeleteIdentifierConfirmationModalProps {
|
|
6
7
|
closeModal: () => void;
|
|
@@ -20,6 +21,7 @@ const DeleteIdentifierConfirmationModal: React.FC<DeleteIdentifierConfirmationMo
|
|
|
20
21
|
return (
|
|
21
22
|
<>
|
|
22
23
|
<ModalHeader
|
|
24
|
+
className={styles.modalHeader}
|
|
23
25
|
closeModal={closeModal}
|
|
24
26
|
title={t('deleteIdentifierModalHeading', 'Delete identifier?')}></ModalHeader>
|
|
25
27
|
<ModalBody>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use '@carbon/layout';
|
|
2
|
+
|
|
3
|
+
.modalHeader {
|
|
4
|
+
:global {
|
|
5
|
+
.cds--modal-close-button {
|
|
6
|
+
position: absolute;
|
|
7
|
+
inset-block-start: 0;
|
|
8
|
+
inset-inline-end: 0;
|
|
9
|
+
margin: 0;
|
|
10
|
+
margin-top: calc(-1 * #{layout.$spacing-05});
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.cds--modal-close {
|
|
14
|
+
background-color: rgba(0, 0, 0, 0);
|
|
15
|
+
|
|
16
|
+
&:hover {
|
|
17
|
+
background-color: var(--cds-layer-hover);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.cds--popover--left > .cds--popover > .cds--popover-content {
|
|
22
|
+
transform: translate(-4rem, 0.85rem);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.cds--popover--left > .cds--popover > .cds--popover-caret {
|
|
26
|
+
transform: translate(-3.75rem, 1.25rem);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
package/translations/am.json
CHANGED
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
"restoreRelationshipActionButton": "Undo",
|
|
107
107
|
"searchAddress": "Search address",
|
|
108
108
|
"searchIdentifierPlaceholder": "Search identifier",
|
|
109
|
+
"searchLocationPersonAttribute": "Search location",
|
|
109
110
|
"selectAnOption": "Select an option",
|
|
110
111
|
"selectCountry": "Select country",
|
|
111
112
|
"selectIdentifierType": "Select identifier type",
|
package/translations/ar.json
CHANGED
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"confirmIdentifierDeletionText": "Are you sure you want to remove this identifier?",
|
|
22
22
|
"contactSection": "تفاصيل الاتصال",
|
|
23
23
|
"createNewPatient": "Create new patient",
|
|
24
|
-
"dateOfBirthLabelText": "
|
|
24
|
+
"dateOfBirthLabelText": "تاريخ الميلاد",
|
|
25
25
|
"deathCauseRequired": "Cause of death is required",
|
|
26
26
|
"deathDateInFuture": "Death date cannot be in future",
|
|
27
|
-
"deathDateInputLabel": "
|
|
27
|
+
"deathDateInputLabel": "تاريخ الوفاة",
|
|
28
28
|
"deathDateRequired": "Death date is required",
|
|
29
|
-
"deathdayInvalidDate": "
|
|
29
|
+
"deathdayInvalidDate": "لا يمكن أن يكون تاريخ ووقت الوفاة قبل عيد الميلاد",
|
|
30
30
|
"deathdayIsRequired": "Death date is required when the patient is marked as deceased.",
|
|
31
31
|
"deathdayNotInTheFuture": "",
|
|
32
32
|
"deathSection": "معلومات الوفاة",
|
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
"numberInNameDubious": "Number in name is dubious",
|
|
80
80
|
"obsFieldUnknownDatatype": "Concept for obs field '{{fieldDefinitionId}}' has unknown datatype '{{datatypeName}}'",
|
|
81
81
|
"optional": "اختياري",
|
|
82
|
+
"optionalIdentifierLabel": "{{identifierName}} (optional)",
|
|
82
83
|
"originFacilityCode": "Origin facility code",
|
|
83
84
|
"originFacilityName": "Origin facility name",
|
|
84
85
|
"other": "آخر",
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
"patientNotFound": "The patient records could not be found in Client registry, do you want to continue to create and post patient to registry",
|
|
90
91
|
"patientRegistrationBreadcrumb": "Patient Registration",
|
|
91
92
|
"refreshOrContactAdmin": "Try refreshing the page or contact your system administrator",
|
|
92
|
-
"registerPatient": "
|
|
93
|
+
"registerPatient": "تسجيل المريض",
|
|
93
94
|
"registerPatientSuccessSnackbarSubtitle": "The patient can now be found by searching for them using their name or ID number",
|
|
94
95
|
"registerPatientSuccessSnackbarTitle": "New Patient Created",
|
|
95
96
|
"registrationErrorSnackbarTitle": "Patient Registration Failed",
|
|
@@ -106,6 +107,7 @@
|
|
|
106
107
|
"restoreRelationshipActionButton": "تراجع",
|
|
107
108
|
"searchAddress": "ابحث عن العنوان",
|
|
108
109
|
"searchIdentifierPlaceholder": "Search identifier",
|
|
110
|
+
"searchLocationPersonAttribute": "موقع البحث",
|
|
109
111
|
"selectAnOption": "اختر خيارًا",
|
|
110
112
|
"selectCountry": "Select country",
|
|
111
113
|
"selectIdentifierType": "Select identifier type",
|
|
@@ -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
|
+
}
|
package/translations/en.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"age": "Age",
|
|
5
5
|
"allFieldsRequiredText": "All fields are required unless marked optional",
|
|
6
6
|
"autoGeneratedPlaceholderText": "Auto-generated",
|
|
7
|
+
"birthCertificate": "Birth Certificate",
|
|
7
8
|
"birthdayNotInTheFuture": "Birthday cannot be in future",
|
|
8
9
|
"birthdayNotOver140YearsAgo": "Birthday cannot be more than 140 years ago",
|
|
9
10
|
"birthdayRequired": "Birthday is required",
|
|
@@ -11,6 +12,7 @@
|
|
|
11
12
|
"cancel": "Cancel",
|
|
12
13
|
"causeOfDeathInputLabel": "Cause of death",
|
|
13
14
|
"clientRegistryEmpty": "Create & Post Patient",
|
|
15
|
+
"clientRegistryEmptys": "Create Patient",
|
|
14
16
|
"clientRegistryError": "Error occurred while reaching the client registry",
|
|
15
17
|
"clientRegistryErrorSubtitle": "Please proceed with registration contact system admin and try again later",
|
|
16
18
|
"clientVerificationWithClientRegistry": "Client verification with client registry",
|
|
@@ -23,6 +25,7 @@
|
|
|
23
25
|
"confirmDiscardChangesBody": "Your unsaved changes will be lost if you proceed to discard the form",
|
|
24
26
|
"confirmDiscardChangesTitle": "Are you sure you want to discard these changes?",
|
|
25
27
|
"confirmIdentifierDeletionText": "Are you sure you want to remove this identifier?",
|
|
28
|
+
"contactAdmin": "Please contact the administrator.",
|
|
26
29
|
"contactSection": "Contact Details",
|
|
27
30
|
"continue": "Continue",
|
|
28
31
|
"createNewPatient": "Create new patient",
|
|
@@ -45,6 +48,7 @@
|
|
|
45
48
|
"deleteIdentifierTooltip": "Delete",
|
|
46
49
|
"deleteRelationshipTooltipText": "Delete",
|
|
47
50
|
"demographicsSection": "Basic Info",
|
|
51
|
+
"dependants": "Dependants",
|
|
48
52
|
"dependents": "Dependents",
|
|
49
53
|
"discard": "Discard",
|
|
50
54
|
"dobToggleLabelText": "Date of Birth Known?",
|
|
@@ -57,6 +61,7 @@
|
|
|
57
61
|
"errorFetchingCodedCausesOfDeath": "Error fetching coded causes of death",
|
|
58
62
|
"errorFetchingOrderedFields": "Error occured fetching ordered fields for address hierarchy",
|
|
59
63
|
"errorFetchingPatient": "Error fetching patient",
|
|
64
|
+
"errorOccurred": " There was an error processing the request. Try again later",
|
|
60
65
|
"estimatedAgeInMonthsLabelText": "Estimated age in months",
|
|
61
66
|
"estimatedAgeInYearsLabelText": "Estimated age in years",
|
|
62
67
|
"familyNameLabelText": "Family Name",
|
|
@@ -72,6 +77,7 @@
|
|
|
72
77
|
"givenNameRequired": "Given name is required",
|
|
73
78
|
"healthID": "HealthID",
|
|
74
79
|
"hieModal": "HIE Patient Record Found",
|
|
80
|
+
"hiePatientVerification": "HIE Patient Verification",
|
|
75
81
|
"identifierSearch": "Identifier search",
|
|
76
82
|
"identifierType": "Identifier type",
|
|
77
83
|
"identifierValueRequired": "Identifier value is required",
|
|
@@ -84,7 +90,9 @@
|
|
|
84
90
|
"male": "Male",
|
|
85
91
|
"maritalStatus": "Marital status",
|
|
86
92
|
"middleNameLabelText": "Middle Name",
|
|
93
|
+
"name": "Name",
|
|
87
94
|
"nationalId": "National ID",
|
|
95
|
+
"nationalID": "National ID",
|
|
88
96
|
"negativeMonths": "Estimated months cannot be negative",
|
|
89
97
|
"negativeYears": "Estimated years cannot be negative",
|
|
90
98
|
"no": "No",
|
|
@@ -97,12 +105,16 @@
|
|
|
97
105
|
"optional": "optional",
|
|
98
106
|
"optionalIdentifierLabel": "{{identifierName}} (optional)",
|
|
99
107
|
"other": "Other",
|
|
108
|
+
"otpCode": "OTP Authorization code",
|
|
100
109
|
"patientDetailsFound": "Patient information found in the registry, do you want to use the information to continue with registration?",
|
|
101
110
|
"patientName": "Patient name",
|
|
102
111
|
"patientNameKnown": "Patient's Name is Known?",
|
|
103
112
|
"patientNotFound": "The patient records could not be found in Client registry, do you want to continue to create and post patient to registry",
|
|
113
|
+
"patientNotFounds": "The patient records could not be found in the client registry, proceed to create patient or try again.",
|
|
114
|
+
"patientPhoneNUmber": "Patient Phone number",
|
|
104
115
|
"patientRegistrationBreadcrumb": "Patient Registration",
|
|
105
116
|
"patientVerificationFromHIE": "Patient verification from HIE",
|
|
117
|
+
"phoneNumberHelper": "Patient will receive OTP on this number",
|
|
106
118
|
"postToRegistry": "Post to registry",
|
|
107
119
|
"refreshOrContactAdmin": "Try refreshing the page or contact your system administrator",
|
|
108
120
|
"registerPatient": "Register patient",
|
|
@@ -120,6 +132,7 @@
|
|
|
120
132
|
"removeIdentifierButton": "Remove identifier",
|
|
121
133
|
"resetIdentifierTooltip": "Reset",
|
|
122
134
|
"restoreRelationshipActionButton": "Undo",
|
|
135
|
+
"retry": "Retry",
|
|
123
136
|
"searchAddress": "Search address",
|
|
124
137
|
"searchClientRegistry": "Search client registry",
|
|
125
138
|
"searchIdentifierPlaceholder": "Search identifier",
|
|
@@ -136,14 +149,18 @@
|
|
|
136
149
|
"timeFormat": "Time Format",
|
|
137
150
|
"timeOfDeathInputLabel": "Time of death (hh:mm)",
|
|
138
151
|
"unableToFetch": "Unable to fetch person attribute type - {{personattributetype}}",
|
|
152
|
+
"unexpectedResponse": "Unexpected Response",
|
|
139
153
|
"unknown": "Unknown",
|
|
140
154
|
"unknownPatientAttributeType": "Patient attribute type has unknown format {{personAttributeTypeFormat}}",
|
|
155
|
+
"unknownRelationship": "Unknown",
|
|
141
156
|
"updatePatient": "Update patient",
|
|
142
157
|
"updatePatientErrorSnackbarTitle": "Patient Details Update Failed",
|
|
143
158
|
"updatePatientSuccessSnackbarSubtitle": "The patient's information has been successfully updated",
|
|
144
159
|
"updatePatientSuccessSnackbarTitle": "Patient Details Updated",
|
|
145
160
|
"useValues": "Use values",
|
|
146
161
|
"validate": "Validate",
|
|
162
|
+
"verifyAndUseValues": "Verify & Use values",
|
|
163
|
+
"verifyOTP": "Verify with OTP",
|
|
147
164
|
"viewFullResponse": "View full response",
|
|
148
165
|
"yearsEstimateRequired": "Estimated years required",
|
|
149
166
|
"yes": "Yes"
|
package/translations/es.json
CHANGED
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
"numberInNameDubious": "Número en nombre es dudoso",
|
|
80
80
|
"obsFieldUnknownDatatype": "El concepto para el campo de observación '{{fieldDefinitionId}}' tiene un tipo de datos desconocido '{{datatypeName}}'",
|
|
81
81
|
"optional": "Opcional",
|
|
82
|
+
"optionalIdentifierLabel": "{{identifierName}} (opcional)",
|
|
82
83
|
"other": "Otro",
|
|
83
84
|
"patient": "Paciente",
|
|
84
85
|
"patientDetailsFound": "Patient information found in the registry, do you want to use the information to continue with registration?",
|
|
@@ -103,6 +104,7 @@
|
|
|
103
104
|
"restoreRelationshipActionButton": "Deshacer",
|
|
104
105
|
"searchAddress": "Buscar dirección",
|
|
105
106
|
"searchIdentifierPlaceholder": "Buscar identificador",
|
|
107
|
+
"searchLocationPersonAttribute": "Ubicación de búsqueda",
|
|
106
108
|
"selectAnOption": "Seleccionar una opción",
|
|
107
109
|
"selectCountry": "Select country",
|
|
108
110
|
"selectIdentifierType": "Select identifier type",
|
package/translations/fr.json
CHANGED
|
@@ -101,6 +101,7 @@
|
|
|
101
101
|
"restoreRelationshipActionButton": "Restaurer",
|
|
102
102
|
"searchAddress": "Rechercher l'adresse",
|
|
103
103
|
"searchIdentifierPlaceholder": "Rechercher un identifiant",
|
|
104
|
+
"searchLocationPersonAttribute": "Search location",
|
|
104
105
|
"selectAnOption": "Sélectionner une option",
|
|
105
106
|
"sexFieldLabelText": "Sexe",
|
|
106
107
|
"source": "Source",
|
package/translations/he.json
CHANGED
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
"restoreRelationshipActionButton": "ביטול",
|
|
107
107
|
"searchAddress": "חיפוש כתובת",
|
|
108
108
|
"searchIdentifierPlaceholder": "חיפוש זיהוי",
|
|
109
|
+
"searchLocationPersonAttribute": "מקום חיפוש",
|
|
109
110
|
"selectAnOption": "בחר אפשרות",
|
|
110
111
|
"selectCountry": "Select country",
|
|
111
112
|
"selectIdentifierType": "Select identifier type",
|
|
@@ -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
|
+
}
|