Class 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 Detail

      • FHIRLibraryLibrarySourceProvider

        public FHIRLibraryLibrarySourceProvider​(List<Library> fhirLibraries)
    • Method Detail

      • getLibrarySource

        public InputStream getLibrarySource​(org.hl7.elm.r1.VersionedIdentifier libraryIdentifier)
        Specified by:
        getLibrarySource in interface org.cqframework.cql.cql2elm.LibrarySourceProvider