# Exchanging data information between independent OpenMRS platforms

**URL:** https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811
**Category:** Uncategorized
**Created:** [August 9, 2017, 11:48am UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811 "2017-08-09T11:48:29Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![charchabil](https://talk.openmrs.org/user_avatar/talk.openmrs.org/charchabil/32/5498_2.png) [@charchabil](https://talk.openmrs.org/u/charchabil)
#### Post date: [August 9, 2017, 11:48am UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/1 "2017-08-09T11:48:30Z")

</div>

Hi everyone, Can you Pleeeeeeaaase help me and tell me how to send/exchange messages, information or patient data between independant OpenMRS platforms (each OpenMRS in a Computer Station) Pleaaase. I need an answer please. Thank You

---

<div class="post-metadata">

### Author: ![tendomart](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tendomart/32/6753_2.png) [@tendomart](https://talk.openmrs.org/u/tendomart)
#### Post date: [August 9, 2017, 2:17pm UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/2 "2017-08-09T14:17:19Z")

</div>

@charchabilHave you tried this [https://wiki.openmrs.org/display/docs/Metadata+Deploy+Module](https://wiki.openmrs.org/display/docs/Metadata+Deploy+Module)

and [https://wiki.openmrs.org/display/docs/Metadata+Sharing+Module](https://wiki.openmrs.org/display/docs/Metadata+Sharing+Module)

---

<div class="post-metadata">

### Author: ![ball](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ball/32/277_2.png) [@ball](https://talk.openmrs.org/u/ball)
#### Post date: [August 9, 2017, 2:32pm UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/3 "2017-08-09T14:32:56Z")

</div>

Metadata sharing is only for metadata (concepts, encounter types, forms, etc). There are some other solutions for @charchabil for patient data. @cioan?

Ellen

---

<div class="post-metadata">

### Author: ![tendomart](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tendomart/32/6753_2.png) [@tendomart](https://talk.openmrs.org/u/tendomart)
#### Post date: [August 9, 2017, 2:35pm UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/4 "2017-08-09T14:35:04Z")

</div>

@ball any more suggestions,? and oh sorry i think Metadata Deploy Module is for devs

---

<div class="post-metadata">

### Author: ![cioan](https://talk.openmrs.org/user_avatar/talk.openmrs.org/cioan/32/8061_2.png) [@cioan](https://talk.openmrs.org/u/cioan)
#### Post date: [August 9, 2017, 2:55pm UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/5 "2017-08-09T14:55:22Z")

</div>

For the PIH EMR in Haiti we created couple Angular apps that allowed us to [export](https://github.com/PIH/openmrs-module-pihcore/blob/master/omod/src/main/webapp/pages/export/exportPatients.gsp) a patient data(demographics, visits , encounters and obs) to a JSON file. Then we used another [import](https://github.com/PIH/openmrs-module-pihcore/blob/master/omod/src/main/webapp/pages/export/importPatients.gsp) page to import that patient record into a different EMR system. For both operations, the export and import we used the OpenMRS REST API. The big assumption is that the system metadata is the same on the source and the destination EMR.

---

<div class="post-metadata">

### Author: ![tendomart](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tendomart/32/6753_2.png) [@tendomart](https://talk.openmrs.org/u/tendomart)
#### Post date: [August 14, 2017, 3:57pm UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/6 "2017-08-14T15:57:35Z")

</div>

@cioan did you guys employ this also [https://github.com/openmrs/openmrs-module-dataexchange](https://github.com/openmrs/openmrs-module-dataexchange)?@charchabil did you find a solution to your problem and , did you also look at [https://github.com/openmrs/openmrs-module-dataexchange](https://github.com/openmrs/openmrs-module-dataexchange)

---

<div class="post-metadata">

### Author: ![charchabil](https://talk.openmrs.org/user_avatar/talk.openmrs.org/charchabil/32/5498_2.png) [@charchabil](https://talk.openmrs.org/u/charchabil)
#### Post date: [August 15, 2017, 10:07am UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/7 "2017-08-15T10:07:39Z")

</div>

no unfortunatetly , but i’ll try the dataexchange module Thank you @tendomart

---

<div class="post-metadata">

### Author: ![charchabil](https://talk.openmrs.org/user_avatar/talk.openmrs.org/charchabil/32/5498_2.png) [@charchabil](https://talk.openmrs.org/u/charchabil)
#### Post date: [August 16, 2017, 12:11pm UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/8 "2017-08-16T12:11:31Z")

</div>

Hi @tendomarti tried to convert what i found in the link about the Dataexchange Module to a .omod file, but i had problems while doing this. The errors are attached below : OptiPlex-3020:~/Downloads/openmrs-module-dataexchange-master$ mvn clean install -DskipTest [INFO] Scanning for projects… [WARNING] The POM for org.openmrs.maven.plugins:maven-openmrs-plugin:jar:1.0.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Data Exchange Module [INFO] Data Exchange Module API [INFO] Data Exchange Module OMOD [INFO]  
[INFO] ------------------------------------------------------------------------ [INFO] Building Data Exchange Module 1.3.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ dataexchange — [INFO] [INFO] — maven-install-plugin:2.4:install (default-install) @ dataexchange — [INFO] Installing /home/ath/Downloads/openmrs-module-dataexchange-master/pom.xml to /home/ath/.m2/repository/org/openmrs/module/dataexchange/1.3.3-SNAPSHOT/dataexchange-1.3.3-SNAPSHOT.pom [INFO]  
[INFO] ------------------------------------------------------------------------ [INFO] Building Data Exchange Module API 1.3.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ dataexchange-api — [INFO] Deleting /home/ath/Downloads/openmrs-module-dataexchange-master/api/target [INFO] [INFO] — maven-resources-plugin:2.6:resources (default-resources) @ dataexchange-api — [INFO] Using ‘UTF-8’ encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [INFO] — maven-compiler-plugin:3.1:compile (default-compile) @ dataexchange-api — [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /home/ath/Downloads/openmrs-module-dataexchange-master/api/target/classes [INFO] [INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ dataexchange-api — [INFO] Using ‘UTF-8’ encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/ath/Downloads/openmrs-module-dataexchange-master/api/src/test/resources [INFO] [INFO] — maven-compiler-plugin:3.1:testCompile (default-testCompile) @ dataexchange-api — [INFO] No sources to compile [INFO] [INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ dataexchange-api — [INFO] No tests to run. [INFO] [INFO] — maven-jar-plugin:2.4:jar (default-jar) @ dataexchange-api — [INFO] Building jar: /home/ath/Downloads/openmrs-module-dataexchange-master/api/target/dataexchange-api-1.3.3-SNAPSHOT.jar [INFO] [INFO] — maven-install-plugin:2.4:install (default-install) @ dataexchange-api — [INFO] Installing /home/ath/Downloads/openmrs-module-dataexchange-master/api/target/dataexchange-api-1.3.3-SNAPSHOT.jar to /home/ath/.m2/repository/org/openmrs/module/dataexchange-api/1.3.3-SNAPSHOT/dataexchange-api-1.3.3-SNAPSHOT.jar [INFO] Installing /home/ath/Downloads/openmrs-module-dataexchange-master/api/pom.xml to /home/ath/.m2/repository/org/openmrs/module/dataexchange-api/1.3.3-SNAPSHOT/dataexchange-api-1.3.3-SNAPSHOT.pom [INFO]  
[INFO] ------------------------------------------------------------------------ [INFO] Building Data Exchange Module OMOD 1.3.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.openmrs.maven.plugins:maven-openmrs-plugin:jar:1.0.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Data Exchange Module … SUCCESS [0.228 s] [INFO] Data Exchange Module API … SUCCESS [1.536 s] [INFO] Data Exchange Module OMOD … FAILURE [0.001 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.905 s [INFO] Finished at: 2017-08-15T11:45:41+01:00 [INFO] Final Memory: 25M/342M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.openmrs.maven.plugins:maven-openmrs-plugin:jar:1.0.1: 1 problem was encountered while building the effective model [ERROR] [FATAL] Non-parseable POM /home/ath/.m2/repository/org/openmrs/maven/plugins/maven-openmrs-plugin/1.0.1/maven-openmrs-plugin-1.0.1.pom: end tag name must match start tag name

* * *
 from line 7 (position: TEXT seen …\n… @9:8) @ line 9, column 8 [ERROR] -\> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] [http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException](http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException)

Would you please helpme with this! Thank you

---

<div class="post-metadata">

### Author: ![tendomart](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tendomart/32/6753_2.png) [@tendomart](https://talk.openmrs.org/u/tendomart)
#### Post date: [August 16, 2017, 1:43pm UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/9 "2017-08-16T13:43:01Z")

</div>

> [@charchabil](#):
>
> Dataexchange Module

@charchabil which version of openmrs are you running,plus is it core or reference App?

---

<div class="post-metadata">

### Author: ![charchabil](https://talk.openmrs.org/user_avatar/talk.openmrs.org/charchabil/32/5498_2.png) [@charchabil](https://talk.openmrs.org/u/charchabil)
#### Post date: [August 17, 2017, 11:15am UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/10 "2017-08-17T11:15:53Z")

</div>

OpenMRS 1.9.8 Core app

---

<div class="post-metadata">

### Author: ![tendomart](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tendomart/32/6753_2.png) [@tendomart](https://talk.openmrs.org/u/tendomart)
#### Post date: [August 23, 2017, 2:13pm UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/11 "2017-08-23T14:13:03Z")

</div>

> [@charchabil](#):
>
> Dataexchange Module

@charchabilDo you mind upgrading your openmrs to at least 1.9.9 and retry,then get back to me and also have you tried reference application to avoid version incompatibility problems,because it ships with a couple of compatible modules… CC.@raff

---

<div class="post-metadata">

### Author: ![charchabil](https://talk.openmrs.org/user_avatar/talk.openmrs.org/charchabil/32/5498_2.png) [@charchabil](https://talk.openmrs.org/u/charchabil)
#### Post date: [August 24, 2017, 8:51am UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/12 "2017-08-24T08:51:50Z")

</div>

Tahnk you @tendomartI have resolved the problem, which was a software issue.

---

<div class="post-metadata">

### Author: ![tendomart](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tendomart/32/6753_2.png) [@tendomart](https://talk.openmrs.org/u/tendomart)
#### Post date: [August 24, 2017, 9:21am UTC](https://talk.openmrs.org/t/exchanging-data-information-between-independent-openmrs-platforms/12811/13 "2017-08-24T09:21:29Z")

</div>

a pleasure sir @charchabil .out of curiosity what had went wrong?and also has the data exchange module worked correctly?
