-- DBMS: snowflake
create or replace TABLE RADIOLOGY_IMAGES_TCIA_2022_01 (
	"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_2022_01" (InstanceNumber, SeriesDate, SpacingBetweenSlices, Modality, SeriesTime, PerformedProcedureStepDescription, PatientAge, ContentDate, StudyInstanceUID, FlipAngle, BitsAllocated, SOPInstanceUID, ZipFileName, StudyDescription, ManufacturerModelName, SeriesDescription, PatientWeight, BodyPartExamined, PatientID, Rows, SOPClassUID, ProtocolName, SeriesNumber, PositionReferenceIndicator, PatientSex, AccessionNumber, PhotometricInterpretation, ReconstructionDiameter, Manufacturer, PatientPosition, MRAcquisitionType, AcquisitionTime, Columns, RepetitionTime, AcquisitionNumber, DCMFileName, AcquisitionDate, SliceThickness, PatientIdentityRemoved, StudyDate, FrameofReferenceUID, StudyTime, BitsStored, SeriesInstanceUID, PixelRepresentation, AdditionalPatientHistory, ContentTime) VALUES (65, 19940425, NULL, 'CT', 162639.0, 'CAP', 62, 19940425, '1.3.6.1.4.1.14519.5.2.1.6450.4007.301029758806643972335754417994', NULL, 16, '1.3.6.1.4.1.14519.5.2.1.6450.4007.351359367562868352759553663136', 'gs://isb-tcia-open/images/TCGA-OV/TCGA-61-2018/TCIA.image.1.3.6.1.4.1.14519.5.2.1.6450.4007.294835595902080970477417440349.zip', 'CAP', 'LightSpeed Ultra', 'CHEST ABD PELVIS', NULL, 'OVARY', 'TCGA-61-2018', 512, 'CT Image Storage', '5.2 CHEST/ABD/PELVIS WITH CONTRAST ONLY', 2, 'SN', 'F', 2278200607514563, 'MONOCHROME2', 500.0, 'GE MEDICAL SYSTEMS', 'FFS', NULL, 162811.0, 512, NULL, 2, '213.dcm', 19940425, 5.0, 'YES', 19940425, '1.3.6.1.4.1.14519.5.2.1.6450.4007.123084316732237006931565198466', 162432.0, 16, '1.3.6.1.4.1.14519.5.2.1.6450.4007.294835595902080970477417440349', 1, 'PELVIC MASS', 162911.0), (70, 19940425, NULL, 'CT', 162639.0, 'CAP', 62, 19940425, '1.3.6.1.4.1.14519.5.2.1.6450.4007.301029758806643972335754417994', NULL, 16, '1.3.6.1.4.1.14519.5.2.1.6450.4007.982274575358027075484141603583', 'gs://isb-tcia-open/images/TCGA-OV/TCGA-61-2018/TCIA.image.1.3.6.1.4.1.14519.5.2.1.6450.4007.294835595902080970477417440349.zip', 'CAP', 'LightSpeed Ultra', 'CHEST ABD PELVIS', NULL, 'OVARY', 'TCGA-61-2018', 512, 'CT Image Storage', '5.2 CHEST/ABD/PELVIS WITH CONTRAST ONLY', 2, 'SN', 'F', 2278200607514563, 'MONOCHROME2', 500.0, 'GE MEDICAL SYSTEMS', 'FFS', NULL, 162811.0, 512, NULL, 2, '218.dcm', 19940425, 5.0, 'YES', 19940425, '1.3.6.1.4.1.14519.5.2.1.6450.4007.123084316732237006931565198466', 162432.0, 16, '1.3.6.1.4.1.14519.5.2.1.6450.4007.294835595902080970477417440349', 1, 'PELVIC MASS', 162917.0), (86, 19940425, NULL, 'CT', 162639.0, 'CAP', 62, 19940425, '1.3.6.1.4.1.14519.5.2.1.6450.4007.301029758806643972335754417994', NULL, 16, '1.3.6.1.4.1.14519.5.2.1.6450.4007.162416790080857878144930376422', 'gs://isb-tcia-open/images/TCGA-OV/TCGA-61-2018/TCIA.image.1.3.6.1.4.1.14519.5.2.1.6450.4007.294835595902080970477417440349.zip', 'CAP', 'LightSpeed Ultra', 'CHEST ABD PELVIS', NULL, 'OVARY', 'TCGA-61-2018', 512, 'CT Image Storage', '5.2 CHEST/ABD/PELVIS WITH CONTRAST ONLY', 2, 'SN', 'F', 2278200607514563, 'MONOCHROME2', 500.0, 'GE MEDICAL SYSTEMS', 'FFS', NULL, 162839.0, 512, NULL, 3, '234.dcm', 19940425, 5.0, 'YES', 19940425, '1.3.6.1.4.1.14519.5.2.1.6450.4007.123084316732237006931565198466', 162432.0, 16, '1.3.6.1.4.1.14519.5.2.1.6450.4007.294835595902080970477417440349', 1, 'PELVIC MASS', 162937.0), (24, 19940425, NULL, 'CT', 162639.0, 'CAP', 62, 19940425, '1.3.6.1.4.1.14519.5.2.1.6450.4007.301029758806643972335754417994', NULL, 16, '1.3.6.1.4.1.14519.5.2.1.6450.4007.148866772179030581350748101517', 'gs://isb-tcia-open/images/TCGA-OV/TCGA-61-2018/TCIA.image.1.3.6.1.4.1.14519.5.2.1.6450.4007.294835595902080970477417440349.zip', 'CAP', 'LightSpeed Ultra', 'CHEST ABD PELVIS', NULL, 'OVARY', 'TCGA-61-2018', 512, 'CT Image Storage', '5.2 CHEST/ABD/PELVIS WITH CONTRAST ONLY', 2, 'SN', 'F', 2278200607514563, 'MONOCHROME2', 500.0, 'GE MEDICAL SYSTEMS', 'FFS', NULL, 162735.0, 512, NULL, 1, '178.dcm', 19940425, 5.0, 'YES', 19940425, '1.3.6.1.4.1.14519.5.2.1.6450.4007.123084316732237006931565198466', 162432.0, 16, '1.3.6.1.4.1.14519.5.2.1.6450.4007.294835595902080970477417440349', 1, 'PELVIC MASS', 162816.0), (6, 19940425, NULL, 'CT', 162639.0, 'CAP', 62, 19940425, '1.3.6.1.4.1.14519.5.2.1.6450.4007.301029758806643972335754417994', NULL, 16, '1.3.6.1.4.1.14519.5.2.1.6450.4007.276671276808775457528933508300', 'gs://isb-tcia-open/images/TCGA-OV/TCGA-61-2018/TCIA.image.1.3.6.1.4.1.14519.5.2.1.6450.4007.294835595902080970477417440349.zip', 'CAP', 'LightSpeed Ultra', 'CHEST ABD PELVIS', NULL, 'OVARY', 'TCGA-61-2018', 512, 'CT Image Storage', '5.2 CHEST/ABD/PELVIS WITH CONTRAST ONLY', 2, 'SN', 'F', 2278200607514563, 'MONOCHROME2', 500.0, 'GE MEDICAL SYSTEMS', 'FFS', NULL, 162735.0, 512, NULL, 1, '156.dcm', 19940425, 5.0, 'YES', 19940425, '1.3.6.1.4.1.14519.5.2.1.6450.4007.123084316732237006931565198466', 162432.0, 16, '1.3.6.1.4.1.14519.5.2.1.6450.4007.294835595902080970477417440349', 1, 'PELVIC MASS', 162752.0);