|
50 | 50 | SELECT |
51 | 51 | # description: |
52 | 52 | # unique identifier of the instance |
53 | | - dicom_all.SOPInstanceUID, |
| 53 | + dicom_all.SOPInstanceUID AS SOPInstanceUID, |
54 | 54 | # description: |
55 | 55 | # unique identifier of the series |
56 | | - dicom_all.SeriesInstanceUID, |
| 56 | + dicom_all.SeriesInstanceUID AS SeriesInstanceUID, |
57 | 57 | -- Embedding Medium |
58 | 58 | # description: |
59 | 59 | # embedding medium used for the slide preparation |
@@ -119,23 +119,23 @@ SELECT |
119 | 119 | SAFE_CAST(SharedFunctionalGroupsSequence[SAFE_OFFSET(0)].PixelMeasuresSequence[SAFE_OFFSET(0)]. PixelSpacing[SAFE_OFFSET(0)] AS FLOAT64) AS PixelSpacing_0, |
120 | 120 | # description: |
121 | 121 | # DICOM ImageType attribute |
122 | | - dicom_all.ImageType, |
| 122 | + dicom_all.ImageType AS ImageType, |
123 | 123 | # description: |
124 | 124 | # DICOM TransferSyntaxUID attribute |
125 | | - dicom_all.TransferSyntaxUID, |
| 125 | + dicom_all.TransferSyntaxUID AS TransferSyntaxUID, |
126 | 126 | # description: |
127 | 127 | # size of the instance file in bytes |
128 | | - dicom_all.instance_size, |
| 128 | + dicom_all.instance_size AS instance_size, |
129 | 129 | # description: |
130 | 130 | # number of columns in the image |
131 | | - dicom_all.TotalPixelMatrixColumns, |
| 131 | + dicom_all.TotalPixelMatrixColumns AS TotalPixelMatrixColumns, |
132 | 132 | # description: |
133 | 133 | # number of rows in the image |
134 | | - dicom_all.TotalPixelMatrixRows, |
| 134 | + dicom_all.TotalPixelMatrixRows AS TotalPixelMatrixRows, |
135 | 135 | -- attributes needed to retrieve the selected instances/files |
136 | 136 | # description: |
137 | 137 | # unique identifier of the instance within the IDC |
138 | | - dicom_all.crdc_instance_uuid |
| 138 | + dicom_all.crdc_instance_uuid AS crdc_instance_uuid |
139 | 139 | FROM |
140 | 140 | `bigquery-public-data.idc_v22.dicom_all` AS dicom_all |
141 | 141 | LEFT JOIN |
|
0 commit comments