Package org.hl7.fhir.validation.profile
Class ProfileValidator
- java.lang.Object
-
- org.hl7.fhir.validation.BaseValidator
-
- org.hl7.fhir.validation.profile.ProfileValidator
-
- All Implemented Interfaces:
org.hl7.fhir.r5.utils.validation.ValidationContextCarrier.IValidationContextResourceLoader
public class ProfileValidator extends BaseValidator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hl7.fhir.validation.BaseValidator
BaseValidator.TrackedLocationRelatedMessage, BaseValidator.ValidationControl
-
-
Field Summary
-
Fields inherited from class org.hl7.fhir.validation.BaseValidator
BUNDLE, context, DOCUMENT, ENTRY, FULL_URL, ID, LAST_UPDATED, LINK, MESSAGE, messagesToRemove, META, PATH_ARG, RESOURCE, SEARCHSET, source, timeTracker, trackedMessages, TYPE, xverManager
-
-
Constructor Summary
Constructors Constructor Description ProfileValidator(org.hl7.fhir.r5.context.IWorkerContext context, org.hl7.fhir.r5.utils.XVerExtensionManager xverManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCheckAggregation()booleanisCheckMustSupport()protected booleanrule(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.utilities.validation.ValidationMessage.IssueType type, String path, boolean b, String msg)voidsetCheckAggregation(boolean checkAggregation)voidsetCheckMustSupport(boolean checkMustSupport)List<org.hl7.fhir.utilities.validation.ValidationMessage>validate(org.hl7.fhir.r5.model.StructureDefinition profile, boolean forBuild)-
Methods inherited from class org.hl7.fhir.validation.BaseValidator
addValidationMessage, addValidationMessage, addValidationMessage, checkMsgId, describeReference, fail, fail, fail, fail, fail, getFromBundle, getLevel, getValidationControl, getXverExt, getXverExt, grammarWord, hint, hint, hint, hint, isXverUrl, loadContainedResource, loadFoundResource, removeTrackedMessagesForLocation, resolveBindingReference, resolveInBundle, resolveInBundle, rule, rule, rule, rule, rule, ruleHtml, setLevel, signpost, slicingHint, splitByCamelCase, stripPunctuation, suppressedwarning, suppressedwarning, suppressedwarning, suppressedwarning, suppressedwarning, systemFromCanonical, txHint, txRule, txWarning, txWarningForLaterRemoval, versionFromCanonical, warning, warning, warning, warningHtml, warningHtml, warningOrError, warningOrHint, xverDefn, xverElementId, xverStatus, xverVersion
-
-
-
-
Constructor Detail
-
ProfileValidator
public ProfileValidator(org.hl7.fhir.r5.context.IWorkerContext context, org.hl7.fhir.r5.utils.XVerExtensionManager xverManager)
-
-
Method Detail
-
isCheckAggregation
public boolean isCheckAggregation()
-
isCheckMustSupport
public boolean isCheckMustSupport()
-
setCheckAggregation
public void setCheckAggregation(boolean checkAggregation)
-
setCheckMustSupport
public void setCheckMustSupport(boolean checkMustSupport)
-
rule
protected boolean rule(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.utilities.validation.ValidationMessage.IssueType type, String path, boolean b, String msg)
-
-