@medplum/fhir-router 4.3.0 → 4.3.2
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/cjs/index.cjs +15 -15
- package/dist/cjs/index.cjs.map +3 -3
- package/dist/cjs/index.d.ts +12 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.mjs +9 -9
- package/package.json +4 -4
package/dist/cjs/index.d.ts
CHANGED
|
@@ -269,6 +269,18 @@ export declare type PathSegment = {
|
|
|
269
269
|
param?: boolean;
|
|
270
270
|
};
|
|
271
271
|
|
|
272
|
+
/**
|
|
273
|
+
* Processes a FHIR batch request.
|
|
274
|
+
*
|
|
275
|
+
* See: https://www.hl7.org/fhir/http.html#transaction
|
|
276
|
+
* @param req - The request for the batch.
|
|
277
|
+
* @param repo - The FHIR repository.
|
|
278
|
+
* @param router - The FHIR router.
|
|
279
|
+
* @param bundle - The input bundle.
|
|
280
|
+
* @returns The bundle response.
|
|
281
|
+
*/
|
|
282
|
+
export declare function processBatch(req: FhirRequest, repo: FhirRepository, router: FhirRouter, bundle: Bundle): Promise<Bundle>;
|
|
283
|
+
|
|
272
284
|
export declare const RepositoryMode: {
|
|
273
285
|
readonly READER: "reader";
|
|
274
286
|
readonly WRITER: "writer";
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -269,6 +269,18 @@ export declare type PathSegment = {
|
|
|
269
269
|
param?: boolean;
|
|
270
270
|
};
|
|
271
271
|
|
|
272
|
+
/**
|
|
273
|
+
* Processes a FHIR batch request.
|
|
274
|
+
*
|
|
275
|
+
* See: https://www.hl7.org/fhir/http.html#transaction
|
|
276
|
+
* @param req - The request for the batch.
|
|
277
|
+
* @param repo - The FHIR repository.
|
|
278
|
+
* @param router - The FHIR router.
|
|
279
|
+
* @param bundle - The input bundle.
|
|
280
|
+
* @returns The bundle response.
|
|
281
|
+
*/
|
|
282
|
+
export declare function processBatch(req: FhirRequest, repo: FhirRepository, router: FhirRouter, bundle: Bundle): Promise<Bundle>;
|
|
283
|
+
|
|
272
284
|
export declare const RepositoryMode: {
|
|
273
285
|
readonly READER: "reader";
|
|
274
286
|
readonly WRITER: "writer";
|