Skip to content

Commit

Permalink
updated to fix linter complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
comorbidity committed Aug 15, 2023
1 parent d8eec8b commit 9279423
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cumulus_library_covid/covid_symptom/table_prevalence_ed.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ join_2020 AS (
p.subject_ref,
p.encounter_ref,
COALESCE(pcr.covid_pcr_result_display, 'None') AS covid_pcr_result,
CASE
WHEN dx.cond_code IS NOT NULL THEN True ELSE False
END AS covid_icd10,
COALESCE(dx.cond_code, 'None') AS covid_icd10,
CASE
WHEN
(dx.cond_code IS NOT NULL OR pcr.covid_pcr_result_display = 'POSITIVE') THEN True ELSE False
(dx.cond_code IS NOT NULL OR pcr.covid_pcr_result_display = 'POSITIVE')
THEN True ELSE False
END AS covid_dx,
COALESCE(nlp.symptom_display, 'None') AS covid_symptom,
COALESCE(icd10.icd10_display, 'None') AS symptom_icd10_display
Expand Down

0 comments on commit 9279423

Please sign in to comment.