This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "CDA R2 mapping to CDA R3"

From HL7Wiki
Jump to navigation Jump to search
m
(Mapping update)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Back to [[CDA_R3_Project]]
 
Back to [[CDA_R3_Project]]
 
<p style="font-weight: bold;color: red;">This page is work in progress and is not yet suitable for general consumption. Intended to be finished by Friday Jan 25, 2013</p>
 
  
 
==Introduction==
 
==Introduction==
Line 13: Line 11:
 
==Mapping==
 
==Mapping==
  
The column '''Validation''' is a true/false indicator of whether or nor the StrucDoc WG has validated this mapping.
+
Most things can be copied as-is. Specials are listed below:
  
{|width=100% cellspacing=0 cellpadding=2
+
#Datatypes conversion needed from R1 to R2
|-
+
#CDA R2 ''POCD_MT000040.AssignedAuthor.assignedAuthoringDevice'' is CDA R3 ''assignedDevice''
|align=center width="30%"| '''CDA R2'''
+
#CDA R2 ''POCD_MT000040.Birthplace.place'' is CDA R3 ''birthplace''
|align=center width="30%"| '''CDA R3'''
+
#CDA R2 ''POCD_MT000040.ClinicalDocument.participant'' is CDA R3 ''participation1''
|align=center width="40%"| '''Comment'''
+
#CDA R2 ''POCD_MT000040.Component2.nonXMLBody'' is CDA R3 ''nonStructuredBody''
|align=center width="40%"| '''Validated'''
+
#CDA R2 ''POCD_MT000040.Component4.organizer'' is CDA R3 ''observation''
|-
+
#CDA R2 ''POCD_MT000040.Consumable.manufacturedProduct'' is CDA R3 ''role''
|bgcolor="#fe8080" valign=top| ClinicalDocument
+
#CDA R2 ''POCD_MT000040.Entry.organizer'' is CDA R3 ''observation''
*@classCode
+
#CDA R2 ''POCD_MT000040.EntryRelationship.organizer'' is CDA R3 ''observation''
*@moodCode
+
#CDA R2 ''POCD_MT000040.Organizer.component'' is CDA R3 ''outboundRelationship''
*id II 1..1
+
#CDA R2 ''POCD_MT000040.Act.entryRelationship'' is CDA R3 ''outboundRelationship''
*code CE 1..1
+
#CDA R2 ''POCD_MT000040.Act.author'' is CDA R3 ''participation''
*title ST 0..1
+
#CDA R2 ''POCD_MT000040.Act.informant'' is CDA R3 ''participation''
*effectiveTime TS 1..1
+
#CDA R2 ''POCD_MT000040.Act.participant'' is CDA R3 ''participation''
*confidentialityCode CE 1..1
+
#CDA R2 ''POCD_MT000040.Act.performer'' is CDA R3 ''participation''
*languageCode CS 0..1
+
#CDA R2 ''POCD_MT000040.Act.specimen'' is CDA R3 ''participation''
*setId II 0..1
+
#CDA R2 ''POCD_MT000040.Act.subject'' is CDA R3 ''participation''
*versionNumber INT 0..1
+
#CDA R2 ''POCD_MT000040.Act.precondition'' is CDA R3 ''outboundRelationship''
*copyTime TS 0..1
+
#CDA R2 ''POCD_MT000040.Act.reference'' is CDA R3 ''outboundRelationship''
*recordTarget
+
#CDA R2 ''POCD_MT000040.Encounter.entryRelationship'' is CDA R3 ''outboundRelationship''
*author
+
#CDA R2 ''POCD_MT000040.Encounter.author'' is CDA R3 ''participation''
*dataEnterer
+
#CDA R2 ''POCD_MT000040.Encounter.informant'' is CDA R3 ''participation''
*informant
+
#CDA R2 ''POCD_MT000040.Encounter.participant'' is CDA R3 ''participation''
*custodian
+
#CDA R2 ''POCD_MT000040.Encounter.performer'' is CDA R3 ''participation''
*informationRecipient
+
#CDA R2 ''POCD_MT000040.Encounter.specimen'' is CDA R3 ''participation''
*legalAuthenticator
+
#CDA R2 ''POCD_MT000040.Encounter.subject'' is CDA R3 ''participation''
*authenticator
+
#CDA R2 ''POCD_MT000040.Encounter.precondition'' is CDA R3 ''outboundRelationship''
*participant
+
#CDA R2 ''POCD_MT000040.Encounter.reference'' is CDA R3 ''outboundRelationship''
*inFulfillmentOf
+
#CDA R2 ''POCD_MT000040.HealthCareFacility.location'' is CDA R3 ''playingPlace''
*documentationOf
+
#CDA R2 ''POCD_MT000040.HealthCareFacility.serviceProviderOrganization'' is CDA R3 ''scopingOrganization''
*relatedDocument
+
#CDA R2 ''POCD_MT000040.ManufacturedProduct.manufacturedLabeledDrug'' is CDA R3 ''playingManufacturedMaterial''
*authorization
+
#CDA R2 ''POCD_MT000040.ManufacturedProduct.manufacturedMaterial'' is CDA R3 ''playingManufacturedMaterial''
*component
+
#CDA R2 ''POCD_MT000040.ManufacturedProduct.manufacturerOrganization'' is CDA R3 ''scopingOrganization''
*componentOf
+
#CDA R2 ''POCD_MT000040.Organizer.entryRelationship'' is CDA R3 ''outboundRelationship''
|bgcolor="#fe8080" valign=top| ClinicalDocument
+
#CDA R2 ''POCD_MT000040.Organizer.author'' is CDA R3 ''participation''
*@classCode
+
#CDA R2 ''POCD_MT000040.Organizer.informant'' is CDA R3 ''participation''
*@moodCode
+
#CDA R2 ''POCD_MT000040.Organizer.participant'' is CDA R3 ''participation''
*id II 1..1
+
#CDA R2 ''POCD_MT000040.Organizer.performer'' is CDA R3 ''participation''
*'''code CD 1..1'''
+
#CDA R2 ''POCD_MT000040.Organizer.specimen'' is CDA R3 ''participation''
*title ST 0..1
+
#CDA R2 ''POCD_MT000040.Organizer.subject'' is CDA R3 ''participation''
*effectiveTime TS 1..1
+
#CDA R2 ''POCD_MT000040.Organizer.precondition'' is CDA R3 ''outboundRelationship''
*'''confidentialityCode CD 1..1'''
+
#CDA R2 ''POCD_MT000040.Organizer.reference'' is CDA R3 ''outboundRelationship''
*'''languageCode CD 0..1'''
+
#CDA R2 ''POCD_MT000040.Observation.entryRelationship'' is CDA R3 ''outboundRelationship''
*setId II 0..1
+
#CDA R2 ''POCD_MT000040.Observation.author'' is CDA R3 ''participation''
*'''versionNumber ST 0..1'''
+
#CDA R2 ''POCD_MT000040.Observation.informant'' is CDA R3 ''participation''
*'''-n.a.-'''
+
#CDA R2 ''POCD_MT000040.Observation.participant'' is CDA R3 ''participation''
*recordTarget
+
#CDA R2 ''POCD_MT000040.Observation.performer'' is CDA R3 ''participation''
*author
+
#CDA R2 ''POCD_MT000040.Observation.specimen'' is CDA R3 ''participation''
*dataEnterer
+
#CDA R2 ''POCD_MT000040.Observation.subject'' is CDA R3 ''participation''
*informant
+
#CDA R2 ''POCD_MT000040.Observation.precondition'' is CDA R3 ''outboundRelationship''
*custodian
+
#CDA R2 ''POCD_MT000040.Observation.reference'' is CDA R3 ''outboundRelationship''
*informationRecipient
+
#CDA R2 ''POCD_MT000040.Observation.referenceRange'' is CDA R3 ''outboundRelationship''
*legalAuthenticator
+
#CDA R2 ''POCD_MT000040.ObservationMedia.entryRelationship'' is CDA R3 ''outboundRelationship''
*authenticator
+
#CDA R2 ''POCD_MT000040.ObservationMedia.author'' is CDA R3 ''participation''
*'''participation1'''
+
#CDA R2 ''POCD_MT000040.ObservationMedia.informant'' is CDA R3 ''participation''
*inFulfillmentOf
+
#CDA R2 ''POCD_MT000040.ObservationMedia.participant'' is CDA R3 ''participation''
*documentationOf
+
#CDA R2 ''POCD_MT000040.ObservationMedia.performer'' is CDA R3 ''participation''
*relatedDocument
+
#CDA R2 ''POCD_MT000040.ObservationMedia.specimen'' is CDA R3 ''participation''
*authorization
+
#CDA R2 ''POCD_MT000040.ObservationMedia.subject'' is CDA R3 ''participation''
*component
+
#CDA R2 ''POCD_MT000040.ObservationMedia.precondition'' is CDA R3 ''outboundRelationship''
*componentOf
+
#CDA R2 ''POCD_MT000040.ObservationMedia.reference'' is CDA R3 ''outboundRelationship''
|valign=top|
+
#CDA R2 ''POCD_MT000040.Participant2.participantRole'' is CDA R3 ''role''
|valign=top|
+
#CDA R2 ''POCD_MT000040.Performer2.assignedEntity'' is CDA R3 ''role''
|-
+
#CDA R2 ''POCD_MT000040.Precondition.criterion'' is CDA R3 ''observation''
|bgcolor="#80feff" valign=top| ClinicalDocument.authenticator
+
#CDA R2 ''POCD_MT000040.Procedure.entryRelationship'' is CDA R3 ''outboundRelationship''
*@typeCode
+
#CDA R2 ''POCD_MT000040.Procedure.author'' is CDA R3 ''participation''
*time TS 0..1
+
#CDA R2 ''POCD_MT000040.Procedure.informant'' is CDA R3 ''participation''
*signatureCode CS 1..1
+
#CDA R2 ''POCD_MT000040.Procedure.participant'' is CDA R3 ''participation''
*assignedEntity
+
#CDA R2 ''POCD_MT000040.Procedure.performer'' is CDA R3 ''participation''
|bgcolor="#80feff" valign=top| ClinicalDocument.authenticator
+
#CDA R2 ''POCD_MT000040.Procedure.specimen'' is CDA R3 ''participation''
*@typeCode
+
#CDA R2 ''POCD_MT000040.Procedure.subject'' is CDA R3 ''participation''
*time TS 0..1
+
#CDA R2 ''POCD_MT000040.Procedure.precondition'' is CDA R3 ''outboundRelationship''
*'''signatureCode CD 1..1'''
+
#CDA R2 ''POCD_MT000040.Procedure.reference'' is CDA R3 ''outboundRelationship''
*assignedEntity
+
#CDA R2 ''POCD_MT000040.Product.manufacturedProduct'' is CDA R3 ''role''
|valign=top| See AssignedEntity for mapping of assignedEntity
+
#CDA R2 ''POCD_MT000040.Reference.externalAct'' is CDA R3 ''act''
|valign=top|
+
#CDA R2 ''POCD_MT000040.Reference.externalDocument'' is CDA R3 ''document''
|-
+
#CDA R2 ''POCD_MT000040.Reference.externalObservation'' is CDA R3 ''observation''
|bgcolor="yellow" valign=top| AssignedEntity
+
#CDA R2 ''POCD_MT000040.Reference.externalProcedure'' is CDA R3 ''procedure''
*@classCode
+
#CDA R2 ''POCD_MT000040.ReferenceRange.observationRange'' is CDA R3 ''observation''
*id SET&lt;II> 1..*
+
#CDA R2 ''POCD_MT000040.RegionOfInterest.entryRelationship'' is CDA R3 ''outboundRelationship''
*code CE 0..1
+
#CDA R2 ''POCD_MT000040.RegionOfInterest.author'' is CDA R3 ''participation''
*addr SET&lt;AD> 0..*
+
#CDA R2 ''POCD_MT000040.RegionOfInterest.informant'' is CDA R3 ''participation''
*telecom SET&lt;TEL> 0..*
+
#CDA R2 ''POCD_MT000040.RegionOfInterest.participant'' is CDA R3 ''participation''
*assignedPerson
+
#CDA R2 ''POCD_MT000040.RegionOfInterest.performer'' is CDA R3 ''participation''
*representedOrganization
+
#CDA R2 ''POCD_MT000040.RegionOfInterest.specimen'' is CDA R3 ''participation''
|bgcolor="yellow" valign=top| AssignedEntity
+
#CDA R2 ''POCD_MT000040.RegionOfInterest.subject'' is CDA R3 ''participation''
*@classCode
+
#CDA R2 ''POCD_MT000040.RegionOfInterest.precondition'' is CDA R3 ''outboundRelationship''
*id SET&lt;II> 1..*
+
#CDA R2 ''POCD_MT000040.RegionOfInterest.reference'' is CDA R3 ''outboundRelationship''
*'''code CD 0..1'''
+
#CDA R2 ''POCD_MT000040.Specimen.specimenRole'' is CDA R3 ''role''
*'''addr DSET&lt;AD> 0..*'''
+
#CDA R2 ''POCD_MT000040.SpecimenRole.specimenPlayingEntity'' is CDA R3 ''playingEntity''
*'''telecom DSET&lt;TEL> 0..*'''
+
#CDA R2 ''POCD_MT000040.SubstanceAdministration.entryRelationship'' is CDA R3 ''outboundRelationship''
*assignedPerson
+
#CDA R2 ''POCD_MT000040.SubstanceAdministration.author'' is CDA R3 ''participation''
*representedOrganization
+
#CDA R2 ''POCD_MT000040.SubstanceAdministration.informant'' is CDA R3 ''participation''
|valign=top| See Person for mapping of assignedPerson, see Organization for mapping of representedOrganization
+
#CDA R2 ''POCD_MT000040.SubstanceAdministration.participant'' is CDA R3 ''participation''
|valign=top|
+
#CDA R2 ''POCD_MT000040.SubstanceAdministration.performer'' is CDA R3 ''participation''
|-
+
#CDA R2 ''POCD_MT000040.SubstanceAdministration.specimen'' is CDA R3 ''participation''
|bgcolor="#81fd80" valign=top| Organization
+
#CDA R2 ''POCD_MT000040.SubstanceAdministration.subject'' is CDA R3 ''participation''
*@classCode
+
#CDA R2 ''POCD_MT000040.SubstanceAdministration.consumable'' is CDA R3 ''participation''
*@determinerCode
+
#CDA R2 ''POCD_MT000040.SubstanceAdministration.precondition'' is CDA R3 ''outboundRelationship''
*id SET&lt;II> 0..*
+
#CDA R2 ''POCD_MT000040.SubstanceAdministration.reference'' is CDA R3 ''outboundRelationship''
*name SET&lt;ON> 0..*
+
#CDA R2 ''POCD_MT000040.Supply.entryRelationship'' is CDA R3 ''outboundRelationship''
*telecom SET&lt;TEL> 0..*
+
#CDA R2 ''POCD_MT000040.Supply.author'' is CDA R3 ''participation''
*addr SET&lt;AD> 0..*
+
#CDA R2 ''POCD_MT000040.Supply.informant'' is CDA R3 ''participation''
*standardIndustryClassCode CE 0..1
+
#CDA R2 ''POCD_MT000040.Supply.participant'' is CDA R3 ''participation''
*asOrganizationPartOf 0..1
+
#CDA R2 ''POCD_MT000040.Supply.performer'' is CDA R3 ''participation''
|bgcolor="#81fd80" valign=top| Organization
+
#CDA R2 ''POCD_MT000040.Supply.subject'' is CDA R3 ''participation''
*@classCode
+
#CDA R2 ''POCD_MT000040.Supply.precondition'' is CDA R3 ''outboundRelationship''
*@determinerCode
+
#CDA R2 ''POCD_MT000040.Supply.product'' is CDA R3 ''participation''
*'''id DSET&lt;II> 0..*'''
+
#CDA R2 ''POCD_MT000040.Supply.specimen'' is CDA R3 ''participation''
*'''name DSET&lt;EN> 0..*'''
+
#CDA R2 ''POCD_MT000040.Supply.reference'' is CDA R3 ''outboundRelationship''
*'''telecom DSET&lt;TEL> 0..*'''
 
*'''addr DSET&lt;AD> 0..*'''
 
*'''standardIndustryClassCode CD 0..1'''
 
*asOrganizationPartOf 0..1
 
|valign=top| See OrganizationPartOf for mapping of asOrganizationPartOf
 
|valign=top|
 
|-
 
|bgcolor="yellow" valign=top| OrganizationPartOf
 
*@classCode
 
*id SET&lt;II> 0..*
 
*code CE 0..1
 
*statusCode CS 0..1
 
*effectiveTime IVL&lt;TS> 0..1
 
*wholeOrganization 0..1
 
|bgcolor="yellow" valign=top| OrganizationPartOf
 
*@classCode
 
*'''id DSET&lt;II> 0..*'''
 
*'''code CD 0..1'''
 
*statusCode CS 0..1
 
*effectiveTime IVL&lt;TS> 0..1
 
*wholeOrganization 0..1
 
|valign=top| See Organization for mapping of wholeOrganization
 
|valign=top|
 
|-
 
|bgcolor="#81fd80" valign=top| Person
 
*@classCode
 
*@determinerCode
 
*name SET&lt;PN> 0..*
 
|bgcolor="#81fd80" valign=top| Person
 
*@classCode
 
*@determinerCode
 
*'''name DSET&lt;EN> 0..*'''
 
|-
 
|bgcolor="#80feff" valign=top| ClinicalDocument.legalAuthenticator
 
|bgcolor="#80feff" valign=top| ClinicalDocument.legalAuthenticator
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| ClinicalDocument.informationRecipient
 
|bgcolor="#80feff" valign=top| ClinicalDocument.informationRecipient
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| ClinicalDocument.author
 
|bgcolor="#80feff" valign=top| ClinicalDocument.author
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| ClinicalDocument.custodian
 
|bgcolor="#80feff" valign=top| ClinicalDocument.custodian
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| ClinicalDocument.dataEnterer
 
|bgcolor="#80feff" valign=top| ClinicalDocument.dataEnterer
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| ClinicalDocument.recordTarget
 
|bgcolor="#80feff" valign=top| ClinicalDocument.recordTarget
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| ClinicalDocument.informant
 
|bgcolor="#80feff" valign=top| ClinicalDocument.informant
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| ClinicalDocument.participant
 
|bgcolor="#80feff" valign=top| ClinicalDocument.participant1
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| ClinicalDocument.relatedDocument
 
|bgcolor="#fe8080" valign=top| ClinicalDocument.relatedDocument
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| ClinicalDocument.documentationOf
 
|bgcolor="#fe8080" valign=top| ClinicalDocument.documentationOf
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| ClinicalDocument.inFulfillmentOf
 
|bgcolor="#fe8080" valign=top| ClinicalDocument.inFulfillmentOf
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| ClinicalDocument.authorization
 
|bgcolor="#fe8080" valign=top| ClinicalDocument.authorization
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| ClinicalDocument.componentOf
 
|bgcolor="#fe8080" valign=top| ClinicalDocument.componentOf
 
|valign=top| Note: in Ballot Sep 2013 order reversed with ClinicalDocument.component
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| ClinicalDocument.component
 
|bgcolor="#fe8080" valign=top| ClinicalDocument.component
 
|valign=top| Note: in Ballot Sep 2013 order reversed with ClinicalDocument.componentOf
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| component.nonXmlbody
 
|bgcolor="#fe8080" valign=top| '''component.nonStructuredBody'''
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| component.structuredBody
 
|bgcolor="#fe8080" valign=top| component.structuredBody
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| structuredBody.component
 
|bgcolor="#fe8080" valign=top| structuredBody.component
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| component.section
 
|bgcolor="#fe8080" valign=top| component.section
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| section.component...
 
|bgcolor="#fe8080" valign=top| section.component...
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| section.author
 
|bgcolor="#80feff" valign=top| section.author
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| section.informant
 
|bgcolor="#80feff" valign=top| section.informant
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| section.subject
 
|bgcolor="#80feff" valign=top| section.subject
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| section.entry
 
|bgcolor="#fe8080" valign=top| section.entry
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.observation
 
|bgcolor="#fe8080" valign=top| entry.observation
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.observation.referenceRange
 
|bgcolor="#fe8080" valign=top| entry.observation.referenceRange
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.regionOfInterest
 
|bgcolor="#fe8080" valign=top| entry.regionOfInterest
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.observationMedia
 
|bgcolor="#fe8080" valign=top| entry.observationMedia
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.substanceAdministration
 
|bgcolor="#fe8080" valign=top| entry.substanceAdministration
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.supply
 
|bgcolor="#fe8080" valign=top| entry.supply
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.procedure
 
|bgcolor="#fe8080" valign=top| entry.procedure
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.encounter
 
|bgcolor="#fe8080" valign=top| entry.encounter
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.organizer
 
|bgcolor="#fe8080" valign=top| entry.organizer
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.organizer.component
 
|bgcolor="#fe8080" valign=top| entry.organizer.component
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.act
 
|bgcolor="#fe8080" valign=top| entry.act
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.*.precondition
 
|bgcolor="#fe8080" valign=top| '''entry.*.outboundRelationship'''
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.*.reference
 
|bgcolor="#fe8080" valign=top| '''entry.*.outboundRelationship'''
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#fe8080" valign=top| entry.*.entryRelationship
 
|bgcolor="#fe8080" valign=top| '''entry.*.outboundRelationship'''
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| entry.*.author
 
|bgcolor="#80feff" valign=top| '''entry.*.participation'''
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| entry.*.informant
 
|bgcolor="#80feff" valign=top| '''entry.*.participation'''
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| entry.*.subject
 
|bgcolor="#80feff" valign=top| '''entry.*.participation'''
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| entry.*.performer
 
|bgcolor="#80feff" valign=top| '''entry.*.participation'''
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| entry.*.consumable
 
|bgcolor="#80feff" valign=top| '''entry.*.participation'''
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| entry.*.product
 
|bgcolor="#80feff" valign=top| '''entry.*.participation'''
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| entry.*.specimen
 
|bgcolor="#80feff" valign=top| '''entry.*.participation'''
 
|valign=top|
 
|valign=top|
 
|-
 
|bgcolor="#80feff" valign=top| entry.*.participant
 
|bgcolor="#80feff" valign=top| '''entry.*.participation'''
 
|valign=top|
 
|valign=top|
 
|-
 
|}
 
  
 
==Known issues==
 
==Known issues==
Line 389: Line 128:
 
*CDA R2 allows for extensions. It is not possible for a generic mapping to do the necessary datatype conversion as it doesn't know what input datatype is used and if the extension is still applicable in CDA R3. The mapping should be extended to include mapping of these extensions.
 
*CDA R2 allows for extensions. It is not possible for a generic mapping to do the necessary datatype conversion as it doesn't know what input datatype is used and if the extension is still applicable in CDA R3. The mapping should be extended to include mapping of these extensions.
 
*CDA R2 contains the abstract datatype ANY in a number of places, most notably in level 3 Observation and ObservationRange. If a document is instantiated then the mapping reads @xsi:type to determine the actual datatype. This mapping will fail and terminate if the actual datatype is not in use somewhere else in CDA already, e.g. SXCM_PQ.
 
*CDA R2 contains the abstract datatype ANY in a number of places, most notably in level 3 Observation and ObservationRange. If a document is instantiated then the mapping reads @xsi:type to determine the actual datatype. This mapping will fail and terminate if the actual datatype is not in use somewhere else in CDA already, e.g. SXCM_PQ.
*CDA R2 contains datatype CS in a number of cases where CDA R3 has datatype CD, e.g. ClinicalDocument.languageCode. Mapping currently does not yet add the appropriate @codeSystem.
+
*(Solved) CDA R2 contains datatype CS in a number of cases where CDA R3 has datatype CD, e.g. ClinicalDocument.languageCode. Mapping currently does not yet add the appropriate @codeSystem.
  
 
==Download mapping==
 
==Download mapping==
 +
 +
Download [[File:cdar2-to-cdar3-mapping.zip]] (last edited May 20, 2013) containing, among other things:
 +
*cda2_to_cdar3.xsl - the transformation
 +
*cdar2xsd_to_cdar3xsl.xsl (generates by cdar2_to_cdar3.xsl)
 +
*Sample1.CDAr2.xml / Sample1.CDAr3.xml - standard CCD example and conversion result
 +
*Sample2.CDAr2.xml / Sample2.CDAr3.xml - Dutch lab exmple with extensions and conversion result

Latest revision as of 13:11, 20 May 2013

Back to CDA_R3_Project

Introduction

This page contains information on how CDA R2 maps to CDA R3. The mapping is supported by an XSLT 2.0 transformation. Initial formal presentation of this mapping has been on Friday Q1 during the HL7 WGM 2013 in Phoenix.

Purpose

At first glance CDA R3 could look overwhelming because of the introduction of building blocks (CMETs) that expose the full RIM for participants and the level 3 entries. While it is true that CDA R3 allows for a lot of functionality out of the box, it should be relatively easy to reuse any CDA R2 implementation. It might be expected that by the time CDA R3 hits the market, a lot of vendors have investments in CDA R2. A mapping that leverages this investment should be helpful in making the transition.

Mapping

Most things can be copied as-is. Specials are listed below:

  1. Datatypes conversion needed from R1 to R2
  2. CDA R2 POCD_MT000040.AssignedAuthor.assignedAuthoringDevice is CDA R3 assignedDevice
  3. CDA R2 POCD_MT000040.Birthplace.place is CDA R3 birthplace
  4. CDA R2 POCD_MT000040.ClinicalDocument.participant is CDA R3 participation1
  5. CDA R2 POCD_MT000040.Component2.nonXMLBody is CDA R3 nonStructuredBody
  6. CDA R2 POCD_MT000040.Component4.organizer is CDA R3 observation
  7. CDA R2 POCD_MT000040.Consumable.manufacturedProduct is CDA R3 role
  8. CDA R2 POCD_MT000040.Entry.organizer is CDA R3 observation
  9. CDA R2 POCD_MT000040.EntryRelationship.organizer is CDA R3 observation
  10. CDA R2 POCD_MT000040.Organizer.component is CDA R3 outboundRelationship
  11. CDA R2 POCD_MT000040.Act.entryRelationship is CDA R3 outboundRelationship
  12. CDA R2 POCD_MT000040.Act.author is CDA R3 participation
  13. CDA R2 POCD_MT000040.Act.informant is CDA R3 participation
  14. CDA R2 POCD_MT000040.Act.participant is CDA R3 participation
  15. CDA R2 POCD_MT000040.Act.performer is CDA R3 participation
  16. CDA R2 POCD_MT000040.Act.specimen is CDA R3 participation
  17. CDA R2 POCD_MT000040.Act.subject is CDA R3 participation
  18. CDA R2 POCD_MT000040.Act.precondition is CDA R3 outboundRelationship
  19. CDA R2 POCD_MT000040.Act.reference is CDA R3 outboundRelationship
  20. CDA R2 POCD_MT000040.Encounter.entryRelationship is CDA R3 outboundRelationship
  21. CDA R2 POCD_MT000040.Encounter.author is CDA R3 participation
  22. CDA R2 POCD_MT000040.Encounter.informant is CDA R3 participation
  23. CDA R2 POCD_MT000040.Encounter.participant is CDA R3 participation
  24. CDA R2 POCD_MT000040.Encounter.performer is CDA R3 participation
  25. CDA R2 POCD_MT000040.Encounter.specimen is CDA R3 participation
  26. CDA R2 POCD_MT000040.Encounter.subject is CDA R3 participation
  27. CDA R2 POCD_MT000040.Encounter.precondition is CDA R3 outboundRelationship
  28. CDA R2 POCD_MT000040.Encounter.reference is CDA R3 outboundRelationship
  29. CDA R2 POCD_MT000040.HealthCareFacility.location is CDA R3 playingPlace
  30. CDA R2 POCD_MT000040.HealthCareFacility.serviceProviderOrganization is CDA R3 scopingOrganization
  31. CDA R2 POCD_MT000040.ManufacturedProduct.manufacturedLabeledDrug is CDA R3 playingManufacturedMaterial
  32. CDA R2 POCD_MT000040.ManufacturedProduct.manufacturedMaterial is CDA R3 playingManufacturedMaterial
  33. CDA R2 POCD_MT000040.ManufacturedProduct.manufacturerOrganization is CDA R3 scopingOrganization
  34. CDA R2 POCD_MT000040.Organizer.entryRelationship is CDA R3 outboundRelationship
  35. CDA R2 POCD_MT000040.Organizer.author is CDA R3 participation
  36. CDA R2 POCD_MT000040.Organizer.informant is CDA R3 participation
  37. CDA R2 POCD_MT000040.Organizer.participant is CDA R3 participation
  38. CDA R2 POCD_MT000040.Organizer.performer is CDA R3 participation
  39. CDA R2 POCD_MT000040.Organizer.specimen is CDA R3 participation
  40. CDA R2 POCD_MT000040.Organizer.subject is CDA R3 participation
  41. CDA R2 POCD_MT000040.Organizer.precondition is CDA R3 outboundRelationship
  42. CDA R2 POCD_MT000040.Organizer.reference is CDA R3 outboundRelationship
  43. CDA R2 POCD_MT000040.Observation.entryRelationship is CDA R3 outboundRelationship
  44. CDA R2 POCD_MT000040.Observation.author is CDA R3 participation
  45. CDA R2 POCD_MT000040.Observation.informant is CDA R3 participation
  46. CDA R2 POCD_MT000040.Observation.participant is CDA R3 participation
  47. CDA R2 POCD_MT000040.Observation.performer is CDA R3 participation
  48. CDA R2 POCD_MT000040.Observation.specimen is CDA R3 participation
  49. CDA R2 POCD_MT000040.Observation.subject is CDA R3 participation
  50. CDA R2 POCD_MT000040.Observation.precondition is CDA R3 outboundRelationship
  51. CDA R2 POCD_MT000040.Observation.reference is CDA R3 outboundRelationship
  52. CDA R2 POCD_MT000040.Observation.referenceRange is CDA R3 outboundRelationship
  53. CDA R2 POCD_MT000040.ObservationMedia.entryRelationship is CDA R3 outboundRelationship
  54. CDA R2 POCD_MT000040.ObservationMedia.author is CDA R3 participation
  55. CDA R2 POCD_MT000040.ObservationMedia.informant is CDA R3 participation
  56. CDA R2 POCD_MT000040.ObservationMedia.participant is CDA R3 participation
  57. CDA R2 POCD_MT000040.ObservationMedia.performer is CDA R3 participation
  58. CDA R2 POCD_MT000040.ObservationMedia.specimen is CDA R3 participation
  59. CDA R2 POCD_MT000040.ObservationMedia.subject is CDA R3 participation
  60. CDA R2 POCD_MT000040.ObservationMedia.precondition is CDA R3 outboundRelationship
  61. CDA R2 POCD_MT000040.ObservationMedia.reference is CDA R3 outboundRelationship
  62. CDA R2 POCD_MT000040.Participant2.participantRole is CDA R3 role
  63. CDA R2 POCD_MT000040.Performer2.assignedEntity is CDA R3 role
  64. CDA R2 POCD_MT000040.Precondition.criterion is CDA R3 observation
  65. CDA R2 POCD_MT000040.Procedure.entryRelationship is CDA R3 outboundRelationship
  66. CDA R2 POCD_MT000040.Procedure.author is CDA R3 participation
  67. CDA R2 POCD_MT000040.Procedure.informant is CDA R3 participation
  68. CDA R2 POCD_MT000040.Procedure.participant is CDA R3 participation
  69. CDA R2 POCD_MT000040.Procedure.performer is CDA R3 participation
  70. CDA R2 POCD_MT000040.Procedure.specimen is CDA R3 participation
  71. CDA R2 POCD_MT000040.Procedure.subject is CDA R3 participation
  72. CDA R2 POCD_MT000040.Procedure.precondition is CDA R3 outboundRelationship
  73. CDA R2 POCD_MT000040.Procedure.reference is CDA R3 outboundRelationship
  74. CDA R2 POCD_MT000040.Product.manufacturedProduct is CDA R3 role
  75. CDA R2 POCD_MT000040.Reference.externalAct is CDA R3 act
  76. CDA R2 POCD_MT000040.Reference.externalDocument is CDA R3 document
  77. CDA R2 POCD_MT000040.Reference.externalObservation is CDA R3 observation
  78. CDA R2 POCD_MT000040.Reference.externalProcedure is CDA R3 procedure
  79. CDA R2 POCD_MT000040.ReferenceRange.observationRange is CDA R3 observation
  80. CDA R2 POCD_MT000040.RegionOfInterest.entryRelationship is CDA R3 outboundRelationship
  81. CDA R2 POCD_MT000040.RegionOfInterest.author is CDA R3 participation
  82. CDA R2 POCD_MT000040.RegionOfInterest.informant is CDA R3 participation
  83. CDA R2 POCD_MT000040.RegionOfInterest.participant is CDA R3 participation
  84. CDA R2 POCD_MT000040.RegionOfInterest.performer is CDA R3 participation
  85. CDA R2 POCD_MT000040.RegionOfInterest.specimen is CDA R3 participation
  86. CDA R2 POCD_MT000040.RegionOfInterest.subject is CDA R3 participation
  87. CDA R2 POCD_MT000040.RegionOfInterest.precondition is CDA R3 outboundRelationship
  88. CDA R2 POCD_MT000040.RegionOfInterest.reference is CDA R3 outboundRelationship
  89. CDA R2 POCD_MT000040.Specimen.specimenRole is CDA R3 role
  90. CDA R2 POCD_MT000040.SpecimenRole.specimenPlayingEntity is CDA R3 playingEntity
  91. CDA R2 POCD_MT000040.SubstanceAdministration.entryRelationship is CDA R3 outboundRelationship
  92. CDA R2 POCD_MT000040.SubstanceAdministration.author is CDA R3 participation
  93. CDA R2 POCD_MT000040.SubstanceAdministration.informant is CDA R3 participation
  94. CDA R2 POCD_MT000040.SubstanceAdministration.participant is CDA R3 participation
  95. CDA R2 POCD_MT000040.SubstanceAdministration.performer is CDA R3 participation
  96. CDA R2 POCD_MT000040.SubstanceAdministration.specimen is CDA R3 participation
  97. CDA R2 POCD_MT000040.SubstanceAdministration.subject is CDA R3 participation
  98. CDA R2 POCD_MT000040.SubstanceAdministration.consumable is CDA R3 participation
  99. CDA R2 POCD_MT000040.SubstanceAdministration.precondition is CDA R3 outboundRelationship
  100. CDA R2 POCD_MT000040.SubstanceAdministration.reference is CDA R3 outboundRelationship
  101. CDA R2 POCD_MT000040.Supply.entryRelationship is CDA R3 outboundRelationship
  102. CDA R2 POCD_MT000040.Supply.author is CDA R3 participation
  103. CDA R2 POCD_MT000040.Supply.informant is CDA R3 participation
  104. CDA R2 POCD_MT000040.Supply.participant is CDA R3 participation
  105. CDA R2 POCD_MT000040.Supply.performer is CDA R3 participation
  106. CDA R2 POCD_MT000040.Supply.subject is CDA R3 participation
  107. CDA R2 POCD_MT000040.Supply.precondition is CDA R3 outboundRelationship
  108. CDA R2 POCD_MT000040.Supply.product is CDA R3 participation
  109. CDA R2 POCD_MT000040.Supply.specimen is CDA R3 participation
  110. CDA R2 POCD_MT000040.Supply.reference is CDA R3 outboundRelationship

Known issues

  • CDA R2 allows for extensions. It is not possible for a generic mapping to do the necessary datatype conversion as it doesn't know what input datatype is used and if the extension is still applicable in CDA R3. The mapping should be extended to include mapping of these extensions.
  • CDA R2 contains the abstract datatype ANY in a number of places, most notably in level 3 Observation and ObservationRange. If a document is instantiated then the mapping reads @xsi:type to determine the actual datatype. This mapping will fail and terminate if the actual datatype is not in use somewhere else in CDA already, e.g. SXCM_PQ.
  • (Solved) CDA R2 contains datatype CS in a number of cases where CDA R3 has datatype CD, e.g. ClinicalDocument.languageCode. Mapping currently does not yet add the appropriate @codeSystem.

Download mapping

Download File:Cdar2-to-cdar3-mapping.zip (last edited May 20, 2013) containing, among other things:

  • cda2_to_cdar3.xsl - the transformation
  • cdar2xsd_to_cdar3xsl.xsl (generates by cdar2_to_cdar3.xsl)
  • Sample1.CDAr2.xml / Sample1.CDAr3.xml - standard CCD example and conversion result
  • Sample2.CDAr2.xml / Sample2.CDAr3.xml - Dutch lab exmple with extensions and conversion result