@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.
@@ -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";
@@ -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";