项目作者: E-Health

项目描述 :
OMOP <-> FHIR mapper
高级语言: Java
项目地址: git://github.com/E-Health/omopfhirmap.git
创建时间: 2020-07-12T10:33:35Z
项目社区:https://github.com/E-Health/omopfhirmap

开源协议:GNU General Public License v3.0

下载


omopfhirmap for mapping FHIR <—> OHDSI OMOP CDM

omopfhirmap
GitHub tag (latest by date)

About

Omopfhirmap is a command-line tool for mapping a OHDSI cohort, defined in ATLAS, to a FHIR bundle that can be optionally submitted to a FHIR server for processing. Conversely, it can process a FHIR bundle and add resources to an existing CDM database ignoring duplicates. Unlike GT-FHIR2, the OMOP on FHIR Project at Georgia Tech omopfhirmap does not expose OMOP database as FHIR endpoints.

javadoc

Use cases

  • To export a cohort to a FHIR based analytics tool.
  • To load new resources to OMOP CDM databases for incremental ETL.

Build

  1. mvn clean install spring-boot:repackage

Usage

```shell script
java -jar —spring.config.location=

  1. ### Examples
  2. * *java -jar target/omopfhirmap-0.0.1.jar help*
  3. * *java -jar target/omopfhirmap-0.0.1.jar tofhirbundle 2 test-fhir.json --spring.config.location=application.properties*
  4. This will convert the cohort defined in Atlas with an ID of 2
  5. (looks in the cohort table in results schema) and writes the FHIR (collection) bundle.
  6. * *java -jar target/omopfhirmap-0.0.1.jar toomop test-fhir.json 3 --spring.config.location=application.properties*
  7. Imports the FHIR bundle in the above file, creates persons,
  8. observations, measurements, procedure and visit occurences.
  9. Finally it creates a new cohort with ID 3 (Can be seen in Atlas)
  10. * Sample application.properties

spring.main.banner-mode=off
logging.level.org.springframework=ERROR
logging.level.root=ERROR
logging.level.org.foo.bar.baz=INFO

spring.jpa.hibernate.ddl-auto=none

spring.datasource.initialization-mode=always
spring.datasource.platform=postgres
spring.datasource.url=jdbc:postgresql://localhost:5432/username_db?currentSchema=synpuf_results,synpuf5,ohdsi
spring.datasource.username=username
spring.datasource.password=secret

spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true

used for saving the OMOP identifier in FHIR resource

omopfhir.system.name=mySystem
```

Work in progress

  • I have only mapped FHIR.Patient <-> OMOP.Person so far.
  • PRs welcome if you want to map others.
  • Please star the repo, if you find this useful and want to see other mappings completed.

Design

  • JAVA >= 13
  • FHIR R4
  • Multi-Threaded
  • Uses spring-boot and JPA for wiring of services and abstraction of database.
  • Can easily add support for other databases using spring-boot

Other projects

Contributors

Demo

omopfhirmap