algorithms.eod_public.1.1.schemas.bile_ducts_perihilar.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" : "bile_ducts_perihilar",
"algorithm" : "eod_public",
"version" : "1.1",
"name" : "Bile Ducts Perihilar",
"title" : "Perihilar Bile Ducts",
"notes" : "8000-8700, 8720-8790, 9700-9701 \nSchema Discriminator 1: BileDuctsDistal/BileDuctsPerihilar/CysticDuct: 1, 5, 6, 9\n\nC240 Extrahepatic bile duct\n\n**Note 1:** The following sources were used in the development of this schema\n* SEER Extent of Disease 1988: Codes and Coding Instructions (3rd Edition, 1998) (https://seer.cancer.gov/archive/manuals/EOD10Dig.3rd.pdf)\n* SEER Summary Staging Manual-2000: Codes and Coding Instructions (https://seer.cancer.gov/tools/ssm/)\n* Collaborative Stage Data Collection System, version 02.05: https://cancerstaging.org/cstage/Pages/default.aspx \n* Chapter 25 *Perihilar Bile Ducts*, in the AJCC Cancer Staging Manual, Eighth Edition (2017) published by Springer International Publishing. Used with permission of the American College of Surgeons, Chicago, Illinois.\n\n**Note 2:** *Schema Discriminator 1: BileDuctsDistal/BileDuctsPerihilar/CysticDuct* is used to discriminate between Distal Bile Duct, Perihilar Bile Duct, and Cystic Duct which are coded to ICD-O-3 code C240.\n\n**Note 3:** See the following schemas for the listed histologies \n* 8000-8700, 8720-8790, 9700-9701 (Schema Discriminator 1: BileDuctsDistal/BileDuctsPerihilar/CysticDuct: 3): *Cystic Duct*\n* 8000-8700, 8720-8790, 9700-9701 (Schema Discriminator 1: BileDuctsDistal/BileDuctsPerihilar/CysticDuct: 4, 7): *Bile Duct Distal*\n* 8710-8714, 8800-8803, 8810-8921, 8932-8934, 8940-8990, 9000-9016, 9030-9043, 9045-9137, 9141-9230, 9240-9580, 9582: *Soft Tissue Abdomen and Thoracic*\n* 8804-8806, 8930-8931, 8991, 9020, 9044, 9231, 9581: *Soft Tissue Other*\n* 8935-8936: *GIST*\n* 9140: *Kaposi Sarcoma*",
"schema_selection_table" : "schema_selection_bile_ducts_perihilar",
"schema_discriminators" : [ "discriminator_1" ],
"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" : "behavior",
"name" : "Behavior",
"naaccr_item" : 523,
"table" : "behavior",
"used_for_staging" : false
}, {
"key" : "discriminator_1",
"name" : "Schema Discriminator 1",
"naaccr_item" : 3926,
"default" : "9",
"table" : "bileductsdistal_bileductsperihilar_cysticduct_24541",
"used_for_staging" : true,
"metadata" : [ "COC_REQUIRED", "NPCR_REQUIRED", "SSDI", "CCCR_REQUIRED", "SEER_REQUIRED" ]
}, {
"key" : "size_clin",
"name" : "Tumor Size Clinical",
"naaccr_item" : 752,
"table" : "tumor_size_clinical_60979",
"used_for_staging" : false
}, {
"key" : "size_path",
"name" : "Tumor Size Pathological",
"naaccr_item" : 754,
"table" : "tumor_size_pathological_25597",
"used_for_staging" : false
}, {
"key" : "size_summary",
"name" : "Tumor Size Summary",
"naaccr_item" : 756,
"default" : "999",
"table" : "tumor_size_summary_63115",
"used_for_staging" : false
}, {
"key" : "nodes_pos",
"name" : "Regional Nodes Positive",
"naaccr_item" : 820,
"default" : "99",
"table" : "nodes_pos_fpa",
"used_for_staging" : true
}, {
"key" : "nodes_exam",
"name" : "Regional Nodes Examined",
"naaccr_item" : 830,
"default" : "99",
"table" : "nodes_exam_76029",
"used_for_staging" : false
}, {
"key" : "radiation_surg_seq",
"name" : "RX Summ Surgery/Radiation Sequence",
"naaccr_item" : 1380,
"table" : "radiation_surg_seq",
"used_for_staging" : false
}, {
"key" : "systemic_surg_seq",
"name" : "RX Summ Systemic/Surgery Sequence",
"naaccr_item" : 1639,
"table" : "systemic_surg_seq",
"used_for_staging" : false
}, {
"key" : "eod_primary_tumor",
"name" : "EOD Primary Tumor",
"naaccr_item" : 772,
"default" : "999",
"table" : "extension_bft",
"used_for_staging" : true
}, {
"key" : "eod_regional_nodes",
"name" : "EOD Regional Nodes",
"naaccr_item" : 774,
"default" : "999",
"table" : "nodes_dfo",
"used_for_staging" : true
}, {
"key" : "eod_mets",
"name" : "EOD Mets",
"naaccr_item" : 776,
"default" : "00",
"table" : "mets_hcr",
"used_for_staging" : true
}, {
"key" : "ss2018",
"name" : "SS2018",
"naaccr_item" : 764,
"table" : "ss2018_extrahepatic_bile_ducts_65728",
"used_for_staging" : false
}, {
"key" : "grade_clin",
"name" : "Grade Clinical",
"naaccr_item" : 3843,
"default" : "9",
"table" : "grade_clinical_6485",
"used_for_staging" : false,
"metadata" : [ "COC_REQUIRED", "NPCR_REQUIRED", "SSDI", "CCCR_REQUIRED", "SEER_REQUIRED" ]
}, {
"key" : "grade_path",
"name" : "Grade Pathological",
"naaccr_item" : 3844,
"default" : "9",
"table" : "grade_pathological_84704",
"used_for_staging" : false,
"metadata" : [ "COC_REQUIRED", "NPCR_REQUIRED", "SSDI", "CCCR_REQUIRED", "SEER_REQUIRED" ]
}, {
"key" : "grade_post_therapy",
"name" : "Grade Post Therapy",
"naaccr_item" : 3845,
"table" : "grade_post_therapy_45742",
"used_for_staging" : false,
"metadata" : [ "COC_REQUIRED", "NPCR_REQUIRED", "SSDI", "CCCR_REQUIRED", "SEER_REQUIRED" ]
}, {
"key" : "prim_scleros_cholangitis",
"name" : "Primary Scleros Cholangitis",
"naaccr_item" : 3917,
"default" : "8",
"table" : "primary_scleros_cholangitis_86402",
"used_for_staging" : false,
"metadata" : [ "NPCR_REQUIRED", "COC_REQUIRED", "SSDI", "SEER_REQUIRED" ]
} ],
"outputs" : [ {
"key" : "naaccr_schema_id",
"name" : "Schema ID",
"naaccr_item" : 3800,
"default" : "00250"
}, {
"key" : "ajcc_id",
"name" : "AJCC ID",
"naaccr_item" : 995,
"default" : "XX"
}, {
"key" : "derived_version",
"name" : "Derived Version",
"default" : "{{ctx_alg_version}}"
}, {
"key" : "eod_2018_t",
"name" : "Derived EOD 2018 T",
"naaccr_item" : 785,
"default" : "88"
}, {
"key" : "eod_2018_n",
"name" : "Derived EOD 2018 N",
"naaccr_item" : 815,
"default" : "88"
}, {
"key" : "eod_2018_m",
"name" : "Derived EOD 2018 M",
"naaccr_item" : 795,
"default" : "88"
}, {
"key" : "eod_2018_stage_group",
"name" : "Derived EOD 2018 Stage Group",
"naaccr_item" : 818,
"default" : "88"
}, {
"key" : "ss2018_derived",
"name" : "Derived Summary Stage 2018",
"naaccr_item" : 762,
"default" : "9"
} ],
"mappings" : [ {
"id" : "ajcc_chapter_calculation",
"name" : "AJCC Chapter Calculation",
"tables" : [ {
"id" : "ajcc_chapter_calculation_44618",
"inputs" : [ "hist" ],
"outputs" : [ "ajcc_id" ]
} ]
}, {
"id" : "summary_stage_2018",
"name" : "Summary Stage 2018",
"initial_context" : [ {
"key" : "eod_2018_t",
"value" : "90"
}, {
"key" : "eod_2018_n",
"value" : "90"
}, {
"key" : "eod_2018_m",
"value" : "90"
} ],
"tables" : [ {
"id" : "extension_bft",
"inputs" : [ "eod_primary_tumor" ],
"outputs" : [ "eod_2018_t", "ss2018_t" ]
}, {
"id" : "nodes_dfo",
"inputs" : [ "nodes_pos", "eod_regional_nodes" ],
"outputs" : [ "eod_2018_n", "ss2018_n" ]
}, {
"id" : "mets_hcr",
"inputs" : [ "eod_mets" ],
"outputs" : [ "eod_2018_m", "ss2018_m" ]
}, {
"id" : "summary_stage_rpa",
"inputs" : [ "ss2018_m", "ss2018_n", "ss2018_t" ],
"outputs" : [ "ss2018_derived" ]
} ]
}, {
"id" : "eod_2018_stage_group",
"name" : "EOD 2018 Stage Group",
"inclusion_tables" : [ {
"id" : "tnm8_inclusions_13391",
"inputs" : [ "ajcc_id" ]
} ],
"initial_context" : [ {
"key" : "eod_2018_stage_group",
"value" : "90"
} ],
"tables" : [ {
"id" : "parse_t_2177",
"input_mapping" : [ {
"from" : "eod_2018_t",
"to" : "t"
} ],
"output_mapping" : [ {
"from" : "root_t",
"to" : "tmp_eod_t"
} ],
"inputs" : [ "eod_2018_t" ],
"outputs" : [ "t_prefix", "tmp_eod_t" ]
}, {
"id" : "parse_n_67182",
"input_mapping" : [ {
"from" : "eod_2018_n",
"to" : "n"
} ],
"output_mapping" : [ {
"from" : "root_n",
"to" : "tmp_eod_n"
} ],
"inputs" : [ "eod_2018_n" ],
"outputs" : [ "n_prefix", "tmp_eod_n" ]
}, {
"id" : "parse_m_47057",
"input_mapping" : [ {
"from" : "eod_2018_m",
"to" : "m"
} ],
"output_mapping" : [ {
"from" : "root_m",
"to" : "tmp_eod_m"
} ],
"inputs" : [ "eod_2018_m" ],
"outputs" : [ "m_prefix", "tmp_eod_m" ]
}, {
"id" : "tnm8_path_stage_ubn",
"input_mapping" : [ {
"from" : "tmp_eod_n",
"to" : "n"
}, {
"from" : "tmp_eod_m",
"to" : "m"
}, {
"from" : "tmp_eod_t",
"to" : "t"
} ],
"output_mapping" : [ {
"from" : "stage",
"to" : "eod_2018_stage_group"
} ],
"inputs" : [ "tmp_eod_n", "tmp_eod_m", "tmp_eod_t" ],
"outputs" : [ "eod_2018_stage_group" ]
} ]
}, {
"id" : "eod_tnm_cleanup",
"name" : "EOD TNM Cleanup",
"exclusion_tables" : [ {
"id" : "tnm8_inclusions_13391",
"inputs" : [ "ajcc_id" ]
} ],
"tables" : [ {
"id" : "eod_tnm_component_cleanup_58170",
"inputs" : [ "ajcc_id" ],
"outputs" : [ "eod_2018_n", "eod_2018_m", "eod_2018_t", "eod_2018_stage_group" ]
} ]
} ],
"involved_tables" : [ "extension_bft", "radiation_surg_seq", "mets_hcr", "grade_clinical_6485", "nodes_pos_fpa", "nodes_dfo", "parse_t_2177", "parse_n_67182", "schema_selection_bile_ducts_perihilar", "histology", "rn_positive_with_regional_nodes_for_ajcc_n_71107", "nodes_exam_76029", "tnm8_inclusions_13391", "tumor_size_summary_63115", "behavior", "ajcc_chapter_calculation_44618", "tnm8_path_stage_ubn", "bileductsdistal_bileductsperihilar_cysticduct_24541", "primary_scleros_cholangitis_86402", "tumor_size_pathological_25597", "systemic_surg_seq", "tumor_size_clinical_60979", "parse_m_47057", "primary_site", "eod_tnm_component_cleanup_58170", "ss2018_extrahepatic_bile_ducts_65728", "grade_pathological_84704", "grade_post_therapy_45742", "year_dx_validation", "summary_stage_rpa" ],
"on_invalid_input" : "CONTINUE",
"last_modified" : "2018-04-19T21:52:37.486Z"
}