Package org.cqframework.fhir.npm
Class NpmLibrarySourceProvider
java.lang.Object
org.cqframework.fhir.npm.NpmLibrarySourceProvider
- All Implemented Interfaces:
org.cqframework.cql.cql2elm.LibrarySourceProvider
public class NpmLibrarySourceProvider
extends Object
implements org.cqframework.cql.cql2elm.LibrarySourceProvider
Provides a library source provider that can resolve CQL library source from an Npm package
-
Constructor Summary
ConstructorsConstructorDescriptionNpmLibrarySourceProvider(List<org.hl7.fhir.utilities.npm.NpmPackage> packages, ILibraryReader reader, org.hl7.fhir.r5.context.ILoggingService logger) -
Method Summary
Modifier and TypeMethodDescriptiongetLibrarySource(org.hl7.elm.r1.VersionedIdentifier identifier) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cqframework.cql.cql2elm.LibrarySourceProvider
getLibraryContent
-
Constructor Details
-
NpmLibrarySourceProvider
public NpmLibrarySourceProvider(List<org.hl7.fhir.utilities.npm.NpmPackage> packages, ILibraryReader reader, org.hl7.fhir.r5.context.ILoggingService logger)
-
-
Method Details
-
getLibrarySource
- Specified by:
getLibrarySourcein interfaceorg.cqframework.cql.cql2elm.LibrarySourceProvider
-