本文整理汇总了Java中org.cqframework.cql.cql2elm.LibrarySourceProvider类的典型用法代码示例。如果您正苦于以下问题:Java LibrarySourceProvider类的具体用法?Java LibrarySourceProvider怎么用?Java LibrarySourceProvider使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
LibrarySourceProvider类属于org.cqframework.cql.cql2elm包,在下文中一共展示了LibrarySourceProvider类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: testGetLibrarySourceCql
import org.cqframework.cql.cql2elm.LibrarySourceProvider; //导入依赖的package包/类
@Test
public void testGetLibrarySourceCql() throws FileNotFoundException, ExecutionException, JAXBException {
VersionedIdentifier libraryIdentifier = new VersionedIdentifier()
.withId("test_flu_study");
LibrarySourceProvider provider = new UsciitgLibrarySourceProvider(
System.getProperty("user.dir") + "/src/test/resources/org/partners/usciitg_prep/fhir/cql");
InputStream is = provider.getLibrarySource(libraryIdentifier);
assertNotNull(is);
}
开发者ID:Discovery-Research-Network-SCCM,项目名称:FHIR-CQL-ODM-service,代码行数:12,代码来源:UsciitgLibrarySourceProviderTest.java
示例2: testGetLibrarySourceXml
import org.cqframework.cql.cql2elm.LibrarySourceProvider; //导入依赖的package包/类
@Test
public void testGetLibrarySourceXml() throws FileNotFoundException, ExecutionException, JAXBException {
VersionedIdentifier libraryIdentifier = new VersionedIdentifier()
.withId("usciitg_flu_study");
LibrarySourceProvider provider = new UsciitgLibrarySourceProvider(
System.getProperty("user.dir") + "/src/test/resources/org/partners/usciitg_prep/fhir/cql");
InputStream is = provider.getLibrarySource(libraryIdentifier);
assertNotNull(is);
}
开发者ID:Discovery-Research-Network-SCCM,项目名称:FHIR-CQL-ODM-service,代码行数:12,代码来源:UsciitgLibrarySourceProviderTest.java