# Mappings between openEHR and HL7 CDA

**URL:** https://discourse.openehr.org/t/mappings-between-openehr-and-hl7-cda/15079
**Category:** Clinical (archive)
**Created:** [23 August 2011 07:19 UTC](https://discourse.openehr.org/t/mappings-between-openehr-and-hl7-cda/15079 "2011-08-23T07:19:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Wajahat\_Ali](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/w/977dab/32.png) [@Wajahat\_Ali](https://discourse.openehr.org/u/Wajahat_Ali)
#### Post date: [23 August 2011 07:19 UTC](https://discourse.openehr.org/t/mappings-between-openehr-and-hl7-cda/15079/1 "2011-08-23T07:19:02Z")

</div>

I am working on running an end to end scenario between HL7 CDA and openEHR. For the very said reason I have performed ontology mappings of the two standards ontologies for the mapping file to be generated. Other than the mapping file, I found few concepts of HL7 CDA schema to be mapped with openEHR concepts. The list of the mappings are (Left hand side are HL7 CDA concepts while right hand side concepts are of open EHR)

1. Author _equals_ Related Party
2. CDA Code _equals_ Archetype Details
3. CDA ID _equals_ UID
4. CDA Title _equals_ Name
5. Custodian _equals_ Participation
6. Data Enterer _equals_ Party Reference
7. Patient Role _equals_ Role

I need validity of the mappings, if anyone can evaluate the mappings and if wrong kindly guide me by providing me correct counterpart entities. I would also like guidance from an expert for validity of future mappings as well. I will be grateful for support in this regard.

Best Regards,  
Wajahat Ali

---

<div class="post-metadata">

### Author: ![ian.mcnicoll](https://discourse.openehr.org/user_avatar/discourse.openehr.org/ian.mcnicoll/32/4430_2.png) [@ian.mcnicoll](https://discourse.openehr.org/u/ian.mcnicoll)
#### Post date: [23 August 2011 08:18 UTC](https://discourse.openehr.org/t/mappings-between-openehr-and-hl7-cda/15079/2 "2011-08-23T08:18:13Z")

</div>

Hi Wajahat,

I think this is a more accurate mapping:

1. Author equals COMPOSITION/composer

2. CDA Code equals "Document Type" - no direct RM attribute  
It could be  
&nbsp;&nbsp;a) Hard-wired into transforms from openEHR documents  
&nbsp;&nbsp;&nbsp;b) Represented as a an archetyped node in a COMPOSITION Report archetype  
&nbsp;&nbsp;&nbsp;c) Carried as a term Mapping on the Document Name i.e  
Composition/name/mappings/code\_mapping ..

3. CDA ID equals COMPOSITION/UID .

4. CDA Title equals COMPOSITION/name (as DV\_CODED\_TEXT)

5. Custodian equals  
&nbsp;&nbsp;&nbsp;Participation or  
&nbsp;&nbsp;&nbsp;COMPOSITION/context/health\_care\_facility or COMPOSITION/composer

6. Data Enterer equals CONTRIBUTION/version/audit/commiter

7. Patient Role equals Role

Regards,

Ian  
Dr Ian McNicoll  
office +44 (0)1536 414 994  
fax +44 (0)1536 516317  
mobile +44 (0)775 209 7859  
skype ianmcnicoll  
ian.mcnicoll@oceaninformatics.com

Clinical Modelling Consultant, Ocean Informatics, UK  
openEHR Clinical Knowledge Editor www.openehr.org/knowledge  
Honorary Senior Research Associate, CHIME, UCL  
BCS Primary Health Care www.phcsg.org

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [23 August 2011 08:52 UTC](https://discourse.openehr.org/t/mappings-between-openehr-and-hl7-cda/15079/3 "2011-08-23T08:52:28Z")

</div>

Let's publish this  
Sam

---

<div class="post-metadata">

### Author: ![pablo](https://discourse.openehr.org/user_avatar/discourse.openehr.org/pablo/32/3505_2.png) [@pablo](https://discourse.openehr.org/u/pablo)
#### Post date: [23 August 2011 14:35 UTC](https://discourse.openehr.org/t/mappings-between-openehr-and-hl7-cda/15079/4 "2011-08-23T14:35:37Z")

</div>

Hi,

For 2., if a template represents a document, then archetypeDetails.templateId can be considered as the “document code”.

Cheers,  
Pablo.
