Skip to content

Trasnformation from XML canonical compositions to a vendor specific FLAT format

License

Notifications You must be signed in to change notification settings

ehrbase/flat-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flat-tests

Trasnformation from Canonical XML openEHR COMPOSITIONs to a vendor specific FLAT format

Build & Run

$ mvn clean install $ java -Dcompo=path_to_xml_compo -Dopt=path_to_opt -cp target/flat-tests-0.0.1-jar-with-dependencies.jar org.ehrbase.flat_tests.Main

Sample call

$ java -Dcompo=/home/pablo/Desktop/HiGHmed/minimal_observation.en.v1_20210929041240_000001_1.xml -Dopt=/home/pablo/Desktop/HiGHmed/minimal_observation.opt -cp target/flat-tests-0.0.1-jar-with-dependencies.jar org.ehrbase.flat_tests.Main

Output

Will generate a file in the same path and with the same name es the -Dcompo value, with the trailing ".flat.json" added to it.

TODO

  • Transform Canonical JSON to FLAT

About

Trasnformation from XML canonical compositions to a vendor specific FLAT format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages