@ampath/esm-patient-registration-app 6.0.1-pre.235 → 6.0.1-pre.239
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 +19 -18
- package/dist/236.js +1 -1
- package/dist/421.js +1 -0
- package/dist/421.js.map +1 -0
- package/dist/449.js +1 -1
- package/dist/449.js.map +1 -1
- package/dist/531.js +2 -0
- package/dist/531.js.map +1 -0
- package/dist/757.js +1 -1
- package/dist/813.js +1 -0
- package/dist/813.js.map +1 -0
- package/dist/828.js +1 -1
- package/dist/830.js +1 -1
- package/dist/830.js.map +1 -1
- package/dist/831.js +1 -1
- package/dist/831.js.map +1 -1
- package/dist/913.js +1 -1
- package/dist/913.js.LICENSE.txt +3 -3
- package/dist/913.js.map +1 -1
- package/dist/927.js +1 -1
- package/dist/927.js.map +1 -1
- package/dist/ampath-esm-patient-registration-app.js +1 -1
- package/dist/ampath-esm-patient-registration-app.js.buildmanifest.json +113 -113
- package/dist/ampath-esm-patient-registration-app.js.map +1 -1
- 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-registration/field/obs/obs-field.component.tsx +1 -1
- package/src/patient-verification/patient-verification-utils.ts +2 -2
- package/src/patient-verification-HIE/patient-verification-utils.ts +2 -2
- package/dist/192.js +0 -2
- package/dist/192.js.map +0 -1
- package/dist/267.js +0 -1
- package/dist/267.js.map +0 -1
- package/dist/56.js +0 -1
- package/dist/56.js.map +0 -1
- /package/dist/{192.js.LICENSE.txt → 531.js.LICENSE.txt} +0 -0
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.239"}
|
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.239",
|
|
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",
|
|
@@ -158,7 +158,7 @@ function CodedObsField({ concept, answerConceptSetUuid, label, required, customC
|
|
|
158
158
|
const fieldName = `obs.${concept.uuid}`;
|
|
159
159
|
|
|
160
160
|
const { data: conceptAnswers, isLoading: isLoadingConceptAnswers } = useConceptAnswers(
|
|
161
|
-
customConceptAnswers.length ? '' : answerConceptSetUuid ?? concept.uuid,
|
|
161
|
+
customConceptAnswers.length ? '' : (answerConceptSetUuid ?? concept.uuid),
|
|
162
162
|
);
|
|
163
163
|
|
|
164
164
|
const answers = useMemo(
|
|
@@ -115,9 +115,9 @@ export function handleClientRegistryResponse(
|
|
|
115
115
|
'a8a0a00e-1350-11df-a1f1-0026b9348838':
|
|
116
116
|
clientResponse.client.occupation === undefined || clientResponse.client.occupation === null
|
|
117
117
|
? 'a899e0ac-1350-11df-a1f1-0026b9348838'
|
|
118
|
-
: props.values.concepts.find(
|
|
118
|
+
: (props.values.concepts.find(
|
|
119
119
|
(concept) => concept.display?.toLowerCase() === clientResponse.client.occupation?.toLowerCase(),
|
|
120
|
-
)?.uuid ?? 'a8aaf3e2-1350-11df-a1f1-0026b9348838',
|
|
120
|
+
)?.uuid ?? 'a8aaf3e2-1350-11df-a1f1-0026b9348838'),
|
|
121
121
|
},
|
|
122
122
|
});
|
|
123
123
|
dispose();
|
|
@@ -115,9 +115,9 @@ export function handleClientRegistryResponse(
|
|
|
115
115
|
'a8a0a00e-1350-11df-a1f1-0026b9348838':
|
|
116
116
|
clientResponse.client.occupation === undefined || clientResponse.client.occupation === null
|
|
117
117
|
? 'a899e0ac-1350-11df-a1f1-0026b9348838'
|
|
118
|
-
: props.values.concepts.find(
|
|
118
|
+
: (props.values.concepts.find(
|
|
119
119
|
(concept) => concept.display?.toLowerCase() === clientResponse.client.occupation?.toLowerCase(),
|
|
120
|
-
)?.uuid ?? 'a8aaf3e2-1350-11df-a1f1-0026b9348838',
|
|
120
|
+
)?.uuid ?? 'a8aaf3e2-1350-11df-a1f1-0026b9348838'),
|
|
121
121
|
},
|
|
122
122
|
});
|
|
123
123
|
dispose();
|