Class LibraryHelper

java.lang.Object
ca.uhn.fhir.cql.r4.helper.LibraryHelper

public class LibraryHelper extends Object
Created by Christopher on 1/11/2017.
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    org.opencds.cqf.cql.engine.execution.LibraryLoader
    createLibraryLoader​(LibraryResolutionProvider<org.hl7.fhir.r4.model.Library> provider)
     
    org.opencds.cqf.cql.engine.execution.LibraryLoader
    createLibraryLoader​(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.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)
     
    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)
     
    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)
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)