You'll need a Postgres OHDSI CDM (see below) and https://github.com/Sigfried/ohdsi-api
And change settings in src/config.js appropriately
then npm i
and npm start
or npm run build
- Priorities:
-
put record counts back
-
text search
-
concept set (source) --> report of concept gain/loss in mapping to standard
-
see hierarchical relationships not in the concept_ancestor table
-
fix where drill content shows up
-
use superagent? http://visionmedia.github.io/superagent/#aborting-requests
-
state, etc. too complex now...think about redux? https://github.com/tstringer/create-react-app-with-redux
-
-
Create CDM schema from here: https://github.com/OHDSI/CommonDataModel/tree/master/PostgreSQL
-
Get vocabulary files from Athena: http://athena.ohdsi.org/
-
Get synthetic data if you need it, maybe from: http://www.ltscomputingllc.com/downloads/
-
Just for loading vocab files, I modified Lee's script from: https://github.com/OHDSI/CommonDataModel/blob/master/PostgreSQL/VocabImport/OMOP%20CDM%20vocabulary%20load%20-%20PostgreSQL.sql
-
To run, make sure .env file is in place in home directory, then:
psql -d $PGDATABASE -v vocdir=
pwd
/VOCAB/vocab_data_files -v schema=$CDM_SCHEMA < ./VOCAB/vocabLoad_psql_version.sql
- overall goals:
- make individual OHDSI vocabularies more approachable
- facilitate understanding of OHDSI's vocabularies and concepts, relationships between them, and their prevelance in a specific CDM
- facilitate translation from individual source concepts for cohort or phenotype definition and for ETL work
- facilitate development or translation of concept sets
- provide tools and interface for classification/granularity selection in other contexts (e.g., patient profiles)
- towards these ends:
- develop detailed requirements, designs, and prototypes
- implement in ATLAS if and when resources are available
- use cases:
- define a cohort or phenotype (needed by ATLAS users):
- translate existing phenotype definition (e.g., set of ICD-9 codes for some condition) from a source vocabulary into a target vocabulary
- explore the whole set of OHDSI vocabularies:
- needed in Athena
- to improve and debug the vocabularies
- in general
- only for concepts in user's CDM
- for a specific domain:
- e.g., provider specialty, show record counts for all values including zero counts for specialties not used; maybe also show corresponding source values and source values that weren't able to be mapped to a target. (provider.specialty_concept_id, provider.specialty_source_value, provider.specialty_source_concept_id, care_site.specialty_concept_id, care_site.specialty_source_value)
- to better understand relationships between source and target domains
- to better understand classifications available
- source(s) to target(s):
- find mapped or matching codes, classification or standard
- in target code(s) selected, see which source codes are added or left out and counts of corresponding patient records
- find a concept:
- have immediate feedback on CDM records with concept
- see relationships to other concepts and be encouraged to assure one has chosen correctly
- explore my popupaltion:
- overall
- in terms of some domain
- defining a subpopulation (same as 1)
- intersecion of subpopulations
- Patrick's SNOMED navigation strategy:
- using related concepts filter on Class, choose Has ancestor of from Relationship facet, filter on Distance facet
- compare vocabulary version as per [http://forums.ohdsi.org/t/new-vocabulary-population-visualization-working-group/2187/17?u=sigfried_gold](Peter's post)
- define a cohort or phenotype (needed by ATLAS users):
- notes and to-dos:
- other systems to get ideas from:
- javascript libraries to consider using:
- to-dos:
- integrate ERD maybe:
- source record count:
- show these as existing in cdm but not available through query
- also show ancestor concepts with their descendant record counts
- only show classification concepts that have a descendant record count
- default to showing 4 main domains (condition, drug, procedure, measurement)