algorithms.tnm.1.7.schemas.peritoneum.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" : "peritoneum",
"algorithm" : "tnm",
"version" : "1.7",
"name" : "Peritoneum",
"title" : "Peritoneum",
"subtitle" : "Excludes: Gastrointestinal Tumors of the Peritoneum (8935-8936) and Peritoneum Female Genital (M-8000-8576, 8590-8671, 8930-8934, 8940-9110 for females)",
"notes" : "C481 Specified parts of peritoneum (including omentum and mesentery)\nC482 Peritoneum, NOS\nC488 Overlapping lesion of retroperitoneum and peritoneum\n\n**Note 1:** This schema is based on the UICC chapter *Soft Tissues,* pages 157-161.\n* Primary sites C481, C482, and C488 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:** In addition to directly assigning TNM, Summary Stage 2000 (SS2000) must be captured. If directly assigning SS2000, use the *Retroperitoneum & Peritoneum* chapter on page 188 of the [SS2000 on-line manual](http://seer.cancer.gov/tools/ssm/SSSM2000-122012.pdf#page=188).",
"schema_selection_table" : "schema_selection_peritoneum",
"schema_discriminators" : [ "sex" ],
"inputs" : [ {
"key" : "year_dx",
"name" : "Year of Diagnosis",
"naaccr_item" : 390,
"table" : "year_dx_validation",
"used_for_staging" : false
}, {
"key" : "site",
"name" : "Primary Site",
"naaccr_item" : 400,
"table" : "primary_site",
"used_for_staging" : true
}, {
"key" : "hist",
"name" : "Histology",
"naaccr_item" : 522,
"table" : "histology",
"used_for_staging" : true
}, {
"key" : "systemic_surg_seq",
"name" : "RX Summ Systemic/Surgery Sequence",
"naaccr_item" : 1639,
"table" : "systemic_surg_seq",
"used_for_staging" : true
}, {
"key" : "radiation_surg_seq",
"name" : "RX Summ Surgery/Radiation Sequence",
"naaccr_item" : 1380,
"table" : "radiation_surg_seq",
"used_for_staging" : true
}, {
"key" : "nodes_pos",
"name" : "Regional Nodes Positive",
"naaccr_item" : 820,
"table" : "nodes_pos_fpa",
"used_for_staging" : true
}, {
"key" : "clin_t",
"name" : "Clinical T",
"naaccr_item" : 940,
"table" : "clin_t_peritoneum_67989",
"used_for_staging" : true
}, {
"key" : "clin_n",
"name" : "Clinical N",
"naaccr_item" : 950,
"table" : "retroperitoneum_n_12750",
"used_for_staging" : true
}, {
"key" : "clin_m",
"name" : "Clinical M",
"naaccr_item" : 960,
"table" : "clin_m_soft_tissues_97765",
"used_for_staging" : true
}, {
"key" : "path_t",
"name" : "Pathologic T",
"naaccr_item" : 880,
"table" : "peritoneum_t_18850",
"used_for_staging" : true
}, {
"key" : "path_n",
"name" : "Pathologic N",
"naaccr_item" : 890,
"table" : "path_n_peritoneum_retroperitoneum_88959",
"used_for_staging" : true
}, {
"key" : "path_m",
"name" : "Pathologic M",
"naaccr_item" : 900,
"table" : "path_m_soft_tissues_96225",
"used_for_staging" : true
}, {
"key" : "ssf1",
"name" : "Grade for Sarcomas",
"naaccr_item" : 2880,
"default" : "999",
"table" : "ssf1_jpm",
"used_for_staging" : true
}, {
"key" : "ssf2",
"name" : "Neurovascular Invasion",
"naaccr_item" : 2890,
"default" : "988",
"table" : "ssf2_kpk",
"used_for_staging" : false
}, {
"key" : "ssf3",
"name" : "Bone Invasion",
"naaccr_item" : 2900,
"default" : "988",
"table" : "ssf3_lpk",
"used_for_staging" : false
}, {
"key" : "ssf4",
"name" : "Pathologic M1: Source of Pathologic Metastatic Specimen",
"naaccr_item" : 2910,
"default" : "988",
"table" : "ssf4_mpf",
"used_for_staging" : false
}, {
"key" : "sex",
"name" : "Sex",
"naaccr_item" : 220,
"default" : "9",
"table" : "sex_19563",
"used_for_staging" : true,
"metadata" : [ "NPCR_REQUIRED", "COC_REQUIRED", "CCCR_REQUIRED", "SEER_REQUIRED" ]
}, {
"key" : "clin_stage_group_direct",
"name" : "TNM Clin Stage Group",
"naaccr_item" : 970,
"default" : "99",
"table" : "stage_group_c_49395",
"used_for_staging" : true,
"metadata" : [ "NPCR_REQUIRED", "COC_REQUIRED" ]
}, {
"key" : "path_stage_group_direct",
"name" : "TNM Path Stage Group",
"naaccr_item" : 910,
"default" : "99",
"table" : "stage_group_p_79654",
"used_for_staging" : true,
"metadata" : [ "NPCR_REQUIRED", "COC_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,
"default" : "88"
}, {
"key" : "path_stage_group",
"name" : "Derived SEER Path Stage Group",
"naaccr_item" : 3605,
"default" : "88"
}, {
"key" : "combined_stage_group",
"name" : "Derived SEER Combined Stage Group",
"naaccr_item" : 3614,
"default" : "88"
}, {
"key" : "combined_t",
"name" : "Derived SEER Combined T",
"naaccr_item" : 3616,
"default" : "88"
}, {
"key" : "combined_n",
"name" : "Derived SEER Combined N",
"naaccr_item" : 3618,
"default" : "88"
}, {
"key" : "combined_m",
"name" : "Derived SEER Combined M",
"naaccr_item" : 3620,
"default" : "88"
}, {
"key" : "source_t",
"name" : "Derived SEER Combined T Source",
"naaccr_item" : 3622
}, {
"key" : "source_n",
"name" : "Derived SEER Combined N Source",
"naaccr_item" : 3624
}, {
"key" : "source_m",
"name" : "Derived SEER Combined M Source",
"naaccr_item" : 3626
} ],
"mappings" : [ {
"id" : "tnm7_stage",
"name" : "TNM 7 Stage",
"inclusion_tables" : [ {
"id" : "tnm7_inclusions_tpz",
"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" : "ssf1_jpm",
"inputs" : [ "ssf1" ],
"outputs" : [ "mapping_of_grade" ]
}, {
"id" : "tnm7_stage_upm",
"input_mapping" : [ {
"from" : "mapping_of_grade",
"to" : "grade_based_on_ssf1"
}, {
"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", "mapping_of_grade", "tmp_clin_t" ],
"outputs" : [ "clin_stage_group" ]
}, {
"id" : "tnm7_path_stage_upm",
"input_mapping" : [ {
"from" : "mapping_of_grade",
"to" : "grade_based_on_ssf1"
}, {
"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", "mapping_of_grade" ],
"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_tpz",
"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_no_tis",
"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",
"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_upm",
"input_mapping" : [ {
"from" : "mapping_of_grade",
"to" : "grade_based_on_ssf1"
}, {
"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", "mapping_of_grade", "tmp_combined_t" ],
"outputs" : [ "combined_stage_group" ]
} ]
} ],
"involved_tables" : [ "tnm7_path_stage_upm", "determine_default_t", "tnm7_stage_upm", "radiation_surg_seq", "schema_selection_peritoneum", "ssf3_lpk", "determine_default_m", "nodes_pos_fpa", "parse_t_2177", "concatenate_n_43246", "retroperitoneum_n_12750", "parse_n_67182", "determine_default_n", "peritoneum_t_18850", "ssf1_jpm", "histology", "concatenate_m_40642", "sex_19563", "combined_t_no_tis", "ssf2_kpk", "concatenate_t_51262", "adjustments_for_no_clin_or_no_path_26261", "path_n_peritoneum_retroperitoneum_88959", "determine_combined_prefix_91402", "stop_if_no_clin_and_no_path_24035", "systemic_surg_seq", "tnm7_inclusions_tpz", "parse_m_47057", "primary_site", "path_m_soft_tissues_96225", "combined_m", "clin_t_peritoneum_67989", "combined_n", "stage_group_p_79654", "stage_group_c_49395", "year_dx_validation", "ssf4_mpf", "clin_m_soft_tissues_97765" ],
"on_invalid_input" : "FAIL_WHEN_USED_FOR_STAGING",
"last_modified" : "2018-04-11T19:53:09.130Z"
}