@bahmni/registration-app 0.0.1-dev.100
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/LICENSE +9 -0
- package/README.md +7 -0
- package/dist/App.d.ts +4 -0
- package/dist/App.d.ts.map +1 -0
- package/dist/LNWAZHJI-BY_A0vjK.js +33 -0
- package/dist/MWZ6AO7Z-CdNPTGeF.js +42 -0
- package/dist/YPM2AS64-BSsKBsT9.js +8975 -0
- package/dist/components/common/PersonAttributeInput.d.ts +26 -0
- package/dist/components/common/PersonAttributeInput.d.ts.map +1 -0
- package/dist/components/common/personAttributeHelpers.d.ts +11 -0
- package/dist/components/common/personAttributeHelpers.d.ts.map +1 -0
- package/dist/components/common/personAttributeValidation.d.ts +20 -0
- package/dist/components/common/personAttributeValidation.d.ts.map +1 -0
- package/dist/components/forms/additionalIdentifiers/AdditionalIdentifiers.d.ts +15 -0
- package/dist/components/forms/additionalIdentifiers/AdditionalIdentifiers.d.ts.map +1 -0
- package/dist/components/forms/additionalInfo/AdditionalInfo.d.ts +15 -0
- package/dist/components/forms/additionalInfo/AdditionalInfo.d.ts.map +1 -0
- package/dist/components/forms/addressInfo/AddressAutocompleteField.d.ts +19 -0
- package/dist/components/forms/addressInfo/AddressAutocompleteField.d.ts.map +1 -0
- package/dist/components/forms/addressInfo/AddressInfo.d.ts +16 -0
- package/dist/components/forms/addressInfo/AddressInfo.d.ts.map +1 -0
- package/dist/components/forms/contactInfo/ContactInfo.d.ts +15 -0
- package/dist/components/forms/contactInfo/ContactInfo.d.ts.map +1 -0
- package/dist/components/forms/patientRelationships/PatientRelationships.d.ts +27 -0
- package/dist/components/forms/patientRelationships/PatientRelationships.d.ts.map +1 -0
- package/dist/components/forms/patientRelationships/RelationshipRow.d.ts +33 -0
- package/dist/components/forms/patientRelationships/RelationshipRow.d.ts.map +1 -0
- package/dist/components/forms/patientRelationships/index.d.ts +3 -0
- package/dist/components/forms/patientRelationships/index.d.ts.map +1 -0
- package/dist/components/forms/patientRelationships/usePatientRelationship.d.ts +26 -0
- package/dist/components/forms/patientRelationships/usePatientRelationship.d.ts.map +1 -0
- package/dist/components/forms/patientRelationships/useRelationshipManager.d.ts +26 -0
- package/dist/components/forms/patientRelationships/useRelationshipManager.d.ts.map +1 -0
- package/dist/components/forms/profile/Profile.d.ts +25 -0
- package/dist/components/forms/profile/Profile.d.ts.map +1 -0
- package/dist/components/forms/profile/dateAgeUtils.d.ts +46 -0
- package/dist/components/forms/profile/dateAgeUtils.d.ts.map +1 -0
- package/dist/components/patientPhotoUpload/PatientPhotoUpload.d.ts +8 -0
- package/dist/components/patientPhotoUpload/PatientPhotoUpload.d.ts.map +1 -0
- package/dist/components/registrationActions/RegistrationActions.d.ts +16 -0
- package/dist/components/registrationActions/RegistrationActions.d.ts.map +1 -0
- package/dist/components/registrationActions/index.d.ts +3 -0
- package/dist/components/registrationActions/index.d.ts.map +1 -0
- package/dist/config/tanstackQuery.d.ts +3 -0
- package/dist/config/tanstackQuery.d.ts.map +1 -0
- package/dist/constants/app.d.ts +6 -0
- package/dist/constants/app.d.ts.map +1 -0
- package/dist/contexts/PersonAttributesContext.d.ts +16 -0
- package/dist/contexts/PersonAttributesContext.d.ts.map +1 -0
- package/dist/contexts/RegistrationConfigContext.d.ts +3 -0
- package/dist/contexts/RegistrationConfigContext.d.ts.map +1 -0
- package/dist/hooks/useAdditionalIdentifiers.d.ts +11 -0
- package/dist/hooks/useAdditionalIdentifiers.d.ts.map +1 -0
- package/dist/hooks/useAddressFields.d.ts +46 -0
- package/dist/hooks/useAddressFields.d.ts.map +1 -0
- package/dist/hooks/useAddressFieldsWithConfig.d.ts +32 -0
- package/dist/hooks/useAddressFieldsWithConfig.d.ts.map +1 -0
- package/dist/hooks/useAddressSuggestions.d.ts +12 -0
- package/dist/hooks/useAddressSuggestions.d.ts.map +1 -0
- package/dist/hooks/useCreatePatient.d.ts +18 -0
- package/dist/hooks/useCreatePatient.d.ts.map +1 -0
- package/dist/hooks/useFilteredExtensions.d.ts +15 -0
- package/dist/hooks/useFilteredExtensions.d.ts.map +1 -0
- package/dist/hooks/usePatientDetails.d.ts +22 -0
- package/dist/hooks/usePatientDetails.d.ts.map +1 -0
- package/dist/hooks/usePatientPhoto.d.ts +9 -0
- package/dist/hooks/usePatientPhoto.d.ts.map +1 -0
- package/dist/hooks/usePatientSearch.d.ts +15 -0
- package/dist/hooks/usePatientSearch.d.ts.map +1 -0
- package/dist/hooks/usePersonAttributeFields.d.ts +35 -0
- package/dist/hooks/usePersonAttributeFields.d.ts.map +1 -0
- package/dist/hooks/usePersonAttributes.d.ts +8 -0
- package/dist/hooks/usePersonAttributes.d.ts.map +1 -0
- package/dist/hooks/useRegistrationConfig.d.ts +3 -0
- package/dist/hooks/useRegistrationConfig.d.ts.map +1 -0
- package/dist/hooks/useRelationshipValidation.d.ts +19 -0
- package/dist/hooks/useRelationshipValidation.d.ts.map +1 -0
- package/dist/hooks/useUpdatePatient.d.ts +20 -0
- package/dist/hooks/useUpdatePatient.d.ts.map +1 -0
- package/dist/hooks/useVisit.d.ts +13 -0
- package/dist/hooks/useVisit.d.ts.map +1 -0
- package/dist/index-CO_ty3tE.js +164388 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/locales/locale_en.json +159 -0
- package/dist/locales/locale_es.json +159 -0
- package/dist/models/patient.d.ts +45 -0
- package/dist/models/patient.d.ts.map +1 -0
- package/dist/models/registrationConfig.d.ts +15 -0
- package/dist/models/registrationConfig.d.ts.map +1 -0
- package/dist/models/validation.d.ts +74 -0
- package/dist/models/validation.d.ts.map +1 -0
- package/dist/pages/PatientRegister/PatientRegister.d.ts +3 -0
- package/dist/pages/PatientRegister/PatientRegister.d.ts.map +1 -0
- package/dist/pages/PatientRegister/patientFormService.d.ts +41 -0
- package/dist/pages/PatientRegister/patientFormService.d.ts.map +1 -0
- package/dist/pages/PatientRegister/visitTypeSelector.d.ts +9 -0
- package/dist/pages/PatientRegister/visitTypeSelector.d.ts.map +1 -0
- package/dist/pages/patientSearchPage/appointmentSearchResultActionHandler.d.ts +13 -0
- package/dist/pages/patientSearchPage/appointmentSearchResultActionHandler.d.ts.map +1 -0
- package/dist/pages/patientSearchPage/index.d.ts +8 -0
- package/dist/pages/patientSearchPage/index.d.ts.map +1 -0
- package/dist/pages/patientSearchPage/utils.d.ts +15 -0
- package/dist/pages/patientSearchPage/utils.d.ts.map +1 -0
- package/dist/providers/PersonAttributesProvider.d.ts +9 -0
- package/dist/providers/PersonAttributesProvider.d.ts.map +1 -0
- package/dist/providers/RegistrationConfigProvider.d.ts +9 -0
- package/dist/providers/RegistrationConfigProvider.d.ts.map +1 -0
- package/dist/utils/ageUtils.d.ts +36 -0
- package/dist/utils/ageUtils.d.ts.map +1 -0
- package/dist/utils/extensionNavigation.d.ts +9 -0
- package/dist/utils/extensionNavigation.d.ts.map +1 -0
- package/dist/utils/identifierGenderUtils.d.ts +10 -0
- package/dist/utils/identifierGenderUtils.d.ts.map +1 -0
- package/dist/utils/patientDataConverter.d.ts +10 -0
- package/dist/utils/patientDataConverter.d.ts.map +1 -0
- package/dist/utils/translation.d.ts +3 -0
- package/dist/utils/translation.d.ts.map +1 -0
- package/dist/utils/visitUtils.d.ts +5 -0
- package/dist/utils/visitUtils.d.ts.map +1 -0
- package/package.json +31 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This Source Code Form is subject to the terms of the Mozilla Public License,
|
|
3
|
+
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
|
|
4
|
+
* obtain one at http://mozilla.org/MPL/2.0/. Bahmni is also distributed under
|
|
5
|
+
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
|
|
6
|
+
*
|
|
7
|
+
* Copyright 2025. Thoughtworks, Inc. Thoughtworks is a registered trademark
|
|
8
|
+
* and the Thoughtworks graphic logo is a trademark of Thoughtworks Inc.
|
|
9
|
+
*/
|
package/README.md
ADDED
package/dist/App.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AASA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAgD5B,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-BSsKBsT9.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index-CO_ty3tE.js";
|
|
3
|
+
var p = (a) => {
|
|
4
|
+
const [r, t] = c({
|
|
5
|
+
prefix: "TanstackQueryDevtools"
|
|
6
|
+
}), n = d(), s = f(() => {
|
|
7
|
+
const o = r.theme_preference || l;
|
|
8
|
+
return o !== "system" ? o : n();
|
|
9
|
+
});
|
|
10
|
+
return e(i.Provider, {
|
|
11
|
+
value: a,
|
|
12
|
+
get children() {
|
|
13
|
+
return e(m, {
|
|
14
|
+
localStore: r,
|
|
15
|
+
setLocalStore: t,
|
|
16
|
+
get children() {
|
|
17
|
+
return e(u.Provider, {
|
|
18
|
+
value: s,
|
|
19
|
+
get children() {
|
|
20
|
+
return e(v, {
|
|
21
|
+
localStore: r,
|
|
22
|
+
setLocalStore: t
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}, C = p;
|
|
31
|
+
export {
|
|
32
|
+
C as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-BSsKBsT9.js";
|
|
2
|
+
import { g as v, c as C, a as e } from "./index-CO_ty3tE.js";
|
|
3
|
+
var h = (t) => {
|
|
4
|
+
const [r, o] = s({
|
|
5
|
+
prefix: "TanstackQueryDevtools"
|
|
6
|
+
}), a = v(), l = C(() => {
|
|
7
|
+
const n = r.theme_preference || c;
|
|
8
|
+
return n !== "system" ? n : a();
|
|
9
|
+
});
|
|
10
|
+
return e(d.Provider, {
|
|
11
|
+
value: t,
|
|
12
|
+
get children() {
|
|
13
|
+
return e(u, {
|
|
14
|
+
disabled: !0,
|
|
15
|
+
localStore: r,
|
|
16
|
+
setLocalStore: o,
|
|
17
|
+
get children() {
|
|
18
|
+
return e(i.Provider, {
|
|
19
|
+
value: l,
|
|
20
|
+
get children() {
|
|
21
|
+
return e(m, {
|
|
22
|
+
get children() {
|
|
23
|
+
return e(P, {
|
|
24
|
+
localStore: r,
|
|
25
|
+
setLocalStore: o,
|
|
26
|
+
get onClose() {
|
|
27
|
+
return t.onClose;
|
|
28
|
+
},
|
|
29
|
+
showPanelViewOnly: !0
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
}, p = h;
|
|
40
|
+
export {
|
|
41
|
+
p as default
|
|
42
|
+
};
|