algorithms.cs.02.05.50.schemas.esophagus.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of staging-client-java Show documentation
Show all versions of staging-client-java Show documentation
A cancer staging client library
{
"id" : "esophagus",
"algorithm" : "cs",
"version" : "02.05.50",
"name" : "Esophagus",
"title" : "Esophagus",
"notes" : "DISCONTINUED SITE-SPECIFIC FACTORS: SSF2, SSF3, SSF4, SSF5\n\nC15.0 - Cervical esophagus\nC15.1 - Thoracic esophagus\nC15.2 - Abdominal esophagus\nC15.3 - Upper third of esophagus\nC15.4 - Middle third of esophagus\nC15.5 - Lower third of esophagus\nC15.8 - Overlapping lesion of esophagus\nC15.9 - Esophagus, NOS\n\n**Note 1**: The cardia/gastroesophageal junction (EGJ), and the proximal 5 centimeters (cm) of the fundus and body of the stomach (C16.0-C16.2) have been removed from the Stomach chapter and added to the Esophagus chapter effective with AJCC 7th Edition. A new schema EsophagusGEJunction was created in CSv2 to accommodate this change. Tumors arising at the EGJ, or arising in the stomach within 5 cm of the EGJ and crossing the EGJ are staged using the EsophagusGEJunction schema. All other cancers with a midpoint in the stomach lying more than 5 cm distal to the EGJ, or those within 5 cm of the EGJ but not extending into the EGJ or esophagus, are staged using the stomach schema.\n\n**Note 2**: There are two widely used but incompatible systems of dividing the esophagus into subsites, one using anatomic landmarks and the other using using thirds of the total length. Each of these two systems has been assigned topography codes in ICD-O-3; codes C15.0-C15.2 for the former, and C15.3-C15.5 for the latter. As explained on page 23 of ICD-O-3, \"The terms cervical, thoracic, and abdominal are radiographic and intraoperative descriptors; upper, middle, and lower third are endoscopic and clinical descriptors.\" In actual practice by physicians, and in publications of UICC and AJCC, the terms and codes for the upper, middle, and lower thirds are often applied to sub-sections of the thoracic esophagus, and the abdominal portion can be considered part of the lower thoracic esophagus. \n\n**Note 3**: Anatomic Limits of Esophagus: \n\n* Cervical Esophagus (C15.0): From the lower border of the cricoid cartilage to the thoracic inlet (suprasternal notch), about 18 cm from the incisors.\n* Thoracic Esophagus (C15.1) and Abdominal Esophagus (C15.2):\n * Upper thoracic portion (C15.3): From the thoracic inlet to the level of the tracheal bifurcation (18-24 cm). \n * Mid-thoracic portion (C15.4): From the tracheal bifurcation midway to the GEJ (24-32 cm).\n * Lower thoracic portion (C15.5): From midway between the tracheal bifurcation and the EGJ to the EGJ including the abdominal esophagus (32-40 cm). \n\n**Note 4**: Effective with AJCC TNM 7th Edition, there are separate stage groupings for squamous cell carcinoma and adenocarcinoma. Since squamous cell carcinoma typically has a poorer prognosis than adenocarcinoma, a tumor of mixed histopathologic type or a type that is not otherwise specified should be classified as squamous cell carcinoma. \n\n**Note 5**: Effective with AJCC TNM 7th Edition, histologic grade is required for stage grouping.",
"schema_num" : 41,
"schema_selection_table" : "schema_selection_esophagus",
"inputs" : [ {
"key" : "site",
"name" : "Primary Site",
"description" : "Code for the primary site of the tumor being reported using either ICD-O-2 or ICD-O-3.",
"naaccr_item" : 400,
"table" : "primary_site",
"used_for_staging" : true
}, {
"key" : "hist",
"name" : "Histology",
"description" : "Codes for the histologic type of the tumor being reported using ICD-O-3.",
"naaccr_item" : 522,
"table" : "histology",
"used_for_staging" : true
}, {
"key" : "year_dx",
"name" : "Year of Diagnosis",
"description" : "Date of initial diagnosis by a recognized medical practitioner for the tumor being reported whether clinically or microscopically confirmed.",
"naaccr_item" : 390,
"table" : "cs_year_validation",
"used_for_staging" : true
}, {
"key" : "cs_input_version_original",
"name" : "CS Version Input Original",
"description" : "Collaborative Staging (CS) version number initially used to code CS fields.",
"naaccr_item" : 2935,
"table" : "cs_input_version_original",
"used_for_staging" : true
}, {
"key" : "behavior",
"name" : "Behavior ICD-O-3",
"description" : "Code for the behavior of the tumor being reported using ICD-O-3.",
"naaccr_item" : 523,
"table" : "behavior",
"used_for_staging" : false
}, {
"key" : "grade",
"name" : "Grade",
"description" : "Code for the grade or degree of differentiation of the reportable tumor.",
"naaccr_item" : 440,
"table" : "grade",
"used_for_staging" : true
}, {
"key" : "age_dx",
"name" : "Age at Diagnosis",
"description" : "Age of the patient at diagnosis in complete years.",
"naaccr_item" : 230,
"used_for_staging" : false
}, {
"key" : "lvi",
"name" : "Lymph-vascular Invasion",
"description" : "Indicates whether lymphatic duct or blood vessel (LVI) is identified in the pathology report.",
"naaccr_item" : 1182,
"default" : "8",
"table" : "lvi",
"used_for_staging" : false
}, {
"key" : "size",
"name" : "CS Tumor Size",
"description" : "Records the largest dimension or diameter of the primary tumor in millimeters.",
"naaccr_item" : 2800,
"default" : "999",
"table" : "size_aag",
"used_for_staging" : false
}, {
"key" : "extension",
"name" : "CS Extension",
"description" : "Identifies contiguous growth (extension) of the primary tumor within the organ of origin or its direct extension into neighboring organs. For certain sites such as ovary, discontinuous metastasis is coded in CS Extension.",
"naaccr_item" : 2810,
"default" : "999",
"table" : "extension_bbb",
"used_for_staging" : true
}, {
"key" : "extension_eval",
"name" : "CS Tumor Size/Ext Eval",
"description" : "Records how the codes for the two items CS Tumor Size and CS Extension were determined, based on the diagnostic methods employed.",
"naaccr_item" : 2820,
"default" : "9",
"table" : "extension_eval_cpa",
"used_for_staging" : true
}, {
"key" : "nodes",
"name" : "CS Lymph Nodes",
"description" : "Identifies the regional lymph nodes involved with cancer at the time of diagnosis.",
"naaccr_item" : 2830,
"default" : "999",
"table" : "nodes_dat",
"used_for_staging" : true
}, {
"key" : "nodes_eval",
"name" : "CS Lymph Nodes Eval",
"description" : "Records how the code for CS Lymph Nodes was determined, based on the diagnosticmethods employed.",
"naaccr_item" : 2840,
"default" : "9",
"table" : "nodes_eval_epa",
"used_for_staging" : true
}, {
"key" : "nodes_pos",
"name" : "Regional Nodes Positive",
"description" : "Records the exact number of regional nodes examined by the pathologist and found to contain metastases. ",
"naaccr_item" : 820,
"default" : "99",
"table" : "nodes_pos_fpc",
"used_for_staging" : true
}, {
"key" : "nodes_exam",
"name" : "Regional Nodes Examined",
"description" : "Records the total number of regional lymph nodes that were removed and examined by the pathologist. ",
"naaccr_item" : 830,
"default" : "99",
"table" : "nodes_exam_gpa",
"used_for_staging" : false
}, {
"key" : "mets",
"name" : "CS Mets at DX",
"description" : "Identifies the distant site(s) of metastatic involvement at time of diagnosis.",
"naaccr_item" : 2850,
"default" : "99",
"table" : "mets_hbg",
"used_for_staging" : true
}, {
"key" : "mets_eval",
"name" : "CS Mets Eval",
"description" : "Records how the code for CS Mets at Dx was determined based on the diagnostic methods employed.",
"naaccr_item" : 2860,
"default" : "9",
"table" : "mets_eval_ipa",
"used_for_staging" : true
}, {
"key" : "ssf1",
"name" : "Clinical Assessment of Regional Lymph Nodes",
"naaccr_item" : 2880,
"default" : "999",
"table" : "ssf1_jpn",
"used_for_staging" : true,
"metadata" : [ "NPCR_REQUIRED_WHEN_AVAILABLE_2011_FORWARD", "CCCR_ESSENTIAL_FOR_TNM_CLASSIFICATION" ]
}, {
"key" : "ssf2",
"name" : "Specific Location of Tumor",
"naaccr_item" : 2890,
"default" : "988",
"table" : "ssf2_kas",
"used_for_staging" : false
}, {
"key" : "ssf3",
"name" : "Number of Regional Lymph Nodes with Extracapsular Tumor",
"naaccr_item" : 2900,
"default" : "988",
"table" : "ssf3_lpl",
"used_for_staging" : false
}, {
"key" : "ssf4",
"name" : "Distance to Proximal Edge of Tumor from Incisors",
"naaccr_item" : 2910,
"default" : "988",
"table" : "ssf4_mpg",
"used_for_staging" : false
}, {
"key" : "ssf5",
"name" : "Distance to Distal Edge of Tumor from Incisors",
"naaccr_item" : 2920,
"default" : "988",
"table" : "ssf5_npg",
"used_for_staging" : false
}, {
"key" : "ssf6",
"name" : "CS Site-Specific Factor 6",
"naaccr_item" : 2930,
"default" : "988",
"table" : "ssf6_ona",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf7",
"name" : "CS Site-Specific Factor 7",
"naaccr_item" : 2861,
"default" : "988",
"table" : "ssf7_snb",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf8",
"name" : "CS Site-Specific Factor 8",
"naaccr_item" : 2862,
"default" : "988",
"table" : "ssf8_snc",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf9",
"name" : "CS Site-Specific Factor 9",
"naaccr_item" : 2863,
"default" : "988",
"table" : "ssf9_snd",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf10",
"name" : "CS Site-Specific Factor 10",
"naaccr_item" : 2864,
"default" : "988",
"table" : "ssf10_sne",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf11",
"name" : "CS Site-Specific Factor 11",
"naaccr_item" : 2865,
"default" : "988",
"table" : "ssf11_snf",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf12",
"name" : "CS Site-Specific Factor 12",
"naaccr_item" : 2866,
"default" : "988",
"table" : "ssf12_sng",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf13",
"name" : "CS Site-Specific Factor 13",
"naaccr_item" : 2867,
"default" : "988",
"table" : "ssf13_snh",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf14",
"name" : "CS Site-Specific Factor 14",
"naaccr_item" : 2868,
"default" : "988",
"table" : "ssf14_sni",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf15",
"name" : "CS Site-Specific Factor 15",
"naaccr_item" : 2869,
"default" : "988",
"table" : "ssf15_snj",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf16",
"name" : "CS Site-Specific Factor 16",
"naaccr_item" : 2870,
"default" : "988",
"table" : "ssf16_snk",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf17",
"name" : "CS Site-Specific Factor 17",
"naaccr_item" : 2871,
"default" : "988",
"table" : "ssf17_snl",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf18",
"name" : "CS Site-Specific Factor 18",
"naaccr_item" : 2872,
"default" : "988",
"table" : "ssf18_snm",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf19",
"name" : "CS Site-Specific Factor 19",
"naaccr_item" : 2873,
"default" : "988",
"table" : "ssf19_snn",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf20",
"name" : "CS Site-Specific Factor 20",
"naaccr_item" : 2874,
"default" : "988",
"table" : "ssf20_sno",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf21",
"name" : "CS Site-Specific Factor 21",
"naaccr_item" : 2875,
"default" : "988",
"table" : "ssf21_snp",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf22",
"name" : "CS Site-Specific Factor 22",
"naaccr_item" : 2876,
"default" : "988",
"table" : "ssf22_snq",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf23",
"name" : "CS Site-Specific Factor 23",
"naaccr_item" : 2877,
"default" : "988",
"table" : "ssf23_snr",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf24",
"name" : "CS Site-Specific Factor 24",
"naaccr_item" : 2878,
"default" : "988",
"table" : "ssf24_sns",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
}, {
"key" : "ssf25",
"name" : "CS Site-Specific Factor 25",
"naaccr_item" : 2879,
"default" : "988",
"table" : "ssf25_snt",
"used_for_staging" : false,
"metadata" : [ "UNDEFINED_SSF" ]
} ],
"outputs" : [ {
"key" : "schema_number",
"name" : "Schema Number",
"description" : "CS assigned schema number.",
"default" : "41"
}, {
"key" : "csver_derived",
"name" : "CS Version Derived",
"description" : "Collaborative Staging (CS) version used to derive the CS output fields.",
"naaccr_item" : 2936,
"default" : "020550"
}, {
"key" : "ajcc6_t",
"name" : "AJCC6 T"
}, {
"key" : "ajcc6_tdescriptor",
"name" : "AJCC6 T Descriptor"
}, {
"key" : "ajcc6_n",
"name" : "AJCC6 N"
}, {
"key" : "ajcc6_ndescriptor",
"name" : "AJCC6 N Descriptor"
}, {
"key" : "ajcc6_m",
"name" : "AJCC6 M"
}, {
"key" : "ajcc6_mdescriptor",
"name" : "AJCC6 M Descriptor"
}, {
"key" : "ajcc6_stage",
"name" : "AJCC6 Stage Group"
}, {
"key" : "ajcc7_t",
"name" : "AJCC7 T"
}, {
"key" : "ajcc7_tdescriptor",
"name" : "AJCC7 T Descriptor"
}, {
"key" : "ajcc7_n",
"name" : "AJCC7 N"
}, {
"key" : "ajcc7_ndescriptor",
"name" : "AJCC7 N Descriptor"
}, {
"key" : "ajcc7_m",
"name" : "AJCC7 M"
}, {
"key" : "ajcc7_mdescriptor",
"name" : "AJCC7 M Descriptor"
}, {
"key" : "ajcc7_stage",
"name" : "AJCC7 Stage Group"
}, {
"key" : "t77",
"name" : "Summary Stage T 1977"
}, {
"key" : "n77",
"name" : "Summary Stage N 1977"
}, {
"key" : "m77",
"name" : "Summary Stage M 1977"
}, {
"key" : "ss77",
"name" : "Summary Stage Group 1977"
}, {
"key" : "t2000",
"name" : "Summary Stage T 2000"
}, {
"key" : "n2000",
"name" : "Summary Stage N 2000"
}, {
"key" : "m2000",
"name" : "Summary Stage M 2000"
}, {
"key" : "ss2000",
"name" : "Summary Stage Group 2000"
}, {
"key" : "stor_ajcc6_t",
"name" : "AJCC6 T (Storage)",
"naaccr_item" : 2940
}, {
"key" : "stor_ajcc6_tdescriptor",
"name" : "AJCC6 T Descriptor (Storage)",
"naaccr_item" : 2950
}, {
"key" : "stor_ajcc6_n",
"name" : "AJCC6 N (Storage)",
"naaccr_item" : 2960
}, {
"key" : "stor_ajcc6_ndescriptor",
"name" : "AJCC6 N Descriptor (Storage)",
"naaccr_item" : 2970
}, {
"key" : "stor_ajcc6_m",
"name" : "AJCC6 M (Storage)",
"naaccr_item" : 2980
}, {
"key" : "stor_ajcc6_mdescriptor",
"name" : "AJCC6 M Descriptor (Storage)",
"naaccr_item" : 2990
}, {
"key" : "stor_ajcc6_stage",
"name" : "AJCC6 Stage Group (Storage)",
"naaccr_item" : 3000
}, {
"key" : "stor_ajcc7_t",
"name" : "AJCC7 T (Storage)",
"naaccr_item" : 3400
}, {
"key" : "stor_ajcc7_tdescriptor",
"name" : "AJCC7 T Descriptor (Storage)",
"naaccr_item" : 3402
}, {
"key" : "stor_ajcc7_n",
"name" : "AJCC7 N (Storage)",
"naaccr_item" : 3410
}, {
"key" : "stor_ajcc7_ndescriptor",
"name" : "AJCC7 N Descriptor (Storage)",
"naaccr_item" : 3412
}, {
"key" : "stor_ajcc7_m",
"name" : "AJCC7 M (Storage)",
"naaccr_item" : 3420
}, {
"key" : "stor_ajcc7_mdescriptor",
"name" : "AJCC7 M Descriptor (Storage)",
"naaccr_item" : 3422
}, {
"key" : "stor_ajcc7_stage",
"name" : "AJCC7 Stage Group (Storage)",
"naaccr_item" : 3430
}, {
"key" : "stor_ss77",
"name" : "Summary Stage Group 1977 (Storage)",
"naaccr_item" : 3010
}, {
"key" : "stor_ss2000",
"name" : "Summary Stage Group 2000 (Storage)",
"naaccr_item" : 3020
} ],
"mappings" : [ {
"id" : "mapping_t",
"name" : "T",
"initial_context" : [ {
"key" : "stor_ajcc6_tdescriptor",
"value" : ""
}, {
"key" : "stor_ajcc7_tdescriptor",
"value" : ""
}, {
"key" : "ajcc6_tdescriptor",
"value" : "ERROR"
}, {
"key" : "t2000",
"value" : ""
}, {
"key" : "stor_ajcc7_t",
"value" : ""
}, {
"key" : "t77",
"value" : ""
}, {
"key" : "ajcc7_tdescriptor",
"value" : "ERROR"
}, {
"key" : "stor_ajcc6_t",
"value" : ""
}, {
"key" : "ajcc6_t",
"value" : ""
}, {
"key" : "ajcc7_t",
"value" : ""
} ],
"tables" : [ {
"id" : "extension_bbb",
"inputs" : [ "extension" ],
"outputs" : [ "t77", "t2000", "ajcc7_t", "ajcc6_t" ]
}, {
"id" : "extension_eval_cpa",
"output_mapping" : [ {
"from" : "tdescriptor",
"to" : "ajcc7_tdescriptor"
} ],
"inputs" : [ "extension_eval" ],
"outputs" : [ "ajcc7_tdescriptor" ]
}, {
"id" : "ajcc_descriptor_codes",
"input_mapping" : [ {
"from" : "ajcc7_tdescriptor",
"to" : "descriptor"
} ],
"output_mapping" : [ {
"from" : "stor_descriptor",
"to" : "stor_ajcc7_tdescriptor"
} ],
"inputs" : [ "ajcc7_tdescriptor" ],
"outputs" : [ "stor_ajcc7_tdescriptor" ]
}, {
"id" : "ajcc_tdescriptor_cleanup",
"input_mapping" : [ {
"from" : "ajcc7_t",
"to" : "t"
}, {
"from" : "ajcc7_tdescriptor",
"to" : "tdescriptor"
} ],
"output_mapping" : [ {
"from" : "stor_tdescriptor",
"to" : "stor_ajcc7_tdescriptor"
}, {
"from" : "tdescriptor",
"to" : "ajcc7_tdescriptor"
} ],
"inputs" : [ "ajcc7_tdescriptor", "ajcc7_t" ],
"outputs" : [ "ajcc7_tdescriptor", "stor_ajcc7_tdescriptor" ]
}, {
"id" : "ajcc7_t_codes",
"inputs" : [ "ajcc7_t" ],
"outputs" : [ "stor_ajcc7_t" ]
}, {
"id" : "extension_eval_cpa",
"output_mapping" : [ {
"from" : "tdescriptor",
"to" : "ajcc6_tdescriptor"
} ],
"inputs" : [ "extension_eval" ],
"outputs" : [ "ajcc6_tdescriptor" ]
}, {
"id" : "ajcc_descriptor_codes",
"input_mapping" : [ {
"from" : "ajcc6_tdescriptor",
"to" : "descriptor"
} ],
"output_mapping" : [ {
"from" : "stor_descriptor",
"to" : "stor_ajcc6_tdescriptor"
} ],
"inputs" : [ "ajcc6_tdescriptor" ],
"outputs" : [ "stor_ajcc6_tdescriptor" ]
}, {
"id" : "ajcc_tdescriptor_cleanup",
"input_mapping" : [ {
"from" : "ajcc6_t",
"to" : "t"
}, {
"from" : "ajcc6_tdescriptor",
"to" : "tdescriptor"
} ],
"output_mapping" : [ {
"from" : "tdescriptor",
"to" : "ajcc6_tdescriptor"
}, {
"from" : "stor_tdescriptor",
"to" : "stor_ajcc6_tdescriptor"
} ],
"inputs" : [ "ajcc6_tdescriptor", "ajcc6_t" ],
"outputs" : [ "ajcc6_tdescriptor", "stor_ajcc6_tdescriptor" ]
}, {
"id" : "ajcc6_t_codes",
"inputs" : [ "ajcc6_t" ],
"outputs" : [ "stor_ajcc6_t" ]
} ]
}, {
"id" : "mapping_n",
"name" : "N",
"initial_context" : [ {
"key" : "stor_ajcc6_n",
"value" : ""
}, {
"key" : "stor_ajcc6_ndescriptor",
"value" : ""
}, {
"key" : "n77",
"value" : ""
}, {
"key" : "ajcc6_n",
"value" : ""
}, {
"key" : "ajcc7_n",
"value" : ""
}, {
"key" : "n2000",
"value" : ""
}, {
"key" : "ajcc6_ndescriptor",
"value" : "ERROR"
}, {
"key" : "stor_ajcc7_n",
"value" : ""
}, {
"key" : "stor_ajcc7_ndescriptor",
"value" : ""
}, {
"key" : "ajcc7_ndescriptor",
"value" : "ERROR"
} ],
"tables" : [ {
"id" : "nodes_dat",
"inputs" : [ "nodes_pos", "nodes", "nodes_eval", "cs_input_version_original", "ssf1" ],
"outputs" : [ "ajcc7_n", "ajcc6_n", "n2000", "n77" ]
}, {
"id" : "nodes_eval_epa",
"output_mapping" : [ {
"from" : "ndescriptor",
"to" : "ajcc7_ndescriptor"
} ],
"inputs" : [ "nodes_eval" ],
"outputs" : [ "ajcc7_ndescriptor" ]
}, {
"id" : "ajcc_descriptor_codes",
"input_mapping" : [ {
"from" : "ajcc7_ndescriptor",
"to" : "descriptor"
} ],
"output_mapping" : [ {
"from" : "stor_descriptor",
"to" : "stor_ajcc7_ndescriptor"
} ],
"inputs" : [ "ajcc7_ndescriptor" ],
"outputs" : [ "stor_ajcc7_ndescriptor" ]
}, {
"id" : "ajcc_ndescriptor_cleanup",
"input_mapping" : [ {
"from" : "ajcc7_n",
"to" : "n"
}, {
"from" : "ajcc7_ndescriptor",
"to" : "ndescriptor"
} ],
"output_mapping" : [ {
"from" : "stor_ndescriptor",
"to" : "stor_ajcc7_ndescriptor"
}, {
"from" : "ndescriptor",
"to" : "ajcc7_ndescriptor"
} ],
"inputs" : [ "ajcc7_n", "ajcc7_ndescriptor" ],
"outputs" : [ "ajcc7_ndescriptor", "stor_ajcc7_ndescriptor" ]
}, {
"id" : "ajcc7_n_codes",
"inputs" : [ "ajcc7_n" ],
"outputs" : [ "stor_ajcc7_n" ]
}, {
"id" : "nodes_eval_epa",
"output_mapping" : [ {
"from" : "ndescriptor",
"to" : "ajcc6_ndescriptor"
} ],
"inputs" : [ "nodes_eval" ],
"outputs" : [ "ajcc6_ndescriptor" ]
}, {
"id" : "ajcc_descriptor_codes",
"input_mapping" : [ {
"from" : "ajcc6_ndescriptor",
"to" : "descriptor"
} ],
"output_mapping" : [ {
"from" : "stor_descriptor",
"to" : "stor_ajcc6_ndescriptor"
} ],
"inputs" : [ "ajcc6_ndescriptor" ],
"outputs" : [ "stor_ajcc6_ndescriptor" ]
}, {
"id" : "ajcc_ndescriptor_cleanup",
"input_mapping" : [ {
"from" : "ajcc6_n",
"to" : "n"
}, {
"from" : "ajcc6_ndescriptor",
"to" : "ndescriptor"
} ],
"output_mapping" : [ {
"from" : "ndescriptor",
"to" : "ajcc6_ndescriptor"
}, {
"from" : "stor_ndescriptor",
"to" : "stor_ajcc6_ndescriptor"
} ],
"inputs" : [ "ajcc6_ndescriptor", "ajcc6_n" ],
"outputs" : [ "ajcc6_ndescriptor", "stor_ajcc6_ndescriptor" ]
}, {
"id" : "ajcc6_n_codes",
"inputs" : [ "ajcc6_n" ],
"outputs" : [ "stor_ajcc6_n" ]
} ]
}, {
"id" : "mapping_m",
"name" : "M",
"initial_context" : [ {
"key" : "stor_ajcc6_m",
"value" : ""
}, {
"key" : "stor_ajcc7_m",
"value" : ""
}, {
"key" : "m2000",
"value" : ""
}, {
"key" : "ajcc6_m",
"value" : ""
}, {
"key" : "ajcc7_m",
"value" : ""
}, {
"key" : "m77",
"value" : ""
}, {
"key" : "ajcc6_mdescriptor",
"value" : "ERROR"
}, {
"key" : "stor_ajcc7_mdescriptor",
"value" : ""
}, {
"key" : "stor_ajcc6_mdescriptor",
"value" : ""
}, {
"key" : "ajcc7_mdescriptor",
"value" : "ERROR"
} ],
"tables" : [ {
"id" : "mets_hbg",
"inputs" : [ "nodes", "mets" ],
"outputs" : [ "ajcc7_m", "ajcc6_m", "m77", "m2000" ]
}, {
"id" : "mets_eval_ipa",
"output_mapping" : [ {
"from" : "mdescriptor",
"to" : "ajcc7_mdescriptor"
} ],
"inputs" : [ "mets_eval" ],
"outputs" : [ "ajcc7_mdescriptor" ]
}, {
"id" : "ajcc_descriptor_codes",
"input_mapping" : [ {
"from" : "ajcc7_mdescriptor",
"to" : "descriptor"
} ],
"output_mapping" : [ {
"from" : "stor_descriptor",
"to" : "stor_ajcc7_mdescriptor"
} ],
"inputs" : [ "ajcc7_mdescriptor" ],
"outputs" : [ "stor_ajcc7_mdescriptor" ]
}, {
"id" : "ajcc_mdescriptor_cleanup",
"input_mapping" : [ {
"from" : "ajcc7_m",
"to" : "m"
}, {
"from" : "ajcc7_mdescriptor",
"to" : "mdescriptor"
} ],
"output_mapping" : [ {
"from" : "stor_mdescriptor",
"to" : "stor_ajcc7_mdescriptor"
}, {
"from" : "mdescriptor",
"to" : "ajcc7_mdescriptor"
} ],
"inputs" : [ "ajcc7_mdescriptor", "ajcc7_m" ],
"outputs" : [ "ajcc7_mdescriptor", "stor_ajcc7_mdescriptor" ]
}, {
"id" : "ajcc7_m_codes",
"inputs" : [ "ajcc7_m" ],
"outputs" : [ "stor_ajcc7_m" ]
}, {
"id" : "mets_eval_ipa",
"output_mapping" : [ {
"from" : "mdescriptor",
"to" : "ajcc6_mdescriptor"
} ],
"inputs" : [ "mets_eval" ],
"outputs" : [ "ajcc6_mdescriptor" ]
}, {
"id" : "ajcc_descriptor_codes",
"input_mapping" : [ {
"from" : "ajcc6_mdescriptor",
"to" : "descriptor"
} ],
"output_mapping" : [ {
"from" : "stor_descriptor",
"to" : "stor_ajcc6_mdescriptor"
} ],
"inputs" : [ "ajcc6_mdescriptor" ],
"outputs" : [ "stor_ajcc6_mdescriptor" ]
}, {
"id" : "ajcc_mdescriptor_cleanup",
"input_mapping" : [ {
"from" : "ajcc6_m",
"to" : "m"
}, {
"from" : "ajcc6_mdescriptor",
"to" : "mdescriptor"
} ],
"output_mapping" : [ {
"from" : "mdescriptor",
"to" : "ajcc6_mdescriptor"
}, {
"from" : "stor_mdescriptor",
"to" : "stor_ajcc6_mdescriptor"
} ],
"inputs" : [ "ajcc6_m", "ajcc6_mdescriptor" ],
"outputs" : [ "stor_ajcc6_mdescriptor", "ajcc6_mdescriptor" ]
}, {
"id" : "ajcc6_m_codes",
"inputs" : [ "ajcc6_m" ],
"outputs" : [ "stor_ajcc6_m" ]
} ]
}, {
"id" : "mapping_ajcc7",
"name" : "AJCC 7",
"inclusion_tables" : [ {
"id" : "ajcc7_inclusions_tpb",
"inputs" : [ "hist" ]
} ],
"initial_context" : [ {
"key" : "stor_ajcc7_stage",
"value" : ""
}, {
"key" : "ajcc7_stage",
"value" : ""
} ],
"tables" : [ {
"id" : "histologies_stage_xhw",
"input_mapping" : [ {
"from" : "ajcc7_t",
"to" : "t"
}, {
"from" : "ajcc7_n",
"to" : "n"
}, {
"from" : "ajcc7_m",
"to" : "m"
} ],
"output_mapping" : [ {
"from" : "stage",
"to" : "ajcc7_stage"
} ],
"inputs" : [ "hist", "ajcc7_n", "site", "ajcc7_m", "grade", "ajcc7_t" ],
"outputs" : [ "ajcc7_stage" ]
}, {
"id" : "ajcc7_stage_codes",
"inputs" : [ "ajcc7_stage" ],
"outputs" : [ "stor_ajcc7_stage" ]
} ]
}, {
"id" : "mapping_ajcc7_excluded",
"name" : "AJCC 7 Excluded",
"exclusion_tables" : [ {
"id" : "ajcc7_inclusions_tpb",
"inputs" : [ "hist" ]
} ],
"initial_context" : [ {
"key" : "stor_ajcc7_tdescriptor",
"value" : "N"
}, {
"key" : "stor_ajcc7_mdescriptor",
"value" : "N"
}, {
"key" : "ajcc7_mdescriptor",
"value" : ""
}, {
"key" : "stor_ajcc7_stage",
"value" : "888"
}, {
"key" : "stor_ajcc7_ndescriptor",
"value" : "N"
}, {
"key" : "ajcc7_t",
"value" : "NA"
}, {
"key" : "stor_ajcc7_t",
"value" : "888"
}, {
"key" : "ajcc7_n",
"value" : "NA"
}, {
"key" : "stor_ajcc7_n",
"value" : "888"
}, {
"key" : "ajcc7_tdescriptor",
"value" : ""
}, {
"key" : "ajcc7_ndescriptor",
"value" : ""
}, {
"key" : "stor_ajcc7_m",
"value" : "888"
}, {
"key" : "ajcc7_stage",
"value" : "NA"
}, {
"key" : "ajcc7_m",
"value" : "NA"
} ]
}, {
"id" : "mapping_ajcc6",
"name" : "AJCC 6",
"exclusion_tables" : [ {
"id" : "ajcc6_exclusions_ppd",
"inputs" : [ "hist" ]
} ],
"initial_context" : [ {
"key" : "ajcc6_stage",
"value" : ""
}, {
"key" : "stor_ajcc6_stage",
"value" : ""
} ],
"tables" : [ {
"id" : "ajcc6_stage_qah",
"input_mapping" : [ {
"from" : "ajcc6_t",
"to" : "t"
}, {
"from" : "ajcc6_n",
"to" : "n"
}, {
"from" : "ajcc6_m",
"to" : "m"
} ],
"output_mapping" : [ {
"from" : "stage",
"to" : "ajcc6_stage"
} ],
"inputs" : [ "ajcc6_n", "ajcc6_m", "ajcc6_t" ],
"outputs" : [ "ajcc6_stage" ]
}, {
"id" : "ajcc6_stage_codes",
"inputs" : [ "ajcc6_stage" ],
"outputs" : [ "stor_ajcc6_stage" ]
} ]
}, {
"id" : "mapping_ajcc6_included",
"name" : "AJCC 6 Included",
"inclusion_tables" : [ {
"id" : "ajcc6_exclusions_ppd",
"inputs" : [ "hist" ]
} ],
"initial_context" : [ {
"key" : "stor_ajcc6_m",
"value" : "88"
}, {
"key" : "stor_ajcc6_n",
"value" : "88"
}, {
"key" : "stor_ajcc6_tdescriptor",
"value" : "N"
}, {
"key" : "ajcc6_ndescriptor",
"value" : ""
}, {
"key" : "ajcc6_tdescriptor",
"value" : ""
}, {
"key" : "stor_ajcc6_ndescriptor",
"value" : "N"
}, {
"key" : "ajcc6_t",
"value" : "NA"
}, {
"key" : "ajcc6_stage",
"value" : "NA"
}, {
"key" : "ajcc6_mdescriptor",
"value" : ""
}, {
"key" : "stor_ajcc6_stage",
"value" : "88"
}, {
"key" : "ajcc6_m",
"value" : "NA"
}, {
"key" : "stor_ajcc6_t",
"value" : "88"
}, {
"key" : "ajcc6_n",
"value" : "NA"
}, {
"key" : "stor_ajcc6_mdescriptor",
"value" : "N"
} ]
}, {
"id" : "mapping_summary_stage",
"name" : "Summary Stage",
"tables" : [ {
"id" : "summary_stage_rpa",
"input_mapping" : [ {
"from" : "n77",
"to" : "n"
}, {
"from" : "m77",
"to" : "m"
}, {
"from" : "t77",
"to" : "t"
} ],
"output_mapping" : [ {
"from" : "stage",
"to" : "ss77"
} ],
"inputs" : [ "t77", "m77", "n77" ],
"outputs" : [ "ss77" ]
}, {
"id" : "ss_codes",
"input_mapping" : [ {
"from" : "ss77",
"to" : "ss"
} ],
"output_mapping" : [ {
"from" : "stor_ss",
"to" : "stor_ss77"
} ],
"inputs" : [ "ss77" ],
"outputs" : [ "stor_ss77" ]
}, {
"id" : "summary_stage_rpa",
"input_mapping" : [ {
"from" : "m2000",
"to" : "m"
}, {
"from" : "t2000",
"to" : "t"
}, {
"from" : "n2000",
"to" : "n"
} ],
"output_mapping" : [ {
"from" : "stage",
"to" : "ss2000"
} ],
"inputs" : [ "t2000", "n2000", "m2000" ],
"outputs" : [ "ss2000" ]
}, {
"id" : "ss_codes",
"input_mapping" : [ {
"from" : "ss2000",
"to" : "ss"
} ],
"output_mapping" : [ {
"from" : "stor_ss",
"to" : "stor_ss2000"
} ],
"inputs" : [ "ss2000" ],
"outputs" : [ "stor_ss2000" ]
} ]
}, {
"id" : "mapping_ajcc7_invalid_year",
"name" : "Validate AJCC7 Year",
"exclusion_tables" : [ {
"id" : "ajcc7_year_validation",
"inputs" : [ "year_dx", "cs_input_version_original" ]
} ],
"initial_context" : [ {
"key" : "stor_ajcc7_m",
"value" : ""
}, {
"key" : "stor_ajcc7_stage",
"value" : ""
}, {
"key" : "ajcc7_m",
"value" : ""
}, {
"key" : "ajcc7_n",
"value" : ""
}, {
"key" : "ajcc7_mdescriptor",
"value" : ""
}, {
"key" : "ajcc7_stage",
"value" : ""
}, {
"key" : "stor_ajcc7_mdescriptor",
"value" : ""
}, {
"key" : "stor_ajcc7_tdescriptor",
"value" : ""
}, {
"key" : "ajcc7_tdescriptor",
"value" : ""
}, {
"key" : "stor_ajcc7_t",
"value" : ""
}, {
"key" : "ajcc7_ndescriptor",
"value" : ""
}, {
"key" : "ajcc7_t",
"value" : ""
}, {
"key" : "stor_ajcc7_n",
"value" : ""
}, {
"key" : "stor_ajcc7_ndescriptor",
"value" : ""
} ]
}, {
"id" : "mapping_ajcc6_invalid_year",
"name" : "Validate AJCC6 Year",
"exclusion_tables" : [ {
"id" : "ajcc6_year_validation",
"inputs" : [ "year_dx", "cs_input_version_original" ]
} ],
"initial_context" : [ {
"key" : "stor_ajcc6_m",
"value" : ""
}, {
"key" : "stor_ajcc6_ndescriptor",
"value" : ""
}, {
"key" : "n77",
"value" : ""
}, {
"key" : "stor_ajcc7_stage",
"value" : ""
}, {
"key" : "ajcc6_m",
"value" : ""
}, {
"key" : "t2000",
"value" : ""
}, {
"key" : "ss77",
"value" : ""
}, {
"key" : "stor_ss77",
"value" : ""
}, {
"key" : "ajcc6_tdescriptor",
"value" : ""
}, {
"key" : "t77",
"value" : ""
}, {
"key" : "stor_ajcc6_stage",
"value" : ""
}, {
"key" : "n2000",
"value" : ""
}, {
"key" : "stor_ajcc6_t",
"value" : ""
}, {
"key" : "ajcc6_t",
"value" : ""
}, {
"key" : "stor_ajcc6_n",
"value" : ""
}, {
"key" : "m2000",
"value" : ""
}, {
"key" : "ss2000",
"value" : ""
}, {
"key" : "ajcc6_ndescriptor",
"value" : ""
}, {
"key" : "ajcc6_n",
"value" : ""
}, {
"key" : "m77",
"value" : ""
}, {
"key" : "ajcc6_stage",
"value" : ""
}, {
"key" : "stor_ajcc6_mdescriptor",
"value" : ""
}, {
"key" : "stor_ajcc6_tdescriptor",
"value" : ""
}, {
"key" : "ajcc6_mdescriptor",
"value" : ""
}, {
"key" : "stor_ss2000",
"value" : ""
} ]
} ],
"involved_tables" : [ "schema_selection_esophagus", "ssf2_kas", "ajcc6_exclusions_ppd", "ssf25_snt", "size_aag", "ssf3_lpl", "lymph_nodes_clinical_eval_v0205_ajcc7_xaw", "lymph_nodes_pathologic_evaluation_ajcc7_table_also_used_when_cslymph_nodes_eval_is_not_coded_xfr", "ssf15_snj", "ajcc7_t_codes", "extension_bbb", "ssf23_snr", "histology", "ssf1_jpn", "cs_input_version_original", "lymph_nodes_metsat_dxtable_ajcc6_xfv", "ssf22_snq", "lvi", "ssf14_sni", "ajcc_tdescriptor_cleanup", "ajcc7_year_validation", "ssf21_snp", "ajcc7_inclusions_tpb", "histologies_stage_xhw", "ssf5_npg", "ssf17_snl", "mets_hbg", "ajcc_descriptor_codes", "lymph_nodes_clinical_eval_priorto_v0205_ajcc7_xfq", "ajcc6_stage_qah", "ajcctnm7_stage_squamous_xhy", "grade", "summary_stage_rpa", "ajcc7_m_codes", "ssf20_sno", "ajcc_ndescriptor_cleanup", "ssf16_snk", "ajcc6_t_codes", "ajcc_mdescriptor_cleanup", "ssf7_snb", "ssf11_snf", "ss_codes", "ssf6_ona", "nodes_exam_gpa", "ajcc6_n_codes", "behavior", "nodes_dat", "ssf10_sne", "ssf18_snm", "mets_eval_ipa", "extension_eval_cpa", "ajcc7_n_codes", "ajcc6_stage_codes", "ssf19_snn", "ajcc7_stage_codes", "ssf9_snd", "ssf13_snh", "ajcctnm7_stage_adenocarcinoma_xhz", "primary_site", "ajcc6_year_validation", "determine_correct_table_for_ajcc7_n_ns12", "nodes_pos_fpc", "ajcc6_m_codes", "nodes_eval_epa", "ssf4_mpg", "cs_year_validation", "ssf24_sns", "ssf8_snc", "ssf12_sng" ],
"last_modified" : "2015-08-25T18:31:11.080Z"
}