From 2bd79da969b0edc4a2eaac8f219714d24d6f9c9f Mon Sep 17 00:00:00 2001 From: Maxim Moinat Date: Thu, 30 Mar 2023 16:01:54 +0200 Subject: [PATCH] formatting --- rmd/sqlScripts.Rmd | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/rmd/sqlScripts.Rmd b/rmd/sqlScripts.Rmd index 15b985b..447aea0 100644 --- a/rmd/sqlScripts.Rmd +++ b/rmd/sqlScripts.Rmd @@ -462,10 +462,10 @@ SELECT '', -- e.g. link to source data dictionary '', -- e.g. link to ETL documentation '', -- when the source data was pulled - getdate(), + getdate(), -- or the date of ETL run 'v5.4', vocabulary_version, - 756265 -- OMOP CDM Version 5.4.0 + 756265 -- 'OMOP CDM Version 5.4.0' FROM @cdm_schema.vocabulary WHERE vocabulary_id = 'None'; ``` @@ -478,11 +478,11 @@ The query below will utilize the Visit Concept hierarcy to find the highest-leve ```{sql eval=FALSE, echo=TRUE} SELECT concept_id, concept_name - FROM concept - LEFT JOIN concept_ancestor - ON concept_id=descendant_concept_id - AND ancestor_concept_id!=descendant_concept_id - WHERE domain_id='Visit' - AND standard_concept='S' - AND ancestor_concept_id IS NULL +FROM concept +LEFT JOIN concept_ancestor + ON concept_id=descendant_concept_id + AND ancestor_concept_id!=descendant_concept_id +WHERE domain_id='Visit' + AND standard_concept='S' + AND ancestor_concept_id IS NULL ```