-- DBMS: snowflake
create or replace TABLE CLINICAL_TIER3_COLORECTAL_CURRENT (
	"Timepoint_Label" VARCHAR(16777216),
	"Component" VARCHAR(16777216),
	"Stop_Days_from_Index" VARCHAR(16777216),
	"Family_Colon_Cancer_History_Indicator" VARCHAR(16777216),
	"History_of_Prior_Colon_Polyps" VARCHAR(16777216),
	"Colorectal_Cancer_Tumor_Border_Configuration" VARCHAR(16777216),
	"Immediate_Family_History_Ovarian_Cancer" VARCHAR(16777216),
	"MLH1_Promoter_Methylation_Status" VARCHAR(16777216),
	"Size_of_Polyp_Removed" VARCHAR(16777216),
	"Family_History_Colorectal_Polyp" VARCHAR(16777216),
	"Colorectal_Polyp_New_Indicator" VARCHAR(16777216),
	"Colorectal_Cancer_KRAS_Indicator" VARCHAR(16777216),
	"Colorectal_Polyp_Type" VARCHAR(16777216),
	"entityId" VARCHAR(16777216),
	"Colorectal_Cancer_Detection_Method_Type" VARCHAR(16777216),
	"Colorectal_Polyp_Adenoma_Type" VARCHAR(16777216),
	"Colon_Polyp_Occurence_Indicator" VARCHAR(16777216),
	"Colorectal_Polyp_Shape" VARCHAR(16777216),
	"Immediate_Family_History_Endometrial_Cancer" VARCHAR(16777216),
	"HTAN_Participant_ID" VARCHAR(16777216),
	"Patient_Colonoscopy_Performed_Indicator" VARCHAR(16777216),
	"Start_Days_from_Index" VARCHAR(16777216),
	"Colorectal_Polyp_Count" VARCHAR(16777216),
	"Family_Medical_History_Colorectal_Polyp_Diagnosis" VARCHAR(16777216),
	"Patient_Inflammatory_Bowel_Disease_Personal_Medica_History" VARCHAR(16777216),
	"Id" VARCHAR(16777216),
	"HTAN_Center" VARCHAR(16777216),
	"Manifest_Id" VARCHAR(16777216),
	"Manifest_Version" NUMBER(38,0)
);

INSERT INTO "HTAN_2"."HTAN"."CLINICAL_TIER3_COLORECTAL_CURRENT" (entityId, Stop_Days_from_Index, Family_Colon_Cancer_History_Indicator, Colorectal_Polyp_Type, Colorectal_Polyp_Count, Start_Days_from_Index, Immediate_Family_History_Endometrial_Cancer, Colorectal_Cancer_KRAS_Indicator, Colorectal_Cancer_Detection_Method_Type, HTAN_Center, Id, Manifest_Version, Component, Colorectal_Polyp_New_Indicator, Immediate_Family_History_Ovarian_Cancer, Patient_Colonoscopy_Performed_Indicator, Colorectal_Polyp_Shape, Family_History_Colorectal_Polyp, Colorectal_Polyp_Adenoma_Type, Colon_Polyp_Occurence_Indicator, MLH1_Promoter_Methylation_Status, Patient_Inflammatory_Bowel_Disease_Personal_Medica_History, HTAN_Participant_ID, Colorectal_Cancer_Tumor_Border_Configuration, Timepoint_Label, Family_Medical_History_Colorectal_Polyp_Diagnosis, Manifest_Id, Size_of_Polyp_Removed, History_of_Prior_Colon_Polyps) VALUES (NULL, NULL, 'no', NULL, '8', '24370', NULL, NULL, 'Colonoscopy', 'HTAN Vanderbilt', '7cbcb1e1-0a91-4a23-a53c-dc762958028e', 2, 'ColorectalCancerTier3', 'yes', NULL, NULL, NULL, 'no', NULL, 'unknown', NULL, NULL, 'HTA11_78', NULL, 'Enrollment', NULL, 'syn55158312', NULL, NULL), (NULL, NULL, 'no', NULL, '2', '21802', NULL, NULL, 'Colonoscopy', 'HTAN Vanderbilt', '51e4ec26-dadc-43ac-a7b5-28e0ed25ca2e', 2, 'ColorectalCancerTier3', 'yes', NULL, NULL, NULL, 'no', NULL, 'yes', NULL, NULL, 'HTA11_347', NULL, 'Enrollment', NULL, 'syn55158312', NULL, NULL), (NULL, NULL, 'no', NULL, '4', '20458', NULL, NULL, 'Colonoscopy', 'HTAN Vanderbilt', '46d17079-bec1-44e9-b8e1-7610da612dc0', 2, 'ColorectalCancerTier3', 'yes', NULL, NULL, NULL, 'no', NULL, 'yes', NULL, NULL, 'HTA11_347', NULL, 'Pre-Enrollment', NULL, 'syn55158312', NULL, NULL), (NULL, NULL, 'no', NULL, '6', '20486', NULL, NULL, 'Colonoscopy', 'HTAN Vanderbilt', '90f33858-43c2-499e-b748-46f9547845ce', 2, 'ColorectalCancerTier3', 'yes', NULL, NULL, NULL, 'no', NULL, 'yes', NULL, NULL, 'HTA11_377', NULL, 'Pre-Enrollment', NULL, 'syn55158312', NULL, NULL), (NULL, NULL, 'no', NULL, '0', '20941', NULL, NULL, 'Colonoscopy', 'HTAN Vanderbilt', 'fc7495b0-1365-4a61-920c-d1fdaf0ffb73', 2, 'ColorectalCancerTier3', 'no', NULL, NULL, NULL, 'no', NULL, 'yes', NULL, NULL, 'HTA11_377', NULL, 'Post-Enrollment', NULL, 'syn55158312', NULL, NULL);