簡體   English   中英

CCD ClinicalDocument.id:root應該是什么價值?

[英]CCD ClinicalDocument.id: What is the value of root supposed to be?

在CDA R2 CCD實施指南中, ClinicalDocument元素(文檔的根元素)應該具有id元素。

id元素屬於“II”數據類型: http ://wiki.hl7.no/index.php/R1:II這表明root屬性具有OID值,用於標識在extension屬性。

現在,在查看HL7提供的示例CCD文檔時,我們看到:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="CDASchemas\cda\Schemas\CCD.xsl"?>
<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 CDA.xsd" >
...
   <id root="db734647-fc99-424c-a864-7e3cda82e703"/>
...
</ClinicalDocument>

根值db734647-fc99-424c-a864-7e3cda82e703不是OID。 我不確定它是什么,但它看起來像UUID? 無論如何,這是所有CCD文件的靜態值,還是會因文檔而異? 為什么不使用extension屬性,是不是標識文檔的內容?

請注意,在同一個示例文檔中,我也看到了類似的內容

<id root="2.16.840.1.113883.19.5" />

它似乎是OID(在root屬性中)。

編輯 :我參考的樣本文件來自HL7 CCD實施指南,即它來自官方來源,他們不可能在他們的樣本文件中有一個以前沒有人注意到的明顯錯誤。

您可以在此處下載CDA第2版文檔: http ://www.hl7.org/implement/standards/product_brief.cfm?product_id = 7

注意:您必須創建一個帳戶,但不是付費帳戶。 此外,當我忘記密碼時,他們以純文本形式通過電子郵件發送給我。 請勿在此處使用您的安全密碼。

在datatypes-base.xsd中,您可以看到II類型的說明。 Root是一個UID,有兩種類型的UID。 OID和UUID。

UUID是GUID(您的示例)。 OID是HL7指定的ID。 您可以申請組織OID,並且您可以控制該點的任何葉OID。 模式“[0-2](\\。(0 | [1-9] [0-9] *))*”

在根和擴展(字符串)之間,II應該是普遍唯一的。 OID本身可以是唯一的。 幾個例子。

OID“2.16.840.1.113883”是H17( https://www.hl7.org/oid/index.cfm )。 Leaf“.10.20.22”是HL7健康故事模板。 Leaf“.1.2”是一份持續性護理文件。

<id root="2.16.840.1.113883.10.20.22.1.2" /> is globally unique for a CCD template, extension unneeded

OID“2.16.840.1.113883.5”是HL7 V3 Code Systems。 “.1”是行政性別

<id root="2.16.840.1.113883.5.1" extension="M" /> is globally unique for Male

這為您的臨床文檔生成II提供了兩種選擇。 您可以生成自己的GUID。 或者,如果組織控制的OID /葉子中有有意義的ID,則可以使用任何本地標識符。 從hl7注冊表中拉出頂部OID(“2.16.840.1.113883.5.3”是外部用戶;“。1”是ProVation)作為示例:

他們可以根據需要定義葉子; 每次發送文檔時,都會引用相同的唯一文檔。 理論上:100 =文件; 100.2 =臨床文件; 延長= databaseIdentityColumn。

<id root="2.16.840.1.113883.5.3.1.100.2" extension="1" /> = first document they created
<id root="2.16.840.1.113883.5.3.1.100.2" extension="15" /> = 15th document they created

只要它是全球唯一的,使用僅OID格式也是完全有效的。

<id root="2.16.840.1.113883.5.3.1.100.2.15" /> = 15th document they created

類似於全球唯一的SSN

<id root="2.16.840.1.113883.4.1" extension="111-11-1111" />

然后,本地定義的患者標識符可以是.12 =患者圖表

<id root="2.16.840.1.113883.5.3.1.12" extension="ZZ1234-111111" />

我自己也在做同樣的事情。 我從EHR認證機構收到的一個例子是id的root看起來像OID。 這是“2.16.840.1.113883.3.72”。

這是一個可能有所幫助的鏈接: http//www.ihe.net/Technical_Framework/upload/ihe_lab_TF_rel2-3.pdf

我復制了下面的相關文字。

這個元素應該存在。 它表示臨床文檔的唯一實例標識符。 根和擴展屬性的組合應提供全局唯一標識符。 例:

<id root="2.16.840.1.113883.19.4" extension="abc266"/>

老問題,我知道,但我只是在學習這些東西,我想我終於把頭包裹起來了。

根類似於名稱空間或域,其中id將是有效的並且保證是唯一的。 例如,如果您的權限/組織正在生成CDA,它很可能已經申請了唯一的OID(您在根中看到的值是OID 2.16.840.1.113883.19.4)。

所以,對於上面的例子,

    <id root="2.16.840.1.113883.19.4" extension="abc266"/>

我猜想2.16.840.1.113883.19是發送CDA的權限的基本OID,.4很可能是OID來表示這個

<id>

實際上是文檔的標識符(權限在基礎OID下定義這些OID擴展)

“extension”是此特定文檔的唯一標識符值。

關於你對實施指南沒有明顯錯誤的評論,我發現在試圖弄清楚這些東西時恰恰相反......有很多錯誤。 我確實認為root始終是OID,擴展名通常是UUID或其他一些唯一ID。

根據這兩個鏈接:

http://tl7.intelliware.ca/public/messages/dataTypes/ii.faceshttp://cdatools.com/infocenter/index.jsp?topic=/org.openhealthtools.mdht.uml.cda.consol.doc /classes/GeneralHeaderConstraints.html

“II”數據類型在其root元素中接受OID和UUID。

有人可以指示我解釋這個的官方文件嗎?

旁注:由於廣泛使用HL7,因此缺乏關於HL7的在線可用文檔和知識是非常令人失望的。

我知道這是一個老帖子,但像用戶453441說,HL7信息很難得到。

關於<id>元素,這是我認為正在發生的事情:

根據我在工作中閱讀的一些學習材料,元素是“文檔標識符”。 它是一個

“(文件)實例的唯一標識符。(id)通常由文檔創建者生成。”

我的解釋是這個元素將用於安全和驗證目的。 我認為,作為主要<Clinical Document>元素的子元素的元素用於向CDA接收者顯示該文檔確實源自預期的來源。 作為CDA發件人,您將擁有某種類型的唯一ID(似乎沒有標准,但為您的組織獲取OID會很有幫助)。

<id>元素的root屬性是整個文檔的唯一標識符,即組織的唯一ID。 還有一個擴展屬性,可用於唯一標識CDA的各個部分。 你提到CDA中有多個屬性,這就是原因。 例如,extension屬性可用於標識<assignedAuthor> 似乎任何Participation元素的所有子元素都使用此<id>元素。

希望這可以幫助。

編輯:進一步閱讀后,我有更多細節。 <id>元素的root屬性

“...表示唯一的實例標識符(UID)。”

我從“Asociacion HL7 Argentina -HL7”的學習資料中獲得了這些引用。 他們的示例使用案例編號和extension屬性的版本序列器。 這樣,兩個不同的組織可以使用相同的擴展,但由於它們在root屬性中具有不同的UID,因此它們仍然不同。

當您查看已經提到的CDA規范時,您會看到ClinicalDocument.id元素的數據類型是II(實例標識符)。

如果您正在查看數據類型定義(可以在datatypes-base.xsd文件中找到),您將找到以下內容:

<xs:complexType name="II">
  <xs:annotation>
     <xs:documentation>
        An identifier that uniquely identifies a thing or object.
        Examples are object identifier for HL7 RIM objects,
        medical record number, order id, service catalog item id,
        Vehicle Identification Number (VIN), etc. Instance
        identifiers are defined based on ISO object identifiers.
     </xs:documentation>
     <xs:appinfo>
        <sch:pattern name="validate II">
           <sch:rule abstract="true" id="rule-II">
              <sch:report test="(@root or @nullFlavor) and not(@root and @nullFlavor)">
                 A root component is required or else the II value is NULL.
              </sch:report>
           </sch:rule>
        </sch:pattern>
     </xs:appinfo>
  </xs:annotation>
  <xs:complexContent>
     <xs:extension base="ANY">
        <xs:attribute name="root" type="uid" use="optional">
           <xs:annotation>
              <xs:documentation>
                 A unique identifier that guarantees the global uniqueness
                 of the instance identifier. The root alone may be the
                 entire instance identifier.
              </xs:documentation>
           </xs:annotation>
        </xs:attribute>
        <xs:attribute name="extension" type="st" use="optional">
           <xs:annotation>
              <xs:documentation>
                 A character string as a unique identifier within the
                 scope of the identifier root.
              </xs:documentation>
           </xs:annotation>
        </xs:attribute>
        <xs:attribute name="assigningAuthorityName" type="st" use="optional">
           <xs:annotation>
              <xs:documentation>
                 A human readable name or mnemonic for the assigning
                 authority. This name may be provided solely for the
                 convenience of unaided humans interpreting an II value
                 and can have no computational meaning. Note: no
                 automated processing must depend on the assigning
                 authority name to be present in any form.
              </xs:documentation>
           </xs:annotation>
        </xs:attribute>
        <xs:attribute name="displayable" type="bl" use="optional">
           <xs:annotation>
              <xs:documentation>
                 Specifies if the identifier is intended for human
                 display and data entry (displayable = true) as
                 opposed to pure machine interoperation (displayable
                 = false).
              </xs:documentation>
           </xs:annotation>
        </xs:attribute>
     </xs:extension>
  </xs:complexContent>

在這里,您可以看到root屬性必須是一個帶有以下文檔的uid:

唯一標識符,用於保證實例標識符的全局唯一性。 單獨的根可以是整個實例標識符。

CDA文檔的ClinicalDocument類中的“id”屬性應該包含文檔的唯一ID。

對於II數據類型,“root”應始終為OID,擴展名可以是任何唯一的字符串。 我建議您的示例XML中存在錯誤(源自此處)。

不言而喻,在CDA文檔中,將使用許多不同的OID,具體取決於它們用於Id的對象。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM