-- DBMS: snowflake
create or replace TABLE CLINICAL_TIER1_MOLECULARTEST_CURRENT (
	"Blood_Test_Normal_Range_Upper" VARCHAR(16777216),
	"Transcript" VARCHAR(16777216),
	"Blood_Test_Normal_Range_Lower" VARCHAR(16777216),
	"Histone_Variant" VARCHAR(16777216),
	"Ploidy" VARCHAR(16777216),
	"Mismatch_Repair_Mutation" VARCHAR(16777216),
	"Timepoint_Label" VARCHAR(16777216),
	"Component" VARCHAR(16777216),
	"Stop_Days_from_Index" VARCHAR(16777216),
	"Locus" VARCHAR(16777216),
	"Antigen" VARCHAR(16777216),
	"Variant_Origin" VARCHAR(16777216),
	"Laboratory_Test" VARCHAR(16777216),
	"Intron" VARCHAR(16777216),
	"Exon" VARCHAR(16777216),
	"AA_Change" VARCHAR(16777216),
	"Clinical_Biospecimen_Type" VARCHAR(16777216),
	"Zygosity" VARCHAR(16777216),
	"Variant_Type" VARCHAR(16777216),
	"Cell_Count" VARCHAR(16777216),
	"Pathogenicity" VARCHAR(16777216),
	"Copy_Number" VARCHAR(16777216),
	"Clonality" VARCHAR(16777216),
	"Test_Units" VARCHAR(16777216),
	"Loci_Count" VARCHAR(16777216),
	"entityId" VARCHAR(16777216),
	"Chromosome" VARCHAR(16777216),
	"Molecular_Analysis_Method" VARCHAR(16777216),
	"Test_Analyte_Type" VARCHAR(16777216),
	"HTAN_Participant_ID" VARCHAR(16777216),
	"Molecular_Consequence" VARCHAR(16777216),
	"Gene_Symbol" VARCHAR(16777216),
	"Loci_Abnormal_Count" VARCHAR(16777216),
	"Specialized_Molecular_Test" VARCHAR(16777216),
	"Start_Days_from_Index" VARCHAR(16777216),
	"Histone_Family" VARCHAR(16777216),
	"Cytoband" VARCHAR(16777216),
	"Id" VARCHAR(16777216),
	"Second_Exon" VARCHAR(16777216),
	"Second_Gene_Symbol" VARCHAR(16777216),
	"Test_Result" VARCHAR(16777216),
	"Test_Value" VARCHAR(16777216),
	"HTAN_Center" VARCHAR(16777216),
	"Manifest_Id" VARCHAR(16777216),
	"Manifest_Version" NUMBER(38,0)
);

INSERT INTO "HTAN_2"."HTAN"."CLINICAL_TIER1_MOLECULARTEST_CURRENT" (Component, entityId, Manifest_Id, Pathogenicity, Mismatch_Repair_Mutation, Histone_Variant, Blood_Test_Normal_Range_Lower, Blood_Test_Normal_Range_Upper, Test_Units, Test_Value, Copy_Number, Antigen, Test_Analyte_Type, Second_Gene_Symbol, Stop_Days_from_Index, Specialized_Molecular_Test, Clinical_Biospecimen_Type, Test_Result, Histone_Family, Laboratory_Test, Intron, Cytoband, Exon, Zygosity, Loci_Count, Variant_Origin, Ploidy, Transcript, Molecular_Analysis_Method, HTAN_Participant_ID, HTAN_Center, Loci_Abnormal_Count, Clonality, AA_Change, Chromosome, Timepoint_Label, Locus, Gene_Symbol, Cell_Count, Start_Days_from_Index, Variant_Type, Molecular_Consequence, Id, Second_Exon, Manifest_Version) VALUES ('MolecularTest', 'syn26545821', 'syn44550895', NULL, NULL, NULL, NULL, NULL, 'Percent', '20.0', NULL, NULL, 'Protein Analyte', NULL, NULL, NULL, NULL, 'Low', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'IHC', 'HTA14_28', 'HTAN TNP - TMA', NULL, NULL, NULL, NULL, 'Unknown', NULL, 'HER2', NULL, '13505', NULL, NULL, 'e5beed46-a087-4918-a1e4-1aabeb633bda', NULL, 2), ('MolecularTest', 'syn25556984', 'syn41746009', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'High', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Microsatellite Analysis', 'HTA13_1', 'HTAN TNP SARDANA', NULL, NULL, NULL, NULL, 'pt_timepoint_1', NULL, 'Not applicable', NULL, '25185', NULL, NULL, 'd9757713-8938-4cd7-87ea-e7b1f62d1c29', NULL, 1), ('MolecularTest', 'syn25885822', 'syn42241905', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'High', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'FISH', 'HTA1_130', 'HTAN HTAPP', NULL, NULL, NULL, NULL, 'Not Applicable', NULL, 'MYCN', NULL, 'Not Applicable', NULL, NULL, 'be8743db-ac97-4588-b5ed-78fbb8b043d8', NULL, 1), ('MolecularTest', 'syn25885839', 'syn42241905', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'High', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'FISH', 'HTA1_194', 'HTAN HTAPP', NULL, NULL, NULL, NULL, 'Not Applicable', NULL, 'MYCN', NULL, 'Not Applicable', NULL, NULL, '3e8a0824-c05d-48c9-b06e-f9e6a93ef75e', NULL, 1), ('MolecularTest', 'syn25885840', 'syn42241905', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'High', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'FISH', 'HTA1_195', 'HTAN HTAPP', NULL, NULL, NULL, NULL, 'Not Applicable', NULL, 'MYCN', NULL, 'Not Applicable', NULL, NULL, 'a52e423e-dcb8-4658-bce6-5e2288187c95', NULL, 1);