@ampath/esm-patient-registration-app 6.0.1-pre.70 → 6.0.1-pre.74
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 +2 -2
- package/dist/621.js +1 -1
- package/dist/621.js.map +1 -1
- package/dist/ampath-esm-patient-registration-app.js.buildmanifest.json +6 -6
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/patient-verification/patient-verification-hook.tsx +1 -1
- package/src/patient-verification/patient-verification-utils.ts +4 -4
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":"cancelPatientEditModal","name":"cancel-patient-edit-modal","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},{"component":"deleteIdentifierConfirmationModal","name":"delete-identifier-confirmation-modal","online":true,"offline":true},{"component":"emptyClientRegistryModal","name":"empty-client-registry-modal","online":true,"offline":true},{"component":"confirmClientRegistryModal","name":"confirm-client-registry-modal","online":true,"offline":true}],"version":"6.0.1-pre.
|
|
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":"cancelPatientEditModal","name":"cancel-patient-edit-modal","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},{"component":"deleteIdentifierConfirmationModal","name":"delete-identifier-confirmation-modal","online":true,"offline":true},{"component":"emptyClientRegistryModal","name":"empty-client-registry-modal","online":true,"offline":true},{"component":"confirmClientRegistryModal","name":"confirm-client-registry-modal","online":true,"offline":true}],"version":"6.0.1-pre.74"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampath/esm-patient-registration-app",
|
|
3
|
-
"version": "6.0.1-pre.
|
|
3
|
+
"version": "6.0.1-pre.74",
|
|
4
4
|
"description": "Patient registration microfrontend for the OpenMRS SPA",
|
|
5
5
|
"browser": "dist/ampath-esm-patient-registration-app.js",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -124,7 +124,7 @@ async function postToRegistry(
|
|
|
124
124
|
const nupiIdentifier = {
|
|
125
125
|
['nationalUniquePatientIdentifier']: {
|
|
126
126
|
identifierTypeUuid: 'cba702b9-4664-4b43-83f1-9ab473cbd64d',
|
|
127
|
-
identifierName: 'National Unique
|
|
127
|
+
identifierName: 'National Unique Patient Identifier (NUPI)',
|
|
128
128
|
identifierValue: savedValues['clientNumber'],
|
|
129
129
|
initialValue: savedValues['clientNumber'],
|
|
130
130
|
identifierUuid: undefined,
|
|
@@ -18,8 +18,8 @@ export function handleClientRegistryResponse(
|
|
|
18
18
|
selectedSource: { uuid: '', name: '' },
|
|
19
19
|
preferred: false,
|
|
20
20
|
required: false,
|
|
21
|
-
identifierTypeUuid: '
|
|
22
|
-
identifierName: 'National ID',
|
|
21
|
+
identifierTypeUuid: '58a47054-1359-11df-a1f1-0026b9348838',
|
|
22
|
+
identifierName: 'Kenyan National ID Number',
|
|
23
23
|
identifierValue: searchTerm,
|
|
24
24
|
},
|
|
25
25
|
};
|
|
@@ -61,13 +61,13 @@ export function handleClientRegistryResponse(
|
|
|
61
61
|
preferred: false,
|
|
62
62
|
required: false,
|
|
63
63
|
identifierTypeUuid: '58a47054-1359-11df-a1f1-0026b9348838',
|
|
64
|
-
identifierName: 'National ID',
|
|
64
|
+
identifierName: 'Kenyan National ID Number',
|
|
65
65
|
identifierValue: identifications !== undefined && identifications[0]?.identificationNumber,
|
|
66
66
|
},
|
|
67
67
|
|
|
68
68
|
['nationalUniquePatientIdentifier']: {
|
|
69
69
|
identifierTypeUuid: 'cba702b9-4664-4b43-83f1-9ab473cbd64d',
|
|
70
|
-
identifierName: 'National Unique
|
|
70
|
+
identifierName: 'National Unique Patient Identifier (NUPI)',
|
|
71
71
|
identifierValue: clientNumber,
|
|
72
72
|
initialValue: clientNumber,
|
|
73
73
|
identifierUuid: undefined,
|