-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
define PCR tests and results are now externalized to
define_pcr_negative.sql define_pcr_positive.sql todo: need to workaround "POSITIVE" vs "Positive" "NEGATIVE" vs "Negative" i2b2 specific observations that are not translated in transit by ETL smart-on-fhir/cumulus-etl#231
- Loading branch information
1 parent
f7b8a7c
commit d159def
Showing
6 changed files
with
74 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
24 changes: 24 additions & 0 deletions
24
cumulus_library_covid/covid_symptom/define_pcr_negative.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
create or replace view covid_symptom__define_pcr_negative as select * from (values | ||
('http://snomed.info/sct', '131194007', 'Non-Reactive (qualifier value)') | ||
,('http://snomed.info/sct', '168230009', 'Sample direct microscopy no organism seen (finding)') | ||
,('http://snomed.info/sct', '17621005', 'Normal (qualifier value)') | ||
,('http://snomed.info/sct', '23506009', 'Normal flora (finding)') | ||
,('http://snomed.info/sct', '260385009', 'Negative (qualifier value)') | ||
,('http://snomed.info/sct', '260389003', 'No reaction (qualifier value)') | ||
,('http://snomed.info/sct', '260394003', 'Normal limits (qualifier value)') | ||
,('http://snomed.info/sct', '260395002', 'Normal range (qualifier value)') | ||
,('http://snomed.info/sct', '260415000', 'Not detected (qualifier value)') | ||
,('http://snomed.info/sct', '264868006', 'No growth (qualifier value)') | ||
,('http://snomed.info/sct', '264887000', 'Not isolated (qualifier value)') | ||
,('http://snomed.info/sct', '2667000', 'Absent (qualifier value)') | ||
,('http://snomed.info/sct', '272519000', 'Absence findings (qualifier value)') | ||
,('http://snomed.info/sct', '27863008', 'No organisms seen (finding)') | ||
,('http://snomed.info/sct', '280413001', 'Normal result (qualifier value)') | ||
,('http://snomed.info/sct', '281297005', 'Analyte not detected (qualifier value)') | ||
,('http://snomed.info/sct', '371928007', 'Not significant (qualifier value)') | ||
,('http://snomed.info/sct', '373067005', 'No (qualifier value)') | ||
,('http://snomed.info/sct', '435151000124100', 'No acid fast organisms seen (finding)') | ||
,('http://snomed.info/sct', '444991000124106', 'Repeatedly non-reactive (qualifier value)') | ||
,('http://snomed.info/sct', '449501000124109', 'Within defined limits (qualifier value)') | ||
,('http://snomed.info/sct', '47492008', 'Not seen (qualifier value)') | ||
) AS t (system, code, display) ; |
32 changes: 32 additions & 0 deletions
32
cumulus_library_covid/covid_symptom/define_pcr_positive.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
create or replace view covid_symptom__define_pcr_positive as select * from (values | ||
('http://snomed.info/sct', '10828004', 'Positive (qualifier value)') | ||
,('http://snomed.info/sct', '11214006', 'Reactive (qualifier value)') | ||
,('http://snomed.info/sct', '117006002', 'Weakly-reactive (qualifier value)') | ||
,('http://snomed.info/sct', '260347006', 'Present + out of ++++ (qualifier value)') | ||
,('http://snomed.info/sct', '260348001', 'Present ++ out of ++++ (qualifier value)') | ||
,('http://snomed.info/sct', '260349009', 'Present +++ out of ++++ (qualifier value)') | ||
,('http://snomed.info/sct', '260350009', 'Present ++++ out of ++++ (qualifier value)') | ||
,('http://snomed.info/sct', '260351008', 'Just noticeable (qualifier value)') | ||
,('http://snomed.info/sct', '260373001', 'Detected (qualifier value)') | ||
,('http://snomed.info/sct', '260405006', 'Trace (qualifier value)') | ||
,('http://snomed.info/sct', '260408008', 'Weakly positive (qualifier value)') | ||
,('http://snomed.info/sct', '260411009', 'Presence findings (qualifier value)') | ||
,('http://snomed.info/sct', '263654008', 'Abnormal (qualifier value)') | ||
,('http://snomed.info/sct', '263776006', 'Heavy growth (qualifier value)') | ||
,('http://snomed.info/sct', '263812008', 'Moderate growth (qualifier value)') | ||
,('http://snomed.info/sct', '280415008', 'Abnormal result (qualifier value)') | ||
,('http://snomed.info/sct', '373066001', 'Yes (qualifier value)') | ||
,('http://snomed.info/sct', '410515003', 'Known present (qualifier value)') | ||
,('http://snomed.info/sct', '410591008', 'Definitely present (qualifier value)') | ||
,('http://snomed.info/sct', '410592001', 'Probably present (qualifier value)') | ||
,('http://snomed.info/sct', '410605003', 'Confirmed present (qualifier value)') | ||
,('http://snomed.info/sct', '43261007', 'Abnormal presence of (qualifier value)') | ||
,('http://snomed.info/sct', '441517005', 'Present two plus out of three plus (qualifier value)') | ||
,('http://snomed.info/sct', '441521003', 'Present three plus out of three plus (qualifier value)') | ||
,('http://snomed.info/sct', '441614007', 'Present one plus out of three plus (qualifier value)') | ||
,('http://snomed.info/sct', '46651001', 'Isolated (qualifier value)') | ||
,('http://snomed.info/sct', '52101004', 'Present (qualifier value)') | ||
,('http://snomed.info/sct', '61620004', 'True positive (qualifier value)') | ||
,('http://snomed.info/sct', '7882003', 'Identified (qualifier value)') | ||
,('http://snomed.info/sct', '89292003', 'Rare (qualifier value)') | ||
) AS t (system, code, display) ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters