Class InstanceValidator

  • All Implemented Interfaces:
    org.hl7.fhir.r5.utils.validation.IResourceValidator, org.hl7.fhir.r5.utils.validation.ValidationContextCarrier.IValidationContextResourceLoader

    public class InstanceValidator
    extends BaseValidator
    implements org.hl7.fhir.r5.utils.validation.IResourceValidator
    Thinking of using this in a java program? Don't! You should use one of the wrappers instead. Either in HAPI, or use ValidationEngine

    Validation todo: - support @default slices

    Author:
    Grahame Grieve
    • Constructor Detail

      • InstanceValidator

        public InstanceValidator​(org.hl7.fhir.r5.context.IWorkerContext theContext,
                                 org.hl7.fhir.r5.utils.FHIRPathEngine.IEvaluationContext hostServices,
                                 org.hl7.fhir.r5.utils.XVerExtensionManager xverManager)
    • Method Detail

      • getFHIRPathEngine

        public org.hl7.fhir.r5.utils.FHIRPathEngine getFHIRPathEngine()
      • isNoExtensibleWarnings

        public boolean isNoExtensibleWarnings()
        Specified by:
        isNoExtensibleWarnings in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setNoExtensibleWarnings

        public org.hl7.fhir.r5.utils.validation.IResourceValidator setNoExtensibleWarnings​(boolean noExtensibleWarnings)
        Specified by:
        setNoExtensibleWarnings in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • isShowMessagesFromReferences

        public boolean isShowMessagesFromReferences()
        Specified by:
        isShowMessagesFromReferences in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setShowMessagesFromReferences

        public void setShowMessagesFromReferences​(boolean showMessagesFromReferences)
        Specified by:
        setShowMessagesFromReferences in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • isNoInvariantChecks

        public boolean isNoInvariantChecks()
        Specified by:
        isNoInvariantChecks in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setNoInvariantChecks

        public org.hl7.fhir.r5.utils.validation.IResourceValidator setNoInvariantChecks​(boolean value)
        Specified by:
        setNoInvariantChecks in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • isWantInvariantInMessage

        public boolean isWantInvariantInMessage()
        Specified by:
        isWantInvariantInMessage in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setWantInvariantInMessage

        public org.hl7.fhir.r5.utils.validation.IResourceValidator setWantInvariantInMessage​(boolean wantInvariantInMessage)
        Specified by:
        setWantInvariantInMessage in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • getFetcher

        public org.hl7.fhir.r5.utils.validation.IValidatorResourceFetcher getFetcher()
        Specified by:
        getFetcher in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setFetcher

        public org.hl7.fhir.r5.utils.validation.IResourceValidator setFetcher​(org.hl7.fhir.r5.utils.validation.IValidatorResourceFetcher value)
        Specified by:
        setFetcher in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • getPolicyAdvisor

        public org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor getPolicyAdvisor()
        Specified by:
        getPolicyAdvisor in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setPolicyAdvisor

        public org.hl7.fhir.r5.utils.validation.IResourceValidator setPolicyAdvisor​(org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor advisor)
        Specified by:
        setPolicyAdvisor in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • getTracker

        public org.hl7.fhir.r5.utils.validation.IValidationProfileUsageTracker getTracker()
        Specified by:
        getTracker in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setTracker

        public org.hl7.fhir.r5.utils.validation.IResourceValidator setTracker​(org.hl7.fhir.r5.utils.validation.IValidationProfileUsageTracker value)
        Specified by:
        setTracker in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • isAssumeValidRestReferences

        public boolean isAssumeValidRestReferences()
        Specified by:
        isAssumeValidRestReferences in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setAssumeValidRestReferences

        public void setAssumeValidRestReferences​(boolean value)
        Specified by:
        setAssumeValidRestReferences in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • isAllowExamples

        public boolean isAllowExamples()
        Specified by:
        isAllowExamples in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setAllowExamples

        public void setAllowExamples​(boolean value)
        Specified by:
        setAllowExamples in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • isCrumbTrails

        public boolean isCrumbTrails()
        Specified by:
        isCrumbTrails in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setCrumbTrails

        public void setCrumbTrails​(boolean crumbTrails)
        Specified by:
        setCrumbTrails in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             InputStream stream,
                                                             org.hl7.fhir.r5.elementmodel.Manager.FhirFormat format)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             InputStream stream,
                                                             org.hl7.fhir.r5.elementmodel.Manager.FhirFormat format,
                                                             String profile)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             InputStream stream,
                                                             org.hl7.fhir.r5.elementmodel.Manager.FhirFormat format,
                                                             List<org.hl7.fhir.r5.model.StructureDefinition> profiles)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             org.hl7.fhir.r5.model.Resource resource)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             org.hl7.fhir.r5.model.Resource resource,
                                                             String profile)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             org.hl7.fhir.r5.model.Resource resource,
                                                             List<org.hl7.fhir.r5.model.StructureDefinition> profiles)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             Element element)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             Element element,
                                                             String profile)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             Element element,
                                                             List<org.hl7.fhir.r5.model.StructureDefinition> profiles)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             Document document)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             Document document,
                                                             String profile)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             Document document,
                                                             List<org.hl7.fhir.r5.model.StructureDefinition> profiles)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             com.google.gson.JsonObject object)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             com.google.gson.JsonObject object,
                                                             String profile)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public org.hl7.fhir.r5.elementmodel.Element validate​(Object appContext,
                                                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                                             com.google.gson.JsonObject object,
                                                             List<org.hl7.fhir.r5.model.StructureDefinition> profiles)
                                                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public void validate​(Object appContext,
                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                             String initialPath,
                             org.hl7.fhir.r5.elementmodel.Element element)
                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public void validate​(Object appContext,
                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                             String initialPath,
                             org.hl7.fhir.r5.elementmodel.Element element,
                             String profile)
                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • validate

        public void validate​(Object appContext,
                             List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                             String path,
                             org.hl7.fhir.r5.elementmodel.Element element,
                             List<org.hl7.fhir.r5.model.StructureDefinition> profiles)
                      throws org.hl7.fhir.exceptions.FHIRException
        Specified by:
        validate in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • checkBindings

        public void checkBindings​(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                  String path,
                                  org.hl7.fhir.r5.elementmodel.Element element,
                                  NodeStack stack,
                                  org.hl7.fhir.r5.model.ValueSet valueset,
                                  org.hl7.fhir.r5.model.Coding nextCoding)
      • findElement

        protected org.hl7.fhir.r5.model.ElementDefinition findElement​(org.hl7.fhir.r5.model.StructureDefinition profile,
                                                                      String name)
      • getBestPracticeWarningLevel

        public org.hl7.fhir.r5.utils.validation.constants.BestPracticeWarningLevel getBestPracticeWarningLevel()
        Specified by:
        getBestPracticeWarningLevel in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • getCheckDisplay

        public org.hl7.fhir.r5.utils.validation.constants.CheckDisplayOption getCheckDisplay()
        Specified by:
        getCheckDisplay in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • getContext

        public org.hl7.fhir.r5.context.IWorkerContext getContext()
      • isErrorForUnknownProfiles

        public boolean isErrorForUnknownProfiles()
        Specified by:
        isErrorForUnknownProfiles in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setErrorForUnknownProfiles

        public void setErrorForUnknownProfiles​(boolean errorForUnknownProfiles)
        Specified by:
        setErrorForUnknownProfiles in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setBestPracticeWarningLevel

        public org.hl7.fhir.r5.utils.validation.IResourceValidator setBestPracticeWarningLevel​(org.hl7.fhir.r5.utils.validation.constants.BestPracticeWarningLevel value)
        Specified by:
        setBestPracticeWarningLevel in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setCheckDisplay

        public void setCheckDisplay​(org.hl7.fhir.r5.utils.validation.constants.CheckDisplayOption checkDisplay)
        Specified by:
        setCheckDisplay in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • getResourceIdRule

        public org.hl7.fhir.r5.utils.validation.constants.IdStatus getResourceIdRule()
        Specified by:
        getResourceIdRule in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setResourceIdRule

        public void setResourceIdRule​(org.hl7.fhir.r5.utils.validation.constants.IdStatus resourceIdRule)
        Specified by:
        setResourceIdRule in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • evaluateSlicingExpression

        public boolean evaluateSlicingExpression​(ValidatorHostContext hostContext,
                                                 org.hl7.fhir.r5.elementmodel.Element element,
                                                 String path,
                                                 org.hl7.fhir.r5.model.StructureDefinition profile,
                                                 org.hl7.fhir.r5.model.ExpressionNode n)
                                          throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • startInner

        public void startInner​(ValidatorHostContext hostContext,
                               List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                               org.hl7.fhir.r5.elementmodel.Element resource,
                               org.hl7.fhir.r5.elementmodel.Element element,
                               org.hl7.fhir.r5.model.StructureDefinition defn,
                               NodeStack stack,
                               boolean checkSpecials)
      • checkSpecials

        public void checkSpecials​(ValidatorHostContext hostContext,
                                  List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                  org.hl7.fhir.r5.elementmodel.Element element,
                                  NodeStack stack,
                                  boolean checkSpecials)
      • checkChild

        public void checkChild​(ValidatorHostContext hostContext,
                               List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                               org.hl7.fhir.r5.model.StructureDefinition profile,
                               org.hl7.fhir.r5.model.ElementDefinition definition,
                               org.hl7.fhir.r5.elementmodel.Element resource,
                               org.hl7.fhir.r5.elementmodel.Element element,
                               String actualType,
                               NodeStack stack,
                               boolean inCodeableConcept,
                               boolean checkDisplayInContext,
                               ElementInfo ei,
                               String extensionUrl)
                        throws org.hl7.fhir.exceptions.FHIRException,
                               org.hl7.fhir.exceptions.DefinitionException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
        org.hl7.fhir.exceptions.DefinitionException
      • checkChildByDefinition

        public void checkChildByDefinition​(ValidatorHostContext hostContext,
                                           List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                           org.hl7.fhir.r5.model.StructureDefinition profile,
                                           org.hl7.fhir.r5.model.ElementDefinition definition,
                                           org.hl7.fhir.r5.elementmodel.Element resource,
                                           org.hl7.fhir.r5.elementmodel.Element element,
                                           String actualType,
                                           NodeStack stack,
                                           boolean inCodeableConcept,
                                           boolean checkDisplayInContext,
                                           ElementInfo ei,
                                           String extensionUrl,
                                           org.hl7.fhir.r5.model.ElementDefinition checkDefn,
                                           boolean isSlice)
      • checkCardinalities

        public void checkCardinalities​(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                       org.hl7.fhir.r5.model.StructureDefinition profile,
                                       org.hl7.fhir.r5.elementmodel.Element element,
                                       NodeStack stack,
                                       List<org.hl7.fhir.r5.model.ElementDefinition> childDefinitions,
                                       List<ElementInfo> children,
                                       List<String> problematicPaths)
                                throws org.hl7.fhir.exceptions.DefinitionException
        Throws:
        org.hl7.fhir.exceptions.DefinitionException
      • assignChildren

        public List<StringassignChildren​(ValidatorHostContext hostContext,
                                           List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                           org.hl7.fhir.r5.model.StructureDefinition profile,
                                           org.hl7.fhir.r5.elementmodel.Element resource,
                                           NodeStack stack,
                                           List<org.hl7.fhir.r5.model.ElementDefinition> childDefinitions,
                                           List<ElementInfo> children)
                                    throws org.hl7.fhir.exceptions.DefinitionException
        Throws:
        org.hl7.fhir.exceptions.DefinitionException
      • checkInvariants

        public void checkInvariants​(ValidatorHostContext hostContext,
                                    List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                    org.hl7.fhir.r5.model.StructureDefinition profile,
                                    org.hl7.fhir.r5.model.ElementDefinition definition,
                                    org.hl7.fhir.r5.elementmodel.Element resource,
                                    org.hl7.fhir.r5.elementmodel.Element element,
                                    NodeStack stack,
                                    boolean onlyNonInherited)
                             throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • matchSlice

        public boolean matchSlice​(ValidatorHostContext hostContext,
                                  List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                  List<org.hl7.fhir.utilities.validation.ValidationMessage> sliceInfo,
                                  org.hl7.fhir.r5.model.StructureDefinition profile,
                                  NodeStack stack,
                                  org.hl7.fhir.r5.model.ElementDefinition slicer,
                                  boolean unsupportedSlicing,
                                  List<String> problematicPaths,
                                  int sliceOffset,
                                  int i,
                                  org.hl7.fhir.r5.model.ElementDefinition ed,
                                  boolean childUnsupportedSlicing,
                                  ElementInfo ei)
      • checkInvariant

        public void checkInvariant​(ValidatorHostContext hostContext,
                                   List<org.hl7.fhir.utilities.validation.ValidationMessage> errors,
                                   String path,
                                   org.hl7.fhir.r5.model.StructureDefinition profile,
                                   org.hl7.fhir.r5.elementmodel.Element resource,
                                   org.hl7.fhir.r5.elementmodel.Element element,
                                   org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionConstraintComponent inv)
                            throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • isNoBindingMsgSuppressed

        public boolean isNoBindingMsgSuppressed()
        Specified by:
        isNoBindingMsgSuppressed in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setNoBindingMsgSuppressed

        public org.hl7.fhir.r5.utils.validation.IResourceValidator setNoBindingMsgSuppressed​(boolean noBindingMsgSuppressed)
        Specified by:
        setNoBindingMsgSuppressed in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • isNoTerminologyChecks

        public boolean isNoTerminologyChecks()
        Specified by:
        isNoTerminologyChecks in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setNoTerminologyChecks

        public org.hl7.fhir.r5.utils.validation.IResourceValidator setNoTerminologyChecks​(boolean noTerminologyChecks)
        Specified by:
        setNoTerminologyChecks in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • getExternalHostServices

        public org.hl7.fhir.r5.utils.FHIRPathEngine.IEvaluationContext getExternalHostServices()
      • isDebug

        public boolean isDebug()
      • setDebug

        public void setDebug​(boolean debug)
      • checkCodeOnServer

        public org.hl7.fhir.r5.context.IWorkerContext.ValidationResult checkCodeOnServer​(NodeStack stack,
                                                                                         org.hl7.fhir.r5.model.ValueSet vs,
                                                                                         String value,
                                                                                         org.hl7.fhir.utilities.validation.ValidationOptions options)
      • checkCodeOnServer

        public org.hl7.fhir.r5.context.IWorkerContext.ValidationResult checkCodeOnServer​(NodeStack stack,
                                                                                         org.hl7.fhir.r5.model.ValueSet valueset,
                                                                                         org.hl7.fhir.r5.model.Coding c,
                                                                                         boolean checkMembership)
      • checkCodeOnServer

        public org.hl7.fhir.r5.context.IWorkerContext.ValidationResult checkCodeOnServer​(NodeStack stack,
                                                                                         org.hl7.fhir.r5.model.ValueSet valueset,
                                                                                         org.hl7.fhir.r5.model.CodeableConcept cc,
                                                                                         boolean vsOnly)
      • getBundleValidationRules

        public List<org.hl7.fhir.r5.utils.validation.BundleValidationRule> getBundleValidationRules()
        Specified by:
        getBundleValidationRules in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • isValidateValueSetCodesOnTxServer

        public boolean isValidateValueSetCodesOnTxServer()
        Specified by:
        isValidateValueSetCodesOnTxServer in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setValidateValueSetCodesOnTxServer

        public void setValidateValueSetCodesOnTxServer​(boolean value)
        Specified by:
        setValidateValueSetCodesOnTxServer in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • isNoCheckAggregation

        public boolean isNoCheckAggregation()
        Specified by:
        isNoCheckAggregation in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setNoCheckAggregation

        public void setNoCheckAggregation​(boolean noCheckAggregation)
        Specified by:
        setNoCheckAggregation in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setParents

        public static void setParents​(org.hl7.fhir.r5.elementmodel.Element element)
      • setParentsInner

        public static void setParentsInner​(org.hl7.fhir.r5.elementmodel.Element element)
      • isWantCheckSnapshotUnchanged

        public boolean isWantCheckSnapshotUnchanged()
        Specified by:
        isWantCheckSnapshotUnchanged in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setWantCheckSnapshotUnchanged

        public void setWantCheckSnapshotUnchanged​(boolean wantCheckSnapshotUnchanged)
        Specified by:
        setWantCheckSnapshotUnchanged in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • getBaseOptions

        public org.hl7.fhir.utilities.validation.ValidationOptions getBaseOptions()
      • setBaseOptions

        public void setBaseOptions​(org.hl7.fhir.utilities.validation.ValidationOptions baseOptions)
      • isNoUnicodeBiDiControlChars

        public boolean isNoUnicodeBiDiControlChars()
        Specified by:
        isNoUnicodeBiDiControlChars in interface org.hl7.fhir.r5.utils.validation.IResourceValidator
      • setNoUnicodeBiDiControlChars

        public void setNoUnicodeBiDiControlChars​(boolean noUnicodeBiDiControlChars)
        Specified by:
        setNoUnicodeBiDiControlChars in interface org.hl7.fhir.r5.utils.validation.IResourceValidator