在本文档中,http://www.hl7.org/implement/standards/fhir/query.htm的查询部分,搜索请求(之前没有/?)这样定义简单搜索URL
GET .../[resourcetype]/(?parameters)
随后,我们发现
GET .../patient?_id=23
我们发现搜索关键字太
GET [baseurl]/diagnosticreport/search?subject.name="peter"
我做了3个请求到格雷厄姆的测试服务器
http://hl7connect.healthintersections.com.au/svc/fhir/practitioner/?given=Henry
http://hl7connect.healthintersections.com.au/svc/fhir/practitioner?given=Henry
http://hl7connect.healthintersections.com.au/svc/fhir/practitioner/search?given=Henry
所有的工作。所有作出了同样的HREF(该链接)的形式(与搜索关键字)
<link href="http://hl7connect.healthintersections.com.au/svc/fhir/practitioner/search?_format=text/xml+fhir&search-id=c7d9338a-b64a-41db-875d-d3c68a12c6&given=Henry&search-sort=_id" rel="self" xmlns="http://www.w3.org/2005/Atom" />
我做这3所要求Ewout的测试服务器/
http://fhir.furore.com/fhir/practitioner/search?given=Henry
http://fhir.furore.com/fhir/practitioner?given=Henry
http://fhir.furore.com/fhir/practitioner/?given=Henry
前两个要求的工作,并返回相同的链接
<link rel="self" href="http://fhir.furore.com/fhir/practitioner/search?given=Henry" />
第三次失败:资源/?参数。
那么什么是好的语法? 他们都好吗?