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
@charchabil Have you tried this https://wiki.openmrs.org/display/docs/Metadata+Deploy+Module
and https://wiki.openmrs.org/display/docs/Metadata+Sharing+Module
Metadata sharing is only for metadata (concepts, encounter types, forms, etc). There are some other solutions for @charchabil for patient data. @cioan?
Ellen
@ball any more suggestions,? and oh sorry i think Metadata Deploy Module is for devs
For the PIH EMR in Haiti we created couple Angular apps that allowed us to export a patient data(demographics, visits , encounters and obs) to a JSON file. Then we used another import 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.
@cioan did you guys employ this also 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
no unfortunatetly , but iβll try the dataexchange module Thank you @tendomart
Hi @tendomart
i 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
Would you please helpme with this! Thank you
@charchabil which version of openmrs are you running,plus is it core or reference App?
OpenMRS 1.9.8 Core app
@charchabil Do 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
Tahnk you @tendomart I have resolved the problem, which was a software issue.
a pleasure sir @charchabil .out of curiosity what had went wrong?and also has the data exchange module worked correctly?