001package org.hl7.fhir.r5.conformance.profile; 002 003import org.hl7.fhir.exceptions.FHIRException; 004import org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionBindingComponent; 005import org.hl7.fhir.r5.model.StructureDefinition; 006 007public interface ProfileKnowledgeProvider { 008 boolean isDatatype(String typeSimple); 009 boolean isPrimitiveType(String typeSimple); 010 boolean isResource(String typeSimple); 011 boolean hasLinkFor(String typeSimple); 012 String getLinkFor(String corePath, String typeSimple); 013 BindingResolution resolveBinding(StructureDefinition def, 014 ElementDefinitionBindingComponent binding, String path) throws FHIRException; 015 BindingResolution resolveBinding(StructureDefinition def, String url, String path) throws FHIRException; 016 String getLinkForProfile(StructureDefinition profile, String url); 017 boolean prependLinks(); 018 String getLinkForUrl(String corePath, String s); 019 String getCanonicalForDefaultContext(); 020}