本文整理了Java中org.hl7.fhir.dstu3.model.Bundle.getResourceType()
方法的一些代码示例,展示了Bundle.getResourceType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Bundle.getResourceType()
方法的具体详情如下:
包路径:org.hl7.fhir.dstu3.model.Bundle
类名称:Bundle
方法名:getResourceType
暂无
代码示例来源:origin: org.openehealth.ipf.platform-camel/ipf-platform-camel-ihe-fhir-stu3-pixpdq
@Test
public void testSendManualPdqmWithCount() {
Bundle page1 = sendManuallyWithCount(familyParameters(), 2);
assertEquals(Bundle.BundleType.SEARCHSET, page1.getType());
assertEquals(ResourceType.Bundle, page1.getResourceType());
assertTrue(page1.hasEntry());
assertEquals(3, page1.getTotal());
assertEquals(2, page1.getEntry().size());
Bundle page2 = nextPage(page1);
assertEquals(Bundle.BundleType.SEARCHSET, page2.getType());
assertEquals(ResourceType.Bundle, page2.getResourceType());
assertTrue(page2.hasEntry());
assertEquals(3, page2.getTotal());
assertEquals(1, page2.getEntry().size());
}
}
代码示例来源:origin: org.openehealth.ipf.platform-camel/ipf-platform-camel-ihe-fhir-stu3-mhd
@Test
public void testSendIti66WithPatientReference() {
Bundle result = sendManually(manifestPatientReferenceParameter());
assertEquals(Bundle.BundleType.SEARCHSET, result.getType());
assertEquals(ResourceType.Bundle, result.getResourceType());
assertEquals(1, result.getTotal());
DocumentManifest p = (DocumentManifest) result.getEntry().get(0).getResource();
assertEquals("9bc72458-49b0-11e6-8a1c-3c1620524153", p.getIdElement().getIdPart());
}
代码示例来源:origin: org.openehealth.ipf.platform-camel/ipf-platform-camel-ihe-fhir-stu3-mhd
@Test
public void testSendIti67WithPatientReference() {
Bundle result = sendManually(referencePatientReferenceParameter());
assertEquals(Bundle.BundleType.SEARCHSET, result.getType());
assertEquals(ResourceType.Bundle, result.getResourceType());
assertEquals(1, result.getTotal());
DocumentReference p = (DocumentReference) result.getEntry().get(0).getResource();
assertEquals("63ab1c29-4225-11e6-9b33-0050569b0094", p.getIdElement().getIdPart());
}
代码示例来源:origin: org.openehealth.ipf.platform-camel/ipf-platform-camel-ihe-fhir-stu3-pixpdq
assertEquals(ResourceType.Bundle, result.getResourceType());
assertTrue(result.hasEntry());
代码示例来源:origin: org.openehealth.ipf.platform-camel/ipf-platform-camel-ihe-fhir-stu3-mhd
assertEquals(ResourceType.Bundle, result.getResourceType());
assertEquals(1, result.getTotal());
代码示例来源:origin: org.openehealth.ipf.platform-camel/ipf-platform-camel-ihe-fhir-stu3-mhd
assertEquals(ResourceType.Bundle, result.getResourceType());
assertEquals(1, result.getTotal());
内容来源于网络,如有侵权,请联系作者删除!