public class FhirQuestionnaireResponseValidator extends Object
| Constructor and Description |
|---|
FhirQuestionnaireResponseValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
setResourceLoader(IResourceLoader theResourceLoader)
Set the class which will be used to load linked resources from the
QuestionnaireResponse. |
void |
validateBundle(IValidationContext<Bundle> theCtx) |
void |
validateResource(IValidationContext<IBaseResource> theCtx) |
public void setResourceLoader(IResourceLoader theResourceLoader)
QuestionnaireResponse. Specifically, if the
QuestionnaireResponse refers to an external (non-contained)
Questionnaire, or to any external (non-contained)
ValueSet, the resource loader will be used to fetch those
resources during the validation.theResourceLoader - The resourceloader to use. May be null if no resource
loader should be used (in which case any
QuestionaireResponse with external references will
fail to validate.)public void validateBundle(IValidationContext<Bundle> theCtx)
validateBundle in interface IValidatorModulepublic void validateResource(IValidationContext<IBaseResource> theCtx)
validateResource in interface IValidatorModuleCopyright © 2014–2015 University Health Network. All rights reserved.