Package ca.uhn.fhir.jpa.validation
Class ValidatorPolicyAdvisor
java.lang.Object
ca.uhn.fhir.jpa.validation.ValidatorPolicyAdvisor
- All Implemented Interfaces:
org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor
public class ValidatorPolicyAdvisor
extends Object
implements org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor
org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor.AdditionalBindingPurpose, org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor.CodedContentValidationAction, org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor.ElementValidationAction, org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor.ResourceValidationAction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList
<org.hl7.fhir.r5.model.StructureDefinition> getImpliedProfilesForResource
(org.hl7.fhir.r5.utils.validation.IResourceValidator validator, Object appContext, String stackPath, org.hl7.fhir.r5.model.ElementDefinition definition, org.hl7.fhir.r5.model.StructureDefinition structure, org.hl7.fhir.r5.elementmodel.Element resource, boolean valid, org.hl7.fhir.r5.utils.validation.IMessagingServices msgServices, List<org.hl7.fhir.utilities.validation.ValidationMessage> messages) org.hl7.fhir.r5.utils.validation.constants.ReferenceValidationPolicy
boolean
isSuppressMessageId
(String path, String messageId) EnumSet
<org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor.CodedContentValidationAction> policyForCodedContent
(org.hl7.fhir.r5.utils.validation.IResourceValidator validator, Object appContext, String stackPath, org.hl7.fhir.r5.model.ElementDefinition definition, org.hl7.fhir.r5.model.StructureDefinition structure, org.hl7.fhir.r5.utils.validation.constants.BindingKind kind, org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor.AdditionalBindingPurpose purpose, org.hl7.fhir.r5.model.ValueSet valueSet, List<String> systems) org.hl7.fhir.r5.utils.validation.constants.ContainedReferenceValidationPolicy
policyForContained
(org.hl7.fhir.r5.utils.validation.IResourceValidator validator, Object appContext, org.hl7.fhir.r5.model.StructureDefinition structure, org.hl7.fhir.r5.model.ElementDefinition element, String containerType, String containerId, org.hl7.fhir.r5.elementmodel.Element.SpecialElement containingResourceType, String path, String url) EnumSet
<org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor.ElementValidationAction> policyForElement
(org.hl7.fhir.r5.utils.validation.IResourceValidator validator, Object appContext, org.hl7.fhir.r5.model.StructureDefinition structure, org.hl7.fhir.r5.model.ElementDefinition element, String path) org.hl7.fhir.r5.utils.validation.constants.ReferenceValidationPolicy
policyForReference
(org.hl7.fhir.r5.utils.validation.IResourceValidator validator, Object appContext, String path, String url) EnumSet
<org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor.ResourceValidationAction> policyForResource
(org.hl7.fhir.r5.utils.validation.IResourceValidator validator, Object appContext, org.hl7.fhir.r5.model.StructureDefinition type, String path)
-
Constructor Details
-
ValidatorPolicyAdvisor
public ValidatorPolicyAdvisor()
-
-
Method Details
-
policyForReference
public org.hl7.fhir.r5.utils.validation.constants.ReferenceValidationPolicy policyForReference(org.hl7.fhir.r5.utils.validation.IResourceValidator validator, Object appContext, String path, String url) - Specified by:
policyForReference
in interfaceorg.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor
-
policyForResource
public EnumSet<org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor.ResourceValidationAction> policyForResource(org.hl7.fhir.r5.utils.validation.IResourceValidator validator, Object appContext, org.hl7.fhir.r5.model.StructureDefinition type, String path) - Specified by:
policyForResource
in interfaceorg.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor
-
policyForElement
public EnumSet<org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor.ElementValidationAction> policyForElement(org.hl7.fhir.r5.utils.validation.IResourceValidator validator, Object appContext, org.hl7.fhir.r5.model.StructureDefinition structure, org.hl7.fhir.r5.model.ElementDefinition element, String path) - Specified by:
policyForElement
in interfaceorg.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor
-
policyForCodedContent
public EnumSet<org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor.CodedContentValidationAction> policyForCodedContent(org.hl7.fhir.r5.utils.validation.IResourceValidator validator, Object appContext, String stackPath, org.hl7.fhir.r5.model.ElementDefinition definition, org.hl7.fhir.r5.model.StructureDefinition structure, org.hl7.fhir.r5.utils.validation.constants.BindingKind kind, org.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor.AdditionalBindingPurpose purpose, org.hl7.fhir.r5.model.ValueSet valueSet, List<String> systems) - Specified by:
policyForCodedContent
in interfaceorg.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor
-
policyForContained
public org.hl7.fhir.r5.utils.validation.constants.ContainedReferenceValidationPolicy policyForContained(org.hl7.fhir.r5.utils.validation.IResourceValidator validator, Object appContext, org.hl7.fhir.r5.model.StructureDefinition structure, org.hl7.fhir.r5.model.ElementDefinition element, String containerType, String containerId, org.hl7.fhir.r5.elementmodel.Element.SpecialElement containingResourceType, String path, String url) - Specified by:
policyForContained
in interfaceorg.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor
-
getImpliedProfilesForResource
public List<org.hl7.fhir.r5.model.StructureDefinition> getImpliedProfilesForResource(org.hl7.fhir.r5.utils.validation.IResourceValidator validator, Object appContext, String stackPath, org.hl7.fhir.r5.model.ElementDefinition definition, org.hl7.fhir.r5.model.StructureDefinition structure, org.hl7.fhir.r5.elementmodel.Element resource, boolean valid, org.hl7.fhir.r5.utils.validation.IMessagingServices msgServices, List<org.hl7.fhir.utilities.validation.ValidationMessage> messages) - Specified by:
getImpliedProfilesForResource
in interfaceorg.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor
-
isSuppressMessageId
- Specified by:
isSuppressMessageId
in interfaceorg.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor
-
getReferencePolicy
- Specified by:
getReferencePolicy
in interfaceorg.hl7.fhir.r5.utils.validation.IValidationPolicyAdvisor
-