From 45f05ed67052dec51bebc6d3e3a1211bb7504bfa Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:15:39 +0300 Subject: [PATCH 1/3] (feat) Add custom patient registration with patient --- package.json | 2 +- .../src/patient-verification/client-registry.component.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3254dab3..892ebcd5 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "packages/*" ], "scripts": { - "start": "openmrs develop", + "start": "openmrs develop --backend http://amrs.ampath.or.ke:8080 --sources packages/esm-patient-registration-app --api-url /amrs --spa-path /amrs/spa/ --port 8021", "ci:publish": "yarn workspaces foreach --all --topological --exclude @ampth/esm-3.x-app npm publish --access public --tag latest", "ci:prepublish": "yarn workspaces foreach --all --topological --exclude @ampth/esm-3.x-app npm publish --access public --tag next", "release": "yarn workspaces foreach --all --topological version", diff --git a/packages/esm-patient-registration-app/src/patient-verification/client-registry.component.tsx b/packages/esm-patient-registration-app/src/patient-verification/client-registry.component.tsx index 7e2e024c..b86a7bce 100644 --- a/packages/esm-patient-registration-app/src/patient-verification/client-registry.component.tsx +++ b/packages/esm-patient-registration-app/src/patient-verification/client-registry.component.tsx @@ -35,7 +35,7 @@ export const ClientRegistry: React.FC = ({ setInitialFormVa handleOnChange(selectedItem?.id, 'identifierType')} itemToString={(item) => (item ? item.text : '')} From e88d17afa5439331aa3b2552a17054e73cbb8ff9 Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:36:39 +0300 Subject: [PATCH 2/3] (feat) Add custom patient registration with patient --- packages/esm-patient-registration-app/translations/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/esm-patient-registration-app/translations/en.json b/packages/esm-patient-registration-app/translations/en.json index 7c39cd94..9809ce04 100644 --- a/packages/esm-patient-registration-app/translations/en.json +++ b/packages/esm-patient-registration-app/translations/en.json @@ -17,6 +17,7 @@ "configureIdentifiers": "Configure identifiers", "contactSection": "Contact Details", "contactSupport": "Contact supportt", + "continue": "Continue", "createNew": "Create New", "dateOfBirthLabelText": "Date of Birth", "deathDateInputLabel": "Date of Death", @@ -97,7 +98,6 @@ "updatePatientErrorSnackbarTitle": "Patient Details Update Failed", "updatePatientSuccessSnackbarSubtitle": "The patient's information has been successfully updated", "updatePatientSuccessSnackbarTitle": "Patient Details Updated", - "useValues": "Use Values", "yearsEstimateRequired": "Years estimate required", "yes": "Yes" } From 946ec689a7044476e7a6e1166d1afd2d06b9a575 Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:42:44 +0300 Subject: [PATCH 3/3] (feat) Add custom patient registration with patient --- .../src/patient-verification/client-registry.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/esm-patient-registration-app/src/patient-verification/client-registry.component.tsx b/packages/esm-patient-registration-app/src/patient-verification/client-registry.component.tsx index b86a7bce..7e2e024c 100644 --- a/packages/esm-patient-registration-app/src/patient-verification/client-registry.component.tsx +++ b/packages/esm-patient-registration-app/src/patient-verification/client-registry.component.tsx @@ -35,7 +35,7 @@ export const ClientRegistry: React.FC = ({ setInitialFormVa handleOnChange(selectedItem?.id, 'identifierType')} itemToString={(item) => (item ? item.text : '')}