Hello Phenotypers,
Here’s how to test our fancy new phenotypes:
-
If you have R and connectivity to CDMs, please grab the PhenotypeCharacterization package from
https://github.com/alondhe/PhenotypeCharacterization. You can use the codeToRun.R script to execute the 3 functions. -
If you don’t have R, but have SQL access to CDMs, you can grab templated Sql from here:
https://github.com/alondhe/PhenotypeCharacterization/tree/master/inst/sql/sql_server. You can then translate and render parameters using this web tool courtesy of @lee_evans: http://sqlrenderweb.ohdsi.org:2121/
Regardless of which approach above you choose, run all 3 functions in the codeToRun.R script in the R package / all 3 SQL scripts to generate CSVs about your cohort. You can find cohorts in the OHDSI version of Atlas at www.ohdsi.org/web/atlas, most are tagged with “F2F” in some fashion.
Once finished, if you are comfortable posting the CSVs to the Phenotype Git Repo: https://github.com/OHDSI/PhenotypeLibrary.
**Please note: some strata may be very small, so be mindful of this if you have concerns about identifiability of data. Also, please be certain your dataset license / usage agreements allow for dissemination of aggregated data. **
Thanks,
Ajit