Package ca.uhn.fhir.cql.common.provider
Class LibraryContentProvider<LibraryType,AttachmentType>
java.lang.Object
ca.uhn.fhir.cql.common.provider.LibraryContentProvider<LibraryType,AttachmentType>
- All Implemented Interfaces:
org.cqframework.cql.cql2elm.LibrarySourceProvider,org.opencds.cqf.cql.evaluator.cql2elm.content.LibraryContentProvider
public class LibraryContentProvider<LibraryType,AttachmentType>
extends Object
implements org.opencds.cqf.cql.evaluator.cql2elm.content.LibraryContentProvider
-
Constructor Summary
ConstructorsConstructorDescriptionLibraryContentProvider(LibraryResolutionProvider<LibraryType> provider, Function<LibraryType,Iterable<AttachmentType>> getAttachments, Function<AttachmentType,String> getContentType, Function<AttachmentType,byte[]> getContent) -
Method Summary
Modifier and TypeMethodDescriptiongetLibraryContent(org.hl7.elm.r1.VersionedIdentifier versionedIdentifier, org.opencds.cqf.cql.evaluator.cql2elm.content.LibraryContentType libraryContentType)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencds.cqf.cql.evaluator.cql2elm.content.LibraryContentProvider
getLibrarySource
-
Constructor Details
-
LibraryContentProvider
public LibraryContentProvider(LibraryResolutionProvider<LibraryType> provider, Function<LibraryType,Iterable<AttachmentType>> getAttachments, Function<AttachmentType,String> getContentType, Function<AttachmentType,byte[]> getContent)
-
-
Method Details
-
getLibraryContent
public InputStream getLibraryContent(org.hl7.elm.r1.VersionedIdentifier versionedIdentifier, org.opencds.cqf.cql.evaluator.cql2elm.content.LibraryContentType libraryContentType)- Specified by:
getLibraryContentin interfaceorg.opencds.cqf.cql.evaluator.cql2elm.content.LibraryContentProvider
-