# Testing MergePatientData Module

**URL:** https://talk.openmrs.org/t/testing-mergepatientdata-module/19242
**Category:** Development
**Created:** [August 1, 2018, 4:23pm UTC](https://talk.openmrs.org/t/testing-mergepatientdata-module/19242 "2018-08-01T16:23:50Z")
**Posts on this page:** 1
**Showing post:** 31

<div class="post-metadata">

### Author: ![samuel34](https://talk.openmrs.org/user_avatar/talk.openmrs.org/samuel34/32/17813_2.png) [@samuel34](https://talk.openmrs.org/u/samuel34)
#### Post date: [August 6, 2018, 9:05pm UTC](https://talk.openmrs.org/t/testing-mergepatientdata-module/19242/31 "2018-08-06T21:05:31Z")

</div>

Here are my thoughts.

Since we are not using REST injections, we should export all the Concept data. But while importing, we first make a sanity check to see whether it already exists before we Merge a Concept otherwise I don’t see away to distinguish between Customized Concepts and General Concepts. But Exporting Concepts makes the encrypted file extremely large so we should fix

> [@Overriding the default multipart file size](https://talk.openmrs.org/t/overriding-the-default-multipart-file-size/19193?source_topic_id=18024):
>
> Hi, With the [mergepatientdata](https://github.com/samuelmale/openmrs-module-mergepatientdata) module, you can export a good number of patient and encounter, I dowloaded over 100 patients with their encounter and these made up a file of around 89mbs, on trying to upload this file file to another server, I hit upon this org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size of 75000000 bytes exceeded; nested exception is org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException I thought by default the spring mu…

cc: @ssmusoke, @dkayiwa

---

_[View the full topic](https://talk.openmrs.org/t/testing-mergepatientdata-module/19242)._
