@kenyaemr/esm-patient-registration-app 5.2.3 → 6.0.1-pre.1.0.0

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 (58) hide show
  1. package/dist/130.js +1 -1
  2. package/dist/130.js.map +1 -1
  3. package/dist/271.js +1 -1
  4. package/dist/319.js +1 -1
  5. package/dist/330.js +1 -1
  6. package/dist/460.js +1 -1
  7. package/dist/537.js +1 -1
  8. package/dist/537.js.map +1 -1
  9. package/dist/574.js +1 -1
  10. package/dist/59.js +1 -1
  11. package/dist/59.js.map +1 -1
  12. package/dist/619.js +1 -0
  13. package/dist/619.js.map +1 -0
  14. package/dist/644.js +1 -1
  15. package/dist/735.js +1 -1
  16. package/dist/757.js +1 -1
  17. package/dist/788.js +1 -1
  18. package/dist/895.js +2 -0
  19. package/dist/{431.js.LICENSE.txt → 895.js.LICENSE.txt} +4 -2
  20. package/dist/895.js.map +1 -0
  21. package/dist/kenyaemr-esm-patient-registration-app.js +1 -1
  22. package/dist/kenyaemr-esm-patient-registration-app.js.buildmanifest.json +89 -89
  23. package/dist/kenyaemr-esm-patient-registration-app.js.map +1 -1
  24. package/dist/main.js +1 -1
  25. package/dist/main.js.LICENSE.txt +4 -2
  26. package/dist/main.js.map +1 -1
  27. package/dist/routes.json +1 -1
  28. package/package.json +5 -4
  29. package/src/offline.resources.ts +12 -10
  30. package/src/offline.ts +6 -4
  31. package/src/patient-registration/field/field.resource.ts +3 -3
  32. package/src/patient-registration/field/person-attributes/coded-person-attribute-field.component.tsx +8 -5
  33. package/src/patient-registration/field/person-attributes/person-attributes.resource.ts +2 -2
  34. package/src/patient-registration/form-manager.ts +9 -3
  35. package/src/patient-registration/input/custom-input/identifier/identifier-input.component.tsx +1 -1
  36. package/src/patient-registration/patient-registration-hooks.ts +13 -8
  37. package/src/patient-registration/patient-registration.component.tsx +1 -1
  38. package/src/patient-registration/patient-registration.resource.test.tsx +3 -3
  39. package/src/patient-registration/patient-registration.resource.ts +14 -14
  40. package/src/patient-registration/patient-registration.types.ts +2 -1
  41. package/src/patient-registration/section/patient-relationships/relationships.resource.tsx +2 -2
  42. package/src/patient-verification/patient-verification-hook.tsx +13 -4
  43. package/src/patient-verification/patient-verification-utils.ts +20 -12
  44. package/src/patient-verification/patient-verification.component.tsx +13 -6
  45. package/src/patient-verification/patient-verification.scss +0 -1
  46. package/src/patient-verification/verification-modal/confirm-prompt.component.tsx +3 -12
  47. package/translations/am.json +12 -16
  48. package/translations/ar.json +12 -16
  49. package/translations/en.json +3 -3
  50. package/translations/es.json +24 -32
  51. package/translations/fr.json +42 -54
  52. package/translations/zh.json +29 -21
  53. package/translations/zh_CN.json +29 -21
  54. package/dist/102.js +0 -1
  55. package/dist/102.js.map +0 -1
  56. package/dist/431.js +0 -2
  57. package/dist/431.js.map +0 -1
  58. package/dist.tar.gz +0 -0
@@ -6,11 +6,12 @@ import { countries, verificationIdentifierTypes } from './assets/verification-as
6
6
  import { searchClientRegistry, useGlobalProperties } from './patient-verification-hook';
7
7
  import { showToast } from '@openmrs/esm-framework';
8
8
  import { handleClientRegistryResponse } from './patient-verification-utils';
9
- import { FormikProps } from 'formik';
10
- import { FormValues } from '../patient-registration/patient-registration.types';
9
+ import { type FormikProps } from 'formik';
10
+ import { type FormValues } from '../patient-registration/patient-registration.types';
11
11
 
12
12
  interface PatientVerificationProps {
13
13
  props: FormikProps<FormValues>;
14
+ setInitialFormValues: React.Dispatch<FormValues>;
14
15
  }
15
16
 
16
17
  const PatientVerification: React.FC<PatientVerificationProps> = ({ props }) => {
@@ -19,6 +20,7 @@ const PatientVerification: React.FC<PatientVerificationProps> = ({ props }) => {
19
20
  const [verificationCriteria, setVerificationCriteria] = useState({
20
21
  searchTerm: '',
21
22
  identifierType: '',
23
+ countryCode: 'KE',
22
24
  });
23
25
  const [isLoadingSearch, setIsLoadingSearch] = useState(false);
24
26
 
@@ -29,8 +31,10 @@ const PatientVerification: React.FC<PatientVerificationProps> = ({ props }) => {
29
31
  verificationCriteria.identifierType,
30
32
  verificationCriteria.searchTerm,
31
33
  props.values.token,
34
+ verificationCriteria.countryCode,
32
35
  );
33
36
  setIsLoadingSearch(false);
37
+
34
38
  handleClientRegistryResponse(clientRegistryResponse, props, verificationCriteria.searchTerm);
35
39
  } catch (error) {
36
40
  showToast({
@@ -67,9 +71,12 @@ const PatientVerification: React.FC<PatientVerificationProps> = ({ props }) => {
67
71
  id="selectCountry"
68
72
  items={countries}
69
73
  itemToString={(item) => item?.name ?? ''}
70
- label="Combo box menu options"
74
+ label="Select country"
71
75
  titleText={t('selectCountry', 'Select country')}
72
76
  initialSelectedItem={countries[0]}
77
+ onChange={({ selectedItem }) =>
78
+ setVerificationCriteria({ ...verificationCriteria, countryCode: selectedItem.initials })
79
+ }
73
80
  />
74
81
  </Layer>
75
82
  <Layer>
@@ -78,7 +85,7 @@ const PatientVerification: React.FC<PatientVerificationProps> = ({ props }) => {
78
85
  id="selectIdentifierType"
79
86
  items={verificationIdentifierTypes}
80
87
  itemToString={(item) => item?.name ?? ''}
81
- label="Combo box menu options"
88
+ label="Select identifier type"
82
89
  titleText={t('selectIdentifierType', 'Select identifier type')}
83
90
  onChange={({ selectedItem }) =>
84
91
  setVerificationCriteria({ ...verificationCriteria, identifierType: selectedItem.value })
@@ -87,9 +94,9 @@ const PatientVerification: React.FC<PatientVerificationProps> = ({ props }) => {
87
94
  </Layer>
88
95
  <Layer>
89
96
  <Search
90
- id="search-1"
97
+ id="clientRegistrySearch"
91
98
  autoFocus
92
- placeHolderText="Search"
99
+ placeHolderText={t('searchClientRegistry', 'Search client registry')}
93
100
  disabled={!verificationCriteria.identifierType}
94
101
  onChange={(event) => setVerificationCriteria({ ...verificationCriteria, searchTerm: event.target.value })}
95
102
  />
@@ -17,7 +17,6 @@
17
17
  row-gap: 0.5rem;
18
18
  display: flex;
19
19
  flex-direction: column;
20
-
21
20
  }
22
21
  }
23
22
 
@@ -22,8 +22,6 @@ interface ConfirmPromptProps {
22
22
 
23
23
  const ConfirmPrompt: React.FC<ConfirmPromptProps> = ({ close, onConfirm, patient }) => {
24
24
  const { t } = useTranslation();
25
- const { facilityName, isLoading } = useFacilityName(patient?.originFacilityKmflCode);
26
-
27
25
  return (
28
26
  <>
29
27
  <div className="cds--modal-header">
@@ -41,7 +39,7 @@ const ConfirmPrompt: React.FC<ConfirmPromptProps> = ({ close, onConfirm, patient
41
39
  <div style={{ display: 'flex', margin: '1rem' }}>
42
40
  <ExtensionSlot
43
41
  style={{ display: 'flex', alignItems: 'center' }}
44
- extensionSlotName="patient-photo-slot"
42
+ name="patient-photo-slot"
45
43
  state={{ patientName: `${patient?.firstName} ${patient?.lastName}` }}
46
44
  />
47
45
  <div style={{ width: '100%', marginLeft: '0.625rem' }}>
@@ -56,15 +54,8 @@ const ConfirmPrompt: React.FC<ConfirmPromptProps> = ({ close, onConfirm, patient
56
54
  <PatientInfo label={t('age', 'Age')} value={age(patient?.dateOfBirth)} />
57
55
  <PatientInfo label={t('dateOfBirth', 'Date of birth')} value={formatDate(new Date(patient?.dateOfBirth))} />
58
56
  <PatientInfo label={t('gender', 'Gender')} value={capitalize(patient?.gender)} />
59
- <PatientInfo label={t('nascopNumber', 'Nascop facility no')} value={capitalize(patient?.nascopCCCNumber)} />
60
- <PatientInfo
61
- label={t('originFacilityCode', 'Origin facility code')}
62
- value={patient?.originFacilityKmflCode}
63
- />
64
- <PatientInfo
65
- label={t('originFacilityName', 'Origin facility name')}
66
- value={isLoading ? '--' : facilityName?.name}
67
- />
57
+ <PatientInfo label={t('nupiIdentification', 'NUPI')} value={patient?.clientNumber} />
58
+ <PatientInfo label={t('shaNumber', 'SHA Number')} value={'--'} />
68
59
  </div>
69
60
  </div>
70
61
  </div>
@@ -4,8 +4,8 @@
4
4
  "age": "Age",
5
5
  "allFieldsRequiredText": "All fields are required unless marked optional",
6
6
  "autoGeneratedPlaceholderText": "Auto-generated",
7
- "birthdayNotInTheFuture": "",
8
- "birthdayRequired": "",
7
+ "birthdayNotInTheFuture": "Birthday cannot be in the future",
8
+ "birthdayRequired": "Birthday is required",
9
9
  "birthFieldLabelText": "Birth",
10
10
  "cancel": "Cancel",
11
11
  "causeOfDeathInputLabel": "Cause of Death",
@@ -23,7 +23,7 @@
23
23
  "dateOfBirth": "Date of birth",
24
24
  "dateOfBirthLabelText": "Date of Birth",
25
25
  "deathDateInputLabel": "Date of Death",
26
- "deathdayNotInTheFuture": "",
26
+ "deathdayNotInTheFuture": "Death day cannot be in the future",
27
27
  "deathSection": "Death Info",
28
28
  "deleteIdentifierTooltip": "Delete",
29
29
  "deleteRelationshipTooltipText": "Delete",
@@ -41,31 +41,29 @@
41
41
  "estimatedAgeInMonthsLabelText": "Estimated age in months",
42
42
  "estimatedAgeInYearsLabelText": "Estimated age in years",
43
43
  "familyNameLabelText": "Family Name",
44
- "familyNameRequired": "",
44
+ "familyNameRequired": "Family name is required",
45
45
  "female": "Female",
46
46
  "fullNameLabelText": "Full Name",
47
47
  "gender": "Gender",
48
48
  "genderLabelText": "Sex",
49
- "genderRequired": "",
50
- "genderUnspecified": "",
49
+ "genderRequired": "Gender is required",
50
+ "genderUnspecified": "Gender is not specified",
51
51
  "givenNameLabelText": "First Name",
52
- "givenNameRequired": "",
52
+ "givenNameRequired": "Given name is required",
53
53
  "identifierValueRequired": "Identifier value is required",
54
54
  "idFieldLabelText": "Identifiers",
55
55
  "IDInstructions": "Select the identifiers you'd like to add for this patient:",
56
56
  "incompleteForm": "Incomplete form",
57
- "invalidEmail": "",
57
+ "invalidEmail": "A valid email has to be given",
58
58
  "invalidInput": "Invalid Input",
59
59
  "isDeadInputLabel": "Is Dead",
60
60
  "jumpTo": "Jump to",
61
61
  "male": "Male",
62
62
  "middleNameLabelText": "Middle Name",
63
- "nascopNumber": "Nascop facility no",
64
- "nationalId": "National ID",
65
- "negativeMonths": "",
66
- "negativeYears": "",
63
+ "negativeMonths": "Negative months",
64
+ "negativeYears": "Negative years",
67
65
  "no": "No",
68
- "numberInNameDubious": "",
66
+ "numberInNameDubious": "Number in name is dubious",
69
67
  "obsFieldUnknownDatatype": "Concept for obs field '{{fieldDefinitionId}}' has unknown datatype '{{datatypeName}}'",
70
68
  "optional": "optional",
71
69
  "originFacilityCode": "Origin facility code",
@@ -108,8 +106,6 @@
108
106
  "updatePatientErrorSnackbarTitle": "Patient Details Update Failed",
109
107
  "updatePatientSuccessSnackbarSubtitle": "The patient's information has been successfully updated",
110
108
  "updatePatientSuccessSnackbarTitle": "Patient Details Updated",
111
- "useValues": "Use values",
112
- "validate": "Validate",
113
- "yearsEstimateRequired": "",
109
+ "yearsEstimateRequired": "Years estimate required",
114
110
  "yes": "Yes"
115
111
  }
@@ -4,8 +4,8 @@
4
4
  "age": "Age",
5
5
  "allFieldsRequiredText": "جميع الحقول مطلوبة ما لم يتم التأشير عليها بأنها اختيارية",
6
6
  "autoGeneratedPlaceholderText": "تم إنشاؤه تلقائيًا",
7
- "birthdayNotInTheFuture": "",
8
- "birthdayRequired": "",
7
+ "birthdayNotInTheFuture": "Birthday cannot be in the future",
8
+ "birthdayRequired": "Birthday is required",
9
9
  "birthFieldLabelText": "الميلاد",
10
10
  "cancel": "إلغاء",
11
11
  "causeOfDeathInputLabel": "سبب الوفاة",
@@ -23,7 +23,7 @@
23
23
  "dateOfBirth": "Date of birth",
24
24
  "dateOfBirthLabelText": "تاريخ الميلاد",
25
25
  "deathDateInputLabel": "تاريخ الوفاة",
26
- "deathdayNotInTheFuture": "",
26
+ "deathdayNotInTheFuture": "Death day cannot be in the future",
27
27
  "deathSection": "معلومات الوفاة",
28
28
  "deleteIdentifierTooltip": "حذف",
29
29
  "deleteRelationshipTooltipText": "حذف",
@@ -41,31 +41,29 @@
41
41
  "estimatedAgeInMonthsLabelText": "العمر المقدر بالشهور",
42
42
  "estimatedAgeInYearsLabelText": "العمر المقدر بالسنوات",
43
43
  "familyNameLabelText": "اسم العائلة",
44
- "familyNameRequired": "",
44
+ "familyNameRequired": "Family name is required",
45
45
  "female": "أنثى",
46
46
  "fullNameLabelText": "الاسم الكامل",
47
47
  "gender": "Gender",
48
48
  "genderLabelText": "الجنس",
49
- "genderRequired": "",
50
- "genderUnspecified": "",
49
+ "genderRequired": "Gender is required",
50
+ "genderUnspecified": "Gender is not specified",
51
51
  "givenNameLabelText": "الاسم الأول",
52
- "givenNameRequired": "",
52
+ "givenNameRequired": "Given name is required",
53
53
  "identifierValueRequired": "قيمة المعرف مطلوبة",
54
54
  "idFieldLabelText": "المعرفات",
55
55
  "IDInstructions": "Select the identifiers you'd like to add for this patient:",
56
56
  "incompleteForm": "نموذج غير مكتمل",
57
- "invalidEmail": "",
57
+ "invalidEmail": "A valid email has to be given",
58
58
  "invalidInput": "إدخال غير صالح",
59
59
  "isDeadInputLabel": "هل المريض متوفى؟",
60
60
  "jumpTo": "اذهب إلى",
61
61
  "male": "ذكر",
62
62
  "middleNameLabelText": "الاسم الأوسط",
63
- "nascopNumber": "Nascop facility no",
64
- "nationalId": "National ID",
65
- "negativeMonths": "",
66
- "negativeYears": "",
63
+ "negativeMonths": "Negative months",
64
+ "negativeYears": "Negative years",
67
65
  "no": "لا",
68
- "numberInNameDubious": "",
66
+ "numberInNameDubious": "Number in name is dubious",
69
67
  "obsFieldUnknownDatatype": "Concept for obs field '{{fieldDefinitionId}}' has unknown datatype '{{datatypeName}}'",
70
68
  "optional": "اختياري",
71
69
  "originFacilityCode": "Origin facility code",
@@ -108,8 +106,6 @@
108
106
  "updatePatientErrorSnackbarTitle": "Patient Details Update Failed",
109
107
  "updatePatientSuccessSnackbarSubtitle": "The patient's information has been successfully updated",
110
108
  "updatePatientSuccessSnackbarTitle": "Patient Details Updated",
111
- "useValues": "Use values",
112
- "validate": "Validate",
113
- "yearsEstimateRequired": "",
109
+ "yearsEstimateRequired": "Years estimate required",
114
110
  "yes": "نعم"
115
111
  }
@@ -60,16 +60,14 @@
60
60
  "jumpTo": "Jump to",
61
61
  "male": "Male",
62
62
  "middleNameLabelText": "Middle Name",
63
- "nascopNumber": "Nascop facility no",
64
63
  "nationalId": "National ID",
65
64
  "negativeMonths": "Negative months",
66
65
  "negativeYears": "Negative years",
67
66
  "no": "No",
68
67
  "numberInNameDubious": "Number in name is dubious",
68
+ "NUPI": "",
69
69
  "obsFieldUnknownDatatype": "Concept for obs field '{{fieldDefinitionId}}' has unknown datatype '{{datatypeName}}'",
70
70
  "optional": "optional",
71
- "originFacilityCode": "Origin facility code",
72
- "originFacilityName": "Origin facility name",
73
71
  "other": "Other",
74
72
  "patient": "Patient",
75
73
  "patientDetailsFound": "Patient information found in the registry, do you want to use the information to continue with registration?",
@@ -93,11 +91,13 @@
93
91
  "resetIdentifierTooltip": "Reset",
94
92
  "restoreRelationshipActionButton": "Undo",
95
93
  "searchAddress": "Search address",
94
+ "searchClientRegistry": "Search client registry",
96
95
  "searchIdentifierPlaceholder": "Search identifier",
97
96
  "selectAnOption": "Select an option",
98
97
  "selectCountry": "Select country",
99
98
  "selectIdentifierType": "Select identifier type",
100
99
  "sexFieldLabelText": "Sex",
100
+ "SHA Number": "",
101
101
  "source": "Source",
102
102
  "stroke": "Stroke",
103
103
  "submitting": "Submitting",
@@ -9,14 +9,12 @@
9
9
  "birthFieldLabelText": "Nacimiento",
10
10
  "cancel": "Cancelar",
11
11
  "causeOfDeathInputLabel": "Causa de defunción",
12
- "clientRegistryEmpty": "Create & Post Patient",
13
- "clientVerificationWithClientRegistry": "Client verification with client registry",
14
- "closeOverlay": "Close overlay",
15
- "codedPersonAttributeAnswerSetEmpty": "The coded person attribute field '{{codedPersonAttributeFieldId}}' has been defined with an answer concept set UUID '{{answerConceptSetUuid}}' that does not have any concept answers.",
16
- "codedPersonAttributeAnswerSetInvalid": "The coded person attribute field '{{codedPersonAttributeFieldId}}' has been defined with an invalid answer concept set UUID '{{answerConceptSetUuid}}'.",
17
- "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.",
12
+ "closeOverlay": "Cerrar superposición",
13
+ "codedPersonAttributeAnswerSetEmpty": "El campo de atributo de persona codificado '{{codedPersonAttributeFieldId}}' se ha definido con un conjunto de conceptos de respuesta UUID '{{answerConceptSetUuid}}' que no tiene respuestas de concepto.",
14
+ "codedPersonAttributeAnswerSetInvalid": "El campo de atributo de persona codificado '{{codedPersonAttributeFieldId}}' se ha definido con un UUID de conjunto de conceptos de respuesta no válido '{{answerConceptSetUuid}}'.",
15
+ "codedPersonAttributeNoAnswerSet": "El campo de atributo de persona '{{codedPersonAttributeFieldId}}' es de tipo 'codificado' pero se ha definido sin UUID de conjunto de conceptos de respuesta. La clave 'answerConceptSetUuid' es requerida.",
18
16
  "configure": "Configurar",
19
- "configureIdentifiers": "Configure identifiers",
17
+ "configureIdentifiers": "Configurar identificadores",
20
18
  "contactSection": "Detalles de Contacto",
21
19
  "continue": "Continue to registration",
22
20
  "createNew": "Crear Nuevo/a",
@@ -30,14 +28,14 @@
30
28
  "demographicsSection": "Información Básica",
31
29
  "discard": "Descartar",
32
30
  "discardModalBody": "Los cambios realizados en los datos de este paciente no se han guardado. ¿Descartar cambios?",
33
- "discardModalHeader": "Confirmar cambios de descarte",
31
+ "discardModalHeader": "Confirmar descarte de cambios",
34
32
  "dobToggleLabelText": "¿Se conoce la fecha de nacimiento?",
35
33
  "edit": "Editar",
36
34
  "editIdentifierTooltip": "Editar",
37
35
  "editPatientDetails": "Modificar los datos del paciente",
38
- "editPatientDetailsBreadcrumb": "Edit patient details",
36
+ "editPatientDetailsBreadcrumb": "Editar detalles del paciente",
39
37
  "error": "Error",
40
- "errorFetchingOrderedFields": "Error ocurrió al obtener campos ordenados para la jerarquía de direcciones",
38
+ "errorFetchingOrderedFields": "Ocurrió un error al obtener campos ordenados para la jerarquía de direcciones",
41
39
  "estimatedAgeInMonthsLabelText": "Edad estimada en meses",
42
40
  "estimatedAgeInYearsLabelText": "Edad estimada en años",
43
41
  "familyNameLabelText": "Apellidos",
@@ -52,7 +50,7 @@
52
50
  "givenNameRequired": "El nombre es obligatorio",
53
51
  "identifierValueRequired": "El valor del identificador es obligatorio",
54
52
  "idFieldLabelText": "Identificadores",
55
- "IDInstructions": "Select the identifiers you'd like to add for this patient:",
53
+ "IDInstructions": "Selecciona los identificadores que te gustaría agregar para este paciente:",
56
54
  "incompleteForm": "Formulario incompleto",
57
55
  "invalidEmail": "Debe indicar un email válido",
58
56
  "invalidInput": "Entrada no válida",
@@ -66,50 +64,44 @@
66
64
  "negativeYears": "Años negativos",
67
65
  "no": "No",
68
66
  "numberInNameDubious": "Número en nombre es dudoso",
69
- "obsFieldUnknownDatatype": "Concept for obs field '{{fieldDefinitionId}}' has unknown datatype '{{datatypeName}}'",
70
- "optional": "opcional",
71
- "originFacilityCode": "Origin facility code",
72
- "originFacilityName": "Origin facility name",
67
+ "obsFieldUnknownDatatype": "El concepto para el campo de observación '{{fieldDefinitionId}}' tiene un tipo de datos desconocido '{{datatypeName}}'",
68
+ "optional": "Opcional",
73
69
  "other": "Otro",
74
70
  "patient": "Paciente",
75
71
  "patientDetailsFound": "Patient information found in the registry, do you want to use the information to continue with registration?",
76
72
  "patientName": "Patient name",
77
73
  "patientNameKnown": "¿Se sabe el nombre del paciente?",
78
- "patientNotFound": "The patient records could not be found in Client registry, do you want to continue to create and post patient to registry",
79
- "patientRegistrationBreadcrumb": "Patient Registration",
80
- "postToRegistry": "Post to registry",
74
+ "patientRegistrationBreadcrumb": "Registro de Pacientes",
81
75
  "registerPatient": "Registrar paciente",
82
- "registerPatientSuccessSnackbarSubtitle": "The patient can now be found by searching for them using their name or ID number",
83
- "registerPatientSuccessSnackbarTitle": "New Patient Created",
84
- "registrationErrorSnackbarTitle": "Patient Registration Failed",
76
+ "registerPatientSuccessSnackbarSubtitle": "El paciente ahora se puede encontrar buscándolo por su nombre o número de identificación",
77
+ "registerPatientSuccessSnackbarTitle": "Nuevo paciente creado",
78
+ "registrationErrorSnackbarTitle": "Error en el registro del paciente",
85
79
  "relationship": "Relación",
86
- "relationshipPersonMustExist": "Related person must be an existing person",
80
+ "relationshipPersonMustExist": "La persona relacionada debe ser una persona existente",
87
81
  "relationshipPlaceholder": "Relación",
88
82
  "relationshipRemovedText": "Relación eliminada",
89
83
  "relationshipsSection": "Relaciones",
90
84
  "relationshipToPatient": "Relación con el paciente",
91
85
  "relativeFullNameLabelText": "Nombre y Apellidos",
92
86
  "relativeNamePlaceholder": "Nombre Apellido",
93
- "resetIdentifierTooltip": "resetear",
87
+ "resetIdentifierTooltip": "Resetear",
94
88
  "restoreRelationshipActionButton": "Deshacer",
95
89
  "searchAddress": "Buscar dirección",
96
- "searchIdentifierPlaceholder": "Search identifier",
90
+ "searchIdentifierPlaceholder": "Buscar identificador",
97
91
  "selectAnOption": "Seleccionar una opción",
98
92
  "selectCountry": "Select country",
99
93
  "selectIdentifierType": "Select identifier type",
100
94
  "sexFieldLabelText": "Sexo",
101
- "source": "Source",
95
+ "source": "Fuente",
102
96
  "stroke": "Ictus",
103
- "submitting": "Submitting",
97
+ "submitting": "Enviando",
104
98
  "unableToFetch": "No se puede obtener el tipo de atributo de persona {{personattributetype}}",
105
99
  "unknown": "Desconocido",
106
- "unknownPatientAttributeType": "Patient attribute type has unknown format {{personAttributeTypeFormat}}",
100
+ "unknownPatientAttributeType": "El tipo de atributo del paciente tiene un formato desconocido {{personAttributeTypeFormat}}",
107
101
  "updatePatient": "Paciente Actualizado",
108
- "updatePatientErrorSnackbarTitle": "Patient Details Update Failed",
109
- "updatePatientSuccessSnackbarSubtitle": "The patient's information has been successfully updated",
110
- "updatePatientSuccessSnackbarTitle": "Patient Details Updated",
111
- "useValues": "Use values",
112
- "validate": "Validate",
102
+ "updatePatientErrorSnackbarTitle": "Error al actualizar los detalles del paciente",
103
+ "updatePatientSuccessSnackbarSubtitle": "La información del paciente se ha actualizado correctamente",
104
+ "updatePatientSuccessSnackbarTitle": "Detalles del paciente actualizados",
113
105
  "yearsEstimateRequired": "Estimación de años obligatoria",
114
106
  "yes": "Sí"
115
107
  }
@@ -3,70 +3,64 @@
3
3
  "addressHeader": "Adresse",
4
4
  "age": "Age",
5
5
  "allFieldsRequiredText": "Tous les champs sont requis sauf si explicitement indiqués facultatifs",
6
- "autoGeneratedPlaceholderText": "Auto-generé",
6
+ "autoGeneratedPlaceholderText": "Auto-généré",
7
7
  "birthdayNotInTheFuture": "La date de naissance ne peut pas être dans le futur",
8
8
  "birthdayRequired": "La date de naissance est requise",
9
9
  "birthFieldLabelText": "Naissance",
10
- "cancel": "Annuller",
10
+ "cancel": "Annuler",
11
11
  "causeOfDeathInputLabel": "Cause de décès",
12
- "clientRegistryEmpty": "Create & Post Patient",
13
- "clientVerificationWithClientRegistry": "Client verification with client registry",
14
- "closeOverlay": "Close overlay",
15
- "codedPersonAttributeAnswerSetEmpty": "The coded person attribute field '{{codedPersonAttributeFieldId}}' has been defined with an answer concept set UUID '{{answerConceptSetUuid}}' that does not have any concept answers.",
16
- "codedPersonAttributeAnswerSetInvalid": "The coded person attribute field '{{codedPersonAttributeFieldId}}' has been defined with an invalid answer concept set UUID '{{answerConceptSetUuid}}'.",
17
- "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.",
12
+ "closeOverlay": "Fermer la superposition",
13
+ "codedPersonAttributeAnswerSetEmpty": "Le champ d'attribut de personne codé '{{codedPersonAttributeFieldId}}' a été défini avec un ensemble de concepts de réponse UUID '{{answerConceptSetUuid}}' qui n'a pas de réponses de concept.",
14
+ "codedPersonAttributeAnswerSetInvalid": "Le champ d'attribut de personne codé '{{codedPersonAttributeFieldId}}' a été défini avec un UUID d'ensemble de concepts de réponse invalide '{{answerConceptSetUuid}}'.",
15
+ "codedPersonAttributeNoAnswerSet": "Le champ d'attribut de personne '{{codedPersonAttributeFieldId}}' est de type 'codé' mais a été défini sans UUID d'ensemble de concepts de réponse. La clé 'answerConceptSetUuid' est requise.",
18
16
  "configure": "Configurer",
19
- "configureIdentifiers": "Configure identifiers",
20
- "contactSection": "Contact Details",
21
- "continue": "Continue to registration",
17
+ "configureIdentifiers": "Configurer les identifiants",
18
+ "contactSection": "Détails de contact",
22
19
  "createNew": "Créer un nouveau",
23
20
  "dateOfBirth": "Date of birth",
24
21
  "dateOfBirthLabelText": "Date de naissance",
25
22
  "deathDateInputLabel": "Date de décès",
26
23
  "deathdayNotInTheFuture": "Le décès ne peut pas être dans le futur",
27
- "deathSection": "Death Info",
28
- "deleteIdentifierTooltip": "Effacer",
29
- "deleteRelationshipTooltipText": "Effacer",
30
- "demographicsSection": "Basic Info",
24
+ "deathSection": "Informations sur le décès",
25
+ "deleteIdentifierTooltip": "Supprimer",
26
+ "deleteRelationshipTooltipText": "Supprimer",
27
+ "demographicsSection": "Informations de base",
31
28
  "discard": "Abandonner",
32
29
  "discardModalBody": "Les modifications que vous avez apportées aux données de ce patient n'ont pas été enregistrées. Annuler les modifications?",
33
30
  "discardModalHeader": "Confirmer l'abandon des modifications",
34
31
  "dobToggleLabelText": "Date de naissance connue?",
35
- "edit": "Editer",
36
- "editIdentifierTooltip": "Editer",
37
- "editPatientDetails": "Editer les données du patient",
38
- "editPatientDetailsBreadcrumb": "Edit patient details",
39
- "error": "Error",
40
- "errorFetchingOrderedFields": "Error occured fetching ordered fields for address hierarchy",
32
+ "edit": "Éditer",
33
+ "editIdentifierTooltip": "Éditer",
34
+ "editPatientDetails": "Modifier les détails du patient",
35
+ "editPatientDetailsBreadcrumb": "Modifier les détails du patient",
36
+ "error": "Erreur",
37
+ "errorFetchingOrderedFields": "Une erreur s'est produite lors de la récupération des champs ordonnés pour la hiérarchie d'adresse",
41
38
  "estimatedAgeInMonthsLabelText": "Âge estimé en mois",
42
39
  "estimatedAgeInYearsLabelText": "Âge estimé en années",
43
40
  "familyNameLabelText": "Nom de famille",
44
41
  "familyNameRequired": "Le nom de famille est requis",
45
42
  "female": "Femme",
46
- "fullNameLabelText": "Nom et Prénom",
47
- "gender": "Gender",
43
+ "fullNameLabelText": "Nom et prénom",
48
44
  "genderLabelText": "Sexe",
49
45
  "genderRequired": "Le genre est requis",
50
46
  "genderUnspecified": "Le genre n'est pas spécifié",
51
47
  "givenNameLabelText": "Prénom",
52
- "givenNameRequired": "Le nom donné est requis",
48
+ "givenNameRequired": "Le prénom est requis",
53
49
  "identifierValueRequired": "La valeur de l'identifiant est requise",
54
50
  "idFieldLabelText": "Identifiants",
55
- "IDInstructions": "Select the identifiers you'd like to add for this patient:",
51
+ "IDInstructions": "Sélectionnez les identifiants que vous souhaitez ajouter pour ce patient:",
56
52
  "incompleteForm": "Formulaire incomplet",
57
- "invalidEmail": "Un email valide est requis",
53
+ "invalidEmail": "Une adresse e-mail valide est requise",
58
54
  "invalidInput": "Entrée invalide",
59
55
  "isDeadInputLabel": "Est décédé",
60
- "jumpTo": "Passer à",
56
+ "jumpTo": "Aller à",
61
57
  "male": "Homme",
62
- "middleNameLabelText": "Deuxième nom",
63
- "nascopNumber": "Nascop facility no",
64
- "nationalId": "National ID",
58
+ "middleNameLabelText": "Deuxième prénom",
65
59
  "negativeMonths": "Mois négatifs",
66
60
  "negativeYears": "Années négatives",
67
61
  "no": "Non",
68
62
  "numberInNameDubious": "Le chiffre dans le nom est suspect",
69
- "obsFieldUnknownDatatype": "Concept for obs field '{{fieldDefinitionId}}' has unknown datatype '{{datatypeName}}'",
63
+ "obsFieldUnknownDatatype": "Le concept pour le champ d'observation '{{fieldDefinitionId}}' a un type de données inconnu '{{datatypeName}}'",
70
64
  "optional": "Optionnel",
71
65
  "originFacilityCode": "Origin facility code",
72
66
  "originFacilityName": "Origin facility name",
@@ -75,41 +69,35 @@
75
69
  "patientDetailsFound": "Patient information found in the registry, do you want to use the information to continue with registration?",
76
70
  "patientName": "Patient name",
77
71
  "patientNameKnown": "Le nom du patient est connu?",
78
- "patientNotFound": "The patient records could not be found in Client registry, do you want to continue to create and post patient to registry",
79
- "patientRegistrationBreadcrumb": "Patient Registration",
80
- "postToRegistry": "Post to registry",
72
+ "patientRegistrationBreadcrumb": "Enregistrement du patient",
81
73
  "registerPatient": "Enregistrer un patient",
82
- "registerPatientSuccessSnackbarSubtitle": "The patient can now be found by searching for them using their name or ID number",
83
- "registerPatientSuccessSnackbarTitle": "New Patient Created",
84
- "registrationErrorSnackbarTitle": "Patient Registration Failed",
74
+ "registerPatientSuccessSnackbarSubtitle": "Le patient peut maintenant être trouvé en le recherchant par son nom ou son numéro d'identification",
75
+ "registerPatientSuccessSnackbarTitle": "Nouveau patient créé",
76
+ "registrationErrorSnackbarTitle": "Échec de l'enregistrement du patient",
85
77
  "relationship": "Relation",
86
78
  "relationshipPersonMustExist": "La personne liée doit être une personne existante",
87
79
  "relationshipPlaceholder": "Relation",
88
80
  "relationshipRemovedText": "Relation supprimée",
89
- "relationshipsSection": "Relationships",
81
+ "relationshipsSection": "Relations",
90
82
  "relationshipToPatient": "Relation avec le patient",
91
83
  "relativeFullNameLabelText": "Personne liée",
92
- "relativeNamePlaceholder": "Prénom Nom de famile",
84
+ "relativeNamePlaceholder": "Prénom Nom de famille",
93
85
  "resetIdentifierTooltip": "Réinitialiser",
94
- "restoreRelationshipActionButton": "Annuler",
95
- "searchAddress": "Chercher l'adresse",
96
- "searchIdentifierPlaceholder": "Search identifier",
97
- "selectAnOption": "Select an option",
98
- "selectCountry": "Select country",
99
- "selectIdentifierType": "Select identifier type",
86
+ "restoreRelationshipActionButton": "Restaurer",
87
+ "searchAddress": "Rechercher une adresse",
88
+ "searchIdentifierPlaceholder": "Rechercher un identifiant",
89
+ "selectAnOption": "Sélectionner une option",
100
90
  "sexFieldLabelText": "Sexe",
101
91
  "source": "Source",
102
- "stroke": "Accident",
103
- "submitting": "Submitting",
104
- "unableToFetch": "Unable to fetch person attribute type - {{personattributetype}}",
92
+ "stroke": "Accident vasculaire cérébral",
93
+ "submitting": "En cours de soumission",
94
+ "unableToFetch": "Impossible de récupérer le type d'attribut de personne - {{personattributetype}}",
105
95
  "unknown": "Inconnu",
106
- "unknownPatientAttributeType": "Patient attribute type has unknown format {{personAttributeTypeFormat}}",
96
+ "unknownPatientAttributeType": "Le type d'attribut de patient a un format inconnu {{personAttributeTypeFormat}}",
107
97
  "updatePatient": "Mettre à jour le patient",
108
- "updatePatientErrorSnackbarTitle": "Patient Details Update Failed",
109
- "updatePatientSuccessSnackbarSubtitle": "The patient's information has been successfully updated",
110
- "updatePatientSuccessSnackbarTitle": "Patient Details Updated",
111
- "useValues": "Use values",
112
- "validate": "Validate",
98
+ "updatePatientErrorSnackbarTitle": "Échec de la mise à jour des détails du patient",
99
+ "updatePatientSuccessSnackbarSubtitle": "Les informations du patient ont été mises à jour avec succès",
100
+ "updatePatientSuccessSnackbarTitle": "Détails du patient mis à jour",
113
101
  "yearsEstimateRequired": "Estimation du nombre d'années requise",
114
102
  "yes": "Oui"
115
103
  }