# Error while Importing patient data

**URL:** <https://community.open-emr.org/t/error-while-importing-patient-data/12861>\
**Category:** Management and Administration\
**Created:** [September 18, 2019, 12:13pm UTC](https://community.open-emr.org/t/error-while-importing-patient-data/12861 "2019-09-18T12:13:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noor](https://community.open-emr.org/letter_avatar_proxy/v4/letter/n/c67d28/32.png) [@Noor](https://community.open-emr.org/u/Noor)\
**Post date:** [September 18, 2019, 12:13pm UTC](https://community.open-emr.org/t/error-while-importing-patient-data/12861/1 "2019-09-18T12:13:17Z")

</div>

I’m trying to import patient data into openEMR

So first, I have tried to export the patient data(CCR) and re-upload it again into openEMR

Steps i took for re-uploading

For exporting:-

-\>selected a patient\>\>report\>\>download(CCR of patient)  
-\>deleted the patient in openEMR

For Importing:-

-\>miscellaneous\>\>new document\>\>uploaded the same file(downloaded earlier) in CCR module

This is when i got the error  
I got this error “The system does not permit uploading files with MIME content type - text/xml.”

I am attaching a screenshot of it below.

 ![errorpic](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/6/6e6b070ffbb0611e112e2bfce04d71b5203c70bf.png)

Can anyone help me import patient data into OpenEMR ?

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [September 18, 2019, 12:19pm UTC](https://community.open-emr.org/t/error-while-importing-patient-data/12861/2 "2019-09-18T12:19:24Z")

</div>

hi @Noor, usually start with a .csv import using a tool like phpmyadmin, you can search the forum for similar threads like, [Need to find a way to import patient data](https://community.open-emr.org/t/need-to-find-a-way-to-import-patient-data/10535/4)

---

<div class="post-metadata">

**Author:** ![Noor](https://community.open-emr.org/letter_avatar_proxy/v4/letter/n/c67d28/32.png) [@Noor](https://community.open-emr.org/u/Noor)\
**Post date:** [September 18, 2019, 12:33pm UTC](https://community.open-emr.org/t/error-while-importing-patient-data/12861/3 "2019-09-18T12:33:17Z")

</div>

thanks for the reply i will definitely look into that. But is there any way to import patient data using OpenEMR.

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [September 18, 2019, 12:35pm UTC](https://community.open-emr.org/t/error-while-importing-patient-data/12861/4 "2019-09-18T12:35:20Z")

</div>

there is a CCDA import, [How to import patient data into Open EMR](https://community.open-emr.org/t/how-to-import-patient-data-into-open-emr/11997)

---

<div class="post-metadata">

**Author:** ![Noor](https://community.open-emr.org/letter_avatar_proxy/v4/letter/n/c67d28/32.png) [@Noor](https://community.open-emr.org/u/Noor)\
**Post date:** [September 18, 2019, 12:40pm UTC](https://community.open-emr.org/t/error-while-importing-patient-data/12861/5 "2019-09-18T12:40:18Z")

</div>

Thanks again for the reply i am new to this. so, where can i find CCDA import and is it possible to get a sample file for this

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [September 18, 2019, 12:57pm UTC](https://community.open-emr.org/t/error-while-importing-patient-data/12861/6 "2019-09-18T12:57:47Z")

</div>

you should be able to find a sample ccda on the web, here’s the first return from duckduckgo, [GitHub - chb/sample\_ccdas: Repository of Sample CCDA Documents -- all comers welcome!](https://github.com/chb/sample_ccdas)

install the care coordination module under the modules menu in openemr
