OHDSI Home | Forums | Wiki | Github

Import a cohort from .json file into public Atlas

It is possible to import a value set (see below)

It a similar import possible for whole cohort?

How do I import into Atlas (the public instance) this definition here
https://raw.githubusercontent.com/rohit43/DiabetesTxPath/master/inst/cohorts/HbA1c8Moderate.json

Tagging @Chris_Knoll ? @Patrick_Ryan ?
An answer of ‘no’ is also helpful.
Again - the goal is to import a cohort definition - if I have a .json file (from published OHDSI study)

Hey @Vojtech_Huser, I hear you that a ‘no’ would be helpful, but alas, ATLAS is too functional and does indeed support your desire:)

So, the current UI isn’t entirely intuitive, but here’s the link to see your cohort imported from the JSON file you shared: http://www.ohdsi.org/web/atlas/#/cohortdefinition/1769587

How do you get there?

Go to ‘Cohort Definitions’, click ‘New Cohort’, then go to the ‘Export’ tab and the ‘JSON’ button, paste the JSON from your file into the textbox, then click the ‘Reload’ button in the bottom-right below the textbox. Then go back to the ‘Definition’ tab, and you’ll see the cohort has been imported.

Happy hacking!

4 Likes
t