@kenyaemr/esm-patient-registration-app 8.1.2-pre.216 → 8.1.2-pre.220

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/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.24.0"},"pages":[{"component":"root","route":"patient-registration","online":true,"offline":true},{"component":"editPatient","routeRegex":"patient\\/([a-zA-Z0-9\\-]+)\\/edit","online":true,"offline":true}],"extensions":[{"component":"addPatientLink","name":"add-patient-action","slot":"top-nav-actions-slot","online":true,"offline":true},{"component":"patientPhotoExtension","name":"patient-photo-widget","slot":"patient-photo-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-actions-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-search-actions-slot","online":true,"offline":true}],"modals":[{"name":"cancel-patient-edit-modal","component":"cancelPatientEditModal"},{"name":"delete-identifier-confirmation-modal","component":"deleteIdentifierConfirmationModal"},{"component":"emptyClientRegistryModal","name":"empty-client-registry-modal"},{"component":"confirmClientRegistryModal","name":"confirm-client-registry-modal"},{"component":"hieConfirmationModal","name":"hie-confirmation-modal"}],"version":"8.1.2-pre.216"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.24.0"},"pages":[{"component":"root","route":"patient-registration","online":true,"offline":true},{"component":"editPatient","routeRegex":"patient\\/([a-zA-Z0-9\\-]+)\\/edit","online":true,"offline":true}],"extensions":[{"component":"addPatientLink","name":"add-patient-action","slot":"top-nav-actions-slot","online":true,"offline":true},{"component":"patientPhotoExtension","name":"patient-photo-widget","slot":"patient-photo-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-actions-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-search-actions-slot","online":true,"offline":true}],"modals":[{"name":"cancel-patient-edit-modal","component":"cancelPatientEditModal"},{"name":"delete-identifier-confirmation-modal","component":"deleteIdentifierConfirmationModal"},{"component":"emptyClientRegistryModal","name":"empty-client-registry-modal"},{"component":"confirmClientRegistryModal","name":"confirm-client-registry-modal"},{"component":"hieConfirmationModal","name":"hie-confirmation-modal"}],"version":"8.1.2-pre.220"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenyaemr/esm-patient-registration-app",
3
- "version": "8.1.2-pre.216",
3
+ "version": "8.1.2-pre.220",
4
4
  "description": "Patient registration microfrontend for the OpenMRS SPA",
5
5
  "browser": "dist/kenyaemr-esm-patient-registration-app.js",
6
6
  "main": "src/index.ts",
@@ -44,7 +44,7 @@
44
44
  "yup": "^0.29.1"
45
45
  },
46
46
  "peerDependencies": {
47
- "@openmrs/esm-framework": "6.x",
47
+ "@openmrs/esm-framework": "7.x",
48
48
  "dayjs": "1.x",
49
49
  "react": "18.x",
50
50
  "react-i18next": "11.x",
@@ -21,6 +21,8 @@ export const SectionWrapper = ({ sectionDefinition, index }: SectionWrapperProps
21
21
  * t('contactSection', 'Contact Details')
22
22
  * t('deathSection', 'Death Info')
23
23
  * t('relationshipsSection', 'Relationships')
24
+ * t('customSection', 'Demographics')
25
+ * t('nextOfKinSection', 'Next of Kin')
24
26
  */
25
27
  return (
26
28
  <div id={sectionDefinition.id} style={{ scrollMarginTop: '4rem' }}>
@@ -29,6 +29,7 @@
29
29
  "contactSection": "የእውቂያ ዝርዝሮች",
30
30
  "continue": "ወደ ምዝገባ ቀጥል",
31
31
  "createNewPatient": "አዲስ ታካሚ ፍጠር",
32
+ "customSection": "የስነ ሕዝብ አወቃቀር",
32
33
  "dateOfBirth": "የትውልድ ቀን",
33
34
  "dateOfBirthLabelText": "የትውልድ ቀን",
34
35
  "deathCauseRequired": "የሞት መንስኤ ያስፈልጋል",
@@ -95,6 +96,7 @@
95
96
  "nationalID": "ብሔራዊ መታወቂያ",
96
97
  "negativeMonths": "የተገመቱ ወራት አሉታዊ ሊሆኑ አይችሉም",
97
98
  "negativeYears": "የተገመቱ ዓመታት አሉታዊ ሊሆኑ አይችሉም",
99
+ "nextOfKinSection": "የኪን ዝርዝሮች ቀጣይ",
98
100
  "no": "አይ",
99
101
  "nonCodedCauseOfDeath": "ያልተመዘገበ የሞት መንስኤ",
100
102
  "nonCodedCauseOfDeathRequired": "የሞት መንስኤ ያስፈልጋል",
@@ -29,6 +29,7 @@
29
29
  "contactSection": "Contact Details",
30
30
  "continue": "Continue",
31
31
  "createNewPatient": "Create new patient",
32
+ "customSection": "Demographics",
32
33
  "dateOfBirth": "Date of birth",
33
34
  "dateOfBirthLabelText": "Date of birth",
34
35
  "deathCauseRequired": "Cause of death is required",
@@ -95,6 +96,7 @@
95
96
  "nationalID": "National ID",
96
97
  "negativeMonths": "Estimated months cannot be negative",
97
98
  "negativeYears": "Estimated years cannot be negative",
99
+ "nextOfKinSection": "Next of Kin",
98
100
  "no": "No",
99
101
  "nonCodedCauseOfDeath": "Non-coded cause of death",
100
102
  "nonCodedCauseOfDeathRequired": "Cause of death is required",