@bahmni/services 0.0.1-dev.299 → 0.0.1-dev.311
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/conditionService/conditionService.d.ts +2 -1
- package/dist/conditionService/conditionService.d.ts.map +1 -1
- package/dist/conditionService/constants.d.ts +1 -1
- package/dist/conditionService/constants.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +875 -862
- package/dist/taskService/__tests__/__mocks__/taskServiceMocks.d.ts +4 -0
- package/dist/taskService/__tests__/__mocks__/taskServiceMocks.d.ts.map +1 -0
- package/dist/taskService/constants.d.ts +2 -0
- package/dist/taskService/constants.d.ts.map +1 -0
- package/dist/taskService/index.d.ts +2 -0
- package/dist/taskService/index.d.ts.map +1 -0
- package/dist/taskService/taskService.d.ts +10 -0
- package/dist/taskService/taskService.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskServiceMocks.d.ts","sourceRoot":"","sources":["../../../../src/taskService/__tests__/__mocks__/taskServiceMocks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,IAAI,CA6DvC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,IAAI,CAKxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/taskService/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,GACpB,cAAc,MAAM,EACpB,mBAAmB,MAAM,EACzB,iBAAiB,MAAM,EAAE,WAkB1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/taskService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Bundle, Task } from 'fhir/r4';
|
|
2
|
+
/**
|
|
3
|
+
* Fetches tasks for a given patient with optional filters
|
|
4
|
+
* @param patientUuid - The UUID of the patient
|
|
5
|
+
* @param basedOnReference - Optional reference to filter tasks (e.g., "ServiceRequest/uuid")
|
|
6
|
+
* @param encounterUuids - Optional array of encounter UUIDs to filter tasks
|
|
7
|
+
* @returns Promise resolving to a Bundle of Task resources
|
|
8
|
+
*/
|
|
9
|
+
export declare function getTasks(patientUuid?: string, basedOnReference?: string, encounterUuids?: string[]): Promise<Bundle<Task>>;
|
|
10
|
+
//# sourceMappingURL=taskService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskService.d.ts","sourceRoot":"","sources":["../../src/taskService/taskService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAIvC;;;;;;GAMG;AACH,wBAAsB,QAAQ,CAC5B,WAAW,CAAC,EAAE,MAAM,EACpB,gBAAgB,CAAC,EAAE,MAAM,EACzB,cAAc,CAAC,EAAE,MAAM,EAAE,GACxB,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAIvB"}
|