Processes a FHIR Bundle with standard processing.
FHIR Bundle to process
Processed FHIR Bundle
FhirValidationError When bundle is not a valid FHIR Bundle
Processes a FHIR Bundle with QR code optimizations (short resource-scheme URIs, removes unnecessary fields).
FHIR Bundle to process
Optional
strictReferences?: booleanWhen strictReferences
is true,
missing Reference.reference
targets throw InvalidBundleReferenceError
;
when false, original references are preserved when no target resource is found in bundle.
Processed FHIR Bundle optimized for QR codes
InvalidBundleReferenceError When strictReferences
is true and a reference cannot be resolved
Validates a FHIR Bundle for basic compliance.
FHIR Bundle to validate
true
if validation passes
FhirValidationError if validation fails
Processes and validates FHIR R4 Bundles according to SMART Health Cards specification.