@bahmni/services 0.0.1-dev.188 → 0.0.1-dev.189
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const PATIENT_VISITS_URL: (patientUUID: string) => string;
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const FHIR_OBSERVATIONS_BY_ENCOUNTER_URL: (encounterUUID: string) => string;
|
|
3
3
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/encounterService/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,GAAI,aAAa,MAAM,WACoB,CAAC;AAE3E,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/encounterService/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,GAAI,aAAa,MAAM,WACoB,CAAC;AAE3E,eAAO,MAAM,kCAAkC,GAAI,eAAe,MAAM,WACA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encounterService.d.ts","sourceRoot":"","sources":["../../src/encounterService/encounterService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"encounterService.d.ts","sourceRoot":"","sources":["../../src/encounterService/encounterService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAOzD;;;;GAIG;AACH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAE5B;AAED;;;;GAIG;AACH,wBAAsB,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAOzE;AAED;;;;GAIG;AACH,wBAAsB,cAAc,CAClC,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CAG3B;AAED;;;;GAIG;AACH,wBAAsB,oCAAoC,CACxD,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAI9B"}
|
package/dist/index.js
CHANGED
|
@@ -11983,7 +11983,7 @@ async function Pw(e) {
|
|
|
11983
11983
|
);
|
|
11984
11984
|
return !t.results || t.results.length === 0 ? null : t.results[0];
|
|
11985
11985
|
}
|
|
11986
|
-
const Cg = (e) => le + `/Encounter?subject:Patient=${e}&_tag=visit`, Lg = (e) => `${le}/Observation?encounter=${e}`;
|
|
11986
|
+
const Cg = (e) => le + `/Encounter?subject:Patient=${e}&_tag=visit`, Lg = (e) => `${le}/Observation/$fetch-all?encounter=${e}`;
|
|
11987
11987
|
async function kg(e) {
|
|
11988
11988
|
return await z(Cg(e));
|
|
11989
11989
|
}
|
|
@@ -11994,7 +11994,9 @@ async function xg(e) {
|
|
|
11994
11994
|
return (await Mg(e)).find((r) => !r.period?.end) ?? null;
|
|
11995
11995
|
}
|
|
11996
11996
|
async function $w(e) {
|
|
11997
|
-
return await z(
|
|
11997
|
+
return await z(
|
|
11998
|
+
Lg(e)
|
|
11999
|
+
);
|
|
11998
12000
|
}
|
|
11999
12001
|
const Nw = (e, t) => e?.length === 0 ? !1 : t?.length === 0, qg = le + "/Encounter", Ug = ee + "/systemsetting/bahmni.encountersession.duration", jg = "d34fe3ab-5e07-11ef-8f7c-0242ac120002";
|
|
12000
12002
|
async function Fg(e) {
|