documentation:software:atlas:achilles_v_1_5
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| documentation:software:atlas:achilles_v_1_5 [2017/10/11 15:49] – created anthonysena | documentation:software:atlas:achilles_v_1_5 [2018/03/12 14:36] (current) – [Concept Hierarchy] anthonysena | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ===== TL;DR ===== | ===== TL;DR ===== | ||
| - | If you complete a full run of Achilles v.1.5.0 on your OMOP CDM v5 with the default settings, you will not need to complete any of the steps in this article. If you have an OMOP CDM v5 and you ran Achilles in the past (prior to v.1.5.0) then you will need to read and complete the steps below to work with WebAPI/ | + | If you complete a full run of Achilles v.1.5.0 on your OMOP CDM v5 with the default settings, you will not need to complete any of the steps in this article. If you have an OMOP CDM v5 and you ran Achilles in the past (prior to v.1.5.0) then you will need to read and complete the steps below to work with WebAPI/ |
| Resources: | Resources: | ||
| Line 17: | Line 17: | ||
| ====== Achilles v1.5.0 Changes Impacting WebAPI/ | ====== Achilles v1.5.0 Changes Impacting WebAPI/ | ||
| - | The following sections will describe the additions in Achilles V1.5.0, how to verify if you have the additional dependencies required by WebAPI/ | + | The following sections will describe the additions in Achilles V1.5.0, how to verify if you have the additional dependencies required by WebAPI/ |
| + | |||
| + | ===== Concept Hierarchy ===== | ||
| + | |||
| + | Achilles will now construct a new table in the results schema labeled '' | ||
| + | |||
| + | **Please Note**: If you update the vocabulary in your CDM, you should re-create (and re-index) the concept_hierarchy table. | ||
| + | ==== Creating the Concept Hierarchy ==== | ||
| + | |||
| + | Connect to your CDM's RDBMS and browse the schema holding your Achilles results. If you do not see the '' | ||
| + | |||
| + | connectionDetails <- DatabaseConnector:: | ||
| + | | ||
| + | user = " | ||
| + | | ||
| + | cdmVocabSchema <- " | ||
| + | resultsSchema <- " | ||
| + | hierarchy <- Achilles:: | ||
| + | vocabDatabaseSchema=cdmVocabSchema, | ||
| + | resultsDatabaseSchema=resultsSchema) | ||
| + | |||
| + | The commands above will allow you to specify the connect to your CDM database, the database schemas that hold the CDM vocabulary and results respectively and the command to construct the concept_hierarchy table. | ||
| + | |||
| + | ===== Indexing results ===== | ||
| + | |||
| + | Achilles will index the results and concept_hierarchy to optimize query performance. While this step is not mandatory to ensure compatibility with WebAPI/ | ||
| + | |||
| + | ==== Creating the Indicies ==== | ||
| + | |||
| + | Connect to your CDM's RDBMS and browse the schema holding your Achilles results. If the ACHILLES_results, | ||
| + | |||
| + | |||
| + | connectionDetails <- DatabaseConnector:: | ||
| + | | ||
| + | user = " | ||
| + | | ||
| + | resultsSchema <- " | ||
| + | createIndices <- Achilles:: | ||
| + | | ||
| + | |||
| + | ===== New Frequency Distribution Analyses ===== | ||
| + | |||
| + | While these analyses are not mandatory to run WebAPI/ | ||
| + | |||
| + | ==== Creating the analyses ==== | ||
| + | |||
| + | The following command will be used to create these new analyses: | ||
| + | |||
| + | connectionDetails <- DatabaseConnector:: | ||
| + | | ||
| + | user = " | ||
| + | | ||
| + | cdmDatabaseSchema <- " | ||
| + | resultsDatabaseSchema <- " | ||
| + | vocabDatabaseSchema <- " | ||
| + | db <- " | ||
| + | achillesResults <- Achilles:: | ||
| + | cdmDatabaseSchema = cdmDatabaseSchema, | ||
| + | oracleTempSchema = NULL, | ||
| + | resultsDatabaseSchema = resultsDatabaseSchema, | ||
| + | sourceName = db, | ||
| + | analysisIds = c(691, | ||
| + | createTable = FALSE, | ||
| + | smallcellcount = 5, | ||
| + | cdmVersion = " | ||
| + | runHeel = FALSE, | ||
| + | validateSchema = FALSE, | ||
| + | vocabDatabaseSchema = vocabDatabaseSchema, | ||
| + | runCostAnalysis = FALSE, | ||
| + | sqlOnly = FALSE, | ||
| + | conceptHierarchy = FALSE, | ||
| + | createIndices = FALSE) | ||
| + | |||
| + | Please note the command above sets both the conceptHierarchy and createIndices parameters to **FALSE**. | ||
| + | |||
| + | ====== Apply All Changes In One Step ====== | ||
| + | |||
| + | The following command can be used to apply all of the changes above in a single step: | ||
| + | |||
| + | connectionDetails <- DatabaseConnector:: | ||
| + | | ||
| + | user = " | ||
| + | | ||
| + | cdmDatabaseSchema <- " | ||
| + | resultsDatabaseSchema <- " | ||
| + | vocabDatabaseSchema <- " | ||
| + | db <- " | ||
| + | achillesResults <- Achilles:: | ||
| + | cdmDatabaseSchema = cdmDatabaseSchema, | ||
| + | oracleTempSchema = NULL, | ||
| + | resultsDatabaseSchema = resultsDatabaseSchema, | ||
| + | sourceName = db, | ||
| + | analysisIds = c(691, | ||
| + | createTable = FALSE, | ||
| + | smallcellcount = 5, | ||
| + | cdmVersion = " | ||
| + | runHeel = FALSE, | ||
| + | validateSchema = FALSE, | ||
| + | vocabDatabaseSchema = vocabDatabaseSchema, | ||
| + | runCostAnalysis = FALSE, | ||
| + | sqlOnly = FALSE, | ||
| + | conceptHierarchy = TRUE, | ||
| + | createIndices = TRUE) | ||
documentation/software/atlas/achilles_v_1_5.1507736967.txt.gz · Last modified: by anthonysena
