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