001package org.hl7.fhir.r4.utils.validation;
002
003import org.hl7.fhir.r4.elementmodel.Element;
004import org.hl7.fhir.r4.utils.validation.constants.ReferenceValidationPolicy;
005import org.hl7.fhir.utilities.MarkedToMoveToAdjunctPackage;
006
007@MarkedToMoveToAdjunctPackage
008public interface IValidationPolicyAdvisor {
009
010  ReferenceValidationPolicy policyForReference(IResourceValidator validator, Object appContext, String path,
011      String url);
012
013  ReferenceValidationPolicy policyForContained(IResourceValidator validator, Object appContext, String containerType,
014      String containerId, Element.SpecialElement containingResourceType, String path, String url);
015
016}