UNPKG

fhirbuilder

Version:
9 lines (8 loc) 386 B
import { IBundle, IOperationOutcomeIssue } from 'fhirtypes/dist/r4'; /** * @description Validates the Bundle model * @param dataToValidate - the Bundle model to validate * @param path - the path to the model * @param errors - the errors array */ export declare function BundleValidator<T extends IBundle>(dataToValidate: T, path?: string, errors?: IOperationOutcomeIssue[]): void;