Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
algorithms.tnm.2.0.schemas.placenta.json Maven / Gradle / Ivy
{
"id" : "placenta",
"algorithm" : "tnm",
"version" : "2.0",
"name" : "Placenta",
"title" : "Placenta",
"notes" : "C589 Placenta\n\n**Note 1:** This schema is based on the UICC chapter *Gestational Trophoblastic Tumours,* pages 232-236.\n\n**Note 2:** This classification applies to choriocarcinoma (9100/3). Placental site tumors should be reported separately. Histologic confirmation is not required if the human chorionic gonadotropin (BhCG) level is abnormally elevated.\n\n**Note 3:** If a trophoblastic tumor is not associated with a pregnancy and arises in another site, such as ovary, use the primary site code and the appropriate TNM chapter.\n\n**Note 4:** In addition to directly assigning TNM, Summary Stage 2000 (SS2000) must be captured. If directly assigning SS2000, use the *Placenta* chapter on page 222 of the [SS2000 on-line manual](https://seer.cancer.gov/tools/ssm/ssm2000/SSSM2000-122012.pdf#page=222).",
"schema_selection_table" : "schema_selection_placenta",
"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" : "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" : "clin_t",
"name" : "Clinical T",
"naaccr_item" : 940,
"naaccr_xml_id" : "tnmClinT",
"table" : "clin_t_placenta_62001",
"used_for_staging" : true
}, {
"key" : "clin_m",
"name" : "Clinical M",
"naaccr_item" : 960,
"naaccr_xml_id" : "tnmClinM",
"table" : "clin_m_hak",
"used_for_staging" : true
}, {
"key" : "path_t",
"name" : "Pathologic T",
"naaccr_item" : 880,
"naaccr_xml_id" : "tnmPathT",
"table" : "placenta_t_12749",
"used_for_staging" : true
}, {
"key" : "path_m",
"name" : "Pathologic M",
"naaccr_item" : 900,
"naaccr_xml_id" : "tnmPathM",
"table" : "path_m_hak",
"used_for_staging" : true
}, {
"key" : "ssf1",
"name" : "Prognostic Scoring Index",
"naaccr_item" : 2880,
"naaccr_xml_id" : "csSiteSpecificFactor1",
"default" : "999",
"table" : "ssf1_jaq",
"used_for_staging" : true
}, {
"key" : "ssf2",
"name" : "FIGO Stage",
"naaccr_item" : 2890,
"naaccr_xml_id" : "csSiteSpecificFactor2",
"default" : "988",
"table" : "ssf2_kaw",
"used_for_staging" : false,
"metadata" : [ {
"name" : "COC_REQUIRED"
}, {
"name" : "CCCR_REQUIRED"
} ]
}, {
"key" : "clin_stage_group_direct",
"name" : "TNM Clin Stage Group",
"naaccr_item" : 970,
"naaccr_xml_id" : "tnmClinStageGroup",
"default" : "99",
"table" : "stage_group_c_20505",
"used_for_staging" : true,
"metadata" : [ {
"name" : "COC_REQUIRED"
}, {
"name" : "NPCR_REQUIRED"
} ]
}, {
"key" : "path_stage_group_direct",
"name" : "TNM Path Stage Group",
"naaccr_item" : 910,
"naaccr_xml_id" : "tnmPathStageGroup",
"default" : "99",
"table" : "stage_group_p_5079",
"used_for_staging" : true,
"metadata" : [ {
"name" : "NPCR_REQUIRED"
}, {
"name" : "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,
"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_tpi",
"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_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_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_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_uax",
"input_mapping" : [ {
"from" : "tmp_clin_m",
"to" : "m"
}, {
"from" : "tmp_clin_t",
"to" : "t"
} ],
"output_mapping" : [ {
"from" : "stage",
"to" : "clin_stage_group"
} ],
"inputs" : [ "tmp_clin_m", "tmp_clin_t", "ssf1" ],
"outputs" : [ "clin_stage_group" ]
}, {
"id" : "tnm7_path_stage_uax",
"input_mapping" : [ {
"from" : "tmp_path_m",
"to" : "m"
}, {
"from" : "tmp_path_t",
"to" : "t"
} ],
"output_mapping" : [ {
"from" : "stage",
"to" : "path_stage_group"
} ],
"inputs" : [ "tmp_path_m", "tmp_path_t", "ssf1" ],
"outputs" : [ "path_stage_group" ]
}, {
"id" : "adjust_path_defaults_for_no_path_placenta_37763",
"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" : "combined_n_out",
"to" : "combined_n"
}, {
"from" : "source_n_out",
"to" : "source_n"
}, {
"from" : "combined_t_out",
"to" : "tmp_combined_t"
} ],
"inputs" : [ "clin_t", "path_t", "tmp_path_m", "tmp_clin_m", "clin_stage_group_direct", "path_m", "tmp_path_t", "tmp_clin_t", "path_stage_group_direct", "clin_m" ],
"outputs" : [ "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_tpi",
"inputs" : [ "hist" ]
} ],
"initial_context" : [ {
"key" : "combined_m",
"value" : "90"
}, {
"key" : "combined_stage_group",
"value" : "90"
}, {
"key" : "combined_t",
"value" : "90"
} ],
"tables" : [ {
"id" : "stop_if_no_clin_and_no_path_placenta_53933",
"inputs" : [ "clin_t", "path_t", "clin_stage_group_direct", "path_m", "path_stage_group_direct", "clin_m" ],
"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_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" : "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_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_uax",
"input_mapping" : [ {
"from" : "tmp_combined_m",
"to" : "m"
}, {
"from" : "tmp_combined_t",
"to" : "t"
} ],
"output_mapping" : [ {
"from" : "stage",
"to" : "combined_stage_group"
} ],
"inputs" : [ "tmp_combined_m", "tmp_combined_t", "ssf1" ],
"outputs" : [ "combined_stage_group" ]
} ]
} ],
"involved_tables" : [ "ssf2_kaw", "determine_default_t", "tnm7_stage_uax", "radiation_surg_seq", "stage_group_c_20505", "ssf1_jaq", "determine_default_m", "clin_t_placenta_62001", "parse_t_2177", "stage_group_p_5079", "path_m_hak", "schema_selection_placenta", "histology", "placenta_t_12749", "concatenate_m_40642", "clin_m_hak", "combined_t_no_tis", "tnm7_path_stage_uax", "concatenate_t_51262", "stop_if_no_clin_and_no_path_placenta_53933", "tnm7_inclusions_tpi", "adjust_path_defaults_for_no_path_placenta_37763", "determine_combined_prefix_91402", "systemic_surg_seq", "parse_m_47057", "primary_site", "combined_m", "year_dx_validation" ],
"last_modified" : "2020-06-30T19:47:42.365Z",
"on_invalid_input" : "FAIL_WHEN_USED_FOR_STAGING"
}