Class BundleFhirLibraryContentProvider
- java.lang.Object
-
- org.opencds.cqf.cql.evaluator.cql2elm.content.fhir.BaseFhirLibraryContentProvider
-
- org.opencds.cqf.cql.evaluator.cql2elm.content.fhir.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.
-
-
Field Summary
-
Fields inherited from class org.opencds.cqf.cql.evaluator.cql2elm.content.fhir.BaseFhirLibraryContentProvider
adapterFactory
-
-
Constructor Summary
Constructors Constructor Description BundleFhirLibraryContentProvider(ca.uhn.fhir.context.FhirContext fhirContext, org.hl7.fhir.instance.model.api.IBaseBundle bundle, AdapterFactory adapterFactory, LibraryVersionSelector libraryVersionSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.hl7.fhir.instance.model.api.IBaseBundlegetBundle()protected ca.uhn.fhir.context.FhirContextgetFhirContext()protected org.hl7.fhir.instance.model.api.IBaseResourcegetLibrary(org.hl7.elm.r1.VersionedIdentifier libraryIdentifier)-
Methods inherited from class org.opencds.cqf.cql.evaluator.cql2elm.content.fhir.BaseFhirLibraryContentProvider
getContentStream, getLibraryContent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opencds.cqf.cql.evaluator.cql2elm.content.LibraryContentProvider
getLibrarySource
-
-
-
-
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:
getLibraryin classBaseFhirLibraryContentProvider
-
-