-- 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_MITELMAN"."TCGA_VERSIONED"."RADIOLOGY_IMAGES_TCIA_2018_06" (StudyTime, BitsAllocated, PatientSex, ManufacturerModelName, AcquisitionDate, SeriesDate, PositionReferenceIndicator, FrameofReferenceUID, PhotometricInterpretation, PatientAge, SliceThickness, PerformedProcedureStepDescription, DCMFileName, ProtocolName, StudyInstanceUID, ContentTime, SeriesInstanceUID, Rows, SeriesNumber, AdditionalPatientHistory, SpacingBetweenSlices, SOPClassUID, Modality, PixelRepresentation, MRAcquisitionType, AcquisitionNumber, InstanceNumber, BodyPartExamined, ReconstructionDiameter, StudyDate, SeriesTime, SOPInstanceUID, PatientWeight, ZipFileName, PatientID, ContentDate, Manufacturer, SeriesDescription, PatientIdentityRemoved, FlipAngle, Columns, AcquisitionTime, RepetitionTime, PatientPosition, BitsStored, AccessionNumber, StudyDescription) VALUES (124620.0, 16, 'F', 'GEMINI TF TOF 64', 20010221, NULL, NULL, '1.3.6.1.4.1.14519.5.2.1.1869.4009.299693233875137764606980930385', 'MONOCHROME2', 70, 0.9, 'CT NECK SOFT TISSUE ENHANCED - 70491', '101.dcm', 'UM/DFB NECK CONTRAST/Neck', '1.3.6.1.4.1.14519.5.2.1.1869.4009.309923321553049190189833949627', 125116.542, '1.3.6.1.4.1.14519.5.2.1.1869.4009.566769924892606591343680308157', 512, 2, NULL, 0.45, 'CT Image Storage', 'CT', 0, NULL, NULL, 85, 'HEADNECK', 234.0, 20010221, NULL, '1.3.6.1.4.1.14519.5.2.1.1869.4009.184482691057111125661798943211', 65.0, 'gs://isb-tcia-open/images/TCGA-HNSC/TCGA-IQ-A61K/TCIA.image.1.3.6.1.4.1.14519.5.2.1.1869.4009.566769924892606591343680308157.zip', 'TCGA-IQ-A61K', 20010221, 'Philips', 'THIN SLICES', 'YES', NULL, 512, 125115.0, NULL, 'HFS', 12, 3093693802602309, 'CT NECK SOFT TISSUE ENHANCED - 70491'), (124620.0, 16, 'F', 'GEMINI TF TOF 64', 20010221, NULL, NULL, '1.3.6.1.4.1.14519.5.2.1.1869.4009.299693233875137764606980930385', 'MONOCHROME2', 70, 0.9, 'CT NECK SOFT TISSUE ENHANCED - 70491', '294.dcm', 'UM/DFB NECK CONTRAST/Neck', '1.3.6.1.4.1.14519.5.2.1.1869.4009.309923321553049190189833949627', 125121.108, '1.3.6.1.4.1.14519.5.2.1.1869.4009.566769924892606591343680308157', 512, 2, NULL, 0.45, 'CT Image Storage', 'CT', 0, NULL, NULL, 567, 'HEADNECK', 234.0, 20010221, NULL, '1.3.6.1.4.1.14519.5.2.1.1869.4009.318563869987015764910076813890', 65.0, 'gs://isb-tcia-open/images/TCGA-HNSC/TCGA-IQ-A61K/TCIA.image.1.3.6.1.4.1.14519.5.2.1.1869.4009.566769924892606591343680308157.zip', 'TCGA-IQ-A61K', 20010221, 'Philips', 'THIN SLICES', 'YES', NULL, 512, 125115.0, NULL, 'HFS', 12, 3093693802602309, 'CT NECK SOFT TISSUE ENHANCED - 70491'), (124620.0, 16, 'F', 'GEMINI TF TOF 64', 20010221, NULL, NULL, '1.3.6.1.4.1.14519.5.2.1.1869.4009.299693233875137764606980930385', 'MONOCHROME2', 70, 0.9, 'CT NECK SOFT TISSUE ENHANCED - 70491', '150.dcm', 'UM/DFB NECK CONTRAST/Neck', '1.3.6.1.4.1.14519.5.2.1.1869.4009.309923321553049190189833949627', 125119.743, '1.3.6.1.4.1.14519.5.2.1.1869.4009.566769924892606591343680308157', 512, 2, NULL, 0.45, 'CT Image Storage', 'CT', 0, NULL, NULL, 423, 'HEADNECK', 234.0, 20010221, NULL, '1.3.6.1.4.1.14519.5.2.1.1869.4009.295846694046603286225201357167', 65.0, 'gs://isb-tcia-open/images/TCGA-HNSC/TCGA-IQ-A61K/TCIA.image.1.3.6.1.4.1.14519.5.2.1.1869.4009.566769924892606591343680308157.zip', 'TCGA-IQ-A61K', 20010221, 'Philips', 'THIN SLICES', 'YES', NULL, 512, 125115.0, NULL, 'HFS', 12, 3093693802602309, 'CT NECK SOFT TISSUE ENHANCED - 70491'), (124620.0, 16, 'F', 'GEMINI TF TOF 64', 20010221, NULL, NULL, '1.3.6.1.4.1.14519.5.2.1.1869.4009.299693233875137764606980930385', 'MONOCHROME2', 70, 0.9, 'CT NECK SOFT TISSUE ENHANCED - 70491', '001.dcm', 'UM/DFB NECK CONTRAST/Neck', '1.3.6.1.4.1.14519.5.2.1.1869.4009.309923321553049190189833949627', 125121.174, '1.3.6.1.4.1.14519.5.2.1.1869.4009.566769924892606591343680308157', 512, 2, NULL, 0.45, 'CT Image Storage', 'CT', 0, NULL, NULL, 574, 'HEADNECK', 234.0, 20010221, NULL, '1.3.6.1.4.1.14519.5.2.1.1869.4009.302421899509048181813988876452', 65.0, 'gs://isb-tcia-open/images/TCGA-HNSC/TCGA-IQ-A61K/TCIA.image.1.3.6.1.4.1.14519.5.2.1.1869.4009.566769924892606591343680308157.zip', 'TCGA-IQ-A61K', 20010221, 'Philips', 'THIN SLICES', 'YES', NULL, 512, 125115.0, NULL, 'HFS', 12, 3093693802602309, 'CT NECK SOFT TISSUE ENHANCED - 70491'), (124620.0, 16, 'F', 'GEMINI TF TOF 64', 20010221, NULL, NULL, '1.3.6.1.4.1.14519.5.2.1.1869.4009.299693233875137764606980930385', 'MONOCHROME2', 70, 0.9, 'CT NECK SOFT TISSUE ENHANCED - 70491', '023.dcm', 'UM/DFB NECK CONTRAST/Neck', '1.3.6.1.4.1.14519.5.2.1.1869.4009.309923321553049190189833949627', 125115.805, '1.3.6.1.4.1.14519.5.2.1.1869.4009.566769924892606591343680308157', 512, 2, NULL, 0.45, 'CT Image Storage', 'CT', 0, NULL, NULL, 7, 'HEADNECK', 234.0, 20010221, NULL, '1.3.6.1.4.1.14519.5.2.1.1869.4009.121917957479379635389442210983', 65.0, 'gs://isb-tcia-open/images/TCGA-HNSC/TCGA-IQ-A61K/TCIA.image.1.3.6.1.4.1.14519.5.2.1.1869.4009.566769924892606591343680308157.zip', 'TCGA-IQ-A61K', 20010221, 'Philips', 'THIN SLICES', 'YES', NULL, 512, 125115.0, NULL, 'HFS', 12, 3093693802602309, 'CT NECK SOFT TISSUE ENHANCED - 70491');