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

algorithms.tnm.2.0.schemas.breast.json Maven / Gradle / Ivy

{
  "id" : "breast",
  "algorithm" : "tnm",
  "version" : "2.0",
  "name" : "Breast",
  "title" : "Breast",
  "notes" : "C500  Nipple\nC501  Central portion of breast\nC502  Upper-inner quadrant of breast\nC503  Lower-inner quadrant of breast\nC504  Upper-outer quadrant of breast\nC505  Lower-outer quadrant of breast\nC506  Axillary Tail of breast\nC508  Overlapping lesion of breast\nC509  Breast, NOS\n\n**Note 1:** This schema is based on the UICC chapter *Breast Tumours,* pages 181-193.\n* Primary sites C508 and C509 are listed in the chapter heading but are not specified in the anatomic subsites in this chapter of the UICC manual; however, they are included in this schema and TNM staged if appropriate histology criteria are met\n\n**Note 2:**  Laterality must be coded for this site.\n\n**Note 3:** In addition to directly assigning TNM, Summary Stage 2000 (SS2000) must be captured.  If directly assigning SS2000, use the *Breast* chapter on page 192 of the [SS2000 on-line manual](https://seer.cancer.gov/tools/ssm/ssm2000/SSSM2000-122012.pdf#page=192).",
  "schema_selection_table" : "schema_selection_breast",
  "inputs" : [ {
    "key" : "year_dx",
    "name" : "Year of Diagnosis",
    "naaccr_item" : 390,
    "naaccr_xml_id" : "dateOfDiagnosis",
    "table" : "year_dx_validation",
    "used_for_staging" : false
  }, {
    "key" : "site",
    "name" : "Primary Site",
    "naaccr_item" : 400,
    "naaccr_xml_id" : "primarySite",
    "table" : "primary_site",
    "used_for_staging" : true
  }, {
    "key" : "hist",
    "name" : "Histology",
    "naaccr_item" : 522,
    "naaccr_xml_id" : "histologicTypeIcdO3",
    "table" : "histology",
    "used_for_staging" : true
  }, {
    "key" : "behavior",
    "name" : "Behavior",
    "naaccr_item" : 523,
    "naaccr_xml_id" : "behaviorCodeIcdO3",
    "table" : "behavior",
    "used_for_staging" : false
  }, {
    "key" : "systemic_surg_seq",
    "name" : "RX Summ Systemic/Surgery Sequence",
    "naaccr_item" : 1639,
    "naaccr_xml_id" : "rxSummSystemicSurSeq",
    "table" : "systemic_surg_seq",
    "used_for_staging" : true
  }, {
    "key" : "radiation_surg_seq",
    "name" : "RX Summ Surgery/Radiation Sequence",
    "naaccr_item" : 1380,
    "naaccr_xml_id" : "rxSummSurgRadSeq",
    "table" : "radiation_surg_seq",
    "used_for_staging" : true
  }, {
    "key" : "nodes_pos",
    "name" : "Regional Nodes Positive",
    "naaccr_item" : 820,
    "naaccr_xml_id" : "regionalNodesPositive",
    "table" : "nodes_pos_fab",
    "used_for_staging" : true
  }, {
    "key" : "clin_t",
    "name" : "Clinical T",
    "naaccr_item" : 940,
    "naaccr_xml_id" : "tnmClinT",
    "table" : "breast_t_70656",
    "used_for_staging" : true
  }, {
    "key" : "clin_n",
    "name" : "Clinical N",
    "naaccr_item" : 950,
    "naaccr_xml_id" : "tnmClinN",
    "table" : "clin_n_daj",
    "used_for_staging" : true
  }, {
    "key" : "clin_m",
    "name" : "Clinical M",
    "naaccr_item" : 960,
    "naaccr_xml_id" : "tnmClinM",
    "table" : "clin_m_hau",
    "used_for_staging" : true
  }, {
    "key" : "path_t",
    "name" : "Pathologic T",
    "naaccr_item" : 880,
    "naaccr_xml_id" : "tnmPathT",
    "table" : "breast_pathologic_t_84149",
    "used_for_staging" : true
  }, {
    "key" : "path_n",
    "name" : "Pathologic N",
    "naaccr_item" : 890,
    "naaccr_xml_id" : "tnmPathN",
    "table" : "path_n_daj",
    "used_for_staging" : true
  }, {
    "key" : "path_m",
    "name" : "Pathologic M",
    "naaccr_item" : 900,
    "naaccr_xml_id" : "tnmPathM",
    "table" : "path_m_hau",
    "used_for_staging" : true
  }, {
    "key" : "ssf1",
    "name" : "Estrogen Receptor (ER) Assay",
    "naaccr_item" : 2880,
    "naaccr_xml_id" : "csSiteSpecificFactor1",
    "default" : "999",
    "table" : "ssf1_jag",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "NPCR_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf2",
    "name" : "Progesterone Receptor (PR) Assay",
    "naaccr_item" : 2890,
    "naaccr_xml_id" : "csSiteSpecificFactor2",
    "default" : "999",
    "table" : "ssf2_kac",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "NPCR_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf3",
    "name" : "Number of Positive Ipsilateral Level I-II Axillary Lymph Nodes",
    "naaccr_item" : 2900,
    "naaccr_xml_id" : "csSiteSpecificFactor3",
    "default" : "099",
    "table" : "ssf3_lac",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf4",
    "name" : "Immunohistochemistry (IHC) of Regional Lymph Nodes",
    "naaccr_item" : 2910,
    "naaccr_xml_id" : "csSiteSpecificFactor4",
    "default" : "987",
    "table" : "ssf4_mab",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf5",
    "name" : "Molecular (MOL) Studies of Regional Lymph Nodes",
    "naaccr_item" : 2920,
    "naaccr_xml_id" : "csSiteSpecificFactor5",
    "default" : "987",
    "table" : "ssf5_naa",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf6",
    "name" : "Size of Tumor-Invasive Component",
    "naaccr_item" : 2930,
    "naaccr_xml_id" : "csSiteSpecificFactor6",
    "default" : "987",
    "table" : "ssf6_oaa",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf7",
    "name" : "Nottingham or Bloom-Richardson (BR) Score/Grade",
    "naaccr_item" : 2861,
    "naaccr_xml_id" : "csSiteSpecificFactor7",
    "default" : "999",
    "table" : "ssf7_saa",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf8",
    "name" : "HER2: Immunohistochemistry (IHC) Lab Value",
    "naaccr_item" : 2862,
    "naaccr_xml_id" : "csSiteSpecificFactor8",
    "default" : "999",
    "table" : "ssf8_sab",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "NPCR_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf9",
    "name" : "HER2: Immunohistochemistry (IHC) Test Interpretation",
    "naaccr_item" : 2863,
    "naaccr_xml_id" : "csSiteSpecificFactor9",
    "default" : "999",
    "table" : "ssf9_sac",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "NPCR_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf10",
    "name" : "HER2: Fluorescence In Situ Hybridization (FISH) Lab Value",
    "naaccr_item" : 2864,
    "naaccr_xml_id" : "csSiteSpecificFactor10",
    "default" : "988",
    "table" : "ssf10_sad",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    } ]
  }, {
    "key" : "ssf11",
    "name" : "HER2: Fluorescence In Situ Hybridization (FISH) Test Interpretation",
    "naaccr_item" : 2865,
    "naaccr_xml_id" : "csSiteSpecificFactor11",
    "default" : "999",
    "table" : "ssf11_sae",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "NPCR_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf12",
    "name" : "HER2: Chromogenic In Situ Hybridization (CISH) Lab Value",
    "naaccr_item" : 2866,
    "naaccr_xml_id" : "csSiteSpecificFactor12",
    "default" : "988",
    "table" : "ssf12_saf",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    } ]
  }, {
    "key" : "ssf13",
    "name" : "HER2: Chromogenic In Situ Hybridization (CISH) Test Interpretation",
    "naaccr_item" : 2867,
    "naaccr_xml_id" : "csSiteSpecificFactor13",
    "default" : "999",
    "table" : "ssf13_sag",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "NPCR_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf14",
    "name" : "HER2: Result of Other or Unknown Test",
    "naaccr_item" : 2868,
    "naaccr_xml_id" : "csSiteSpecificFactor14",
    "default" : "999",
    "table" : "ssf14_sbf",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "NPCR_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf15",
    "name" : "HER2: Summary Result of Testing",
    "naaccr_item" : 2869,
    "naaccr_xml_id" : "csSiteSpecificFactor15",
    "default" : "999",
    "table" : "ssf15_sbg",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "NPCR_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf16",
    "name" : "Combinations of ER, PR, and HER2 Results",
    "naaccr_item" : 2870,
    "naaccr_xml_id" : "csSiteSpecificFactor16",
    "default" : "988",
    "table" : "ssf16_sah",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "NPCR_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    } ]
  }, {
    "key" : "ssf17",
    "name" : "Circulating Tumor Cells (CTC) and Method of Detection",
    "naaccr_item" : 2871,
    "naaccr_xml_id" : "csSiteSpecificFactor17",
    "default" : "988",
    "table" : "ssf17_sai",
    "used_for_staging" : false
  }, {
    "key" : "ssf18",
    "name" : "Disseminated Tumor Cells (DTC) and Method of Detection",
    "naaccr_item" : 2872,
    "naaccr_xml_id" : "csSiteSpecificFactor18",
    "default" : "988",
    "table" : "ssf18_saj",
    "used_for_staging" : false
  }, {
    "key" : "ssf19",
    "name" : "Assessment of Positive Ipsilateral Axillary Lymph Nodes",
    "naaccr_item" : 2873,
    "naaccr_xml_id" : "csSiteSpecificFactor19",
    "default" : "988",
    "table" : "ssf19_sak",
    "used_for_staging" : false
  }, {
    "key" : "ssf20",
    "name" : "Assessment of Positive Distant Metastases",
    "naaccr_item" : 2874,
    "naaccr_xml_id" : "csSiteSpecificFactor20",
    "default" : "988",
    "table" : "ssf20_sal",
    "used_for_staging" : false
  }, {
    "key" : "ssf21",
    "name" : "Response to Neoadjuvant Therapy",
    "naaccr_item" : 2875,
    "naaccr_xml_id" : "csSiteSpecificFactor21",
    "default" : "988",
    "table" : "ssf21_sam",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    } ]
  }, {
    "key" : "ssf22",
    "name" : "Multigene Signature Method",
    "naaccr_item" : 2876,
    "naaccr_xml_id" : "csSiteSpecificFactor22",
    "default" : "999",
    "table" : "ssf22_san",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf23",
    "name" : "Multigene Signature Results",
    "naaccr_item" : 2877,
    "naaccr_xml_id" : "csSiteSpecificFactor23",
    "default" : "999",
    "table" : "ssf23_sao",
    "used_for_staging" : false,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "CCCR_REQUIRED"
    }, {
      "name" : "SEER_REQUIRED"
    } ]
  }, {
    "key" : "ssf24",
    "name" : "Paget Disease",
    "naaccr_item" : 2878,
    "naaccr_xml_id" : "csSiteSpecificFactor24",
    "default" : "988",
    "table" : "ssf24_sap",
    "used_for_staging" : false
  }, {
    "key" : "clin_stage_group_direct",
    "name" : "TNM Clin Stage Group",
    "naaccr_item" : 970,
    "naaccr_xml_id" : "tnmClinStageGroup",
    "default" : "99",
    "table" : "stage_group_c_34977",
    "used_for_staging" : true,
    "metadata" : [ {
      "name" : "NPCR_REQUIRED"
    }, {
      "name" : "COC_REQUIRED"
    } ]
  }, {
    "key" : "path_stage_group_direct",
    "name" : "TNM Path Stage Group",
    "naaccr_item" : 910,
    "naaccr_xml_id" : "tnmPathStageGroup",
    "default" : "99",
    "table" : "stage_group_p_31599",
    "used_for_staging" : true,
    "metadata" : [ {
      "name" : "COC_REQUIRED"
    }, {
      "name" : "NPCR_REQUIRED"
    } ]
  } ],
  "outputs" : [ {
    "key" : "derived_version",
    "name" : "Derived Version",
    "default" : "{{ctx_alg_version}}"
  }, {
    "key" : "clin_stage_group",
    "name" : "Derived SEER Clin Stage Group",
    "naaccr_item" : 3610,
    "naaccr_xml_id" : "derivedSeerClinStgGrp",
    "default" : "88"
  }, {
    "key" : "path_stage_group",
    "name" : "Derived SEER Path Stage Group",
    "naaccr_item" : 3605,
    "naaccr_xml_id" : "derivedSeerPathStgGrp",
    "default" : "88"
  }, {
    "key" : "combined_stage_group",
    "name" : "Derived SEER Combined Stage Group",
    "naaccr_item" : 3614,
    "naaccr_xml_id" : "derivedSeerCmbStgGrp",
    "default" : "88"
  }, {
    "key" : "combined_t",
    "name" : "Derived SEER Combined T",
    "naaccr_item" : 3616,
    "naaccr_xml_id" : "derivedSeerCombinedT",
    "default" : "88"
  }, {
    "key" : "combined_n",
    "name" : "Derived SEER Combined N",
    "naaccr_item" : 3618,
    "naaccr_xml_id" : "derivedSeerCombinedN",
    "default" : "88"
  }, {
    "key" : "combined_m",
    "name" : "Derived SEER Combined M",
    "naaccr_item" : 3620,
    "naaccr_xml_id" : "derivedSeerCombinedM",
    "default" : "88"
  }, {
    "key" : "source_t",
    "name" : "Derived SEER Combined T Source",
    "naaccr_item" : 3622,
    "naaccr_xml_id" : "derivedSeerCmbTSrc"
  }, {
    "key" : "source_n",
    "name" : "Derived SEER Combined N Source",
    "naaccr_item" : 3624,
    "naaccr_xml_id" : "derivedSeerCmbNSrc"
  }, {
    "key" : "source_m",
    "name" : "Derived SEER Combined M Source",
    "naaccr_item" : 3626,
    "naaccr_xml_id" : "derivedSeerCmbMSrc"
  } ],
  "mappings" : [ {
    "id" : "tnm7_stage",
    "name" : "TNM 7 Stage",
    "inclusion_tables" : [ {
      "id" : "tnm7_inclusions_tpg",
      "inputs" : [ "hist" ]
    } ],
    "initial_context" : [ {
      "key" : "clin_stage_group",
      "value" : "90"
    }, {
      "key" : "path_stage_group",
      "value" : "90"
    } ],
    "tables" : [ {
      "id" : "parse_t_2177",
      "input_mapping" : [ {
        "from" : "clin_t",
        "to" : "t"
      } ],
      "output_mapping" : [ {
        "from" : "root_t",
        "to" : "tmp_clin_t"
      }, {
        "from" : "t_prefix",
        "to" : "clin_t_prefix"
      } ],
      "inputs" : [ "clin_t" ],
      "outputs" : [ "clin_t_prefix", "tmp_clin_t" ]
    }, {
      "id" : "parse_n_67182",
      "input_mapping" : [ {
        "from" : "clin_n",
        "to" : "n"
      } ],
      "output_mapping" : [ {
        "from" : "root_n",
        "to" : "tmp_clin_n"
      }, {
        "from" : "n_prefix",
        "to" : "clin_n_prefix"
      } ],
      "inputs" : [ "clin_n" ],
      "outputs" : [ "clin_n_prefix", "tmp_clin_n" ]
    }, {
      "id" : "parse_m_47057",
      "input_mapping" : [ {
        "from" : "clin_m",
        "to" : "m"
      } ],
      "output_mapping" : [ {
        "from" : "m_prefix",
        "to" : "clin_m_prefix"
      }, {
        "from" : "root_m",
        "to" : "tmp_clin_m"
      } ],
      "inputs" : [ "clin_m" ],
      "outputs" : [ "tmp_clin_m", "clin_m_prefix" ]
    }, {
      "id" : "parse_t_2177",
      "input_mapping" : [ {
        "from" : "path_t",
        "to" : "t"
      } ],
      "output_mapping" : [ {
        "from" : "root_t",
        "to" : "tmp_path_t"
      }, {
        "from" : "t_prefix",
        "to" : "path_t_prefix"
      } ],
      "inputs" : [ "path_t" ],
      "outputs" : [ "tmp_path_t", "path_t_prefix" ]
    }, {
      "id" : "parse_n_67182",
      "input_mapping" : [ {
        "from" : "path_n",
        "to" : "n"
      } ],
      "output_mapping" : [ {
        "from" : "root_n",
        "to" : "tmp_path_n"
      }, {
        "from" : "n_prefix",
        "to" : "path_n_prefix"
      } ],
      "inputs" : [ "path_n" ],
      "outputs" : [ "tmp_path_n", "path_n_prefix" ]
    }, {
      "id" : "parse_m_47057",
      "input_mapping" : [ {
        "from" : "path_m",
        "to" : "m"
      } ],
      "output_mapping" : [ {
        "from" : "root_m",
        "to" : "tmp_path_m"
      }, {
        "from" : "m_prefix",
        "to" : "path_m_prefix"
      } ],
      "inputs" : [ "path_m" ],
      "outputs" : [ "tmp_path_m", "path_m_prefix" ]
    }, {
      "id" : "determine_default_t",
      "input_mapping" : [ {
        "from" : "tmp_path_t",
        "to" : "path_t_in"
      }, {
        "from" : "tmp_clin_t",
        "to" : "clin_t_in"
      } ],
      "output_mapping" : [ {
        "from" : "source_t_out",
        "to" : "source_t"
      }, {
        "from" : "path_t_out",
        "to" : "tmp_path_t"
      }, {
        "from" : "clin_t_out",
        "to" : "tmp_clin_t"
      }, {
        "from" : "combined_t_out",
        "to" : "tmp_combined_t"
      } ],
      "inputs" : [ "tmp_path_t", "tmp_clin_t" ],
      "outputs" : [ "source_t", "tmp_path_t", "tmp_clin_t", "tmp_combined_t" ]
    }, {
      "id" : "determine_default_n",
      "input_mapping" : [ {
        "from" : "tmp_path_n",
        "to" : "path_n_in"
      }, {
        "from" : "tmp_clin_n",
        "to" : "clin_n_in"
      } ],
      "output_mapping" : [ {
        "from" : "path_n_out",
        "to" : "tmp_path_n"
      }, {
        "from" : "source_n_out",
        "to" : "source_n"
      }, {
        "from" : "combined_n_out",
        "to" : "tmp_combined_n"
      }, {
        "from" : "clin_n_out",
        "to" : "tmp_clin_n"
      } ],
      "inputs" : [ "tmp_clin_n", "tmp_path_n" ],
      "outputs" : [ "tmp_combined_n", "tmp_clin_n", "tmp_path_n", "source_n" ]
    }, {
      "id" : "determine_default_m",
      "input_mapping" : [ {
        "from" : "tmp_path_m",
        "to" : "path_m_in"
      }, {
        "from" : "tmp_clin_m",
        "to" : "clin_m_in"
      } ],
      "output_mapping" : [ {
        "from" : "source_m_out",
        "to" : "source_m"
      }, {
        "from" : "combined_m_out",
        "to" : "tmp_combined_m"
      }, {
        "from" : "clin_m_out",
        "to" : "tmp_clin_m"
      }, {
        "from" : "path_m_out",
        "to" : "tmp_path_m"
      } ],
      "inputs" : [ "tmp_path_m", "tmp_clin_m" ],
      "outputs" : [ "tmp_path_m", "tmp_combined_m", "tmp_clin_m", "source_m" ]
    }, {
      "id" : "tnm7_stage_uac",
      "input_mapping" : [ {
        "from" : "tmp_clin_n",
        "to" : "n"
      }, {
        "from" : "tmp_clin_m",
        "to" : "m"
      }, {
        "from" : "tmp_clin_t",
        "to" : "t"
      } ],
      "output_mapping" : [ {
        "from" : "stage",
        "to" : "clin_stage_group"
      } ],
      "inputs" : [ "tmp_clin_n", "tmp_clin_m", "tmp_clin_t" ],
      "outputs" : [ "clin_stage_group" ]
    }, {
      "id" : "tnm7_path_stage_uac",
      "input_mapping" : [ {
        "from" : "tmp_path_m",
        "to" : "m"
      }, {
        "from" : "tmp_path_n",
        "to" : "n"
      }, {
        "from" : "tmp_path_t",
        "to" : "t"
      } ],
      "output_mapping" : [ {
        "from" : "stage",
        "to" : "path_stage_group"
      } ],
      "inputs" : [ "tmp_path_m", "tmp_path_n", "tmp_path_t" ],
      "outputs" : [ "path_stage_group" ]
    }, {
      "id" : "adjustments_for_no_clin_or_no_path_26261",
      "output_mapping" : [ {
        "from" : "source_t_out",
        "to" : "source_t"
      }, {
        "from" : "source_m_out",
        "to" : "source_m"
      }, {
        "from" : "combined_m_out",
        "to" : "tmp_combined_m"
      }, {
        "from" : "source_n_out",
        "to" : "source_n"
      }, {
        "from" : "combined_t_out",
        "to" : "tmp_combined_t"
      }, {
        "from" : "combined_n_out",
        "to" : "tmp_combined_n"
      } ],
      "inputs" : [ "tmp_path_t", "clin_n", "clin_m", "clin_t", "path_t", "tmp_path_m", "tmp_clin_n", "tmp_clin_m", "clin_stage_group_direct", "tmp_path_n", "path_m", "tmp_clin_t", "path_stage_group_direct", "path_n" ],
      "outputs" : [ "tmp_combined_n", "tmp_combined_m", "source_t", "clin_stage_group", "path_stage_group", "source_n", "tmp_combined_t", "source_m" ]
    } ]
  }, {
    "id" : "combined_stage",
    "name" : "Combined Stage",
    "inclusion_tables" : [ {
      "id" : "tnm7_inclusions_tpg",
      "inputs" : [ "hist" ]
    } ],
    "initial_context" : [ {
      "key" : "combined_m",
      "value" : "90"
    }, {
      "key" : "combined_n",
      "value" : "90"
    }, {
      "key" : "combined_stage_group",
      "value" : "90"
    }, {
      "key" : "combined_t",
      "value" : "90"
    } ],
    "tables" : [ {
      "id" : "stop_if_no_clin_and_no_path_24035",
      "inputs" : [ "clin_t", "path_t", "clin_stage_group_direct", "path_m", "clin_n", "path_stage_group_direct", "clin_m", "path_n" ],
      "outputs" : [ "combined_m", "combined_n", "source_t", "tmp_continue", "combined_t", "combined_stage_group", "source_n", "source_m" ]
    }, {
      "id" : "combined_t_breast",
      "input_mapping" : [ {
        "from" : "tmp_path_t",
        "to" : "path_t_in"
      }, {
        "from" : "tmp_combined_t",
        "to" : "combined_t_in"
      }, {
        "from" : "tmp_clin_t",
        "to" : "clin_t_in"
      } ],
      "output_mapping" : [ {
        "from" : "source_t_out",
        "to" : "source_t"
      }, {
        "from" : "combined_t_out",
        "to" : "tmp_combined_t"
      } ],
      "inputs" : [ "radiation_surg_seq", "tmp_path_t", "tmp_clin_t", "systemic_surg_seq", "tmp_combined_t" ],
      "outputs" : [ "source_t", "tmp_combined_t" ]
    }, {
      "id" : "combined_n_for_tis_cancers_4947",
      "input_mapping" : [ {
        "from" : "tmp_path_n",
        "to" : "path_n_in"
      }, {
        "from" : "tmp_combined_n",
        "to" : "combined_n_in"
      }, {
        "from" : "tmp_clin_n",
        "to" : "clin_n_in"
      } ],
      "output_mapping" : [ {
        "from" : "source_n_out",
        "to" : "source_n"
      }, {
        "from" : "combined_n_out",
        "to" : "tmp_combined_n"
      } ],
      "inputs" : [ "nodes_pos", "tmp_combined_n", "tmp_clin_n", "radiation_surg_seq", "tmp_path_n", "systemic_surg_seq" ],
      "outputs" : [ "tmp_combined_n", "source_n" ]
    }, {
      "id" : "combined_m",
      "input_mapping" : [ {
        "from" : "tmp_combined_m",
        "to" : "combined_m_in"
      }, {
        "from" : "tmp_path_m",
        "to" : "path_m_in"
      }, {
        "from" : "tmp_clin_m",
        "to" : "clin_m_in"
      } ],
      "output_mapping" : [ {
        "from" : "source_m_out",
        "to" : "source_m"
      }, {
        "from" : "combined_m_out",
        "to" : "tmp_combined_m"
      } ],
      "inputs" : [ "tmp_path_m", "tmp_combined_m", "tmp_clin_m" ],
      "outputs" : [ "tmp_combined_m", "tmp_source_m", "source_m" ]
    }, {
      "id" : "determine_combined_prefix_91402",
      "input_mapping" : [ {
        "from" : "clin_t_prefix",
        "to" : "clin_prefix"
      }, {
        "from" : "source_t",
        "to" : "cmb_source"
      }, {
        "from" : "path_t_prefix",
        "to" : "path_prefix"
      } ],
      "output_mapping" : [ {
        "from" : "cmb_prefix",
        "to" : "cmb_t_prefix"
      } ],
      "inputs" : [ "clin_t_prefix", "source_t", "path_t_prefix" ],
      "outputs" : [ "cmb_t_prefix" ]
    }, {
      "id" : "determine_combined_prefix_91402",
      "input_mapping" : [ {
        "from" : "path_n_prefix",
        "to" : "path_prefix"
      }, {
        "from" : "source_n",
        "to" : "cmb_source"
      }, {
        "from" : "clin_n_prefix",
        "to" : "clin_prefix"
      } ],
      "output_mapping" : [ {
        "from" : "cmb_prefix",
        "to" : "cmb_n_prefix"
      } ],
      "inputs" : [ "clin_n_prefix", "path_n_prefix", "source_n" ],
      "outputs" : [ "cmb_n_prefix" ]
    }, {
      "id" : "determine_combined_prefix_91402",
      "input_mapping" : [ {
        "from" : "tmp_source_m",
        "to" : "cmb_source"
      }, {
        "from" : "path_m_prefix",
        "to" : "path_prefix"
      }, {
        "from" : "clin_m_prefix",
        "to" : "clin_prefix"
      } ],
      "output_mapping" : [ {
        "from" : "cmb_prefix",
        "to" : "cmb_m_prefix"
      } ],
      "inputs" : [ "clin_m_prefix", "tmp_source_m", "path_m_prefix" ],
      "outputs" : [ "cmb_m_prefix" ]
    }, {
      "id" : "concatenate_t_51262",
      "input_mapping" : [ {
        "from" : "tmp_combined_t",
        "to" : "root_t"
      }, {
        "from" : "cmb_t_prefix",
        "to" : "t_prefix"
      } ],
      "output_mapping" : [ {
        "from" : "t",
        "to" : "combined_t"
      } ],
      "inputs" : [ "cmb_t_prefix", "tmp_combined_t" ],
      "outputs" : [ "combined_t" ]
    }, {
      "id" : "concatenate_n_43246",
      "input_mapping" : [ {
        "from" : "cmb_n_prefix",
        "to" : "n_prefix"
      }, {
        "from" : "tmp_combined_n",
        "to" : "root_n"
      } ],
      "output_mapping" : [ {
        "from" : "n",
        "to" : "combined_n"
      } ],
      "inputs" : [ "cmb_n_prefix", "tmp_combined_n" ],
      "outputs" : [ "combined_n" ]
    }, {
      "id" : "concatenate_m_40642",
      "input_mapping" : [ {
        "from" : "tmp_combined_m",
        "to" : "root_m"
      }, {
        "from" : "cmb_m_prefix",
        "to" : "m_prefix"
      } ],
      "output_mapping" : [ {
        "from" : "m",
        "to" : "combined_m"
      } ],
      "inputs" : [ "cmb_m_prefix", "tmp_combined_m" ],
      "outputs" : [ "combined_m" ]
    }, {
      "id" : "tnm7_path_stage_uac",
      "input_mapping" : [ {
        "from" : "tmp_combined_n",
        "to" : "n"
      }, {
        "from" : "tmp_combined_m",
        "to" : "m"
      }, {
        "from" : "tmp_combined_t",
        "to" : "t"
      } ],
      "output_mapping" : [ {
        "from" : "stage",
        "to" : "combined_stage_group"
      } ],
      "inputs" : [ "tmp_combined_n", "tmp_combined_m", "tmp_combined_t" ],
      "outputs" : [ "combined_stage_group" ]
    } ]
  } ],
  "involved_tables" : [ "ssf22_san", "ssf23_sao", "ssf5_naa", "parse_t_2177", "concatenate_n_43246", "schema_selection_breast", "stage_group_c_34977", "histology", "concatenate_m_40642", "ssf24_sap", "nodes_pos_fab", "concatenate_t_51262", "tnm7_inclusions_tpg", "ssf3_lac", "adjustments_for_no_clin_or_no_path_26261", "ssf11_sae", "ssf16_sah", "ssf14_sbf", "ssf20_sal", "systemic_surg_seq", "combined_n_for_tis_cancers_4947", "tnm7_stage_uac", "parse_m_47057", "ssf10_sad", "combined_m", "ssf15_sbg", "ssf21_sam", "ssf17_sai", "ssf1_jag", "combined_t_breast", "determine_default_t", "ssf19_sak", "radiation_surg_seq", "ssf6_oaa", "determine_default_m", "ssf18_saj", "breast_pathologic_t_84149", "clin_m_hau", "parse_n_67182", "determine_default_n", "ssf7_saa", "path_n_daj", "ssf4_mab", "path_m_hau", "behavior", "ssf8_sab", "tnm7_path_stage_uac", "determine_combined_prefix_91402", "ssf12_saf", "stop_if_no_clin_and_no_path_24035", "clin_n_daj", "primary_site", "ssf2_kac", "year_dx_validation", "ssf9_sac", "breast_t_70656", "ssf13_sag", "stage_group_p_31599" ],
  "last_modified" : "2020-06-30T19:47:59.645Z",
  "on_invalid_input" : "FAIL_WHEN_USED_FOR_STAGING"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy