public class SchematronBaseValidator extends Object implements IValidatorModule
SchematronProvider in order
to be truly optional.| Constructor and Description |
|---|
SchematronBaseValidator(FhirContext theContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
validateBundle(IValidationContext<Bundle> theContext)
This method applies only to DSTU1 Atom Bundles.
|
void |
validateResource(IValidationContext<IBaseResource> theCtx)
Validate the actual resource.
|
public SchematronBaseValidator(FhirContext theContext)
public void validateResource(IValidationContext<IBaseResource> theCtx)
IValidatorModuleIValidationContext can be used to access the resource being validated,
and is populated with the results.validateResource in interface IValidatorModulepublic void validateBundle(IValidationContext<Bundle> theContext)
IValidatorModuleIValidatorModule.validateResource(IValidationContext) inclusing DSTU2+ Bundle resources. If you
will not be validating DSTU1 Bundles, you may implement this method as
a NO-OP.validateBundle in interface IValidatorModuleCopyright © 2014–2016 University Health Network. All rights reserved.