fhirbuilder
Version:
Another FHIR Tool to build FHIR Resources
9 lines (8 loc) • 461 B
TypeScript
import { IQuestionnaireResponse, IOperationOutcomeIssue } from 'fhirtypes/dist/r4';
/**
* @description Validates the QuestionnaireResponse model
* @param dataToValidate - the QuestionnaireResponse model to validate
* @param path - the path to the model
* @param errors - the errors array
*/
export declare function QuestionnaireResponseValidator<T extends IQuestionnaireResponse>(dataToValidate: T, path?: string, errors?: IOperationOutcomeIssue[]): void;