UNPKG

fhirbuilder

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