问题1]
当检查参考实现示例时,请访问:http://fhirtest.uhn.ca
我看到对http://fhirtest.uhn.ca/baseDstu2/Patient?namE=Meier的搜索返回和错误消息如下:
{
"resourceType":"OperationOutcome",
"issue":[
{
"severity":"error",
"diagnostics":"Invalid request: The FHIR endpoint on this server does not know how to handle GET operation[Patient] with parameters [[namE]]"
}
]
}这是在Fhir规范中定义的,还是由服务器来处理呢?
(我在这里找到了REST的一些问题/响应:Should a REST API be case sensitive or non case sensitive?)
问题2]
像"referencedOrganization“这样的基于骆驼大小写的属性,查询参数是否也应该是小写的,并且看起来是:http://fhirtest.uhn.ca/baseDstu2/Patient?referencedorganization=abc呢?
发布于 2015-09-25 12:36:14
发布于 2015-09-25 13:35:31
链接在这里:http://hl7.org/fhir/dstu2/search.html#conformance“服务器不需要对参数名称强制区分大小写,尽管名称区分大小写(URL通常区分大小写)。
较长的名称可以用破折号分隔。
https://stackoverflow.com/questions/32777903
复制相似问题