Class FHIRLibraryLibrarySourceProvider
- java.lang.Object
-
- org.linuxforhealth.fhir.cql.translator.FHIRLibraryLibrarySourceProvider
-
- All Implemented Interfaces:
org.cqframework.cql.cql2elm.LibrarySourceProvider
public class FHIRLibraryLibrarySourceProvider extends java.lang.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.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Map<java.lang.String,java.util.Map<java.lang.String,Library>>
indexByName
-
Constructor Summary
Constructors Constructor Description FHIRLibraryLibrarySourceProvider(java.util.List<Library> fhirLibraries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getLibrarySource(org.hl7.elm.r1.VersionedIdentifier libraryIdentifier)
-