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