001package org.hl7.fhir.convertors.loaders.loaderR5;
002
003import java.io.IOException;
004
005import org.hl7.fhir.r5.model.Resource;
006import org.hl7.fhir.utilities.npm.NpmPackage;
007
008import com.google.gson.JsonSyntaxException;
009
010public interface ILoaderKnowledgeProviderR5 {
011  /**
012   * get the path for references to this resource.
013   *
014   * @param resource
015   * @return null if not tracking paths
016   */
017  String getResourcePath(Resource resource);
018
019  ILoaderKnowledgeProviderR5 forNewPackage(NpmPackage npm) throws JsonSyntaxException, IOException;
020
021  String getWebRoot();
022}