Package com.ibm.fhir.cql.translator
Class FHIRLibraryLibrarySourceProvider
- java.lang.Object
-
- com.ibm.fhir.cql.translator.FHIRLibraryLibrarySourceProvider
-
- All Implemented Interfaces:
org.cqframework.cql.cql2elm.LibrarySourceProvider
public class FHIRLibraryLibrarySourceProvider extends Object implements org.cqframework.cql.cql2elm.LibrarySourceProvider
Implement a LibrarySourceProvider for the CQL to ELM translator that can extract the CQL sources from a collection of preloaded FHIR Library resources.
-
-
Constructor Summary
Constructors Constructor Description FHIRLibraryLibrarySourceProvider(List<Library> fhirLibraries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getLibrarySource(org.hl7.elm.r1.VersionedIdentifier libraryIdentifier)
-
-
-
Method Detail
-
getLibrarySource
public InputStream getLibrarySource(org.hl7.elm.r1.VersionedIdentifier libraryIdentifier)
- Specified by:
getLibrarySource
in interfaceorg.cqframework.cql.cql2elm.LibrarySourceProvider
-
-