Difference between revisions of "XDS-FHIR-mapping"

From IHE Wiki
Jump to navigation Jump to search
Line 29: Line 29:
 
{|
 
{|
 
|<pre>
 
|<pre>
 +
<rim:Classification classificationScheme="urn:uuid:93606bcf-9494-
 +
43ec-9b4e-a7748d1a838d" classifiedObject="theDocument"
 +
id=”ID_045”
 +
objectType="urn:oasis:names:tc:ebxml- regrep:ObjectType:RegistryObject:Classification"
 +
nodeRepresentation="">
 +
<!-- nodeRepresentation intentionally left blank -->
 +
<rim:Slot name="authorPerson">
 +
<!-- shall be single valued, includes
 +
optional ID -->
 +
              <rim:ValueList>
 +
<rim:Value>D12398^Doe^John^^^^^^&1.2.3.4.5.6.7.8. 9.1789.45.1&ISO</rim:Value>
 +
              </rim:ValueList>
 +
        </rim:Slot>
 +
<rim:Slot name="authorInstitution"> <!-- may be multivalued -->
 +
              <rim:ValueList>
 +
                      <rim:Value> Some
 +
Hospital^^^^^^^^^1.2.3.4.5.6.7.8.9.1789.45</rim:Value> </rim:ValueList>
 +
</rim:Slot>
 +
<rim:Slot name="authorRole">
 +
<!-- may be multivalued -->
 +
              <rim:ValueList>
 +
                      <rim:Value>name of
 +
role</rim:Value>
 +
              </rim:ValueList>
 +
</rim:Slot>
 +
<rim:Slot name="authorSpecialty"> <!-- may be multivalued -->
 +
              <rim:ValueList>
 +
                      <rim:Value>specialty of
 +
author</rim:Value>
 +
              </rim:ValueList>
 +
</rim:Slot>
 +
<rim:Slot name="authorTelecommunication">
 +
              <!-- shall be single valued -->
 +
<rim:ValueList> <rim:Value>^^Internet^john.doe@healthcare.example
 +
.org</rim:Value>
 +
              </rim:ValueList>
 +
        </rim:Slot>
 +
</rim:Classification>
 
</pre>
 
</pre>
 
|<pre>
 
|<pre>

Revision as of 15:01, 24 March 2014

These notes contain the current thinking on how to map Document Sharing attributes to FHIR. This page will be updated as we learn more.

In the tables below, the left side is the current ebRIM content and the right side is the proposed FHIR content.

DocumentEntry

DocumentEntry Wrapper

<ExtrinsicObject 
<DocumentReference>
   <text>
      <status value="generated"/>
      <div  xmlns="http://www.w3.org/1999/xhtml">
      </div>
   </text>
 </DocumentReference>

The text element represents an HTML rendition of the DocumentReference. This example shows that the HTML has been generated.

author

<rim:Classification classificationScheme="urn:uuid:93606bcf-9494-
43ec-9b4e-a7748d1a838d" classifiedObject="theDocument"
id=”ID_045”
objectType="urn:oasis:names:tc:ebxml- regrep:ObjectType:RegistryObject:Classification"
nodeRepresentation="">
<!-- nodeRepresentation intentionally left blank -->
<rim:Slot name="authorPerson">
<!-- shall be single valued, includes
optional ID -->
               <rim:ValueList>
<rim:Value>D12398^Doe^John^^^^^^&1.2.3.4.5.6.7.8. 9.1789.45.1&ISO</rim:Value>
               </rim:ValueList>
        </rim:Slot>
<rim:Slot name="authorInstitution"> <!-- may be multivalued -->
               <rim:ValueList>
                      <rim:Value> Some
Hospital^^^^^^^^^1.2.3.4.5.6.7.8.9.1789.45</rim:Value> </rim:ValueList>
</rim:Slot>
<rim:Slot name="authorRole">
<!-- may be multivalued -->
               <rim:ValueList>
                      <rim:Value>name of
role</rim:Value>
               </rim:ValueList>
</rim:Slot>
<rim:Slot name="authorSpecialty"> <!-- may be multivalued -->
               <rim:ValueList>
                       <rim:Value>specialty of
author</rim:Value>
               </rim:ValueList>
</rim:Slot>
<rim:Slot name="authorTelecommunication">
               <!-- shall be single valued -->
<rim:ValueList> <rim:Value>^^Internet^john.doe@healthcare.example
.org</rim:Value>
               </rim:ValueList>
        </rim:Slot>
</rim:Classification>
  <contained>
    <Practitioner id="a1">
      <name>
        <family value="Dopplemeyer"/>
        <given value="Sherry"/>
      </name>
      <telecom>
        <system value="email"/>
        <value value="john.doe@healthcare.example.org"/>
      </telecom>
      <organization>
        <display value="Cleveland Clinic"/>
      </organization>
      <role>
        <text value="Primary Surgon"/>
      </role>
      <specialty>
        <text value="Orthopedic"/>
      </specialty>
    </Practitioner>
  </contained>
  <contained>
    <Practitioner id="a2">
      <name>
        <family value="Smitty"/>
        <given value="Gerald"/>
      </name>
      <telecom>
        <system value="email"/>
        <value value="john.doe@healthcare.example.org"/>
      </telecom>
      <organization>
        <display value="Cleveland Clinic"/>
      </organization>
      <role>
        <text value="Attending"/>
      </role>
      <specialty>
        <text value="Orthopedic"/>
      </specialty>
    </Practitioner>
  </contained>

  <author>
    <reference value="#a1"/>
  </author>
  <author>
    <reference value="#a2"/>
  </author>

The contained elements go after the text element and before the masterIdentifier. These are formed as contained elements because this content would normally already be in a FHIR repository and simply referenced by this DocumentReference resource. Note that these items are referenced by the id attribute on the Practitioner elements.

mimeType

    mimeType="text/plain"
   <mimeType value="text/plain"/>

uniqueId

<ExternalIdentifier
  identificationScheme="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab"
  value="1.3.6.1.4.1.21367.2005.3.7"
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExternalIdentifier"
  id="id_10" registryObject="Document01">
  <Name>
    <LocalizedString value="XDSDocumentEntry.uniqueId"/>
  </Name>
</ExternalIdentifier>
  <masterIdentifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:1.3.6.1.4.1.21367.2005.3.7"/>
  </masterIdentifier>

The uniqueId is represented by the masterIdentifier. The big different is that in XDS the value is an OID and in FHIR it is a fully qualified OID.