algorithms.eod_public.1.1.schemas.stomach.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" : "stomach",
"algorithm" : "eod_public",
"version" : "1.1",
"name" : "Stomach",
"title" : "Stomach (excluding Gastrointestinal Stromal Tumor and Neuroendocrine Tumor)",
"notes" : "C160 and Schema Discriminator 1: EsophagusGEJunction (EGJ)/Stomach: 0, 3, 9 (8000-8149, 8154, 8157, 8160-8231, 8243-8248, 8250-8682, 8690-8700, 8720-8790, 9700-9701)\n\nAll Other sites: 8000-8149, 8154, 8157, 8160-8231, 8243-8248, 8250-8682, 8690-8700, 8720-8790, 9700-9701 \n\nC160 Cardia, esophagogastric junction\nC161 Fundus of stomach\nC162 Body of stomach\nC163 Gastric antrum\nC164 Pylorus\nC165 Lesser curvature of stomach, NOS\nC166 Greater curvature of stomach, NOS\nC168 Overlapping lesion of stomach\nC169 Stomach, NOS\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 17 *Stomach*, 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:** See the following schemas for the listed histologies \n* C160 and Schema Discriminator 1: EsophagusGEJunction (EGJ)/Stomach: 2 (8000-8015, 8020, 8021-8046, 8060, 8071-8073, 8075-8076, 8078-8082, 8084-8149, 8154, 8157, 8160-8231, 8243-8248, 8250-8552, 8561-8682, 8690-8700, 8720-8790, 9700-9701): *Esophagus (including GE junction) (excluding Squamous)*\n* C160 and Schema Discriminator 1: EsophagusGEJunction (EGJ)/Stomach: 2 (8020, 8050-8054, 8070, 8074, 8077, 8083, 8560): *Esophagus (including GE junction) Squamous*\n* 8150-8153, 8155-8156, 8158, 8240-8242, 8249, 8683: *NET Stomach*\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*\n\n**Note 3:** If a tumor involves the esophagogastric junction (EGJ) and its epicenter is less than or equal to 2 cm into the proximal stomach (i.e. less than or equal to 2 cm distal to the EGJ), use the esophageal cancer schema for stage groupings (see the EsophagusGEJunction schema). Tumors involving the EGJ with their epicenter >2 cm into the proximal stomach (i.e., >2cm distal to the EGJ) are now classified using the stomach schema. Cardia cancers that do not invade the EGJ should be classified based on the stomach cancer schema for stage groupings. \n\n**Note 4:** *Schema Discriminator 1: EsophagusGEJunction (EGJ)/Stomach* is used to discriminate between EsophagusGEJunction and Stomach which are coded to ICD-O-3 code C160.",
"schema_selection_table" : "schema_selection_stomach",
"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,
"table" : "esophagusgejunction_egj_stomach_57130",
"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_bal",
"used_for_staging" : true
}, {
"key" : "eod_regional_nodes",
"name" : "EOD Regional Nodes",
"naaccr_item" : 774,
"default" : "999",
"table" : "nodes_dak",
"used_for_staging" : true
}, {
"key" : "eod_mets",
"name" : "EOD Mets",
"naaccr_item" : 776,
"default" : "00",
"table" : "mets_hac",
"used_for_staging" : true
}, {
"key" : "ss2018",
"name" : "SS2018",
"naaccr_item" : 764,
"table" : "ss2018_stomach_including_net_stomach_35647",
"used_for_staging" : false
}, {
"key" : "grade_clin",
"name" : "Grade Clinical",
"naaccr_item" : 3843,
"default" : "9",
"table" : "grade_clinical_36085",
"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_59340",
"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_80796",
"used_for_staging" : false,
"metadata" : [ "COC_REQUIRED", "NPCR_REQUIRED", "SSDI", "CCCR_REQUIRED", "SEER_REQUIRED" ]
} ],
"outputs" : [ {
"key" : "naaccr_schema_id",
"name" : "Schema ID",
"naaccr_item" : 3800,
"default" : "00170"
}, {
"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_2262",
"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_bal",
"inputs" : [ "eod_primary_tumor" ],
"outputs" : [ "eod_2018_t", "ss2018_t" ]
}, {
"id" : "nodes_dak",
"inputs" : [ "nodes_pos", "eod_regional_nodes" ],
"outputs" : [ "eod_2018_n", "ss2018_n" ]
}, {
"id" : "mets_hac",
"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_tqj",
"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_uam",
"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_tqj",
"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" : [ "tnm8_path_stage_uam", "radiation_surg_seq", "esophagusgejunction_egj_stomach_57130", "ss2018_stomach_including_net_stomach_35647", "rn_positive_with_regional_nodes_for_ajcc_n_50297", "mets_hac", "nodes_pos_fpa", "parse_t_2177", "tnm8_inclusions_tqj", "parse_n_67182", "ajcc_chapter_calculation_2262", "histology", "nodes_dak", "nodes_exam_76029", "grade_pathological_59340", "tumor_size_summary_63115", "behavior", "schema_selection_stomach", "tumor_size_pathological_25597", "systemic_surg_seq", "tumor_size_clinical_60979", "parse_m_47057", "primary_site", "eod_tnm_component_cleanup_58170", "grade_clinical_36085", "year_dx_validation", "summary_stage_rpa", "grade_post_therapy_80796", "extension_bal" ],
"on_invalid_input" : "CONTINUE",
"last_modified" : "2018-04-19T21:52:34.856Z"
}