@kenyaemr/esm-patient-registration-app 4.4.0 → 4.4.2

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.
Files changed (66) hide show
  1. package/dist/144.js +1 -1
  2. package/dist/144.js.map +1 -1
  3. package/dist/207.js +1 -1
  4. package/dist/207.js.map +1 -1
  5. package/dist/317.js +1 -1
  6. package/dist/317.js.map +1 -1
  7. package/dist/330.js +1 -1
  8. package/dist/330.js.map +1 -1
  9. package/dist/574.js +1 -1
  10. package/dist/59.js +1 -1
  11. package/dist/59.js.map +1 -1
  12. package/dist/591.js +1 -1
  13. package/dist/591.js.map +1 -1
  14. package/dist/62.js +1 -1
  15. package/dist/62.js.map +1 -1
  16. package/dist/635.js +1 -1
  17. package/dist/635.js.map +1 -1
  18. package/dist/68.js +1 -1
  19. package/dist/68.js.map +1 -1
  20. package/dist/735.js +1 -1
  21. package/dist/735.js.map +1 -1
  22. package/dist/757.js +1 -1
  23. package/dist/784.js +1 -1
  24. package/dist/784.js.map +1 -1
  25. package/dist/805.js +1 -1
  26. package/dist/805.js.map +1 -1
  27. package/dist/807.js +1 -1
  28. package/dist/821.js +1 -1
  29. package/dist/821.js.map +1 -1
  30. package/dist/822.js +1 -1
  31. package/dist/822.js.map +1 -1
  32. package/dist/858.js +1 -1
  33. package/dist/858.js.map +1 -1
  34. package/dist/887.js +1 -1
  35. package/dist/887.js.map +1 -1
  36. package/dist/9.js +1 -1
  37. package/dist/9.js.map +1 -1
  38. package/dist/975.js +1 -1
  39. package/dist/975.js.map +1 -1
  40. package/dist/kenyaemr-esm-patient-registration-app.js +1 -0
  41. package/dist/{openmrs-esm-patient-registration-app.js.buildmanifest.json → kenyaemr-esm-patient-registration-app.js.buildmanifest.json} +79 -79
  42. package/dist/kenyaemr-esm-patient-registration-app.js.map +1 -0
  43. package/dist/kenyaemr-esm-patient-registration-app.old +1 -0
  44. package/dist/main.js +1 -1
  45. package/dist/main.js.map +1 -1
  46. package/package.json +2 -2
  47. package/src/constants.ts +1 -1
  48. package/src/index.ts +18 -0
  49. package/src/offline.resources.ts +1 -8
  50. package/src/patient-registration/field/address/address-field.component.tsx +1 -0
  51. package/src/patient-registration/patient-registration-hooks.ts +77 -6
  52. package/src/patient-registration/patient-registration-types.tsx +7 -1
  53. package/src/patient-registration/patient-registration.component.tsx +26 -3
  54. package/src/patient-verification/assets/counties.json +236 -0
  55. package/src/patient-verification/assets/verification-assets.ts +11 -0
  56. package/src/patient-verification/patient-verification-hook.tsx +156 -0
  57. package/src/patient-verification/patient-verification-utils.ts +173 -0
  58. package/src/patient-verification/patient-verification.component.tsx +110 -0
  59. package/src/patient-verification/patient-verification.scss +30 -0
  60. package/src/patient-verification/verification-modal/confirm-prompt.component.tsx +69 -0
  61. package/src/patient-verification/verification-modal/empty-prompt.component.tsx +35 -0
  62. package/src/patient-verification/verification-types.ts +50 -0
  63. package/translations/en.json +17 -1
  64. package/dist/openmrs-esm-patient-registration-app.js +0 -1
  65. package/dist/openmrs-esm-patient-registration-app.js.map +0 -1
  66. package/dist/openmrs-esm-patient-registration-app.old +0 -1
@@ -0,0 +1,173 @@
1
+ import { showModal } from '@openmrs/esm-framework';
2
+ import { FormikProps } from 'formik';
3
+ import { FormValues } from '../patient-registration/patient-registration-types';
4
+ import { ClientRegistryPatient, RegistryPatient } from './verification-types';
5
+ import counties from './assets/counties.json';
6
+
7
+ export function handleClientRegistryResponse(
8
+ clientResponse: ClientRegistryPatient,
9
+ props: FormikProps<FormValues>,
10
+ searchTerm: string,
11
+ ) {
12
+ if (clientResponse?.clientExists === false) {
13
+ const nupiIdentifiers = {
14
+ ['nationalId']: {
15
+ initialValue: searchTerm,
16
+ identifierUuid: undefined,
17
+ selectedSource: { uuid: '', name: '' },
18
+ preferred: false,
19
+ required: false,
20
+ identifierTypeUuid: '49af6cdc-7968-4abb-bf46-de10d7f4859f',
21
+ identifierName: 'National ID',
22
+ identifierValue: searchTerm,
23
+ },
24
+ };
25
+ const dispose = showModal('empty-client-registry-modal', {
26
+ onConfirm: () => {
27
+ props.setValues({ ...props.values, identifiers: { ...props.values.identifiers, ...nupiIdentifiers } });
28
+ dispose();
29
+ },
30
+ close: () => dispose(),
31
+ });
32
+ }
33
+
34
+ if (clientResponse?.clientExists) {
35
+ const {
36
+ client: {
37
+ middleName,
38
+ lastName,
39
+ firstName,
40
+ contact,
41
+ country,
42
+ countyOfBirth,
43
+ residence,
44
+ identifications,
45
+ gender,
46
+ dateOfBirth,
47
+ isAlive,
48
+ clientNumber,
49
+ educationLevel,
50
+ occupation,
51
+ maritalStatus,
52
+ },
53
+ } = clientResponse;
54
+
55
+ const nupiIdentifiers = {
56
+ ['nationalId']: {
57
+ initialValue: identifications !== undefined && identifications[0]?.identificationNumber,
58
+ identifierUuid: undefined,
59
+ selectedSource: { uuid: '', name: '' },
60
+ preferred: false,
61
+ required: false,
62
+ identifierTypeUuid: '49af6cdc-7968-4abb-bf46-de10d7f4859f',
63
+ identifierName: 'National ID',
64
+ identifierValue: identifications !== undefined && identifications[0]?.identificationNumber,
65
+ },
66
+
67
+ ['nationalUniquePatientIdentifier']: {
68
+ identifierTypeUuid: 'f85081e2-b4be-4e48-b3a4-7994b69bb101',
69
+ identifierName: 'National Unique patient identifier',
70
+ identifierValue: clientNumber,
71
+ initialValue: clientNumber,
72
+ identifierUuid: undefined,
73
+ selectedSource: { uuid: '', name: '' },
74
+ preferred: false,
75
+ required: false,
76
+ },
77
+ };
78
+
79
+ const dispose = showModal('confirm-client-registry-modal', {
80
+ onConfirm: () => {
81
+ props.setValues({
82
+ ...props.values,
83
+ familyName: lastName,
84
+ middleName: middleName,
85
+ givenName: firstName,
86
+ gender: gender === 'male' ? 'Male' : 'Female',
87
+ birthdate: new Date(dateOfBirth),
88
+ isDead: !isAlive,
89
+ attributes: {
90
+ 'b2c38640-2603-4629-aebd-3b54f33f1e3a': contact?.primaryPhone,
91
+ '94614350-84c8-41e0-ac29-86bc107069be': contact?.secondaryPhone,
92
+ 'b8d0b331-1d2d-4a9a-b741-1816f498bdb6': contact?.emailAddress ?? '',
93
+ },
94
+ address: {
95
+ address1: residence?.address,
96
+ address2: '',
97
+ address4: residence?.ward,
98
+ cityVillage: residence?.village,
99
+ stateProvince: residence?.subCounty,
100
+ countyDistrict: counties.find((county) => county.code === parseInt(residence?.county))?.name,
101
+ country: 'Kenya',
102
+ postalCode: residence?.address,
103
+ },
104
+ identifiers: { ...props.values.identifiers, ...nupiIdentifiers },
105
+ obs: {
106
+ '1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA':
107
+ props.values.concepts.find((concept) => concept.display?.toLowerCase() === maritalStatus?.toLowerCase())
108
+ ?.uuid ?? '',
109
+ '1712AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA':
110
+ props.values.concepts.find((concept) => concept.display?.toLowerCase() === educationLevel?.toLowerCase())
111
+ ?.uuid ?? '',
112
+ '1542AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA':
113
+ props.values.concepts.find((concept) => concept.display?.toLowerCase() === occupation?.toLowerCase())
114
+ ?.uuid ?? '',
115
+ },
116
+ });
117
+ dispose();
118
+ },
119
+ close: () => dispose(),
120
+ patient: clientResponse.client,
121
+ });
122
+ }
123
+ }
124
+
125
+ export function generateNUPIPayload(formValues: FormValues): RegistryPatient {
126
+ const educationLevel = formValues.concepts.find(
127
+ (concept) => concept.uuid === formValues.obs['1712AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
128
+ );
129
+ const occupation = formValues.concepts.find(
130
+ (concept) => concept.uuid === formValues.obs['1542AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
131
+ );
132
+ const maritalStatus = formValues.concepts.find(
133
+ (concept) => concept.uuid === formValues.obs['1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
134
+ );
135
+
136
+ let createRegistryPatient: RegistryPatient = {
137
+ firstName: formValues?.givenName,
138
+ middleName: formValues?.middleName,
139
+ lastName: formValues?.familyName,
140
+ gender: formValues?.gender === 'Male' ? 'male' : 'female',
141
+ dateOfBirth: new Date(formValues.birthdate).toISOString(),
142
+ isAlive: !formValues.isDead,
143
+ residence: {
144
+ county: `0${counties.find((county) => county.name.includes(formValues.address['countyDistrict']))?.code}`,
145
+ subCounty: formValues.address['stateProvince']?.toLocaleLowerCase(),
146
+ ward: formValues.address['address4']?.toLocaleLowerCase(),
147
+ village: formValues.address['cityVillage'],
148
+ landmark: formValues.address['address2'],
149
+ address: formValues.address['postalCode'],
150
+ },
151
+ nextOfKins: [],
152
+ contact: {
153
+ primaryPhone: formValues.attributes['b2c38640-2603-4629-aebd-3b54f33f1e3a'],
154
+ secondaryPhone: formValues.attributes['94614350-84c8-41e0-ac29-86bc107069be'],
155
+ emailAddress: formValues.attributes['b8d0b331-1d2d-4a9a-b741-1816f498bdb6'],
156
+ },
157
+ country: 'KE',
158
+ countyOfBirth: `0${counties.find((county) => county.name.includes(formValues.address['countyDistrict']))?.code}`,
159
+ educationLevel: educationLevel?.display?.toLowerCase() ?? '',
160
+ religion: '',
161
+ occupation: occupation?.display?.toLowerCase() ?? '',
162
+ maritalStatus: maritalStatus?.display?.toLowerCase() ?? '',
163
+ originFacilityKmflCode: '',
164
+ nascopCCCNumber: '',
165
+ identifications: [
166
+ {
167
+ identificationType: 'national-id',
168
+ identificationNumber: formValues.identifiers['nationalId']?.identifierValue,
169
+ },
170
+ ],
171
+ };
172
+ return createRegistryPatient;
173
+ }
@@ -0,0 +1,110 @@
1
+ import React, { useState } from 'react';
2
+ import { useTranslation } from 'react-i18next';
3
+ import { Tile, ComboBox, Layer, Button, Search, InlineLoading } from '@carbon/react';
4
+ import styles from './patient-verification.scss';
5
+ import { countries, verificationIdentifierTypes } from './assets/verification-assets';
6
+ import { searchClientRegistry, useGlobalProperties } from './patient-verification-hook';
7
+ import { showToast } from '@openmrs/esm-framework';
8
+ import { handleClientRegistryResponse } from './patient-verification-utils';
9
+ import { FormValues } from '../patient-registration/patient-registration-types';
10
+ import { FormikProps } from 'formik';
11
+
12
+ interface PatientVerificationProps {
13
+ props: FormikProps<FormValues>;
14
+ }
15
+
16
+ const PatientVerification: React.FC<PatientVerificationProps> = ({ props }) => {
17
+ const { t } = useTranslation();
18
+ const { data, isLoading, error } = useGlobalProperties();
19
+ const [verificationCriteria, setVerificationCriteria] = useState({
20
+ searchTerm: '',
21
+ identifierType: '',
22
+ });
23
+ const [isLoadingSearch, setIsLoadingSearch] = useState(false);
24
+
25
+ const handleSearch = async () => {
26
+ setIsLoadingSearch(true);
27
+ try {
28
+ const clientRegistryResponse = await searchClientRegistry(
29
+ verificationCriteria.identifierType,
30
+ verificationCriteria.searchTerm,
31
+ props.values.token,
32
+ );
33
+ setIsLoadingSearch(false);
34
+ handleClientRegistryResponse(clientRegistryResponse, props, verificationCriteria.searchTerm);
35
+ } catch (error) {
36
+ showToast({
37
+ title: 'Client registry error',
38
+ description: `Please reload the registration page and re-try again, if the issue persist contact system administrator`,
39
+ millis: 10000,
40
+ kind: 'error',
41
+ critical: true,
42
+ });
43
+ setIsLoadingSearch(false);
44
+ }
45
+ };
46
+
47
+ if (error) {
48
+ return (
49
+ <Tile className={styles.errorWrapper}>
50
+ <p>Error occurred while reaching the client registry, please proceed with registration and try again later</p>
51
+ </Tile>
52
+ );
53
+ }
54
+ return (
55
+ <div id={'patientVerification'}>
56
+ <h3 className={styles.productiveHeading02} style={{ color: '#161616' }}>
57
+ {t('clientVerificationWithClientRegistry', 'Client verification with client registry')}
58
+ </h3>
59
+ <div style={{ margin: '1rem 0 1rem' }}>
60
+ <Layer>
61
+ {isLoading && <InlineLoading status="active" iconDescription="Loading" description="Loading data..." />}
62
+ </Layer>
63
+ <Tile className={styles.verificationWrapper}>
64
+ <Layer>
65
+ <ComboBox
66
+ ariaLabel={t('selectCountry', 'Select country')}
67
+ id="selectCountry"
68
+ items={countries}
69
+ itemToString={(item) => item?.name ?? ''}
70
+ label="Combo box menu options"
71
+ titleText={t('selectCountry', 'Select country')}
72
+ initialSelectedItem={countries[0]}
73
+ />
74
+ </Layer>
75
+ <Layer>
76
+ <ComboBox
77
+ ariaLabel={t('selectIdentifierType', 'Select identifier type')}
78
+ id="selectIdentifierType"
79
+ items={verificationIdentifierTypes}
80
+ itemToString={(item) => item?.name ?? ''}
81
+ label="Combo box menu options"
82
+ titleText={t('selectIdentifierType', 'Select identifier type')}
83
+ onChange={({ selectedItem }) =>
84
+ setVerificationCriteria({ ...verificationCriteria, identifierType: selectedItem.value })
85
+ }
86
+ />
87
+ </Layer>
88
+ <Layer>
89
+ <Search
90
+ id="search-1"
91
+ autoFocus
92
+ placeHolderText="Search"
93
+ disabled={!verificationCriteria.identifierType}
94
+ onChange={(event) => setVerificationCriteria({ ...verificationCriteria, searchTerm: event.target.value })}
95
+ />
96
+ </Layer>
97
+ {!isLoadingSearch ? (
98
+ <Button disabled={!verificationCriteria.identifierType && !isLoading} size="md" onClick={handleSearch}>
99
+ {t('validate', 'Validate')}
100
+ </Button>
101
+ ) : (
102
+ <InlineLoading status="active" iconDescription="Loading" description="Searching client registry" />
103
+ )}
104
+ </Tile>
105
+ </div>
106
+ </div>
107
+ );
108
+ };
109
+
110
+ export default PatientVerification;
@@ -0,0 +1,30 @@
1
+ @use '@carbon/colors';
2
+ @import '../patient-registration/patient-registration.scss';
3
+
4
+ /* Desktop */
5
+ :global(.omrs-breakpoint-gt-tablet) {
6
+ .verificationWrapper {
7
+ display: grid;
8
+ grid-template-columns: 1fr 1fr 1fr 1fr;
9
+ column-gap: 0.325rem;
10
+ align-items: flex-end;
11
+ }
12
+ }
13
+
14
+ /* Tablet */
15
+ :global(.omrs-breakpoint-lt-desktop) {
16
+ .verificationWrapper {
17
+ row-gap: 0.5rem;
18
+ display: flex;
19
+ flex-direction: column;
20
+
21
+ }
22
+ }
23
+
24
+ .errorWrapper {
25
+ color: colors.$red-50;
26
+ margin: 0 0 1rem 0;
27
+ display: flex;
28
+ justify-content: center;
29
+ align-items: center;
30
+ }
@@ -0,0 +1,69 @@
1
+ import React from 'react';
2
+ import { useTranslation } from 'react-i18next';
3
+ import { Button } from '@carbon/react';
4
+ import { age, ExtensionSlot, formatDate } from '@openmrs/esm-framework';
5
+ import capitalize from 'lodash-es/capitalize';
6
+
7
+ const PatientInfo: React.FC<{ label: string; value: string }> = ({ label, value }) => {
8
+ return (
9
+ <div style={{ display: 'grid', gridTemplateColumns: '0.25fr 0.75fr', margin: '0.25rem' }}>
10
+ <span style={{ minWidth: '5rem', fontWeight: 'bold' }}>{label}</span>
11
+ <span>{value}</span>
12
+ </div>
13
+ );
14
+ };
15
+
16
+ interface ConfirmPromptProps {
17
+ onConfirm: void;
18
+ close: void;
19
+ patient: any;
20
+ }
21
+
22
+ const ConfirmPrompt: React.FC<ConfirmPromptProps> = ({ close, onConfirm, patient }) => {
23
+ const { t } = useTranslation();
24
+ return (
25
+ <>
26
+ <div className="cds--modal-header">
27
+ <h3 className="cds--modal-header__heading">
28
+ {t('clientRegistryEmpty', `Patient ${patient?.firstName} ${patient?.lastName} found`)}
29
+ </h3>
30
+ </div>
31
+ <div className="cds--modal-content">
32
+ <p>
33
+ {t(
34
+ 'patientDetailsFound',
35
+ 'Patient information found in the registry, do you want to use the information to continue with registration?',
36
+ )}
37
+ </p>
38
+ <div style={{ display: 'flex', margin: '1rem' }}>
39
+ <ExtensionSlot
40
+ style={{ display: 'flex', alignItems: 'center' }}
41
+ extensionSlotName="patient-photo-slot"
42
+ state={{ patientName: `${patient?.firstName} ${patient?.lastName}` }}
43
+ />
44
+ <div style={{ width: '100%', marginLeft: '0.625rem' }}>
45
+ <PatientInfo
46
+ label={t('patientName', 'Patient name')}
47
+ value={`${patient?.firstName} ${patient?.lastName}`}
48
+ />
49
+ <PatientInfo
50
+ label={t('nationalId', 'National ID')}
51
+ value={patient?.identifications[0]?.identificationNumber}
52
+ />
53
+ <PatientInfo label={t('age', 'Age')} value={age(patient?.dateOfBirth)} />
54
+ <PatientInfo label={t('dateOfBirth', 'Date of birth')} value={formatDate(new Date(patient?.dateOfBirth))} />
55
+ <PatientInfo label={t('gender', 'Gender')} value={capitalize(patient?.gender)} />
56
+ </div>
57
+ </div>
58
+ </div>
59
+ <div className="cds--modal-footer">
60
+ <Button kind="secondary" onClick={close}>
61
+ {t('cancel', 'Cancel')}
62
+ </Button>
63
+ <Button onClick={onConfirm}>{t('useValues', 'Use values')}</Button>
64
+ </div>
65
+ </>
66
+ );
67
+ };
68
+
69
+ export default ConfirmPrompt;
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ import { useTranslation } from 'react-i18next';
3
+ import { Button } from '@carbon/react';
4
+
5
+ interface EmptyPromptProps {
6
+ onConfirm: void;
7
+ close: void;
8
+ }
9
+
10
+ const EmptyPrompt: React.FC<EmptyPromptProps> = ({ close, onConfirm }) => {
11
+ const { t } = useTranslation();
12
+ return (
13
+ <>
14
+ <div className="cds--modal-header">
15
+ <h3 className="cds--modal-header__heading">{t('clientRegistryEmpty', 'Create & Post Patient')}</h3>
16
+ </div>
17
+ <div className="cds--modal-content">
18
+ <p>
19
+ {t(
20
+ 'patientNotFound',
21
+ 'The patient records could not be found in Client registry, do you want to continue to create and post patient to registry',
22
+ )}
23
+ </p>
24
+ </div>
25
+ <div className="cds--modal-footer">
26
+ <Button kind="secondary" onClick={close}>
27
+ {t('cancel', 'Cancel')}
28
+ </Button>
29
+ <Button onClick={onConfirm}>{t('continue', 'Continue to registration')}</Button>
30
+ </div>
31
+ </>
32
+ );
33
+ };
34
+
35
+ export default EmptyPrompt;
@@ -0,0 +1,50 @@
1
+ export interface ClientIdentification {
2
+ identificationType: string;
3
+ identificationNumber: string;
4
+ }
5
+
6
+ interface ClientContact {
7
+ primaryPhone: string;
8
+ secondaryPhone?: string;
9
+ emailAddress?: string;
10
+ }
11
+
12
+ export interface ClientRegistryPatient {
13
+ clientExists: boolean;
14
+ client?: RegistryPatient;
15
+ }
16
+
17
+ export interface RegistryPatient {
18
+ clientNumber?: string;
19
+ firstName: string;
20
+ middleName: string;
21
+ lastName: string;
22
+ dateOfBirth: string;
23
+ maritalStatus?: string;
24
+ gender: string;
25
+ occupation?: string;
26
+ religion?: string;
27
+ educationLevel?: string;
28
+ country: string;
29
+ countyOfBirth?: string;
30
+ isAlive: boolean;
31
+ originFacilityKmflCode?: string;
32
+ isOnART?: string;
33
+ nascopCCCNumber?: string;
34
+ residence: {
35
+ county: string;
36
+ subCounty: string;
37
+ ward: string;
38
+ village: string;
39
+ landmark: string;
40
+ address: string;
41
+ };
42
+ identifications: Array<ClientIdentification>;
43
+ contact: ClientContact;
44
+ nextOfKins: Array<{
45
+ name: string;
46
+ relationship: string;
47
+ residence: string;
48
+ contact: ClientContact;
49
+ }>;
50
+ }
@@ -3,6 +3,7 @@
3
3
  "address1": "Address line 1",
4
4
  "address2": "Address line 2",
5
5
  "addressHeader": "Address",
6
+ "age": "Age",
6
7
  "allFieldsRequiredText": "All fields are required unless marked optional",
7
8
  "autoGeneratedPlaceholderText": "Auto-generated",
8
9
  "birthdayNotInTheFuture": "Birthday cannot be in the future",
@@ -11,11 +12,15 @@
11
12
  "cancel": "Cancel",
12
13
  "causeOfDeathInputLabel": "Cause of Death",
13
14
  "cityVillage": "City",
15
+ "clientRegistryEmpty": "Create & Post Patient",
16
+ "clientVerificationWithClientRegistry": "Client verification with client registry",
14
17
  "configure": "Configure",
15
18
  "contactSection": "Contact Details",
19
+ "continue": "Continue",
16
20
  "country": "Country",
17
21
  "countyDistrict": "District",
18
22
  "createNew": "Create New",
23
+ "dateOfBirth": "Date of birth",
19
24
  "dateOfBirthLabelText": "Date of Birth",
20
25
  "deathDateInputLabel": "Date of Death",
21
26
  "deathdayNotInTheFuture": "Death day cannot be in the future",
@@ -38,6 +43,7 @@
38
43
  "female": "Female",
39
44
  "fieldErrorTitleMessage": "The following fields have errors:",
40
45
  "fullNameLabelText": "Full Name",
46
+ "gender": "Gender",
41
47
  "genderLabelText": "Sex",
42
48
  "genderRequired": "Gender is required",
43
49
  "genderUnspecified": "Gender is not specified",
@@ -54,6 +60,7 @@
54
60
  "male": "Male",
55
61
  "middleNameLabelText": "Middle Name",
56
62
  "months": "Months",
63
+ "nationalId": "National ID",
57
64
  "negativeMonths": "Negative months",
58
65
  "negativeYears": "Negative years",
59
66
  "no": "No",
@@ -62,8 +69,14 @@
62
69
  "optional": "optional",
63
70
  "other": "Other",
64
71
  "patient": "Patient",
72
+ "patientDetailsFound": "Patient information found in the registry, do you want to use the information to continue with registration?",
73
+ "patientName": "Patient name",
65
74
  "patientNameKnown": "Patient's Name is Known?",
75
+ "patientNotFound": "The patient records could not be found in Client registry, do you want to continue to create and post patient to registry",
76
+ "phoneEmailLabelText": "Phone, Email, etc.",
77
+ "phoneNumberInputLabelText": "Phone number",
66
78
  "postalCode": "Postcode",
79
+ "postToRegistry": "Post to registry",
67
80
  "registerPatient": "Register Patient",
68
81
  "registrationSuccessToastDescription": "The patient can now be found by searching for them using their name or ID number",
69
82
  "registrationSuccessToastTitle": "New Patient Created",
@@ -77,7 +90,8 @@
77
90
  "resetIdentifierTooltip": "Reset",
78
91
  "restoreRelationshipActionButton": "Undo",
79
92
  "searchAddress": "Search address",
80
- "selectAnOption": "Select an option",
93
+ "selectCountry": "Select country",
94
+ "selectIdentifierType": "Select identifier type",
81
95
  "sexFieldLabelText": "Sex",
82
96
  "stateProvince": "State",
83
97
  "stroke": "Stroke",
@@ -87,6 +101,8 @@
87
101
  "updatePatient": "Update Patient",
88
102
  "updationSuccessToastDescription": "The patient's information has been successfully updated",
89
103
  "updationSuccessToastTitle": "Patient Details Updated",
104
+ "useValues": "Use values",
105
+ "validate": "Validate",
90
106
  "years": "Years",
91
107
  "yearsEstimateRequired": "Years estimate required",
92
108
  "yes": "Yes"
@@ -1 +0,0 @@
1
- var _openmrs_esm_patient_registration_app;(()=>{function b(a){var c=h[a];if(void 0!==c)return c.exports;var d=h[a]={id:a,loaded:!1,exports:{}};return G[a](d,d.exports,b),d.loaded=!0,d.exports}var j,k,q,v,w,x,y,z,A,B,C,D,E,F,G={3158:(b,c,d)=>{var f={"./start":()=>Promise.all([d.e(9),d.e(268),d.e(68)]).then(()=>()=>d(7068))},e=(a,b)=>(d.R=b,b=d.o(f,a)?f[a]():Promise.resolve().then(()=>{throw new Error("Module \""+a+"\" does not exist in container.")}),d.R=void 0,b),g=(a,b)=>{if(d.S){var c=d.S["default"];if(c&&c!==a)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return d.S["default"]=a,d.I("default",b)}};d.d(c,{get:()=>e,init:()=>g})}},h={};b.m=G,b.c=h,b.n=a=>{var c=a&&a.__esModule?()=>a.default:()=>a;return b.d(c,{a:c}),c},b.d=(a,c)=>{for(var d in c)b.o(c,d)&&!b.o(a,d)&&Object.defineProperty(a,d,{enumerable:!0,get:c[d]})},b.f={},b.e=a=>Promise.all(Object.keys(b.f).reduce((c,d)=>(b.f[d](a,c),c),[])),b.u=a=>a+".js",b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(a){if("object"==typeof window)return window}}(),b.o=(a,b)=>Object.prototype.hasOwnProperty.call(a,b),j={},k="@openmrs/esm-patient-registration-app:",b.l=(a,c,e)=>{if(j[a])j[a].push(c);else{var g,h;if(void 0!==e)for(var m,n=document.getElementsByTagName("script"),l=0;l<n.length;l++)if(m=n[l],m.getAttribute("src")==a||m.getAttribute("data-webpack")==k+e){g=m;break}g||(h=!0,(g=document.createElement("script")).charset="utf-8",g.timeout=120,b.nc&&g.setAttribute("nonce",b.nc),g.setAttribute("data-webpack",k+e),g.src=a),j[a]=[c];var o=(b,c)=>{g.onerror=g.onload=null,clearTimeout(f);var d=j[a];if(delete j[a],g.parentNode&&g.parentNode.removeChild(g),d&&d.forEach(a=>a(c)),b)return b(c)},f=setTimeout(o.bind(null,void 0,{type:"timeout",target:g}),12e4);g.onerror=o.bind(null,g.onerror),g.onload=o.bind(null,g.onload),h&&document.head.appendChild(g)}},b.r=a=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},b.nmd=a=>(a.paths=[],a.children||(a.children=[]),a),(()=>{b.S={};var c={},d={};b.I=(e,f)=>{f||(f=[]);var g=d[e];if(g||(g=d[e]={}),!(0<=f.indexOf(g))){if(f.push(g),c[e])return c[e];b.o(b.S,e)||(b.S[e]={});var h=b.S[e],a=(a,b,c,d)=>{var e=h[a]=h[a]||{},f=e[b];f&&(f.loaded||(!d==!f.eager?!("@openmrs/esm-patient-registration-app">f.from):!d))||(e[b]={get:c,from:"@openmrs/esm-patient-registration-app",eager:!!d})},i=[];return"default"===e&&(a("@openmrs/esm-framework","4.2.1-pre.619",()=>Promise.all([b.e(858),b.e(268)]).then(()=>()=>b(6858))),a("react-i18next","11.18.6",()=>Promise.all([b.e(62),b.e(268)]).then(()=>()=>b(7884))),a("react-router-dom","6.4.3",()=>Promise.all([b.e(591),b.e(268)]).then(()=>()=>b(6591))),a("react","18.2.0",()=>b.e(784).then(()=>()=>b(6292)))),c[e]=i.length?Promise.all(i).then(()=>c[e]=1):1}}})(),(()=>{var a;b.g.importScripts&&(a=b.g.location+"");var c=b.g.document;if(!a&&c&&(c.currentScript&&(a=c.currentScript.src),!a)){var d=c.getElementsByTagName("script");d.length&&(a=d[d.length-1].src)}if(!a)throw new Error("Automatic publicPath is not supported in this browser");a=a.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),b.p=a})(),q=a=>{var b=a=>a.split(".").map(a=>+a==a?+a:a),c=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(a),d=c[1]?b(c[1]):[];return c[2]&&(d.length++,d.push.apply(d,b(c[2]))),c[3]&&(d.push([]),d.push.apply(d,b(c[3]))),d},v=(b,c)=>{b=q(b),c=q(c);for(var d=0;;){if(d>=b.length)return d<c.length&&"u"!=(typeof c[d])[0];var f=b[d],g=(typeof f)[0];if(d>=c.length)return"u"==g;var h=c[d],j=(typeof h)[0];if(g!=j)return"o"==g&&"n"==j||"s"==j||"u"==g;if("o"!=g&&"u"!=g&&f!=h)return f<h;d++}},w=b=>{function c(){return h.pop().replace(/^\((.+)\)$/,"$1")}var d=b[0],e="";if(1===b.length)return"*";if(d+.5){e+=0==d?">=":-1==d?"<":1==d?"^":2==d?"~":0<d?"=":"!=";for(var f=1,g=1;g<b.length;g++)f--,e+="u"==(typeof(i=b[g]))[0]?"-":(0<f?".":"")+(f=2,i);return e}var h=[];for(g=1;g<b.length;g++){var i=b[g];h.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?h.pop()+" "+h.pop():w(i))}return c()},x=(a,b)=>{if(0 in a){b=q(b);var e=a[0],g=0>e;g&&(e=-e-1);for(var j=0,k=1,m=!0;;k++,j++){var o,t,v=k<a.length?(typeof a[k])[0]:"";if(j>=b.length||"o"==(t=(typeof(o=b[j]))[0]))return!m||("u"==v?k>e&&!g:""==v!=g);if("u"==t){if(!m||"u"!=v)return!1;}else if(!m)"s"!=v&&"n"!=v&&(m=!1,k--);else if(v==t){if(!(k<=e)){if(g?o>a[k]:o<a[k])return!1;o!=a[k]&&(m=!1)}else if(o!=a[k])return!1;}else if("s"!=v&&"n"!=v){if(g||k<=e)return!1;m=!1,k--}else{if(k<=e||t<v!=g)return!1;m=!1}}}var w=[],d=w.pop.bind(w);for(j=1;j<a.length;j++){var c=a[j];w.push(1==c?d()|d():2==c?d()&d():c?x(c,b):!d())}return!!d()},y=(a,b)=>{var c=a[b];return Object.keys(c).reduce((a,b)=>a&&(c[a].loaded||!v(a,b))?a:b,0)},z=(a,b,c,d)=>"Unsatisfied version "+c+" from "+(c&&a[b][c].from)+" of shared singleton module "+b+" (required "+w(d)+")",A=(a,b,c,d)=>{var e=y(a,c);return x(d,e)||"undefined"!=typeof console&&console.warn&&console.warn(z(a,c,e,d)),B(a[c][e])},B=a=>(a.loaded=1,a.get()),C=(c=>function(d,e,f,g){var h=b.I(d);return h&&h.then?h.then(c.bind(c,d,b.S[d],e,f,g)):c(0,b.S[d],e,f,g)})((a,c,d,e,f)=>c&&b.o(c,d)?A(c,0,d,e):f()),D={},E={268:()=>C("default","react",[1,18],()=>b.e(784).then(()=>()=>b(6292))),906:()=>C("default","@openmrs/esm-framework",[1,4],()=>b.e(858).then(()=>()=>b(6858))),4924:()=>C("default","react-i18next",[1,11],()=>b.e(62).then(()=>()=>b(7884))),8744:()=>C("default","react-router-dom",[1,6],()=>b.e(591).then(()=>()=>b(6591)))},F={68:[906],268:[268],822:[8744],924:[4924]},b.f.consumes=(a,c)=>{b.o(F,a)&&F[a].forEach(a=>{if(b.o(D,a))return c.push(D[a]);var d=c=>{D[a]=0,b.m[a]=d=>{delete b.c[a],d.exports=c()}},f=c=>{delete D[a],b.m[a]=()=>{throw delete b.c[a],c}};try{var e=E[a]();e.then?c.push(D[a]=e.then(d).catch(f)):d(e)}catch(a){f(a)}})},(()=>{var c={331:0};b.f.j=(d,e)=>{var f=b.o(c,d)?c[d]:void 0;if(0!==f)if(f)e.push(f[2]);else if(/^(268|924)$/.test(d))c[d]=0;else{var g=new Promise((a,b)=>f=c[d]=[a,b]);e.push(f[2]=g);var h=b.p+b.u(d),j=new Error;b.l(h,e=>{if(b.o(c,d)&&(0!==(f=c[d])&&(c[d]=void 0),f)){var g=e&&("load"===e.type?"missing":e.type),h=e&&e.target&&e.target.src;j.message="Loading chunk "+d+" failed.\n("+g+": "+h+")",j.name="ChunkLoadError",j.type=g,j.request=h,f[1](j)}},"chunk-"+d,d)}};var a=(d,e)=>{var f,g,[h,a,i]=e,j=0;if(h.some(a=>0!==c[a])){for(f in a)b.o(a,f)&&(b.m[f]=a[f]);i&&i(b)}for(d&&d(e);j<h.length;j++)g=h[j],b.o(c,g)&&c[g]&&c[g][0](),c[g]=0},d=globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[];d.forEach(a.bind(null,0)),d.push=a.bind(null,d.push.bind(d))})(),b.nc=void 0;var m=b(3158);_openmrs_esm_patient_registration_app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BoE,QAAK3D,ECGzB,IAAI8I,EAAsBvJ,EAAoB,M","sources":["webpack://@openmrs/esm-patient-registration-app/webpack/runtime/load script","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/consumes","webpack://@openmrs/esm-patient-registration-app/webpack/container-entry","webpack://@openmrs/esm-patient-registration-app/webpack/bootstrap","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/compat get default export","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/define property getters","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/ensure chunk","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/get javascript chunk filename","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/global","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/hasOwnProperty shorthand","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/make namespace object","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/node module decorator","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/sharing","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/publicPath","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/jsonp chunk loading","webpack://@openmrs/esm-patient-registration-app/webpack/runtime/nonce","webpack://@openmrs/esm-patient-registration-app/webpack/startup"],"names":["inProgress","dataWebpackPrefix","parseVersion","versionLt","rangeToString","satisfy","findSingletonVersionKey","getInvalidSingletonVersionMessage","getSingletonVersion","get","loadSingletonVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","moduleMap","Promise","all","__webpack_require__","e","then","module","getScope","R","o","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","id","loaded","__webpack_modules__","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","call","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","nmd","paths","children","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","from","scriptUrl","importScripts","location","currentScript","replace","p","str","split","map","exec","apply","b","t","range","pop","requiredVersion","scopeName","console","warn","entry","promise","fallback","consumes","onFactory","onError","error","installedChunks","j","installedChunkData","test","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""}
@@ -1 +0,0 @@
1
- var _openmrs_esm_patient_registration_app;(()=>{"use strict";var e,r,t,n,o,a,i,s,l,u,p,f,d,c,h={3158:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(9),t.e(268),t.e(68)]).then((()=>()=>t(7068)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},m={};function v(e){var r=m[e];if(void 0!==r)return r.exports;var t=m[e]={id:e,loaded:!1,exports:{}};return h[e](t,t.exports,v),t.loaded=!0,t.exports}v.m=h,v.c=m,v.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return v.d(r,{a:r}),r},v.d=(e,r)=>{for(var t in r)v.o(r,t)&&!v.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},v.f={},v.e=e=>Promise.all(Object.keys(v.f).reduce(((r,t)=>(v.f[t](e,r),r)),[])),v.u=e=>e+".js",v.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),v.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-patient-registration-app:",v.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,s;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var p=l[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+o){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,v.nc&&i.setAttribute("nonce",v.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),s&&document.head.appendChild(i)}},v.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},v.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{v.S={};var e={},r={};v.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];v.o(v.S,t)||(v.S[t]={});var a=v.S[t],i="@openmrs/esm-patient-registration-app",s=(e,r,t,n)=>{var o=a[e]=a[e]||{},s=o[r];(!s||!s.loaded&&(!n!=!s.eager?n:i>s.from))&&(o[r]={get:t,from:i,eager:!!n})},l=[];return"default"===t&&(s("@openmrs/esm-framework","4.2.1-pre.619",(()=>Promise.all([v.e(858),v.e(268)]).then((()=>()=>v(6858))))),s("react-i18next","11.18.6",(()=>Promise.all([v.e(62),v.e(268)]).then((()=>()=>v(7884))))),s("react-router-dom","6.4.3",(()=>Promise.all([v.e(591),v.e(268)]).then((()=>()=>v(6591))))),s("react","18.2.0",(()=>v.e(784).then((()=>()=>v(6292)))))),e[t]=l.length?Promise.all(l).then((()=>e[t]=1)):1}}})(),(()=>{var e;v.g.importScripts&&(e=v.g.location+"");var r=v.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");t.length&&(e=t[t.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),v.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],s=(typeof i)[0];if(a!=s)return"o"==a&&"n"==s||"s"==s||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(s=e[a]))[0]?"-":(n>0?".":"")+(n=2,s);return t}var i=[];for(a=1;a<e.length;a++){var s=e[a];i.push(0===s?"not("+l()+")":1===s?"("+l()+" || "+l()+")":2===s?i.pop()+" "+i.pop():o(s))}return l();function l(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,s=1,l=!0;;s++,i++){var u,p,f=s<e.length?(typeof e[s])[0]:"";if(i>=r.length||"o"==(p=(typeof(u=r[i]))[0]))return!l||("u"==f?s>n&&!o:""==f!=o);if("u"==p){if(!l||"u"!=f)return!1}else if(l)if(f==p)if(s<=n){if(u!=e[s])return!1}else{if(o?u>e[s]:u<e[s])return!1;u!=e[s]&&(l=!1)}else if("s"!=f&&"n"!=f){if(o||s<=n)return!1;l=!1,s--}else{if(s<=n||p<f!=o)return!1;l=!1}else"s"!=f&&"n"!=f&&(l=!1,s--)}}var d=[],c=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&n(e,r)?r:e),0)},s=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",l=(e,r,t,n)=>{var o=i(e,t);return a(n,o)||"undefined"!=typeof console&&console.warn&&console.warn(s(e,t,o,n)),u(e[t][o])},u=e=>(e.loaded=1,e.get()),p=(e=>function(r,t,n,o){var a=v.I(r);return a&&a.then?a.then(e.bind(e,r,v.S[r],t,n,o)):e(0,v.S[r],t,n,o)})(((e,r,t,n,o)=>r&&v.o(r,t)?l(r,0,t,n):o())),f={},d={268:()=>p("default","react",[1,18],(()=>v.e(784).then((()=>()=>v(6292))))),906:()=>p("default","@openmrs/esm-framework",[1,4],(()=>v.e(858).then((()=>()=>v(6858))))),4924:()=>p("default","react-i18next",[1,11],(()=>v.e(62).then((()=>()=>v(7884))))),8744:()=>p("default","react-router-dom",[1,6],(()=>v.e(591).then((()=>()=>v(6591)))))},c={68:[906],268:[268],822:[8744],924:[4924]},v.f.consumes=(e,r)=>{v.o(c,e)&&c[e].forEach((e=>{if(v.o(f,e))return r.push(f[e]);var t=r=>{f[e]=0,v.m[e]=t=>{delete v.c[e],t.exports=r()}},n=r=>{delete f[e],v.m[e]=t=>{throw delete v.c[e],r}};try{var o=d[e]();o.then?r.push(f[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={331:0};v.f.j=(r,t)=>{var n=v.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(268|924)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=v.p+v.u(r),i=new Error;v.l(a,(t=>{if(v.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,s]=t,l=0;if(a.some((r=>0!==e[r]))){for(n in i)v.o(i,n)&&(v.m[n]=i[n]);s&&s(v)}for(r&&r(t);l<a.length;l++)o=a[l],v.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),v.nc=void 0;var g=v(3158);_openmrs_esm_patient_registration_app=g})();