Class BundleFhirLibraryContentProvider

  • All Implemented Interfaces:
    org.cqframework.cql.cql2elm.LibrarySourceProvider, LibraryContentProvider

    public class BundleFhirLibraryContentProvider
    extends BaseFhirLibraryContentProvider
    This class implements the cql-translator LibraryContentProvider API, using a Bundle containing Library Resources as a source for the CQL content.
    • Constructor Detail

      • BundleFhirLibraryContentProvider

        public BundleFhirLibraryContentProvider​(ca.uhn.fhir.context.FhirContext fhirContext,
                                                org.hl7.fhir.instance.model.api.IBaseBundle bundle,
                                                AdapterFactory adapterFactory,
                                                LibraryVersionSelector libraryVersionSelector)
    • Method Detail

      • getBundle

        protected org.hl7.fhir.instance.model.api.IBaseBundle getBundle()
      • getFhirContext

        protected ca.uhn.fhir.context.FhirContext getFhirContext()
      • getLibrary

        protected org.hl7.fhir.instance.model.api.IBaseResource getLibrary​(org.hl7.elm.r1.VersionedIdentifier libraryIdentifier)
        Specified by:
        getLibrary in class BaseFhirLibraryContentProvider