Package ca.uhn.fhir.cql.r4.helper
Class LibraryHelper
java.lang.Object
ca.uhn.fhir.cql.r4.helper.LibraryHelper
Created by Christopher on 1/11/2017.
-
Constructor Summary
ConstructorsConstructorDescriptionLibraryHelper(Map<org.hl7.elm.r1.VersionedIdentifier,org.cqframework.cql.cql2elm.model.Model> modelCache, Map<org.cqframework.cql.elm.execution.VersionedIdentifier,org.cqframework.cql.elm.execution.Library> libraryCache, org.cqframework.cql.cql2elm.CqlTranslatorOptions translatorOptions) -
Method Summary
Modifier and TypeMethodDescriptionorg.opencds.cqf.cql.engine.execution.LibraryLoadercreateLibraryLoader(LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> provider)org.opencds.cqf.cql.engine.execution.LibraryLoadercreateLibraryLoader(org.cqframework.cql.cql2elm.LibrarySourceProvider provider)List<org.cqframework.cql.elm.execution.Library>loadLibraries(org.hl7.fhir.r4.model.Measure measure, org.opencds.cqf.cql.engine.execution.LibraryLoader libraryLoader, LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> libraryResourceProvider, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)org.cqframework.cql.elm.execution.LibraryresolveLibraryById(String libraryId, org.opencds.cqf.cql.engine.execution.LibraryLoader libraryLoader, LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> libraryResourceProvider, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)org.hl7.fhir.r4.model.LibraryresolveLibraryReference(LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> libraryResourceProvider, String reference, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)org.cqframework.cql.elm.execution.LibraryresolvePrimaryLibrary(org.hl7.fhir.r4.model.Measure measure, org.opencds.cqf.cql.engine.execution.LibraryLoader libraryLoader, LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> libraryResourceProvider, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)org.cqframework.cql.elm.execution.LibraryresolvePrimaryLibrary(org.hl7.fhir.r4.model.PlanDefinition planDefinition, org.opencds.cqf.cql.engine.execution.LibraryLoader libraryLoader, LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> libraryResourceProvider, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
-
Constructor Details
-
LibraryHelper
public LibraryHelper(Map<org.hl7.elm.r1.VersionedIdentifier,org.cqframework.cql.cql2elm.model.Model> modelCache, Map<org.cqframework.cql.elm.execution.VersionedIdentifier,org.cqframework.cql.elm.execution.Library> libraryCache, org.cqframework.cql.cql2elm.CqlTranslatorOptions translatorOptions)
-
-
Method Details
-
createLibraryLoader
public org.opencds.cqf.cql.engine.execution.LibraryLoader createLibraryLoader(LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> provider) -
createLibraryLoader
public org.opencds.cqf.cql.engine.execution.LibraryLoader createLibraryLoader(org.cqframework.cql.cql2elm.LibrarySourceProvider provider) -
resolveLibraryReference
public org.hl7.fhir.r4.model.Library resolveLibraryReference(LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> libraryResourceProvider, String reference, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
loadLibraries
public List<org.cqframework.cql.elm.execution.Library> loadLibraries(org.hl7.fhir.r4.model.Measure measure, org.opencds.cqf.cql.engine.execution.LibraryLoader libraryLoader, LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> libraryResourceProvider, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
resolveLibraryById
public org.cqframework.cql.elm.execution.Library resolveLibraryById(String libraryId, org.opencds.cqf.cql.engine.execution.LibraryLoader libraryLoader, LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> libraryResourceProvider, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
resolvePrimaryLibrary
public org.cqframework.cql.elm.execution.Library resolvePrimaryLibrary(org.hl7.fhir.r4.model.Measure measure, org.opencds.cqf.cql.engine.execution.LibraryLoader libraryLoader, LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> libraryResourceProvider, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
resolvePrimaryLibrary
public org.cqframework.cql.elm.execution.Library resolvePrimaryLibrary(org.hl7.fhir.r4.model.PlanDefinition planDefinition, org.opencds.cqf.cql.engine.execution.LibraryLoader libraryLoader, LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> libraryResourceProvider, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
-