void function ( IResource arg0 ) { applyDefaultValidators ( ) ; ValidationResult loc0 = validateWithResult ( arg0 ) ; if ( ! loc0 . isSuccessful ( ) ) { throw new ValidationFailureException ( myContext , loc0 . toOperationOutcome ( ) ) ; } }
validates a resource instance , throwing a validationfailureexception if the validation fails concode_field_sep FhirContext myContext concode_elem_sep Boolean ourPhlocPresentOnClasspath concode_elem_sep List<IValidatorModule> myValidators concode_elem_sep String I18N_KEY_NO_PHLOC_ERROR concode_field_sep void registerValidatorModule concode_elem_sep boolean isValidateAgainstStandardSchematron concode_elem_sep boolean isValidateAgainstStandardSchema concode_elem_sep FhirValidator setValidateAgainstStandardSchema concode_elem_sep FhirValidator setValidateAgainstStandardSchematron concode_elem_sep ValidationResult validateWithResult concode_elem_sep ValidationResult validateWithResult concode_elem_sep ValidationResult validateWithResult concode_elem_sep boolean haveValidatorOfType concode_elem_sep void unregisterValidatorModule concode_elem_sep void addOrRemoveValidator concode_elem_sep void applyDefaultValidators