XDS/FHIR Metadata Mapping

From IHE Wiki
Jump to navigation Jump to search

DocumentEntry XDS/FHIR Metadata Mapping

ebRIM to FHIR mapping
Attribute ebRIM FHIR Comments
DocumentEntry wrapper
<rim:ExtrinsicObject 
    id="Document01" 
    mimeType="text/plain"
    objectType="urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1"/>
 <DocumentReference>
   <identifier>
     <system value="urn:ietf:rfc:3986"/>
     <value value="Document01"/>
   </identifier>
   <mimeType mimeType="text/plain"/>
 </DocumentReference>  
ebRIM includes entryUUID and mimeType in this header element. The symbolic value shown probably needs a different value for system/value.
entryUUID
 <identifier>
   <system value="urn:ietf:rfc:3986"/>
   <value value="urn:uuid:a76d9bbf-f293-4fb7-ad4c-2851cac77162"/>
 </identifier>
mimeType
 <mimeType mimeType="text/plain"/>
creationTime
 <rim:Slot name="creationTime">
   <rim:ValueList>
     <rim:Value>20051224</rim:Value>
   </rim:ValueList>
 </rim:Slot>
<created value="20051224"/>
languageCode
<rim:Slot name="languageCode">
  <rim:ValueList>
    <rim:Value>en-us</rim:Value>
  </rim:ValueList>
</rim:Slot>
<primaryLanguage value="en-us"/>
Title
<rim:Name>
  <rim:LocalizedString value="Physical"/>
</rim:Name>
<description value="Physical"/>
Description
<rim:Description>
  <rim:LocalizedString value="Post-op Physical Exam performed onsite."/>
</rim:Name>
No known mapping
unique ID
<rim:ExternalIdentifier
  identificationScheme="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab"
  value="2009.9.1.2455"
  objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExternalIdentifier"
  id="id_10" registryObject="Document01">
  <rim:Name>
    <rim:LocalizedString value="XDSDocumentEntry.uniqueId"/>
  </rim:Name>
</rim:ExternalIdentifier>
<masterIdentifier>
  <identifier>
    <value value="2009.9.1.2455"/>
  </identifier>
</masterIdentifier>
patient ID
<rim:ExternalIdentifier
   identificationScheme="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427"
   value="76cc765a442f410^^^&1.3.6.1.4.1.21367.2005.3.7&ISO"
   objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExternalIdentifier"
   id="id_9" registryObject="Document01">
   <rim:Name>
     <rim:LocalizedString value="XDSDocumentEntry.patientId"/>
   </rim:Name>
 </rim:ExternalIdentifier>
<Patient>
  <identifier>   
    <value value="76cc765a442f410"/>
    <system value="1.3.6.1.4.1.21367.2005.3.7"/>
  </identifier>
  <identifier>  
   <use value="usual"/>
   <value value="89765a87b"/>
   <value system="3.4.5"/>
  </identifier>
  <name>
    <use value="official"/>
    <family value="Chalmers"/>
    <given value="Peter"/>
  </name>
  <birthDate value="1965-01-20"/>
  <gender>
    <coding>
      <system value="http://hl7.org/fhir/v3/AdministrativeGender"/>
      
      <display value="Male"/>
    </coding>
  </gender>
  <address>
    <use value="home"/>
    <line value="100 Main St"/>
    <city value="Burlington"/>
    <state value="MA"/>
    <zip value="01803"/>
  </address>
</Patient>
sourcePatientId
<rim:Slot name="sourcePatientId">
  <rim:ValueList>
    <rim:Value>89765a87b^^^&3.4.5&ISO</rim:Value>
  </rim:ValueList>
</rim:Slot>
sourcePatientInfo
<rim:Slot name="sourcePatientInfo"> 
  <rim:ValueList>
    <rim:Value>PID-3|DTP-1^^^&1.3.6.1.4.1.21367.2005.3.7 &ISO</rim:Value>
    <rim:Value>PID-5|Chalmers^Peter^^^</rim:Value>
    <rim:Value>PID-7|19650120</rim:Value> 
    <rim:Value>PID-8|M</rim:Value> 
    <rim:Value>PID-11|100 Main St^^Burlington^MA^01803^USA</rim:Value> 
  </rim:ValueList>
</rim:Slot>
PID-3 does not map - sourcePatientInfo already carries this value