-- DBMS: snowflake
create or replace TABLE RADIOLOGY_IMAGES_TCIA_2018_06 (
	"ZipFileName" VARCHAR(16777216),
	"DCMFileName" VARCHAR(16777216),
	"AccessionNumber" NUMBER(38,0),
	"AcquisitionDate" NUMBER(38,0),
	"AcquisitionNumber" NUMBER(38,0),
	"AcquisitionTime" FLOAT,
	"AdditionalPatientHistory" VARCHAR(16777216),
	"BitsAllocated" NUMBER(38,0),
	"BitsStored" NUMBER(38,0),
	"BodyPartExamined" VARCHAR(16777216),
	"Columns" NUMBER(38,0),
	"ContentDate" NUMBER(38,0),
	"ContentTime" FLOAT,
	"FlipAngle" FLOAT,
	"FrameofReferenceUID" VARCHAR(16777216),
	"InstanceNumber" NUMBER(38,0),
	"MRAcquisitionType" VARCHAR(16777216),
	"Manufacturer" VARCHAR(16777216),
	"ManufacturerModelName" VARCHAR(16777216),
	"Modality" VARCHAR(16777216),
	"PatientAge" NUMBER(38,0),
	"PatientID" VARCHAR(16777216),
	"PatientIdentityRemoved" VARCHAR(16777216),
	"PatientPosition" VARCHAR(16777216),
	"PatientSex" VARCHAR(16777216),
	"PatientWeight" FLOAT,
	"PerformedProcedureStepDescription" VARCHAR(16777216),
	"PhotometricInterpretation" VARCHAR(16777216),
	"PixelRepresentation" NUMBER(38,0),
	"PositionReferenceIndicator" VARCHAR(16777216),
	"ProtocolName" VARCHAR(16777216),
	"ReconstructionDiameter" FLOAT,
	"RepetitionTime" FLOAT,
	"Rows" NUMBER(38,0),
	"SOPClassUID" VARCHAR(16777216),
	"SOPInstanceUID" VARCHAR(16777216),
	"SeriesDate" NUMBER(38,0),
	"SeriesDescription" VARCHAR(16777216),
	"SeriesInstanceUID" VARCHAR(16777216),
	"SeriesNumber" NUMBER(38,0),
	"SeriesTime" FLOAT,
	"SliceThickness" FLOAT,
	"SpacingBetweenSlices" FLOAT,
	"StudyDate" NUMBER(38,0),
	"StudyDescription" VARCHAR(16777216),
	"StudyInstanceUID" VARCHAR(16777216),
	"StudyTime" FLOAT
);

INSERT INTO "TCGA"."TCGA_VERSIONED"."RADIOLOGY_IMAGES_TCIA_2018_06" (StudyTime, PatientSex, BitsAllocated, AcquisitionDate, ManufacturerModelName, SeriesDate, PositionReferenceIndicator, PhotometricInterpretation, FrameofReferenceUID, SliceThickness, PerformedProcedureStepDescription, PatientAge, DCMFileName, ProtocolName, StudyInstanceUID, ContentTime, SeriesInstanceUID, Rows, SeriesNumber, AdditionalPatientHistory, SpacingBetweenSlices, SOPClassUID, Modality, PixelRepresentation, MRAcquisitionType, AcquisitionNumber, InstanceNumber, BodyPartExamined, SOPInstanceUID, SeriesTime, StudyDate, ReconstructionDiameter, ZipFileName, PatientID, PatientWeight, Manufacturer, ContentDate, PatientIdentityRemoved, SeriesDescription, RepetitionTime, Columns, FlipAngle, AcquisitionTime, PatientPosition, BitsStored, StudyDescription, AccessionNumber) VALUES (NULL, 'M', 8, nan, NULL, nan, NULL, 'RGB', NULL, 4.0, NULL, NULL, '120.dcm', NULL, '1.3.6.1.4.1.14519.5.2.1.7695.4001.163028456110647174493384721797', nan, '1.2.826.0.1.3680043.2.1322.2.38073767.71614126813.5', 128, 5, NULL, 4.5, 'Secondary Capture Image Storage', 'MR', 0, NULL, nan, 4, 'BRAIN', '1.2.826.0.1.3680043.2.1322.3.38073792.71614126845.4', nan, 20001225, nan, 'gs://isb-tcia-open/images/TCGA-GBM/TCGA-08-0352/TCIA.image.1.2.826.0.1.3680043.2.1322.2.38073767.71614126813.5.zip', 'TCGA-08-0352', 90.718002319336, NULL, nan, 'YES', 'nordicIce UCSF - MTT map -Leakage corrected', nan, 128, nan, nan, NULL, 8, NULL, 1746145767942571), (NULL, 'M', 8, nan, NULL, nan, NULL, 'RGB', NULL, 4.0, NULL, NULL, '117.dcm', NULL, '1.3.6.1.4.1.14519.5.2.1.7695.4001.163028456110647174493384721797', nan, '1.2.826.0.1.3680043.2.1322.2.38073767.71614126813.5', 128, 5, NULL, 4.5, 'Secondary Capture Image Storage', 'MR', 0, NULL, nan, 1, 'BRAIN', '1.2.826.0.1.3680043.2.1322.3.38073767.71614126813.1', nan, 20001225, nan, 'gs://isb-tcia-open/images/TCGA-GBM/TCGA-08-0352/TCIA.image.1.2.826.0.1.3680043.2.1322.2.38073767.71614126813.5.zip', 'TCGA-08-0352', 90.718002319336, NULL, nan, 'YES', 'nordicIce UCSF - MTT map -Leakage corrected', nan, 128, nan, nan, NULL, 8, NULL, 1746145767942571), (NULL, 'M', 16, 20040707.0, NULL, 20040707.0, NULL, 'MONOCHROME2', '1.3.6.1.4.1.14519.5.2.1.4591.4001.225385959842816639120045422800', 5.0, NULL, NULL, '056.dcm', NULL, '1.3.6.1.4.1.14519.5.2.1.4591.4001.216767337030769268485462841002', 100541.0, '1.2.826.0.1.3680043.2.1322.2.2847956386.1025151380.0', 128, 20, NULL, 5.0, 'Secondary Capture Image Storage', 'MR', 1, '2D', 2.0, 2, 'BRAIN', '1.2.826.0.1.3680043.2.1322.3.2847957744.102515139359.2', 133535.0, 20040707, 240.0, 'gs://isb-tcia-open/images/TCGA-GBM/TCGA-06-0187/TCIA.image.1.2.826.0.1.3680043.2.1322.2.2847956386.1025151380.0.zip', 'TCGA-06-0187', nan, NULL, 20061117.0, 'YES', 'nordicICE HFH - rBV map -Leakage corrected', 1899.996, 128, 90.0, 133535.0, 'HFS', 16, NULL, 1241857504264596), (NULL, 'M', 8, nan, NULL, nan, NULL, 'RGB', NULL, 5.0, NULL, NULL, '282.dcm', NULL, '1.3.6.1.4.1.14519.5.2.1.4591.4001.146995087154371962686852678030', nan, '1.2.826.0.1.3680043.2.1322.2.37556888.71614329935.21', 128, 21, NULL, 5.0, 'Secondary Capture Image Storage', 'MR', 0, NULL, nan, 10, 'BRAIN', '1.2.826.0.1.3680043.2.1322.3.37557033.7161433076.10', nan, 20051128, nan, 'gs://isb-tcia-open/images/TCGA-GBM/TCGA-06-0644/TCIA.image.1.2.826.0.1.3680043.2.1322.2.37556888.71614329935.21.zip', 'TCGA-06-0644', nan, NULL, nan, 'YES', 'nordicIce HFH - rBV map -Leakage corrected', nan, 128, nan, nan, NULL, 8, NULL, 3927169918025800), (NULL, 'M', 8, nan, NULL, nan, NULL, 'RGB', NULL, 5.0, NULL, NULL, '283.dcm', NULL, '1.3.6.1.4.1.14519.5.2.1.4591.4001.146995087154371962686852678030', nan, '1.2.826.0.1.3680043.2.1322.2.37556888.71614329935.21', 128, 21, NULL, 5.0, 'Secondary Capture Image Storage', 'MR', 0, NULL, nan, 11, 'BRAIN', '1.2.826.0.1.3680043.2.1322.3.37557042.7161433091.11', nan, 20051128, nan, 'gs://isb-tcia-open/images/TCGA-GBM/TCGA-06-0644/TCIA.image.1.2.826.0.1.3680043.2.1322.2.37556888.71614329935.21.zip', 'TCGA-06-0644', nan, NULL, nan, 'YES', 'nordicIce HFH - rBV map -Leakage corrected', nan, 128, nan, nan, NULL, 8, NULL, 3927169918025800);