OHDSI / Broadsea

Broadsea deploys the core OHDSI technology stack (Atlas & R Hades), using cross-platform Docker container technology.
http://ohdsi.github.io/Broadsea/
Apache License 2.0
75 stars 57 forks source link

Pre-load PhenotypeLibrary #87

Open alondhe opened 1 year ago

alondhe commented 1 year ago

Add functionality and docker profile to pre-load cohorts and concept sets from the OHDSI phenotype library.

Profile name can be "atlasdb-with-phenotypes"

leeevans commented 1 year ago

This is a great idea!

How about just updating the standard broadsea-atlasdb build to always include the OHDSI phenotype library cohorts and concept sets, so everyone gets them by default? I think that would be a good way to encourage reuse of OHDSI phenotype library artifacts across the community and provide a better set of preloaded artifacts for demos/training.

The Broadsea-atlasdb build could be updated to do this.

alondhe commented 1 year ago

We could either do a Postgres-based approach (e.g. with insert SQLs) or we could leverage the running WebAPI and just issue a bunch of POSTs.

The former seems easier to run in batch, the latter seems better in terms of not needing to muck around in SQL.