# CIEL: Duplicate names in 1.11.x for Eparinn & Gratel in 'ht' locale

**URL:** <https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632>\
**Category:** Terminology\
**Tags:** release-management, releases\
**Created:** [April 4, 2016, 4:00pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632 "2016-04-04T16:00:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdegraft](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jdegraft/32/1049_2.png) [@jdegraft](https://talk.openmrs.org/u/jdegraft)\
**Post date:** [April 4, 2016, 4:00pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/1 "2016-04-04T16:00:34Z")

</div>

@akanter, there seems to be a problem with the CIEL for OpenMRS 1.11.x.

Both Eparinn and Gratel have duplicate entries in concept\_name table in the ‘ht’ locale. This is causing concept validation errors when trying to export concept packages with the meta data sharing module.

mysql\> select concept\_id, name, locale, date\_created, concept\_name\_id, uuid, concept\_name\_type from concept\_name where name= “eparinn”; ±-----------±--------±-------±--------------------±----------------±-------------------------------------±------------------+ | concept\_id | name | locale | date\_created | concept\_name\_id | uuid | concept\_name\_type | ±-----------±--------±-------±--------------------±----------------±-------------------------------------±------------------+ | 162305 | Eparinn | ht | 2015-11-05 01:56:15 | 134677 | 134677BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB | FULLY\_SPECIFIED | | 77413 | Eparinn | ht | 2015-12-30 19:50:22 | 135018 | 135018BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB | FULLY\_SPECIFIED | ±-----------±--------±-------±--------------------±----------------±-------------------------------------±------------------+ 2 rows in set (0.00 sec)

mysql\> select concept\_id, name, locale, date\_created, concept\_name\_id, uuid, concept\_name\_type from concept\_name where name= “gratel”; ±-----------±--------±-------±--------------------±----------------±-------------------------------------±------------------+ | concept\_id | name | locale | date\_created | concept\_name\_id | uuid | concept\_name\_type | ±-----------±--------±-------±--------------------±----------------±-------------------------------------±------------------+ | 136455 | Gratèl | ht | 2015-11-05 01:40:19 | 134641 | 134641BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB | FULLY\_SPECIFIED | | 512 | Gratèl | ht | 2015-11-05 01:46:14 | 134644 | 134644BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB | FULLY\_SPECIFIED | ±-----------±--------±-------±--------------------±----------------±-------------------------------------±------------------+ 2 rows in set (0.01 sec)

[Full concept\_name table](http://pastebin.com/enNyFvfd)

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [April 4, 2016, 5:45pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/2 "2016-04-04T17:45:33Z")

</div>

@jdegraft, can you please show Andy the specific errors directly in this thread, so that he doesn’t have to click on any links or scroll through any log output?

---

<div class="post-metadata">

**Author:** ![akanter](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akanter/32/331_2.png) [@akanter](https://talk.openmrs.org/u/akanter)\
**Post date:** [April 4, 2016, 7:19pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/3 "2016-04-04T19:19:50Z")

</div>

I got the two examples. It appears that this is an issue where the Haitian term was applied to both the drug and the drug class. I will remove them from the classes.

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [April 4, 2016, 7:27pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/4 "2016-04-04T19:27:32Z")

</div>

@akanter, would you release a new CIEL version in the near future? Or should @jdegraft manually delete two names/synonyms from the dictionary?

---

<div class="post-metadata">

**Author:** ![akanter](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akanter/32/331_2.png) [@akanter](https://talk.openmrs.org/u/akanter)\
**Post date:** [April 4, 2016, 7:52pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/5 "2016-04-04T19:52:07Z")

</div>

I think I would just retire those concept names from 162305 and 136455

---

<div class="post-metadata">

**Author:** ![akanter](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akanter/32/331_2.png) [@akanter](https://talk.openmrs.org/u/akanter)\
**Post date:** [April 4, 2016, 8:24pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/6 "2016-04-04T20:24:44Z")

</div>

I voided the itching name and changed the heparins name to klas eparinn.

---

<div class="post-metadata">

**Author:** ![jdegraft](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jdegraft/32/1049_2.png) [@jdegraft](https://talk.openmrs.org/u/jdegraft)\
**Post date:** [April 13, 2016, 12:25am UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/7 "2016-04-13T00:25:20Z")

</div>

@akanter, version 1.11.x of CIEL in the dropbox is still showing the error.

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [April 13, 2016, 12:47am UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/8 "2016-04-13T00:47:12Z")

</div>

@jdegraft, Andy was saying in the previous messages that he isn’t going to actually do a release with these fixes, but that we should clean them up manually.

He says:

> [@akanter](#):
>
> I voided the itching name and changed the heparins name to klas eparinn.

Is it enough to make this change on the mdsbuilder server? (Do it carefully, so as not to change anything else…)

---

<div class="post-metadata">

**Author:** ![jdegraft](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jdegraft/32/1049_2.png) [@jdegraft](https://talk.openmrs.org/u/jdegraft)\
**Post date:** [April 13, 2016, 1:12am UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/9 "2016-04-13T01:12:25Z")

</div>

I can remove eparinn and gratel in concept\_name in locale ht, but this will effectively remove them in ht. I could also remove the 2nd entry for both, which would leave one entry in ht.

In other words, eparinn refers to itching and rash in ht. I could remove rash which would leave eparinn in ht referring to itching. I would have to try it and see if this works.

This seems to be working.

However, additional duplicates for the record, 120148, 117399 in es

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [April 13, 2016, 2:09am UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/10 "2016-04-13T02:09:21Z")

</div>

@jdegraft, I understand that

- on 162305 you should have changed “eparinn” to “klas eparinn”
- on 136455 you should void the name in the ht locale (yes, this means the concept will have no names in the ht locale)

---

<div class="post-metadata">

**Author:** ![jdegraft](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jdegraft/32/1049_2.png) [@jdegraft](https://talk.openmrs.org/u/jdegraft)\
**Post date:** [April 13, 2016, 2:34am UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/11 "2016-04-13T02:34:54Z")

</div>

@darius, sorry I missed that… There are so many duplicates it is difficult to go back. In all cases only one duplicate was removed though. I have left the package traces in the log. I am working on the last package but I should be finished soon.

---

<div class="post-metadata">

**Author:** ![akanter](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akanter/32/331_2.png) [@akanter](https://talk.openmrs.org/u/akanter)\
**Post date:** [April 13, 2016, 3:09am UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/12 "2016-04-13T03:09:30Z")

</div>

This is correct. I haven’t done a release since fixing those items as @darius just described. They will be included in the next release which is planned for the beginning of next month.

---

<div class="post-metadata">

**Author:** ![judy](https://talk.openmrs.org/user_avatar/talk.openmrs.org/judy/32/2072_2.png) [@judy](https://talk.openmrs.org/u/judy)\
**Post date:** [April 13, 2016, 9:11pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/13 "2016-04-13T21:11:31Z")

</div>

What other duplicates did you get ?

---

<div class="post-metadata">

**Author:** ![jdegraft](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jdegraft/32/1049_2.png) [@jdegraft](https://talk.openmrs.org/u/jdegraft)\
**Post date:** [April 14, 2016, 9:52am UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/14 "2016-04-14T09:52:27Z")

</div>

Here are the CIEL duplicates: [CIEL Errors](http://pastebin.com/Wy2BAqqD)

@raff, these could also be problems with mds validation. What is interesting is after I manually removed the duplicates as best as I could and mds exported the packages successfully with no validation errors, I got an error building [referenceapplicationmetadata](http://pastebin.com/XAb0wFKh) with the headers of the mds exported packages. Clearly the two modules validate concepts differently.

---

<div class="post-metadata">

**Author:** ![judy](https://talk.openmrs.org/user_avatar/talk.openmrs.org/judy/32/2072_2.png) [@judy](https://talk.openmrs.org/u/judy)\
**Post date:** [April 14, 2016, 6:17pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/15 "2016-04-14T18:17:21Z")

</div>

Thanks for the list

Will fix this for the next release

Let me know if you come up with other errors

Also it would be good to have a list of all the validation rules so we make sure we are running them on our end

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [April 14, 2016, 7:04pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/16 "2016-04-14T19:04:27Z")

</div>

@judy, this is a blocker for being able to release Reference Application 2.4. Do you think that you all can do a release soon-ish that has these fixes? (If it were just fixing 2 concept names, I was okay with having James do this directly, but with 10+ changes I don’t feel comfortable releasing a manually-patched version of CIEL.)

@jdegraft, how sure are you that these are all the errors?

---

<div class="post-metadata">

**Author:** ![jdegraft](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jdegraft/32/1049_2.png) [@jdegraft](https://talk.openmrs.org/u/jdegraft)\
**Post date:** [April 14, 2016, 11:04pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/17 "2016-04-14T23:04:48Z")

</div>

I am sure, the exports completed after these errors were resolved.

---

<div class="post-metadata">

**Author:** ![akanter](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akanter/32/331_2.png) [@akanter](https://talk.openmrs.org/u/akanter)\
**Post date:** [April 15, 2016, 4:48pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/18 "2016-04-15T16:48:43Z")

</div>

I think we should get this out this weekend. I am surprised that they haven’t come up before.

---

<div class="post-metadata">

**Author:** ![akanter](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akanter/32/331_2.png) [@akanter](https://talk.openmrs.org/u/akanter)\
**Post date:** [April 15, 2016, 11:01pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/19 "2016-04-15T23:01:44Z")

</div>

Judy, these seem familiar. I think we resolved them before. Not sure how they got back in.

---

<div class="post-metadata">

**Author:** ![judy](https://talk.openmrs.org/user_avatar/talk.openmrs.org/judy/32/2072_2.png) [@judy](https://talk.openmrs.org/u/judy)\
**Post date:** [April 15, 2016, 11:08pm UTC](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632/20 "2016-04-15T23:08:13Z")

</div>

I am investigating the cause of how they got back in

I have a document for you to review (for all the duplicates i found and for the causes )

[Next page](https://talk.openmrs.org/t/ciel-duplicate-names-in-1-11-x-for-eparinn-gratel-in-ht-locale/5632.md?page=2)
