@bahmni/services 0.0.1-dev.223 → 0.0.1-dev.228
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/index.js
CHANGED
|
@@ -6507,7 +6507,7 @@ const fv = [
|
|
|
6507
6507
|
return Wp(e, Yp(t));
|
|
6508
6508
|
}, gv = async (e) => e ? (await zn()).results.find(
|
|
6509
6509
|
(n) => n.display.toLowerCase() === e.toLowerCase()
|
|
6510
|
-
)?.uuid :
|
|
6510
|
+
)?.uuid ?? null : null, yv = async () => (await zn()).results.map((t) => t.display), vv = async (e, t, r) => {
|
|
6511
6511
|
const n = [];
|
|
6512
6512
|
for (const s of e) {
|
|
6513
6513
|
const o = s.uuid;
|
|
@@ -11456,7 +11456,7 @@ async function Jv(e) {
|
|
|
11456
11456
|
return (await F(qm(e))).results ?? [];
|
|
11457
11457
|
}
|
|
11458
11458
|
const Mm = ce + "/Immunization", Fm = (e, t) => {
|
|
11459
|
-
let r = `${Mm}?patient=${e}&_sort=-
|
|
11459
|
+
let r = `${Mm}?patient=${e}&_sort=-date&_count=100`;
|
|
11460
11460
|
return t && (r += `&status=${t}`), r;
|
|
11461
11461
|
};
|
|
11462
11462
|
async function Qv(e, t) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExistingServiceRequest, FlattenedInvestigations, OrderType, OrderTypeResponse } from './model';
|
|
2
2
|
export declare const getOrderTypes: () => Promise<OrderTypeResponse>;
|
|
3
3
|
export declare const getFlattenedInvestigations: () => Promise<FlattenedInvestigations[]>;
|
|
4
|
-
export declare const getCategoryUuidFromOrderTypes: (categoryName: string | undefined) => Promise<string |
|
|
4
|
+
export declare const getCategoryUuidFromOrderTypes: (categoryName: string | undefined) => Promise<string | null>;
|
|
5
5
|
export declare const getOrderTypeNames: () => Promise<string[]>;
|
|
6
6
|
export declare const getExistingServiceRequestsForAllCategories: (orderTypes: OrderType[], patientUUID: string, encounterUuids?: string[]) => Promise<ExistingServiceRequest[]>;
|
|
7
7
|
//# sourceMappingURL=investigationService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"investigationService.d.ts","sourceRoot":"","sources":["../../src/investigationService/investigationService.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,SAAS,EACT,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAOjB,eAAO,MAAM,aAAa,QAAa,OAAO,CAAC,iBAAiB,CAE/D,CAAC;AA+EF,eAAO,MAAM,0BAA0B,QAAa,OAAO,CACzD,uBAAuB,EAAE,CAK1B,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,cAAc,MAAM,GAAG,SAAS,KAC/B,OAAO,CAAC,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"investigationService.d.ts","sourceRoot":"","sources":["../../src/investigationService/investigationService.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,SAAS,EACT,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAOjB,eAAO,MAAM,aAAa,QAAa,OAAO,CAAC,iBAAiB,CAE/D,CAAC;AA+EF,eAAO,MAAM,0BAA0B,QAAa,OAAO,CACzD,uBAAuB,EAAE,CAK1B,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,cAAc,MAAM,GAAG,SAAS,KAC/B,OAAO,CAAC,MAAM,GAAG,IAAI,CAOvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAa,OAAO,CAAC,MAAM,EAAE,CAG1D,CAAC;AAEF,eAAO,MAAM,0CAA0C,GACrD,YAAY,SAAS,EAAE,EACvB,aAAa,MAAM,EACnB,iBAAiB,MAAM,EAAE,KACxB,OAAO,CAAC,sBAAsB,EAAE,CAyBlC,CAAC"}
|