简体   繁体   English

FHIR资源搜索令牌命名空间

[英]FHIR Resource Search Token Namespace

From the spec: 从规格:

token Search parameter on a coded element or identifier. token搜索编码元素或标识符上的参数。 May be used to search through the text, displayname, code and code/codesystem (for codes) and label, system and key (for identifier). 可用于搜索文本,显示名称,代码和代码/代码系统(代码)和标签,系统和密钥(用于标识符)。 It's value is either a string or a pair of namespace and value, separated by a "!". 它的值是一个字符串或一对命名空间和值,用“!”分隔。

My question is on the last part. 我的问题是最后一部分。 What does "namespace and value" refer to? “名称空间和价值”是指什么?

Something like use!usual (to search the "use" elements value attribute for the term "usual")? 像use一样的东西!通常(搜索术语“通常”的“使用”元素值属性)?

Or more like urn:oid:1.2.36.146.595.217.0.1!12345 (to search the "key" elements value attribute for 12345 where the "system" elements value attribute is urn:oid:1.2.36.146.595.217.0.1)? 或者更像urn:oid:1.2.36.146.595.217.0.1!12345(搜索12345的“key”元素值属性,其中“system”元素值属性为urn:oid:1.2.36.146.595.217.0.1)?

The latter was inferred from the XSD comment for the Identifier type (which is used as a token for Patient searches) "Establishes the namespace in which set of possible id values is unique". 后者是从标识符类型的XSD注释中推断出来的(用作患者搜索的标记)“建立名称空间,其中可能的id值集是唯一的”。

What is the proper way to interpret a namespace inclusion on Token search fields? 解释令牌搜索字段中的命名空间包含的正确方法是什么?

The second: 第二:

"oid:1.2.36.146.595.217.0.1!12345" searches the "key" elements value attribute for 12345 where the "system" elements value attribute is "urn:oid:1.2.36.146.595.217.0.1"? “oid:1.2.36.146.595.217.0.1!12345”搜索12345的“key”元素值属性,其中“system”元素值属性为“urn:oid:1.2.36.146.595.217.0.1”?

yes, that's how it works. 是的,这就是它的工作原理。 note I clarified that the correct urn for an oid is the urn:oid: not just oid: 注意我澄清说oid的正确urn是urn:oid:不仅仅是oid:

I will clarify in the spec. 我将在规范中澄清。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM