File tree 2 files changed +4
-4
lines changed
etl/StandardizedClinicalDataTables
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ select
13
13
, now() as nlp_datetime
14
14
, gcpt_note_section_to_concept .label as section_source_value
15
15
, gcpt_note_section_to_concept .mimic_id as section_source_concept_id
16
- from omop .tmp_note_nlp
16
+ from : OMOP_SCHEMA .tmp_note_nlp
17
17
join noteevents using (row_id)
18
18
left join gcpt_note_section_to_concept ON section_code = section_id
19
- left join omop .concept on label = concept_name AND concept_code = ' MIMIC Generated' AND domain_id = ' Note Nlp' and concept .vocabulary_id = noteevents .category
19
+ left join : OMOP_SCHEMA .concept on label = concept_name AND concept_code = ' MIMIC Generated' AND domain_id = ' Note Nlp' and concept .vocabulary_id = noteevents .category
20
20
WHERE iserror IS NULL
21
21
)
22
- INSERT INTO omop .note_nlp
22
+ INSERT INTO : OMOP_SCHEMA .note_nlp
23
23
(
24
24
note_nlp_id
25
25
, note_id
Original file line number Diff line number Diff line change 264
264
LEFT JOIN gcpt_care_site ON (care_site_name = curr_service)
265
265
LEFT JOIN patients using (subject_id)
266
266
)
267
- INSERT INTO OMOP .visit_detail -- SERVICE INFORMATIONS
267
+ INSERT INTO : OMOP_SCHEMA .visit_detail -- SERVICE INFORMATIONS
268
268
(
269
269
visit_detail_id
270
270
, person_id
You can’t perform that action at this time.
0 commit comments