# Error while importing openElis Bahmni provided concepts to local-setup.

**URL:** <https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034>\
**Category:** Bahmni\
**Tags:** metadata, initializer, concept\
**Created:** [December 17, 2018, 7:49am UTC](https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034 "2018-12-17T07:49:51Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)\
**Post date:** [December 17, 2018, 7:49am UTC](https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034/1 "2018-12-17T07:49:51Z")

</div>

I’m using reference application 2.1.2.Bahmni team provided the csv which contains concepts related to Laboratory information system.I want to import all those conceps to my local environment.I try with data exchange module and metaData.I’m getting the error.

# HTTP Status 500 – Internal Server Error

I want to ask is it possible to import csv concepts to local environments.

---

<div class="post-metadata">

**Author:** ![mksd](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksd/32/11729_2.png) [@mksd](https://talk.openmrs.org/u/mksd)\
**Post date:** [December 17, 2018, 9:28am UTC](https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034/2 "2018-12-17T09:28:17Z")

</div>

Hi @naveed1228,

Did you see the [Initializer module](https://github.com/mekomsolutions/openmrs-module-initializer)? In particular [this](https://github.com/mekomsolutions/openmrs-module-initializer/blob/master/readme/concepts.md)?

---

<div class="post-metadata">

**Author:** ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)\
**Post date:** [December 17, 2018, 10:01am UTC](https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034/3 "2018-12-17T10:01:42Z")

</div>

> [@mksd](#):
>
> this

Sorry will you please explain how I can use this for my problem?

---

<div class="post-metadata">

**Author:** ![mksd](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksd/32/11729_2.png) [@mksd](https://talk.openmrs.org/u/mksd)\
**Post date:** [December 17, 2018, 10:03am UTC](https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034/4 "2018-12-17T10:03:37Z")

</div>

Didn’t you say that you needed to load concepts into OpenMRS using a CSV format?

---

<div class="post-metadata">

**Author:** ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)\
**Post date:** [December 17, 2018, 10:20am UTC](https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034/5 "2018-12-17T10:20:48Z")

</div>

Yes,I said this I want to ask do I changed the header as provided in your example,or should I installed the module and it will do it by itself?

---

<div class="post-metadata">

**Author:** ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)\
**Post date:** [December 17, 2018, 10:21am UTC](https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034/6 "2018-12-17T10:21:30Z")

</div>

[Panels\_concept\_sets.csv](https://talk.openmrs.org/uploads/default/original/2X/1/1c045bd26ed611484c417d37de14f1e8da67c9ee.csv) (3.6 KB)

I have concept in this format?Please provide begginer level detail don’t have much experience with dealing with concepts.

---

<div class="post-metadata">

**Author:** ![mksd](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksd/32/11729_2.png) [@mksd](https://talk.openmrs.org/u/mksd)\
**Post date:** [December 17, 2018, 10:39am UTC](https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034/7 "2018-12-17T10:39:08Z")

</div>

I don’t know what your bottom line is so I can’t tell whether you need/want the Initializer at this juncture.

Coming back to your CSV:

- Where did you get this CSV?
- What errors did you observe? Error 500 means there should be something more verbose in the OpenMRS log file, did you look at it?

---

<div class="post-metadata">

**Author:** ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)\
**Post date:** [December 17, 2018, 11:00am UTC](https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034/8 "2018-12-17T11:00:34Z")

</div>

[https://bahmni.atlassian.net/wiki/spaces/BAH/pages/18415840/Configure+Lab+Data](https://bahmni.atlassian.net/wiki/spaces/BAH/pages/18415840/Configure+Lab+Data)

The files are provided by bahmni team.You can look at them.

Pastebin for the log [https://pastebin.com/t8E8WkA4](https://pastebin.com/t8E8WkA4)

---

<div class="post-metadata">

**Author:** ![mksd](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksd/32/11729_2.png) [@mksd](https://talk.openmrs.org/u/mksd)\
**Post date:** [December 17, 2018, 11:38am UTC](https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034/9 "2018-12-17T11:38:15Z")

</div>

If you’re saying that the sample file doesn’t load up, are you in then in a position to do the troubleshooting work of gathering the log info?

---

<div class="post-metadata">

**Author:** ![naveed1228](https://talk.openmrs.org/letter_avatar/naveed1228/32/5_5575768a8748004e209b776fc1b2916d.png) [@naveed1228](https://talk.openmrs.org/u/naveed1228)\
**Post date:** [December 17, 2018, 11:52am UTC](https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034/10 "2018-12-17T11:52:01Z")

</div>

Yes,I’m looking a way to upload this csv file.

---

<div class="post-metadata">

**Author:** ![mksd](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksd/32/11729_2.png) [@mksd](https://talk.openmrs.org/u/mksd)\
**Post date:** [December 17, 2018, 12:33pm UTC](https://talk.openmrs.org/t/error-while-importing-openelis-bahmni-provided-concepts-to-local-setup/21034/11 "2018-12-17T12:33:17Z")

</div>

Not the CSV file, the OpenMRS log file at **/opt/openmrs/openmrs.log**. Can you look at what’s being recorded in there at the moment when the import fails? And share that on [hastebin](https://hastebin.com/).
