github OHDSI/WebAPI v2.6.0
WebAPI Version 2.6.0

latest releases: v2.14.0, v2.13.0, v2.12.1...
6 years ago

New Features

Fixes

... and many others which are here: https://github.com/OHDSI/WebAPI/milestone/17?closed=1

Migration Notes

Use SqlRender to translate the following SQL for your specific environment and run on all CDM results schemas:

CREATE TABLE @results_schema.cc_results
(
  type VARCHAR(255) NOT NULL,
  fa_type VARCHAR(255) NOT NULL,
  cc_generation_id BIGINT NOT NULL,
  analysis_id INTEGER,
  analysis_name VARCHAR(1000),
  covariate_id BIGINT,
  covariate_name VARCHAR(1000),
  time_window VARCHAR(255),
  concept_id INTEGER,
  count_value BIGINT,
  avg_value DOUBLE PRECISION,
  stdev_value DOUBLE PRECISION,
  min_value DOUBLE PRECISION,
  p10_value DOUBLE PRECISION,
  p25_value DOUBLE PRECISION,
  median_value DOUBLE PRECISION,
  p75_value DOUBLE PRECISION,
  p90_value DOUBLE PRECISION,
  max_value DOUBLE PRECISION,
  cohort_definition_id BIGINT
);

IF OBJECT_ID('@results_schema.pathway_analysis_events', 'U') IS NULL
CREATE TABLE @results_schema.pathway_analysis_events
(
  pathway_analysis_generation_id BIGINT NOT NULL,
  target_cohort_id INTEGER NOT NULL,
  combo_id BIGINT NOT NULL,
  subject_id BIGINT NOT NULL,
  ordinal INTEGER,
  cohort_start_date DATETIME NOT NULL,
  cohort_end_date DATETIME NOT NULL
);


CREATE TABLE @results_schema.pathway_analysis_stats
(
  pathway_analysis_generation_id BIGINT NOT NULL,
  target_cohort_id INTEGER NOT NULL,
  target_cohort_count INTEGER NOT NULL,
  pathways_count INTEGER NOT NULL
);

CREATE INDEX idx_pathway_analysis_events_combo_id ON @results_schema.pathway_analysis_events (combo_id);

Don't miss a new WebAPI release

NewReleases is sending notifications on new releases.