如何编写适用于特定本地URL的Hapi代码

huangapple 未分类评论42阅读模式
英文:

How to write hapi code for a specific local URL

问题

我目前正在使用HAPI FHIR服务器进行实现。

目前,我已经有了用于以下AND查询的HAPI代码,它正常工作。

Bundle bundle = client.search().forResource(Organization.class)
    .where(Organization.ADDRESS.contains().value("SIMPLY"))
    .where(Organization.NAME.contains().value("SIMPLY"))
    .returnBundle(Bundle.class)
    .execute();

有人能帮我处理下面的内容吗?

http://127.0.0.1:8080/hapi-fhir-jpaserver/fhir/Organization?name=SIMPLY,address=SIMPLY
英文:

I am presently using HAPI FHIR server for implementation.

Presently I have HAPI code for below AND Query which is working fine.

http://127.0.0.1:8080/hapi-fhir-jpaserver/fhir/Organization?name=SIMPLY&address=SIMPLY

Bundle bundle = client.search().forResource(Organization.class).where(Organization.ADDRESS.contains().value("SIMPLY")).where(Organization.NAME.contains().value("SIMPLY")).returnBundle(Bundle.class).execute();

Can anyone help me with the

http://127.0.0.1:8080/hapi-fhir-jpaserver/fhir/Organization?name=SIMPLY,address=SIMPLY

huangapple
  • 本文由 发表于 2020年7月27日 16:39:10
  • 转载请务必保留本文链接:https://java.coder-hub.com/63111608.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定