All Downloads are FREE. Search and download functionalities are using the official Maven repository.

algorithms.cs.02.05.50.schemas.esophagus_gejunction.json Maven / Gradle / Ivy

{
  "id" : "esophagus_gejunction",
  "algorithm" : "cs",
  "version" : "02.05.50",
  "name" : "EsophagusGEJunction",
  "title" : "EsophagusGEJunction",
  "notes" : "DISCONTINUED SITE-SPECIFIC FACTORS:  SSF3, SSF4, SSF5\n\nC16.0 - Cardia, esophagogastric junction (EGJ)\nC16.1 - Fundus of stomach, proximal 5 centimeters (cm) only\nC16.2 - Body of stomach, proximal 5 cm only\n\n**Note 1**: The cardia/EGJ and the proximal 5 cm of the fundus and body of the stomach have been removed from the Stomach chapter and added to the Esophagus chapter effective with AJCC TNM 7th Edition. Due to differences between the schemas for Esophagus and Stomach, a new schema was created in CSv2 to accommodate these changes. Since primary site codes C16.1 (fundus of stomach) and C16.2 (body of stomach) can be assigned to either schema, EsophagusGEJunction or Stomach, a schema discriminator field is needed for the CS algorithm to determine which schema to select. \nIn AJCC 7th Edition, cancers with a midpoint in the lower thoracic esophagus, in the EGJ, or within the proximal 5 cm of the stomach (cardia) and extending into the EGJ or esophagus, are staged similarly to cancers of the esophagus. All other cancers with a midpoint in the stomach greater 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 gastric cancer staging system.\n\n**Note 2**: Effective with AJCC TNM 7th Edition, there are separate stage groupings for squamous cell carcinoma and adenocarcinoma of the esophagus. 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 3**: Effective with AJCC TNM 7th Edition, histologic grade is required for stage grouping.",
  "schema_num" : 43,
  "schema_selection_table" : "schema_selection_esophagus_gejunction",
  "schema_discriminators" : [ "ssf25" ],
  "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_aah",
    "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_bdr",
    "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_ddm",
    "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_hbu",
    "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_jcf",
    "used_for_staging" : true,
    "metadata" : [ "NPCR_REQUIRED_WHEN_AVAILABLE_2011_FORWARD", "CCCR_ESSENTIAL_FOR_TNM_CLASSIFICATION" ]
  }, {
    "key" : "ssf2",
    "name" : "CS Site-Specific Factor 2",
    "naaccr_item" : 2890,
    "default" : "988",
    "table" : "ssf2_kna",
    "used_for_staging" : false,
    "metadata" : [ "UNDEFINED_SSF" ]
  }, {
    "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" : "Schema Discriminator: EsophagusGEJunction (EGJ)/Stomach",
    "naaccr_item" : 2879,
    "default" : "999",
    "table" : "ssf25_spv",
    "used_for_staging" : true,
    "metadata" : [ "CCCR_ESSENTIAL_FOR_TNM_CLASSIFICATION", "NPCR_REQUIRED_2004_FORWARD" ]
  } ],
  "outputs" : [ {
    "key" : "schema_number",
    "name" : "Schema Number",
    "description" : "CS assigned schema number.",
    "default" : "43"
  }, {
    "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_bdr",
      "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_ddm",
      "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_hbu",
      "inputs" : [ "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_tpc",
      "inputs" : [ "hist" ]
    } ],
    "initial_context" : [ {
      "key" : "stor_ajcc7_stage",
      "value" : ""
    }, {
      "key" : "ajcc7_stage",
      "value" : ""
    } ],
    "tables" : [ {
      "id" : "ssf25_spv",
      "inputs" : [ "ssf25" ],
      "outputs" : [ "schema" ]
    }, {
      "id" : "histologies_stage_xhx",
      "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", "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_tpc",
      "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" : "ssf25_spv",
      "inputs" : [ "ssf25" ],
      "outputs" : [ "schema" ]
    }, {
      "id" : "ajcc6_stage_qcb",
      "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" : [ "ssf2_kna", "ajcc6_exclusions_ppd", "size_aah", "ssf3_lpl", "nodes_ddm", "ssf15_snj", "ajcc7_t_codes", "ssf23_snr", "histology", "lymph_nodes_clinical_eval_v0205_ajcc7_xax", "cs_input_version_original", "lymph_nodes_pathologic_evaluation6th_table_also_used_when_csreg_nodes_evalis_not_coded_xpp", "ssf22_snq", "lvi", "ssf14_sni", "ajcc_tdescriptor_cleanup", "histologies_stage_xhx", "ajcc7_year_validation", "ssf21_snp", "ssf5_npg", "ssf17_snl", "lymph_nodes_clinical_evaluation0or5_ajcc6_xbg", "ajcc_descriptor_codes", "determine_correct_table_for_ajcc6_n_ns13", "ajcc7_inclusions_tpc", "lymph_nodes_clinical_eval_priorto_v0205_ajcc7_xfs", "grade", "summary_stage_rpa", "ajcc7_m_codes", "ajcctnm7_stage_squamous_xia", "mets_hbu", "ssf20_sno", "ajcc_ndescriptor_cleanup", "ssf16_snk", "lymph_nodes_clinical_evaluation1or9_ajcc6_xbf", "extension_bdr", "lymph_nodes_pathologic_evaluation7th_table_also_used_when_csreg_nodes_evalis_not_coded_xft", "ajcc6_t_codes", "ssf25_spv", "ajcc6_stage_qcb", "ajcc_mdescriptor_cleanup", "ssf7_snb", "ssf11_snf", "ss_codes", "ssf6_ona", "nodes_exam_gpa", "ajcc6_n_codes", "behavior", "ssf10_sne", "ssf18_snm", "schema_selection_esophagus_gejunction", "mets_eval_ipa", "extension_eval_cpa", "ajcc7_n_codes", "ajcc6_stage_codes", "ssf19_snn", "ajcc7_stage_codes", "ssf9_snd", "ssf13_snh", "primary_site", "determine_correct_table_for_ajcc7_n_ns14", "ajcc6_year_validation", "ajcctnm7_stage_adenocarcinoma_xib", "nodes_pos_fpc", "ajcc6_m_codes", "nodes_eval_epa", "ssf4_mpg", "ssf1_jcf", "cs_year_validation", "ssf24_sns", "ssf8_snc", "ssf12_sng" ],
  "last_modified" : "2016-01-28T18:55:46.620Z"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy