@bahmni/registration-app 0.0.1-dev.56 → 0.0.1-dev.58
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/dist/{LNWAZHJI-Bb6b_O-6.js → LNWAZHJI-DBolH8L4.js} +2 -2
- package/dist/{MWZ6AO7Z-bPyoI3VW.js → MWZ6AO7Z-CBYr-oX2.js} +2 -2
- package/dist/{YPM2AS64-D2d9XEXk.js → YPM2AS64-YV9rmhp4.js} +1 -1
- package/dist/components/forms/additionalInfo/AdditionalInfo.d.ts.map +1 -1
- package/dist/components/forms/addressInfo/AddressInfo.d.ts +3 -1
- package/dist/components/forms/addressInfo/AddressInfo.d.ts.map +1 -1
- package/dist/components/forms/contactInfo/ContactInfo.d.ts.map +1 -1
- package/dist/components/forms/profile/Profile.d.ts +2 -1
- package/dist/components/forms/profile/Profile.d.ts.map +1 -1
- package/dist/components/patientPhotoUpload/PatientPhotoUpload.d.ts +1 -0
- package/dist/components/patientPhotoUpload/PatientPhotoUpload.d.ts.map +1 -1
- package/dist/constants/app.d.ts +2 -0
- package/dist/constants/app.d.ts.map +1 -1
- package/dist/hooks/useAddressFields.d.ts.map +1 -1
- package/dist/hooks/useCreatePatient.d.ts.map +1 -1
- package/dist/hooks/usePatientDetails.d.ts +21 -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/useUpdatePatient.d.ts +1 -0
- package/dist/hooks/useUpdatePatient.d.ts.map +1 -1
- package/dist/{index-Cq8OB9iL.js → index-u5oJCcVU.js} +47373 -44233
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +35 -17
- package/dist/locales/locale_es.json +35 -16
- package/dist/models/patient.d.ts +7 -6
- package/dist/models/patient.d.ts.map +1 -1
- package/dist/pages/PatientRegister/PatientRegister.d.ts +3 -0
- package/dist/pages/PatientRegister/PatientRegister.d.ts.map +1 -0
- package/dist/pages/{createPatientPage → PatientRegister}/patientFormService.d.ts +5 -2
- package/dist/pages/PatientRegister/patientFormService.d.ts.map +1 -0
- package/dist/pages/PatientRegister/visitTypeSelector.d.ts.map +1 -0
- package/dist/pages/patientSearchPage/index.d.ts.map +1 -1
- package/dist/utils/identifierGenderUtils.d.ts +1 -0
- package/dist/utils/identifierGenderUtils.d.ts.map +1 -1
- package/dist/utils/patientDataConverter.d.ts +8 -0
- package/dist/utils/patientDataConverter.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/pages/createPatientPage/CreatePatient.d.ts +0 -3
- package/dist/pages/createPatientPage/CreatePatient.d.ts.map +0 -1
- package/dist/pages/createPatientPage/patientFormService.d.ts.map +0 -1
- package/dist/pages/createPatientPage/visitTypeSelector.d.ts.map +0 -1
- /package/dist/pages/{createPatientPage → PatientRegister}/visitTypeSelector.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-
|
|
2
|
-
import { g as d, c as f, a as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-YV9rmhp4.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index-u5oJCcVU.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import { g as v, c as C, a as e } from "./index-
|
|
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-YV9rmhp4.js";
|
|
2
|
+
import { g as v, c as C, a as e } from "./index-u5oJCcVU.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ws = Object.defineProperty;
|
|
2
2
|
var xs = (e, t, n) => t in e ? ws(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var _e = (e, t, n) => xs(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { b as $e, d as K, o as xt, e as H, c as L, a as v, P as zo, m as ye, S as z, t as q, i as k, f as G, h as T, j as $s, k as sr, u as Ce, l as V, s as Vn, n as jn, p as ft, q as A, r as Cs, v as cn, w as He, x as Ss, y as _t, z as Kt, A as ks, B as Es, C as Cn, F as Ds, D as Hr, E as Nt, $ as Ko, G as Ms, H as As, I as W, J as Ur, K as Ts, L as Fs, M as lr, N as Is, O as Os, Q as Kn, R as Ls, T as Ps, U as oe, V as qs, W as _s } from "./index-
|
|
4
|
+
import { b as $e, d as K, o as xt, e as H, c as L, a as v, P as zo, m as ye, S as z, t as q, i as k, f as G, h as T, j as $s, k as sr, u as Ce, l as V, s as Vn, n as jn, p as ft, q as A, r as Cs, v as cn, w as He, x as Ss, y as _t, z as Kt, A as ks, B as Es, C as Cn, F as Ds, D as Hr, E as Nt, $ as Ko, G as Ms, H as As, I as W, J as Ur, K as Ts, L as Fs, M as lr, N as Is, O as Os, Q as Kn, R as Ls, T as Ps, U as oe, V as qs, W as _s } from "./index-u5oJCcVU.js";
|
|
5
5
|
var Rs = (e) => e != null, zs = (e) => e.filter(Rs);
|
|
6
6
|
function Ks(e) {
|
|
7
7
|
return (...t) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdditionalInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/additionalInfo/AdditionalInfo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AdditionalInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/additionalInfo/AdditionalInfo.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAgB9D,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,cAAc,CAAC;CAC/B;AAED,UAAU,mBAAmB;IAC3B,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,cAAc;2BAA0B,mBAAmB;;CAkHvE,CAAC;AAIF,eAAe,cAAc,CAAC"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { PatientAddress } from '@bahmni/services';
|
|
2
|
+
import { AddressData } from '../../../hooks/useAddressFields';
|
|
2
3
|
export type AddressInfoRef = {
|
|
3
4
|
validate: () => boolean;
|
|
4
5
|
getData: () => PatientAddress;
|
|
5
6
|
};
|
|
6
7
|
interface AddressInfoProps {
|
|
8
|
+
initialData?: AddressData;
|
|
7
9
|
ref?: React.Ref<AddressInfoRef>;
|
|
8
10
|
}
|
|
9
11
|
export declare const AddressInfo: {
|
|
10
|
-
({ ref }: AddressInfoProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
({ initialData, ref }: AddressInfoProps): import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
displayName: string;
|
|
12
14
|
};
|
|
13
15
|
export default AddressInfo;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/addressInfo/AddressInfo.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"AddressInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/addressInfo/AddressInfo.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,kBAAkB,CAAC;AAS1B,OAAO,KAAK,EACV,WAAW,EAEZ,MAAM,iCAAiC,CAAC;AAMzC,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,cAAc,CAAC;CAC/B,CAAC;AAEF,UAAU,gBAAgB;IACxB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACjC;AAED,eAAO,MAAM,WAAW;2BAA0B,gBAAgB;;CA8VjE,CAAC;AAIF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/contactInfo/ContactInfo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContactInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/contactInfo/ContactInfo.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAc3D,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,WAAW,CAAC;CAC5B;AAED,UAAU,gBAAgB;IACxB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACjC;AAED,eAAO,MAAM,WAAW;2BAA0B,gBAAgB;;CAuGjE,CAAC;AAIF,eAAe,WAAW,CAAC"}
|
|
@@ -14,10 +14,11 @@ interface ProfileProps {
|
|
|
14
14
|
initialData?: BasicInfoData;
|
|
15
15
|
initialDobEstimated?: boolean;
|
|
16
16
|
patientIdentifier?: string | null;
|
|
17
|
+
initialPhoto?: string | null | undefined;
|
|
17
18
|
ref?: React.Ref<ProfileRef>;
|
|
18
19
|
}
|
|
19
20
|
export declare const Profile: {
|
|
20
|
-
({ initialData, initialDobEstimated, patientIdentifier, ref, }: ProfileProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
({ initialData, initialDobEstimated, patientIdentifier, initialPhoto, ref, }: ProfileProps): import("react/jsx-runtime").JSX.Element;
|
|
21
22
|
displayName: string;
|
|
22
23
|
};
|
|
23
24
|
export default Profile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/profile/Profile.tsx"],"names":[],"mappings":"AAQA,OAAO,EAIL,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/profile/Profile.tsx"],"names":[],"mappings":"AAQA,OAAO,EAIL,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAI1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAe7D,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,aAAa,GAAG;QAC7B,YAAY,EAAE,OAAO,CAAC;QACtB,iBAAiB,EAAE,iBAAiB,CAAC;QACrC,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,aAAa,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACvE;AAED,UAAU,YAAY;IACpB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;CAC7B;AAED,eAAO,MAAM,OAAO;kFAMjB,YAAY;;CA+mBd,CAAC;AAIF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PatientPhotoUpload.d.ts","sourceRoot":"","sources":["../../../src/components/patientPhotoUpload/PatientPhotoUpload.tsx"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"PatientPhotoUpload.d.ts","sourceRoot":"","sources":["../../../src/components/patientPhotoUpload/PatientPhotoUpload.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,UAAU,uBAAuB;IAC/B,cAAc,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAmBD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAiQhE,CAAC"}
|
package/dist/constants/app.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export declare const REGISTRATION_NAMESPACE = "registration";
|
|
2
2
|
export declare const BAHMNI_REGISTRATION_SEARCH = "/bahmni-new/registration/search";
|
|
3
|
+
export declare const BAHMNI_REGISTRATION_PATIENT = "/registration/patient";
|
|
4
|
+
export declare const getPatientUrl: (patientUuid: string) => string;
|
|
3
5
|
//# sourceMappingURL=app.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/constants/app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,iBAAiB,CAAC;AACrD,eAAO,MAAM,0BAA0B,oCAAoC,CAAC"}
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/constants/app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,iBAAiB,CAAC;AACrD,eAAO,MAAM,0BAA0B,oCAAoC,CAAC;AAC5E,eAAO,MAAM,2BAA2B,0BAAuC,CAAC;AAEhF,eAAO,MAAM,aAAa,GAAI,aAAa,MAAM,KAAG,MACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAddressFields.d.ts","sourceRoot":"","sources":["../../src/hooks/useAddressFields.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC,wBAAwB,EAAE,OAAO,CAAC;IAClC,2BAA2B,CAAC,EAAE,MAAM,CAAC;CACtC;AAED,MAAM,WAAW,uBAAuB;IACtC,CAAC,SAAS,EAAE,MAAM,GAAG;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;KACtB,CAAC;CACH;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAC3C;AAED,wBAAgB,gBAAgB,CAC9B,aAAa,EAAE,YAAY,EAAE,EAC7B,MAAM,EAAE,sBAAsB,EAC9B,cAAc,CAAC,EAAE,WAAW;;;;;;;sBAjCd,MAAM;cACd,MAAM;kBACF,OAAO;;
|
|
1
|
+
{"version":3,"file":"useAddressFields.d.ts","sourceRoot":"","sources":["../../src/hooks/useAddressFields.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC,wBAAwB,EAAE,OAAO,CAAC;IAClC,2BAA2B,CAAC,EAAE,MAAM,CAAC;CACtC;AAED,MAAM,WAAW,uBAAuB;IACtC,CAAC,SAAS,EAAE,MAAM,GAAG;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;KACtB,CAAC;CACH;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAC3C;AAED,wBAAgB,gBAAgB,CAC9B,aAAa,EAAE,YAAY,EAAE,EAC7B,MAAM,EAAE,sBAAsB,EAC9B,cAAc,CAAC,EAAE,WAAW;;;;;;;sBAjCd,MAAM;cACd,MAAM;kBACF,OAAO;;6BAiGP,YAAY,KAAG,OAAO;mCA0DlB,MAAM,gBAAgB,oBAAoB;mCAgD1C,MAAM,SAAS,MAAM;+BAarB,MAAM,KAAG,MAAM,GAAG,SAAS;kCAxF3B,MAAM;;iCAuG4B,WAAW;EAoB5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreatePatient.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreatePatient.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useCreatePatient.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreatePatient.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EACjB,cAAc,EAOf,MAAM,kBAAkB,CAAC;AAI1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+DAA+D,CAAC;AAEtG,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAI/E,UAAU,qBAAqB;IAC7B,OAAO,EAAE,aAAa,GAAG;QACvB,YAAY,EAAE,OAAO,CAAC;QACtB,iBAAiB,EAAE,iBAAiB,CAAC;QACrC,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,cAAc,CAAC;IAC3B,aAAa,EAAE,gBAAgB,EAAE,CAAC;CACnC;AAED,eAAO,MAAM,gBAAgB,kJAiD5B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface UsePatientDetailsProps {
|
|
2
|
+
patientUuid: string | undefined;
|
|
3
|
+
}
|
|
4
|
+
interface PatientMetadata {
|
|
5
|
+
patientUuid: string;
|
|
6
|
+
patientIdentifier: string;
|
|
7
|
+
patientName: string;
|
|
8
|
+
registerDate: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const usePatientDetails: ({ patientUuid }: UsePatientDetailsProps) => {
|
|
11
|
+
patientDetails: import('@bahmni/services').PatientProfileResponse | undefined;
|
|
12
|
+
isLoading: boolean;
|
|
13
|
+
profileInitialData: import('../models/patient').BasicInfoData | undefined;
|
|
14
|
+
contactInitialData: import('../models/patient').ContactData | undefined;
|
|
15
|
+
additionalInitialData: import('../models/patient').AdditionalData | undefined;
|
|
16
|
+
addressInitialData: import('./useAddressFields').AddressData | undefined;
|
|
17
|
+
initialDobEstimated: boolean;
|
|
18
|
+
metadata: PatientMetadata;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=usePatientDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePatientDetails.d.ts","sourceRoot":"","sources":["../../src/hooks/usePatientDetails.ts"],"names":[],"mappings":"AAiBA,UAAU,sBAAsB;IAC9B,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC;AAED,UAAU,eAAe;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,iBAAiB,GAAI,iBAAiB,sBAAsB;;;;;;;;;CAsGxE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface UsePatientPhotoProps {
|
|
2
|
+
patientUuid: string | undefined;
|
|
3
|
+
}
|
|
4
|
+
export declare const usePatientPhoto: ({ patientUuid }: UsePatientPhotoProps) => {
|
|
5
|
+
patientPhoto: string | null | undefined;
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=usePatientPhoto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePatientPhoto.d.ts","sourceRoot":"","sources":["../../src/hooks/usePatientPhoto.ts"],"names":[],"mappings":"AAGA,UAAU,oBAAoB;IAC5B,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC;AAED,eAAO,MAAM,eAAe,GAAI,iBAAiB,oBAAoB;;;CAWpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdatePatient.d.ts","sourceRoot":"","sources":["../../src/hooks/useUpdatePatient.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useUpdatePatient.d.ts","sourceRoot":"","sources":["../../src/hooks/useUpdatePatient.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EACjB,cAAc,EAOf,MAAM,kBAAkB,CAAC;AAI1B,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG/E,UAAU,qBAAqB;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,aAAa,GAAG;QACvB,YAAY,EAAE,OAAO,CAAC;QACtB,iBAAiB,EAAE,iBAAiB,CAAC;QACrC,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,cAAc,CAAC;CAC5B;AAED,eAAO,MAAM,gBAAgB,kJAqC5B,CAAC"}
|