@bahmni/registration-app 0.0.1-dev.275 → 0.0.1-dev.276
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/{DocumentsTable-CQlB57O3-CJ1qw8gE.js → DocumentsTable-CQlB57O3-CBVls2Lo.js} +1 -1
- package/dist/{FormsTable-ByelMt32-EQy24Z1v.js → FormsTable-ByelMt32-DGEUNcfN.js} +1 -1
- package/dist/{LNWAZHJI-CTiOIMhv.js → LNWAZHJI-BRlvzbmB.js} +2 -2
- package/dist/{MWZ6AO7Z-U21KU5yh.js → MWZ6AO7Z-C7zNvJQm.js} +2 -2
- package/dist/{Observations-C-8hfaLy-BmfudNCT.js → Observations-C-8hfaLy-CZA4ZMan.js} +1 -1
- package/dist/{YPM2AS64-DEFCLomk.js → YPM2AS64-Xp2GrfP3.js} +1 -1
- package/dist/hooks/usePatientDetails.d.ts +1 -2
- package/dist/hooks/usePatientDetails.d.ts.map +1 -1
- package/dist/{index-BlFpL-0-.js → index-BdA-ygqY.js} +17266 -17266
- package/dist/index.js +1 -1
- package/dist/pages/PatientRegister/PatientRegister.d.ts.map +1 -1
- package/dist/pages/PatientRegister/formSectionMap.d.ts.map +1 -1
- package/dist/pages/PatientRegister/models.d.ts +1 -2
- package/dist/pages/PatientRegister/models.d.ts.map +1 -1
- package/dist/utils/fhirPatientMapper.d.ts.map +1 -1
- package/dist/utils/fhirPatientToFormData.d.ts +16 -0
- package/dist/utils/fhirPatientToFormData.d.ts.map +1 -0
- package/dist/utils/fhirUtils.d.ts +9 -0
- package/dist/utils/fhirUtils.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as p, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { u as G, a as W, h as Y, f as J, b as X, m as Z, c as ee, n as te } from "./index-
|
|
2
|
+
import { u as G, a as W, h as Y, f as J, b as X, m as Z, c as ee, n as te } from "./index-BdA-ygqY.js";
|
|
3
3
|
import { useQuery as ae } from "@tanstack/react-query";
|
|
4
4
|
import { useState as l, useCallback as h, useEffect as N, useMemo as _ } from "react";
|
|
5
5
|
const ne = "DocumentsTable-module_documentsTableBody__6iR3w", oe = "DocumentsTable-module_viewAttachmentsLink__aQ1on", re = "DocumentsTable-module_documentViewerContainer__F5m8D", de = "DocumentsTable-module_attachmentItem__17KA7", se = "DocumentsTable-module_attachmentCounter__WFiI3", ce = "DocumentsTable-module_attachmentError__RI4U2", me = "DocumentsTable-module_documentIframe__ptq5I", le = "DocumentsTable-module_documentImage__KQVgS", d = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as X, Fragment as Z } from "react/jsx-runtime";
|
|
2
|
-
import { a as ee, u as re, g as ae, p as oe, d as te, e as se, i as ne, j as de, R as S, m as ie, b as me, c as U, T as ue, C as le, n as ce, t as fe, l as ye } from "./index-
|
|
2
|
+
import { a as ee, u as re, g as ae, p as oe, d as te, e as se, i as ne, j as de, R as S, m as ie, b as me, c as U, T as ue, C as le, n as ce, t as fe, l as ye } from "./index-BdA-ygqY.js";
|
|
3
3
|
import { useQueryClient as be, useQuery as f } from "@tanstack/react-query";
|
|
4
4
|
import { useState as q, useMemo as d, useCallback as y } from "react";
|
|
5
5
|
const pe = "FormsTable-module_formsTableBody__SvGha", ge = "FormsTable-module_customAccordianItem__isszs", A = {
|
|
@@ -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 { w as d, z as f, D as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-Xp2GrfP3.js";
|
|
2
|
+
import { w as d, z as f, D as e } from "./index-BdA-ygqY.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 { w as v, z as C, D 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-Xp2GrfP3.js";
|
|
2
|
+
import { w as v, z as C, D as e } from "./index-BdA-ygqY.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as N, jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { u as q, h as k, a as S, s as x, k as j, j as M, E as Q, y as X, V as w, A as G, c as H, o as z, q as L, v as P, x as J, r as Y, _ as W, B as Z, L as ee } from "./index-
|
|
2
|
+
import { u as q, h as k, a as S, s as x, k as j, j as M, E as Q, y as X, V as w, A as G, c as H, o as z, q as L, v as P, x as J, r as Y, _ as W, B as Z, L as ee } from "./index-BdA-ygqY.js";
|
|
3
3
|
import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as se, useEffect as $, useMemo as R } from "react";
|
|
5
5
|
const A = (a, n, d, l, b, r) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as we, G as z, H as xt, I as B, z as q, D as y, P as Ro, J as ye, S as R, K as _, M as k, N, O as A, Q as bs, U as ir, W as $e, X as U, Y as Hn, Z as Vn, $ as dt, a0 as D, a1 as xs, a2 as cn, a3 as Be, a4 as ws, a5 as qt, a6 as zt, a7 as $s, a8 as Cs, a9 as $n, aa as Ss, ab as Nr, ac as Bt, ad as zo, ae as ks, af as Es, ag as j, ah as Ur, ai as Ms, aj as Ds, ak as sr, al as As, am as Ts, an as zn, ao as Fs, ap as Is, aq as Z, ar as Ps, as as Os } from "./index-
|
|
1
|
+
import { F as we, G as z, H as xt, I as B, z as q, D as y, P as Ro, J as ye, S as R, K as _, M as k, N, O as A, Q as bs, U as ir, W as $e, X as U, Y as Hn, Z as Vn, $ as dt, a0 as D, a1 as xs, a2 as cn, a3 as Be, a4 as ws, a5 as qt, a6 as zt, a7 as $s, a8 as Cs, a9 as $n, aa as Ss, ab as Nr, ac as Bt, ad as zo, ae as ks, af as Es, ag as j, ah as Ur, ai as Ms, aj as Ds, ak as sr, al as As, am as Ts, an as zn, ao as Fs, ap as Is, aq as Z, ar as Ps, as as Os } from "./index-BdA-ygqY.js";
|
|
2
2
|
var Ls = (e) => e != null, qs = (e) => e.filter(Ls);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -8,13 +8,12 @@ interface PatientMetadata {
|
|
|
8
8
|
registerDate: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const usePatientDetails: ({ patientUuid }: UsePatientDetailsProps) => {
|
|
11
|
-
patientDetails: import('
|
|
11
|
+
patientDetails: import('fhir/r4').Patient | undefined;
|
|
12
12
|
isLoading: boolean;
|
|
13
13
|
profileInitialData: import('../models/patient').BasicInfoData | undefined;
|
|
14
14
|
personAttributesInitialData: import('../models/patient').PersonAttributesData | undefined;
|
|
15
15
|
addressInitialData: import('./useAddressFields').AddressData | undefined;
|
|
16
16
|
additionalIdentifiersInitialData: Record<string, string> | undefined;
|
|
17
|
-
relationshipsInitialData: import('../components/forms/patientRelationships').RelationshipData[];
|
|
18
17
|
initialDobEstimated: boolean;
|
|
19
18
|
metadata: PatientMetadata;
|
|
20
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePatientDetails.d.ts","sourceRoot":"","sources":["../../src/hooks/usePatientDetails.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"usePatientDetails.d.ts","sourceRoot":"","sources":["../../src/hooks/usePatientDetails.ts"],"names":[],"mappings":"AAeA,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;;;;;;;;;CAoFxE,CAAC"}
|