
001package org.hl7.fhir.r5.utils.structuremap; 002 003import org.hl7.fhir.exceptions.FHIRException; 004import org.hl7.fhir.r5.conformance.profile.ProfileUtilities; 005import org.hl7.fhir.r5.model.Base; 006import org.hl7.fhir.r5.model.Coding; 007import org.hl7.fhir.utilities.MarkedToMoveToAdjunctPackage; 008 009import java.util.List; 010 011@MarkedToMoveToAdjunctPackage 012public interface ITransformerServices { 013 // public boolean validateByValueSet(Coding code, String valuesetId); 014 public void log(String message); // log internal progress 015 016 public Base createType(Object appInfo, String name, ProfileUtilities profileUtilities) throws FHIRException; 017 018 public Base createResource(Object appInfo, Base res, boolean atRootofTransform); // an already created resource is provided; this is to identify/store it 019 020 public Coding translate(Object appInfo, Coding source, String conceptMapUrl) throws FHIRException; 021 022 // public Coding translate(Coding code) 023 // ValueSet validation operation 024 // Translation operation 025 // Lookup another tree of data 026 // Create an instance tree 027 // Return the correct string format to refer to a tree (input or output) 028 public Base resolveReference(Object appContext, String url) throws FHIRException; 029 030 public List<Base> performSearch(Object appContext, String url) throws FHIRException; 031}