Eos is the result of a research project. To support our research, please cite one of our papers instead of referencing our github in scientific articles. You can find an overview of papers about Eos here. If you are not sure which paper to cite, we recommend this one:
Severin Kohler, Diego Boscá, Florian Kärcher, Birger Haarbrandt, Manuel Prinz, Michael Marschollek, Roland Eils, Eos and OMOCL: Towards a seamless integration of openEHR records into the OMOP Common Data Model, Journal of Biomedical Informatics, Volume 144, 2023 (Link)
Thanks!
git clone --recursive
(may require SSH authentication to github)setup/ddls/
or download
them here. If downloaded change the file names according to the provided ones (delete the version number).setup/vocab/
. For recommended vocabs see Wiki.setup/
.docker-compose --profile eos --profile cdm --profile ehrbase up
.Start your postgres database (in this walktrough the example port is 5433, so it is not in conflict with other postgres dbs from e.g. the openEHR platform)
execute the command in setup/ddls
$ psql -h localhost --port=5433 -U postgres -W --dbname=YOUR_DB_NAME --file=db_setup.sql
you can empty the folder setup/vocab
afterwards if you wish
$ mvn clean install
src/main/resources/application.yml
datasource:
password: YOUR_PASSWORD
username: YOUR_USERNAME
url: jdbc:postgresql://localhost:5433/YOUR_SCHEMA #default is public
src/main/resources/application.yml
ehrbase:
base-url: YOUR_PLATFORM_URL
security:
type: basic # you can also use other security depending on the capabilities of your CDR
user:
name: YOUR_USERNAME
password: YOUR_PASSWORD
configure cronjob for eras or leave them for manual execution
Run the application
Check the wiki for available api calls or use the POSTMAN example collection found in .config/
.
We currently support CDM v5.4, if more tooling is provided v6 will be added in the future.
See here
CDM table | Supported |
---|---|
OBSERVATION_PERIOD | automatically generated |
VISIT_OCCURRENCE | automatically generated |
VISIT_DETAIL | |
CONDITION_OCCURRENCE | x |
DRUG_EXPOSURE | x |
PROCEDURE_OCCURRENCE | x |
DEVICE_EXPOSURE | x |
MEASUREMENT | x |
OBSERVATION | x |
DEATH | x |
NOTE | |
NOTE_NLP | |
SPECIMEN | x |
FACT_RELATIONSHIP | |
DRUG_ERA | automatically generated |
CONDITION_ERA | automatically generated |
We thank the Georgia Tech Research Institute for providing jpa classes for OMOP and vita systems for their free accessible openEHR tooling.