@kenyaemr/esm-patient-registration-app 8.0.0 → 8.0.1-pre.99
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 +8 -8
- package/dist/564.js +1 -1
- package/dist/564.js.map +1 -1
- package/dist/kenyaemr-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 +3 -2
- package/src/patient-registration/field/obs/obs-field.component.tsx +1 -1
- package/src/patient-verification/patient-verification-hook.tsx +1 -1
- package/src/patient-verification/patient-verification.component.tsx +3 -0
- package/src/patient-verification/patient-verification.scss +16 -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":"8.0.
|
|
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":"8.0.1-pre.99"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kenyaemr/esm-patient-registration-app",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1-pre.99",
|
|
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",
|
|
@@ -53,5 +53,6 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"webpack": "^5.74.0"
|
|
56
|
-
}
|
|
56
|
+
},
|
|
57
|
+
"stableVersion": "8.0.0"
|
|
57
58
|
}
|
|
@@ -108,7 +108,7 @@ export function useGlobalProperties() {
|
|
|
108
108
|
const { data, isLoading, error } = useSWRImmutable(
|
|
109
109
|
`https://afyakenyaidentityapi.health.go.ke/connect/token`,
|
|
110
110
|
swrFetcher,
|
|
111
|
-
{ refreshInterval: 864000 },
|
|
111
|
+
{ refreshInterval: 864000, errorRetryCount: 0 },
|
|
112
112
|
);
|
|
113
113
|
return { data: data, isLoading, error };
|
|
114
114
|
}
|
|
@@ -58,6 +58,9 @@ const PatientVerification: React.FC<PatientVerificationProps> = ({ props }) => {
|
|
|
58
58
|
<h3 className={styles.productiveHeading02} style={{ color: '#161616' }}>
|
|
59
59
|
{t('clientVerificationWithClientRegistry', 'Client verification with client registry')}
|
|
60
60
|
</h3>
|
|
61
|
+
<span className={styles.label01}>
|
|
62
|
+
{t('allFieldsRequiredText', 'All fields are required unless marked optional')}
|
|
63
|
+
</span>
|
|
61
64
|
<div style={{ margin: '1rem 0 1rem' }}>
|
|
62
65
|
<Layer>
|
|
63
66
|
{isLoading && <InlineLoading status="active" iconDescription="Loading" description="Loading data..." />}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
@use '@carbon/colors';
|
|
2
|
+
@use '@carbon/layout';
|
|
3
|
+
@use '@carbon/type';
|
|
4
|
+
@use '@openmrs/esm-styleguide/src/vars' as *;
|
|
2
5
|
@import '../patient-registration/patient-registration.scss';
|
|
3
6
|
|
|
4
7
|
/* Desktop */
|
|
@@ -23,3 +26,16 @@
|
|
|
23
26
|
.errorWrapper {
|
|
24
27
|
margin: 0 0 1rem 0;
|
|
25
28
|
}
|
|
29
|
+
|
|
30
|
+
.label01 {
|
|
31
|
+
@include type.type-style('label-01');
|
|
32
|
+
margin-top: layout.$spacing-05;
|
|
33
|
+
margin-bottom: layout.$spacing-05;
|
|
34
|
+
color: $ui-04;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.productiveHeading02 {
|
|
38
|
+
@include type.type-style('heading-compact-02');
|
|
39
|
+
color: $ui-04;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
}
|