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