-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.CPTAC.clinical_CPTAC2_other_pdc_current`
(
  case_id STRING OPTIONS(description="Unique identifier associated with a specific patient (e.g. 24cb0fcb-63d6-11e8-bcf1-0a2705229b82)"),
  case_submitter_id STRING OPTIONS(description="Unique identifier deriving from the data submitter that is associated with a specific patient (e.g. 05BR016)"),
  project_submitter_id STRING OPTIONS(description="Unique identifier deriving from the data submitter that is associated with a specific project (e.g. CPTAC3-Discovery)"),
  disease_type STRING OPTIONS(description="The text term used to describe the type of malignant disease, as categorized by the World Health Organization's (WHO) International Classification of Diseases for Oncology (ICD-O)"),
  demographic_id STRING OPTIONS(description="Unique identifier attributed to data for the characterization of the patient by means of segmenting the population--for instance, characterization by age, sex, or race (e.g. 848b480c-0f56-11e9-a064-0a9c39d33490)"),
  demographic_submitter_id STRING OPTIONS(description="Unique identifier deriving from data submitter that is attributed to data for the characterization of the patient by means of segmenting the population (e.g., characterization by age, sex, or race) (e.g. P001-DM)"),
  diagnosis_id STRING OPTIONS(description="Unique identifier for data from the investigation, analysis and recognition of the presence and nature of disease, condition, or injury from expressed signs and symptoms; also, the scientific determination of any kind; the concise results of such an investigation (e.g. e8dd475b-693a-11ea-b1fd-0aad30af8a83)"),
  diagnosis_submitter_id STRING OPTIONS(description="Unique identifier deriving from data submitter attributed to data from the investigation, analysis and recognition of the presence and nature of disease, condition, or injury from expressed signs and symptoms; also, the scientific determination of any kind; the concise results of such an investigation (e.g. 33-DX)")
)
OPTIONS(
  friendly_name="CPTAC2-OTHER CLINICAL DATA",
  description="Data for the CPTAC2-Other project was extracted using PDC API V1.19 in June 2021. This table contains information about patient cases and their clinical information. More details: see https://pdc.cancer.gov/data-dictionary/dictionary.html",
  labels=[("access", "open"), ("data_type", "clinical_data"), ("source", "pdc"), ("program", "cptac2"), ("category", "clinical_biospecimen_data"), ("status", "current"), ("version", "v1_19")]
);

INSERT INTO `isb-cgc-bq.CPTAC.clinical_CPTAC2_other_pdc_current` (case_id, case_submitter_id, project_submitter_id, disease_type, demographic_id, demographic_submitter_id, diagnosis_id, diagnosis_submitter_id) VALUES ('221c00a5-5af5-4793-988d-223263ecfb38', 'WHIM30', 'CPTAC2-Other', 'Other', '34907ec2-932a-4752-8219-63083ec3093b', 'WHIM30-DM', '364cd5ec-54cd-4c01-af96-bea6c4dda74c', 'WHIM30-DX'), ('5d66255e-9161-42b2-a59f-4764a4e7b570', 'WHIM27', 'CPTAC2-Other', 'Other', '78fc2a0c-6f77-413e-b9b1-15cff02ee45e', 'WHIM27-DM', '0dbfa6eb-7865-4bc1-bcad-bda770d71212', 'WHIM27-DX'), ('8e984f66-c1db-4588-bd01-691870ba0225', 'HumanIR', 'CPTAC2-Other', 'Other', 'b63884c6-1208-4c33-ab1b-92c4ec7c1973', 'HumanIR-DM', '3dda7dd9-ad98-4ca3-bdde-c9076696767e', 'HumanIR-DX'), ('35adc129-34de-4a9e-8243-caece2a6c6d2', 'WHIM11', 'CPTAC2-Other', 'Other', '784e6e74-32f1-4c9f-bed1-90e955d5d3d8', 'WHIM11-DM', 'b6a05087-83c4-4c4b-bd8b-5a32d83a20a0', 'WHIM11-DX'), ('adfe3073-938e-4789-bb6e-3e18c0c226ee', 'WHIM46', 'CPTAC2-Other', 'Other', 'ab9d86c4-72a3-4d9d-9567-fa60187cff39', 'WHIM46-DM', '52d7eeaa-3dab-45b7-9ebc-c31fee11bad7', 'WHIM46-DX');