# openEHR Concept Ids

**URL:** <https://discourse.openehr.org/t/openehr-concept-ids/14892>\
**Category:** Implementers (archive)\
**Created:** [17 March 2009 08:01 UTC](https://discourse.openehr.org/t/openehr-concept-ids/14892 "2009-03-17T08:01:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Cook2](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/t/57b2e6/32.png) [@Tim\_Cook2](https://discourse.openehr.org/u/Tim_Cook2)\
**Post date:** [17 March 2009 08:01 UTC](https://discourse.openehr.org/t/openehr-concept-ids/14892/1 "2009-03-17T08:01:52Z")

</div>

Hi All,

I'd like feedback on what other implementers think of the fact that we  
have duplicate concept ids in the openEHR terminology.

For example:  
In the version lifecycle state group deleted is 523  
In the audit change type deleted is 523

Now one can certainly argue that 'deleted' is the same no matter what  
group it is in. But in archetypes the concept id will appear as just  
[openehr::523]

Having duplicate concept ids unnecessarily complicates the application  
code because before you look up the code from the archetype you have to  
figure out which group you are concerned with.

There are plenty of numbers in our number system to make group+concept  
unique by concept id. I think we should modify the openEHR terminology  
to have unique concept Ids.

OR......create another group called generic actions (or something  
similar) and put these duplicates in their own group so we still end up  
with unique ids. Though I don't think this latter suggestion is a good  
one; for many reasons.

Your thoughts?

Cheers,  
Tim

---

<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:** [20 March 2009 05:10 UTC](https://discourse.openehr.org/t/openehr-concept-ids/14892/2 "2009-03-20T05:10:00Z")

</div>

Hi Tim

I would argue that terminology should be seen in context, in this case a  
name value pair. These are statements about the state or change of an  
archetype and I do not see why you can't get the context as well?

Maybe I do not understand exactly what you mean.

Cheers, Sam

---

<div class="post-metadata">

**Author:** ![thomas.beale](https://discourse.openehr.org/user_avatar/discourse.openehr.org/thomas.beale/32/35_2.png) [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Post date:** [20 March 2009 11:00 UTC](https://discourse.openehr.org/t/openehr-concept-ids/14892/3 "2009-03-20T11:00:08Z")

</div>

I agree with you Tim, I don't know why this code is being used in two  
places - that should never be the case. The two meanings of 'deleted'  
are not identical here anyway. I would think we should fix this.

- thomas

Tim Cook wrote:

---

<div class="post-metadata">

**Author:** ![Tim\_Cook2](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/t/57b2e6/32.png) [@Tim\_Cook2](https://discourse.openehr.org/u/Tim_Cook2)\
**Post date:** [20 March 2009 11:41 UTC](https://discourse.openehr.org/t/openehr-concept-ids/14892/4 "2009-03-20T11:41:35Z")

</div>

> Hi Tim
> 
> I would argue that terminology should be seen in context, in this case a  
> name value pair. These are statements about the state or change of an  
> archetype and I do not see why you can't get the context as well?
> 
> Maybe I do not understand exactly what you mean.

Hi Sam,

Thanks.

I believe you have done a very good job of helping me make my case.  
Since they are in two different contexts, then they are two different  
concepts. This should yield two different Concept IDs.

Cheers,  
--Tim
