19.5.4.3. method onType


签名:

  • org.hl7.fhir.instance.model.api.IBaseBundle onType(Class<org.hl7.fhir.instance.model.api.IBaseResource> resourceType, Class<org.hl7.fhir.instance.model.api.IBaseBundle> returnType, Integer count, java.util.Date cutoff, org.hl7.fhir.instance.model.api.IPrimitiveType<java.util.Date> iCutoff, java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> extraParameters);

fhir/onType API 方法有下表中列出了的参数:

参数描述类型

数量

要求服务器只返回到Count 个资源数,可能是 NULL

整数

cutoff

请求服务器只返回在给定时间(含)创建的资源版本,这可能是 NULL

Date

extraParameters

有关可传递的参数的完整列表,请参阅 ExtraParameters,可以是 NULL

map

iCutoff

请求服务器只返回在给定时间(含)创建的资源版本,这可能是 NULL

IPrimitiveType

resourceType

要搜索的资源类型

类

returnType

请求该方法返回 Bundle 资源(如 ca.uhn.fhir.model.dstu2.resource.Bundle)。如果您正在访问 DSTU2 服务器,请使用此方法。

类

除了以上参数外,fhir API 还可使用任意。

任何参数都可以在端点 URI 中提供,也可以在消息标头中动态提供。邮件标题名称必须为 CamelFhir.parameter.inBody 参数覆盖消息标头,例如,Body=myParameterNameHere 的 endpoint 参数会覆盖 CamelFhir.myParameterNameHere 标头。

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部