@bahmni/services 0.0.1-dev.88 → 0.0.1-dev.91

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
- export { getPatientRadiologyInvestigations, getPatientRadiologyInvestigationBundle, } from './radiologyInvestigationService';
1
+ export { getPatientRadiologyInvestigations } from './radiologyInvestigationService';
2
2
  export { type RadiologyInvestigation } from './models';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigationService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,sCAAsC,GACvC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigationService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,iCAAiC,CAAC;AACpF,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAC"}
@@ -1,15 +1,11 @@
1
- import { Bundle } from 'fhir/r4';
2
1
  import { RadiologyInvestigation } from './models';
3
- /**
4
- * Fetches radiology investigations for a given patient UUID from the FHIR R4 endpoint
5
- * @param patientUUID - The UUID of the patient
6
- * @returns Promise resolving to a Bundle containing radiology investigations
7
- */
8
- export declare function getPatientRadiologyInvestigationBundle(patientUUID: string): Promise<Bundle>;
9
2
  /**
10
3
  * Fetches and formats radiology investigations for a given patient UUID
11
4
  * @param patientUUID - The UUID of the patient
5
+ * @param category
6
+ * @param encounterUuids
7
+ * @param numberOfVisits
12
8
  * @returns Promise resolving to an array of radiology investigations
13
9
  */
14
- export declare function getPatientRadiologyInvestigations(patientUUID: string): Promise<RadiologyInvestigation[]>;
10
+ export declare function getPatientRadiologyInvestigations(patientUUID: string, category: string, encounterUuids?: string[], numberOfVisits?: number): Promise<RadiologyInvestigation[]>;
15
11
  //# sourceMappingURL=radiologyInvestigationService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"radiologyInvestigationService.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigationService/radiologyInvestigationService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAkB,MAAM,SAAS,CAAC;AAGjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;GAIG;AACH,wBAAsB,sCAAsC,CAC1D,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,CAGjB;AAqCD;;;;GAIG;AACH,wBAAsB,iCAAiC,CACrD,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAGnC"}
1
+ {"version":3,"file":"radiologyInvestigationService.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigationService/radiologyInvestigationService.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AA2ClD;;;;;;;GAOG;AACH,wBAAsB,iCAAiC,CACrD,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,cAAc,CAAC,EAAE,MAAM,EAAE,EACzB,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAQnC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/services",
3
- "version": "0.0.1-dev.88",
3
+ "version": "0.0.1-dev.91",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -1,2 +0,0 @@
1
- export declare const PATIENT_RADIOLOGY_RESOURCE_URL: (patientUUID: string) => string;
2
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigationService/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,8BAA8B,GAAI,aAAa,MAAM,WAE8D,CAAC"}