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

algorithms.cs.02.05.50.schemas.prostate.json Maven / Gradle / Ivy

{
  "id" : "prostate",
  "algorithm" : "cs",
  "version" : "02.05.50",
  "name" : "Prostate",
  "title" : "Prostate",
  "notes" : "DISCONTINUED SITE-SPECIFIC FACTORS:  SSF14, SSF15\n\nC61.9 - Prostate gland\n\n**Note 1**: Transitional cell (urothelial) carcinoma of the prostatic urethra is to be coded to primary site C68.0, Urethra, and assigned Collaborative Stage codes according to the Urethra schema.\n\n**Note 2**: The 7th Edition AJCC stage group is derived not only from the T, N, and M categories but also from CS Site-Specific Factor 1 (PSA Lab Value) and CS Site-Specific Factor 8 or CS Site-Specific Factor 10 (Gleason's Score). The specific Gleason's Score used is dependent upon the values of CS Extension - Clinical Extension, CS Site-Specific Factor 3 (CS Extension - Pathologic Extension) and CS Tumor Size/Ext Eval as shown in the Special Calculation Table for TNM 7 Invasive/Unknown Pathologic Extension Eval and Special Calculation Table for TNM 7 Non-Invasive Pathologic Extension.",
  "schema_num" : 121,
  "schema_selection_table" : "schema_selection_prostate",
  "inputs" : [ {
    "key" : "site",
    "name" : "Primary Site",
    "description" : "Code for the primary site of the tumor being reported using either ICD-O-2 or ICD-O-3.",
    "naaccr_item" : 400,
    "table" : "primary_site",
    "used_for_staging" : true
  }, {
    "key" : "hist",
    "name" : "Histology",
    "description" : "Codes for the histologic type of the tumor being reported using ICD-O-3.",
    "naaccr_item" : 522,
    "table" : "histology",
    "used_for_staging" : true
  }, {
    "key" : "year_dx",
    "name" : "Year of Diagnosis",
    "description" : "Date of initial diagnosis by a recognized medical practitioner for the tumor being reported whether clinically or microscopically confirmed.",
    "naaccr_item" : 390,
    "table" : "cs_year_validation",
    "used_for_staging" : true
  }, {
    "key" : "cs_input_version_original",
    "name" : "CS Version Input Original",
    "description" : "Collaborative Staging (CS) version number initially used to code CS fields.",
    "naaccr_item" : 2935,
    "table" : "cs_input_version_original",
    "used_for_staging" : true
  }, {
    "key" : "behavior",
    "name" : "Behavior ICD-O-3",
    "description" : "Code for the behavior of the tumor being reported using ICD-O-3.",
    "naaccr_item" : 523,
    "table" : "behavior",
    "used_for_staging" : false
  }, {
    "key" : "grade",
    "name" : "Grade",
    "description" : "Code for the grade or degree of differentiation of the reportable tumor.",
    "naaccr_item" : 440,
    "table" : "grade",
    "used_for_staging" : true
  }, {
    "key" : "age_dx",
    "name" : "Age at Diagnosis",
    "description" : "Age of the patient at diagnosis in complete years.",
    "naaccr_item" : 230,
    "used_for_staging" : false
  }, {
    "key" : "lvi",
    "name" : "Lymph-vascular Invasion",
    "description" : "Indicates whether lymphatic duct or blood vessel (LVI) is identified in the pathology report.",
    "naaccr_item" : 1182,
    "default" : "8",
    "table" : "lvi",
    "used_for_staging" : false
  }, {
    "key" : "size",
    "name" : "CS Tumor Size",
    "description" : "Records the largest dimension or diameter of the primary tumor in millimeters.",
    "naaccr_item" : 2800,
    "default" : "999",
    "table" : "size_apa",
    "used_for_staging" : false
  }, {
    "key" : "extension",
    "name" : "CS Extension",
    "description" : "Identifies contiguous growth (extension) of the primary tumor within the organ of origin or its direct extension into neighboring organs. For certain sites such as ovary, discontinuous metastasis is coded in CS Extension.",
    "naaccr_item" : 2810,
    "default" : "999",
    "table" : "extension_bbo",
    "used_for_staging" : true
  }, {
    "key" : "extension_eval",
    "name" : "CS Tumor Size/Ext Eval",
    "description" : "Records how the codes for the two items CS Tumor Size and CS Extension were determined, based on the diagnostic methods employed.",
    "naaccr_item" : 2820,
    "default" : "9",
    "table" : "extension_eval_cab",
    "used_for_staging" : true
  }, {
    "key" : "nodes",
    "name" : "CS Lymph Nodes",
    "description" : "Identifies the regional lymph nodes involved with cancer at the time of diagnosis.",
    "naaccr_item" : 2830,
    "default" : "999",
    "table" : "nodes_dbf",
    "used_for_staging" : true
  }, {
    "key" : "nodes_eval",
    "name" : "CS Lymph Nodes Eval",
    "description" : "Records how the code for CS Lymph Nodes was determined, based on the diagnosticmethods employed.",
    "naaccr_item" : 2840,
    "default" : "9",
    "table" : "nodes_eval_epa",
    "used_for_staging" : true
  }, {
    "key" : "nodes_pos",
    "name" : "Regional Nodes Positive",
    "description" : "Records the exact number of regional nodes examined by the pathologist and found to contain metastases. ",
    "naaccr_item" : 820,
    "default" : "99",
    "table" : "nodes_pos_fpa",
    "used_for_staging" : false
  }, {
    "key" : "nodes_exam",
    "name" : "Regional Nodes Examined",
    "description" : "Records the total number of regional lymph nodes that were removed and examined by the pathologist. ",
    "naaccr_item" : 830,
    "default" : "99",
    "table" : "nodes_exam_gpa",
    "used_for_staging" : false
  }, {
    "key" : "mets",
    "name" : "CS Mets at DX",
    "description" : "Identifies the distant site(s) of metastatic involvement at time of diagnosis.",
    "naaccr_item" : 2850,
    "default" : "99",
    "table" : "mets_hal",
    "used_for_staging" : true
  }, {
    "key" : "mets_eval",
    "name" : "CS Mets Eval",
    "description" : "Records how the code for CS Mets at Dx was determined based on the diagnostic methods employed.",
    "naaccr_item" : 2860,
    "default" : "9",
    "table" : "mets_eval_ipb",
    "used_for_staging" : true
  }, {
    "key" : "ssf1",
    "name" : "Prostatic Specific Antigen (PSA) Lab Value",
    "naaccr_item" : 2880,
    "default" : "999",
    "table" : "ssf1_jav",
    "used_for_staging" : true,
    "metadata" : [ "NPCR_REQUIRED_WHEN_AVAILABLE_2011_FORWARD", "CCCR_ESSENTIAL_FOR_TNM_CLASSIFICATION" ]
  }, {
    "key" : "ssf2",
    "name" : "Prostatic Specific Antigen (PSA) Interpretation",
    "naaccr_item" : 2890,
    "default" : "999",
    "table" : "ssf2_kab",
    "used_for_staging" : false,
    "metadata" : [ "COC_CLINICALLY_SIGNIFICANT", "CCCR_II_ESSENTIAL_FOR_CLINICAL_DECISION", "SEER_CLINICALLY_SIGNIFICANT" ]
  }, {
    "key" : "ssf3",
    "name" : "CS Extension - Pathologic Extension",
    "naaccr_item" : 2900,
    "default" : "960",
    "table" : "ssf3_lab",
    "used_for_staging" : true,
    "metadata" : [ "CCCR_ESSENTIAL_FOR_TNM_CLASSIFICATION", "NPCR_REQUIRED_2004_FORWARD" ]
  }, {
    "key" : "ssf4",
    "name" : "Prostate Apex Involvement (OBSOLETE: Prostatic Acid Phosphatase (PAP))",
    "naaccr_item" : 2910,
    "default" : "988",
    "table" : "ssf4_maf",
    "used_for_staging" : false,
    "metadata" : [ "CCCR_III_COLLECTED_IN_CSV1", "SEER_REQUIRED_PRE_2010", "COC_REQUIRED_PRE_2010" ]
  }, {
    "key" : "ssf5",
    "name" : "OBSOLETE - Gleason's Primary Pattern and Secondary Pattern Value",
    "naaccr_item" : 2920,
    "default" : "988",
    "table" : "ssf5_nae",
    "used_for_staging" : false
  }, {
    "key" : "ssf6",
    "name" : "OBSOLETE - Gleason's Score",
    "naaccr_item" : 2930,
    "default" : "988",
    "table" : "ssf6_oad",
    "used_for_staging" : false
  }, {
    "key" : "ssf7",
    "name" : "Gleason's Primary Pattern and Secondary Pattern Values on Needle Core Biopsy/Transurethral Resection of Prostate (TURP)",
    "naaccr_item" : 2861,
    "default" : "999",
    "table" : "ssf7_saw",
    "used_for_staging" : false,
    "metadata" : [ "CCCR_III_COLLECTED_IN_CSV1", "COC_CLINICALLY_SIGNIFICANT", "SEER_CLINICALLY_SIGNIFICANT" ]
  }, {
    "key" : "ssf8",
    "name" : "Gleason's Score on Needle Core Biopsy/Transurethral Resection of Prostate (TURP)",
    "naaccr_item" : 2862,
    "default" : "999",
    "table" : "ssf8_sax",
    "used_for_staging" : true,
    "metadata" : [ "NPCR_REQUIRED_WHEN_AVAILABLE_2011_FORWARD", "CCCR_ESSENTIAL_FOR_TNM_CLASSIFICATION" ]
  }, {
    "key" : "ssf9",
    "name" : "Gleason's Primary Pattern and Secondary Pattern Values on Prostatectomy/Autopsy",
    "naaccr_item" : 2863,
    "default" : "999",
    "table" : "ssf9_say",
    "used_for_staging" : false,
    "metadata" : [ "CCCR_III_COLLECTED_IN_CSV1", "COC_CLINICALLY_SIGNIFICANT", "SEER_CLINICALLY_SIGNIFICANT" ]
  }, {
    "key" : "ssf10",
    "name" : "Gleason's Score on Prostatectomy/Autopsy",
    "naaccr_item" : 2864,
    "default" : "999",
    "table" : "ssf10_saz",
    "used_for_staging" : true,
    "metadata" : [ "NPCR_REQUIRED_WHEN_AVAILABLE_2011_FORWARD", "CCCR_ESSENTIAL_FOR_TNM_CLASSIFICATION" ]
  }, {
    "key" : "ssf11",
    "name" : "Gleason's Tertiary Pattern Value on Prostatectomy/Autopsy",
    "naaccr_item" : 2865,
    "default" : "988",
    "table" : "ssf11_sba",
    "used_for_staging" : false,
    "metadata" : [ "CCCR_IVA_COLLECT_IF_AVAILABLE_IN_PATH_REPORT", "COC_CLINICALLY_SIGNIFICANT" ]
  }, {
    "key" : "ssf12",
    "name" : "Number of Cores Positive",
    "naaccr_item" : 2866,
    "default" : "999",
    "table" : "ssf12_sbb",
    "used_for_staging" : false,
    "metadata" : [ "CCCR_IVA_COLLECT_IF_AVAILABLE_IN_PATH_REPORT", "COC_CLINICALLY_SIGNIFICANT", "SEER_CLINICALLY_SIGNIFICANT" ]
  }, {
    "key" : "ssf13",
    "name" : "Number of Cores Examined",
    "naaccr_item" : 2867,
    "default" : "999",
    "table" : "ssf13_sbc",
    "used_for_staging" : false,
    "metadata" : [ "CCCR_IVA_COLLECT_IF_AVAILABLE_IN_PATH_REPORT", "COC_CLINICALLY_SIGNIFICANT", "SEER_CLINICALLY_SIGNIFICANT" ]
  }, {
    "key" : "ssf14",
    "name" : "Needle Core Biopsy Findings",
    "naaccr_item" : 2868,
    "default" : "988",
    "table" : "ssf14_sbd",
    "used_for_staging" : false
  }, {
    "key" : "ssf15",
    "name" : "Clinical Staging Procedures Performed",
    "naaccr_item" : 2869,
    "default" : "988",
    "table" : "ssf15_sbe",
    "used_for_staging" : false
  }, {
    "key" : "ssf16",
    "name" : "CS Site-Specific Factor 16",
    "naaccr_item" : 2870,
    "default" : "988",
    "table" : "ssf16_snk",
    "used_for_staging" : false,
    "metadata" : [ "UNDEFINED_SSF" ]
  }, {
    "key" : "ssf17",
    "name" : "CS Site-Specific Factor 17",
    "naaccr_item" : 2871,
    "default" : "988",
    "table" : "ssf17_snl",
    "used_for_staging" : false,
    "metadata" : [ "UNDEFINED_SSF" ]
  }, {
    "key" : "ssf18",
    "name" : "CS Site-Specific Factor 18",
    "naaccr_item" : 2872,
    "default" : "988",
    "table" : "ssf18_snm",
    "used_for_staging" : false,
    "metadata" : [ "UNDEFINED_SSF" ]
  }, {
    "key" : "ssf19",
    "name" : "CS Site-Specific Factor 19",
    "naaccr_item" : 2873,
    "default" : "988",
    "table" : "ssf19_snn",
    "used_for_staging" : false,
    "metadata" : [ "UNDEFINED_SSF" ]
  }, {
    "key" : "ssf20",
    "name" : "CS Site-Specific Factor 20",
    "naaccr_item" : 2874,
    "default" : "988",
    "table" : "ssf20_sno",
    "used_for_staging" : false,
    "metadata" : [ "UNDEFINED_SSF" ]
  }, {
    "key" : "ssf21",
    "name" : "CS Site-Specific Factor 21",
    "naaccr_item" : 2875,
    "default" : "988",
    "table" : "ssf21_snp",
    "used_for_staging" : false,
    "metadata" : [ "UNDEFINED_SSF" ]
  }, {
    "key" : "ssf22",
    "name" : "CS Site-Specific Factor 22",
    "naaccr_item" : 2876,
    "default" : "988",
    "table" : "ssf22_snq",
    "used_for_staging" : false,
    "metadata" : [ "UNDEFINED_SSF" ]
  }, {
    "key" : "ssf23",
    "name" : "CS Site-Specific Factor 23",
    "naaccr_item" : 2877,
    "default" : "988",
    "table" : "ssf23_snr",
    "used_for_staging" : false,
    "metadata" : [ "UNDEFINED_SSF" ]
  }, {
    "key" : "ssf24",
    "name" : "CS Site-Specific Factor 24",
    "naaccr_item" : 2878,
    "default" : "988",
    "table" : "ssf24_sns",
    "used_for_staging" : false,
    "metadata" : [ "UNDEFINED_SSF" ]
  }, {
    "key" : "ssf25",
    "name" : "CS Site-Specific Factor 25",
    "naaccr_item" : 2879,
    "default" : "988",
    "table" : "ssf25_snt",
    "used_for_staging" : false,
    "metadata" : [ "UNDEFINED_SSF" ]
  } ],
  "outputs" : [ {
    "key" : "schema_number",
    "name" : "Schema Number",
    "description" : "CS assigned schema number.",
    "default" : "121"
  }, {
    "key" : "csver_derived",
    "name" : "CS Version Derived",
    "description" : "Collaborative Staging (CS) version used to derive the CS output fields.",
    "naaccr_item" : 2936,
    "default" : "020550"
  }, {
    "key" : "ajcc6_t",
    "name" : "AJCC6 T"
  }, {
    "key" : "ajcc6_tdescriptor",
    "name" : "AJCC6 T Descriptor"
  }, {
    "key" : "ajcc6_n",
    "name" : "AJCC6 N"
  }, {
    "key" : "ajcc6_ndescriptor",
    "name" : "AJCC6 N Descriptor"
  }, {
    "key" : "ajcc6_m",
    "name" : "AJCC6 M"
  }, {
    "key" : "ajcc6_mdescriptor",
    "name" : "AJCC6 M Descriptor"
  }, {
    "key" : "ajcc6_stage",
    "name" : "AJCC6 Stage Group"
  }, {
    "key" : "ajcc7_t",
    "name" : "AJCC7 T"
  }, {
    "key" : "ajcc7_tdescriptor",
    "name" : "AJCC7 T Descriptor"
  }, {
    "key" : "ajcc7_n",
    "name" : "AJCC7 N"
  }, {
    "key" : "ajcc7_ndescriptor",
    "name" : "AJCC7 N Descriptor"
  }, {
    "key" : "ajcc7_m",
    "name" : "AJCC7 M"
  }, {
    "key" : "ajcc7_mdescriptor",
    "name" : "AJCC7 M Descriptor"
  }, {
    "key" : "ajcc7_stage",
    "name" : "AJCC7 Stage Group"
  }, {
    "key" : "t77",
    "name" : "Summary Stage T 1977"
  }, {
    "key" : "n77",
    "name" : "Summary Stage N 1977"
  }, {
    "key" : "m77",
    "name" : "Summary Stage M 1977"
  }, {
    "key" : "ss77",
    "name" : "Summary Stage Group 1977"
  }, {
    "key" : "t2000",
    "name" : "Summary Stage T 2000"
  }, {
    "key" : "n2000",
    "name" : "Summary Stage N 2000"
  }, {
    "key" : "m2000",
    "name" : "Summary Stage M 2000"
  }, {
    "key" : "ss2000",
    "name" : "Summary Stage Group 2000"
  }, {
    "key" : "stor_ajcc6_t",
    "name" : "AJCC6 T (Storage)",
    "naaccr_item" : 2940
  }, {
    "key" : "stor_ajcc6_tdescriptor",
    "name" : "AJCC6 T Descriptor (Storage)",
    "naaccr_item" : 2950
  }, {
    "key" : "stor_ajcc6_n",
    "name" : "AJCC6 N (Storage)",
    "naaccr_item" : 2960
  }, {
    "key" : "stor_ajcc6_ndescriptor",
    "name" : "AJCC6 N Descriptor (Storage)",
    "naaccr_item" : 2970
  }, {
    "key" : "stor_ajcc6_m",
    "name" : "AJCC6 M (Storage)",
    "naaccr_item" : 2980
  }, {
    "key" : "stor_ajcc6_mdescriptor",
    "name" : "AJCC6 M Descriptor (Storage)",
    "naaccr_item" : 2990
  }, {
    "key" : "stor_ajcc6_stage",
    "name" : "AJCC6 Stage Group (Storage)",
    "naaccr_item" : 3000
  }, {
    "key" : "stor_ajcc7_t",
    "name" : "AJCC7 T (Storage)",
    "naaccr_item" : 3400
  }, {
    "key" : "stor_ajcc7_tdescriptor",
    "name" : "AJCC7 T Descriptor (Storage)",
    "naaccr_item" : 3402
  }, {
    "key" : "stor_ajcc7_n",
    "name" : "AJCC7 N (Storage)",
    "naaccr_item" : 3410
  }, {
    "key" : "stor_ajcc7_ndescriptor",
    "name" : "AJCC7 N Descriptor (Storage)",
    "naaccr_item" : 3412
  }, {
    "key" : "stor_ajcc7_m",
    "name" : "AJCC7 M (Storage)",
    "naaccr_item" : 3420
  }, {
    "key" : "stor_ajcc7_mdescriptor",
    "name" : "AJCC7 M Descriptor (Storage)",
    "naaccr_item" : 3422
  }, {
    "key" : "stor_ajcc7_stage",
    "name" : "AJCC7 Stage Group (Storage)",
    "naaccr_item" : 3430
  }, {
    "key" : "stor_ss77",
    "name" : "Summary Stage Group 1977 (Storage)",
    "naaccr_item" : 3010
  }, {
    "key" : "stor_ss2000",
    "name" : "Summary Stage Group 2000 (Storage)",
    "naaccr_item" : 3020
  } ],
  "mappings" : [ {
    "id" : "mapping_t",
    "name" : "T",
    "initial_context" : [ {
      "key" : "stor_ajcc6_tdescriptor",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_tdescriptor",
      "value" : ""
    }, {
      "key" : "ajcc6_tdescriptor",
      "value" : "ERROR"
    }, {
      "key" : "t2000",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_t",
      "value" : ""
    }, {
      "key" : "t77",
      "value" : ""
    }, {
      "key" : "ajcc7_tdescriptor",
      "value" : "ERROR"
    }, {
      "key" : "stor_ajcc6_t",
      "value" : ""
    }, {
      "key" : "ajcc6_t",
      "value" : ""
    }, {
      "key" : "ajcc7_t",
      "value" : ""
    } ],
    "tables" : [ {
      "id" : "determine_correct_table_for_t_ns28",
      "inputs" : [ "extension", "ssf8", "ssf3", "extension_eval", "ssf10" ],
      "outputs" : [ "temp_summ_t", "temp_ajcc_t", "t77", "ajcc6_tdescriptor", "ajcc7_tdescriptor", "t2000", "gleason", "ajcc7_t", "ajcc6_t" ]
    }, {
      "id" : "ajcc_descriptor_codes",
      "input_mapping" : [ {
        "from" : "ajcc7_tdescriptor",
        "to" : "descriptor"
      } ],
      "output_mapping" : [ {
        "from" : "stor_descriptor",
        "to" : "stor_ajcc7_tdescriptor"
      } ],
      "inputs" : [ "ajcc7_tdescriptor" ],
      "outputs" : [ "stor_ajcc7_tdescriptor" ]
    }, {
      "id" : "ajcc_tdescriptor_cleanup",
      "input_mapping" : [ {
        "from" : "ajcc7_t",
        "to" : "t"
      }, {
        "from" : "ajcc7_tdescriptor",
        "to" : "tdescriptor"
      } ],
      "output_mapping" : [ {
        "from" : "stor_tdescriptor",
        "to" : "stor_ajcc7_tdescriptor"
      }, {
        "from" : "tdescriptor",
        "to" : "ajcc7_tdescriptor"
      } ],
      "inputs" : [ "ajcc7_tdescriptor", "ajcc7_t" ],
      "outputs" : [ "ajcc7_tdescriptor", "stor_ajcc7_tdescriptor" ]
    }, {
      "id" : "ajcc7_t_codes",
      "inputs" : [ "ajcc7_t" ],
      "outputs" : [ "stor_ajcc7_t" ]
    }, {
      "id" : "ajcc_descriptor_codes",
      "input_mapping" : [ {
        "from" : "ajcc6_tdescriptor",
        "to" : "descriptor"
      } ],
      "output_mapping" : [ {
        "from" : "stor_descriptor",
        "to" : "stor_ajcc6_tdescriptor"
      } ],
      "inputs" : [ "ajcc6_tdescriptor" ],
      "outputs" : [ "stor_ajcc6_tdescriptor" ]
    }, {
      "id" : "ajcc_tdescriptor_cleanup",
      "input_mapping" : [ {
        "from" : "ajcc6_t",
        "to" : "t"
      }, {
        "from" : "ajcc6_tdescriptor",
        "to" : "tdescriptor"
      } ],
      "output_mapping" : [ {
        "from" : "tdescriptor",
        "to" : "ajcc6_tdescriptor"
      }, {
        "from" : "stor_tdescriptor",
        "to" : "stor_ajcc6_tdescriptor"
      } ],
      "inputs" : [ "ajcc6_tdescriptor", "ajcc6_t" ],
      "outputs" : [ "ajcc6_tdescriptor", "stor_ajcc6_tdescriptor" ]
    }, {
      "id" : "ajcc6_t_codes",
      "inputs" : [ "ajcc6_t" ],
      "outputs" : [ "stor_ajcc6_t" ]
    } ]
  }, {
    "id" : "mapping_n",
    "name" : "N",
    "initial_context" : [ {
      "key" : "stor_ajcc6_n",
      "value" : ""
    }, {
      "key" : "stor_ajcc6_ndescriptor",
      "value" : ""
    }, {
      "key" : "n77",
      "value" : ""
    }, {
      "key" : "ajcc6_n",
      "value" : ""
    }, {
      "key" : "ajcc7_n",
      "value" : ""
    }, {
      "key" : "n2000",
      "value" : ""
    }, {
      "key" : "ajcc6_ndescriptor",
      "value" : "ERROR"
    }, {
      "key" : "stor_ajcc7_n",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_ndescriptor",
      "value" : ""
    }, {
      "key" : "ajcc7_ndescriptor",
      "value" : "ERROR"
    } ],
    "tables" : [ {
      "id" : "nodes_dbf",
      "inputs" : [ "nodes" ],
      "outputs" : [ "ajcc7_n", "ajcc6_n", "n2000", "n77" ]
    }, {
      "id" : "nodes_eval_epa",
      "output_mapping" : [ {
        "from" : "ndescriptor",
        "to" : "ajcc7_ndescriptor"
      } ],
      "inputs" : [ "nodes_eval" ],
      "outputs" : [ "ajcc7_ndescriptor" ]
    }, {
      "id" : "ajcc_descriptor_codes",
      "input_mapping" : [ {
        "from" : "ajcc7_ndescriptor",
        "to" : "descriptor"
      } ],
      "output_mapping" : [ {
        "from" : "stor_descriptor",
        "to" : "stor_ajcc7_ndescriptor"
      } ],
      "inputs" : [ "ajcc7_ndescriptor" ],
      "outputs" : [ "stor_ajcc7_ndescriptor" ]
    }, {
      "id" : "ajcc_ndescriptor_cleanup",
      "input_mapping" : [ {
        "from" : "ajcc7_n",
        "to" : "n"
      }, {
        "from" : "ajcc7_ndescriptor",
        "to" : "ndescriptor"
      } ],
      "output_mapping" : [ {
        "from" : "stor_ndescriptor",
        "to" : "stor_ajcc7_ndescriptor"
      }, {
        "from" : "ndescriptor",
        "to" : "ajcc7_ndescriptor"
      } ],
      "inputs" : [ "ajcc7_n", "ajcc7_ndescriptor" ],
      "outputs" : [ "ajcc7_ndescriptor", "stor_ajcc7_ndescriptor" ]
    }, {
      "id" : "ajcc7_n_codes",
      "inputs" : [ "ajcc7_n" ],
      "outputs" : [ "stor_ajcc7_n" ]
    }, {
      "id" : "nodes_eval_epa",
      "output_mapping" : [ {
        "from" : "ndescriptor",
        "to" : "ajcc6_ndescriptor"
      } ],
      "inputs" : [ "nodes_eval" ],
      "outputs" : [ "ajcc6_ndescriptor" ]
    }, {
      "id" : "ajcc_descriptor_codes",
      "input_mapping" : [ {
        "from" : "ajcc6_ndescriptor",
        "to" : "descriptor"
      } ],
      "output_mapping" : [ {
        "from" : "stor_descriptor",
        "to" : "stor_ajcc6_ndescriptor"
      } ],
      "inputs" : [ "ajcc6_ndescriptor" ],
      "outputs" : [ "stor_ajcc6_ndescriptor" ]
    }, {
      "id" : "ajcc_ndescriptor_cleanup",
      "input_mapping" : [ {
        "from" : "ajcc6_n",
        "to" : "n"
      }, {
        "from" : "ajcc6_ndescriptor",
        "to" : "ndescriptor"
      } ],
      "output_mapping" : [ {
        "from" : "ndescriptor",
        "to" : "ajcc6_ndescriptor"
      }, {
        "from" : "stor_ndescriptor",
        "to" : "stor_ajcc6_ndescriptor"
      } ],
      "inputs" : [ "ajcc6_ndescriptor", "ajcc6_n" ],
      "outputs" : [ "ajcc6_ndescriptor", "stor_ajcc6_ndescriptor" ]
    }, {
      "id" : "ajcc6_n_codes",
      "inputs" : [ "ajcc6_n" ],
      "outputs" : [ "stor_ajcc6_n" ]
    } ]
  }, {
    "id" : "mapping_m",
    "name" : "M",
    "initial_context" : [ {
      "key" : "stor_ajcc6_m",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_m",
      "value" : ""
    }, {
      "key" : "m2000",
      "value" : ""
    }, {
      "key" : "ajcc6_m",
      "value" : ""
    }, {
      "key" : "ajcc7_m",
      "value" : ""
    }, {
      "key" : "m77",
      "value" : ""
    }, {
      "key" : "ajcc6_mdescriptor",
      "value" : "ERROR"
    }, {
      "key" : "stor_ajcc7_mdescriptor",
      "value" : ""
    }, {
      "key" : "stor_ajcc6_mdescriptor",
      "value" : ""
    }, {
      "key" : "ajcc7_mdescriptor",
      "value" : "ERROR"
    } ],
    "tables" : [ {
      "id" : "mets_hal",
      "inputs" : [ "mets" ],
      "outputs" : [ "ajcc7_m", "ajcc6_m", "m77", "m2000" ]
    }, {
      "id" : "mets_eval_ipb",
      "output_mapping" : [ {
        "from" : "mdescriptor",
        "to" : "ajcc7_mdescriptor"
      } ],
      "inputs" : [ "mets_eval" ],
      "outputs" : [ "ajcc7_mdescriptor" ]
    }, {
      "id" : "ajcc_descriptor_codes",
      "input_mapping" : [ {
        "from" : "ajcc7_mdescriptor",
        "to" : "descriptor"
      } ],
      "output_mapping" : [ {
        "from" : "stor_descriptor",
        "to" : "stor_ajcc7_mdescriptor"
      } ],
      "inputs" : [ "ajcc7_mdescriptor" ],
      "outputs" : [ "stor_ajcc7_mdescriptor" ]
    }, {
      "id" : "ajcc_mdescriptor_cleanup",
      "input_mapping" : [ {
        "from" : "ajcc7_m",
        "to" : "m"
      }, {
        "from" : "ajcc7_mdescriptor",
        "to" : "mdescriptor"
      } ],
      "output_mapping" : [ {
        "from" : "stor_mdescriptor",
        "to" : "stor_ajcc7_mdescriptor"
      }, {
        "from" : "mdescriptor",
        "to" : "ajcc7_mdescriptor"
      } ],
      "inputs" : [ "ajcc7_mdescriptor", "ajcc7_m" ],
      "outputs" : [ "ajcc7_mdescriptor", "stor_ajcc7_mdescriptor" ]
    }, {
      "id" : "ajcc7_m_codes",
      "inputs" : [ "ajcc7_m" ],
      "outputs" : [ "stor_ajcc7_m" ]
    }, {
      "id" : "mets_eval_ipb",
      "output_mapping" : [ {
        "from" : "mdescriptor",
        "to" : "ajcc6_mdescriptor"
      } ],
      "inputs" : [ "mets_eval" ],
      "outputs" : [ "ajcc6_mdescriptor" ]
    }, {
      "id" : "ajcc_descriptor_codes",
      "input_mapping" : [ {
        "from" : "ajcc6_mdescriptor",
        "to" : "descriptor"
      } ],
      "output_mapping" : [ {
        "from" : "stor_descriptor",
        "to" : "stor_ajcc6_mdescriptor"
      } ],
      "inputs" : [ "ajcc6_mdescriptor" ],
      "outputs" : [ "stor_ajcc6_mdescriptor" ]
    }, {
      "id" : "ajcc_mdescriptor_cleanup",
      "input_mapping" : [ {
        "from" : "ajcc6_m",
        "to" : "m"
      }, {
        "from" : "ajcc6_mdescriptor",
        "to" : "mdescriptor"
      } ],
      "output_mapping" : [ {
        "from" : "mdescriptor",
        "to" : "ajcc6_mdescriptor"
      }, {
        "from" : "stor_mdescriptor",
        "to" : "stor_ajcc6_mdescriptor"
      } ],
      "inputs" : [ "ajcc6_m", "ajcc6_mdescriptor" ],
      "outputs" : [ "stor_ajcc6_mdescriptor", "ajcc6_mdescriptor" ]
    }, {
      "id" : "ajcc6_m_codes",
      "inputs" : [ "ajcc6_m" ],
      "outputs" : [ "stor_ajcc6_m" ]
    } ]
  }, {
    "id" : "mapping_ajcc7",
    "name" : "AJCC 7",
    "inclusion_tables" : [ {
      "id" : "ajcc7_inclusions_tpv",
      "inputs" : [ "hist" ]
    } ],
    "initial_context" : [ {
      "key" : "stor_ajcc7_stage",
      "value" : ""
    }, {
      "key" : "ajcc7_stage",
      "value" : ""
    } ],
    "tables" : [ {
      "id" : "ajcc7_stage_ubp",
      "input_mapping" : [ {
        "from" : "ajcc7_t",
        "to" : "t"
      }, {
        "from" : "ajcc7_n",
        "to" : "n"
      }, {
        "from" : "ajcc7_m",
        "to" : "m"
      } ],
      "output_mapping" : [ {
        "from" : "stage",
        "to" : "ajcc7_stage"
      } ],
      "inputs" : [ "ajcc7_n", "ajcc7_m", "gleason", "ajcc7_t", "ssf1" ],
      "outputs" : [ "ajcc7_stage" ]
    }, {
      "id" : "ajcc7_stage_codes",
      "inputs" : [ "ajcc7_stage" ],
      "outputs" : [ "stor_ajcc7_stage" ]
    } ]
  }, {
    "id" : "mapping_ajcc7_excluded",
    "name" : "AJCC 7 Excluded",
    "exclusion_tables" : [ {
      "id" : "ajcc7_inclusions_tpv",
      "inputs" : [ "hist" ]
    } ],
    "initial_context" : [ {
      "key" : "stor_ajcc7_tdescriptor",
      "value" : "N"
    }, {
      "key" : "stor_ajcc7_mdescriptor",
      "value" : "N"
    }, {
      "key" : "ajcc7_mdescriptor",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_stage",
      "value" : "888"
    }, {
      "key" : "stor_ajcc7_ndescriptor",
      "value" : "N"
    }, {
      "key" : "ajcc7_t",
      "value" : "NA"
    }, {
      "key" : "stor_ajcc7_t",
      "value" : "888"
    }, {
      "key" : "ajcc7_n",
      "value" : "NA"
    }, {
      "key" : "stor_ajcc7_n",
      "value" : "888"
    }, {
      "key" : "ajcc7_tdescriptor",
      "value" : ""
    }, {
      "key" : "ajcc7_ndescriptor",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_m",
      "value" : "888"
    }, {
      "key" : "ajcc7_stage",
      "value" : "NA"
    }, {
      "key" : "ajcc7_m",
      "value" : "NA"
    } ]
  }, {
    "id" : "mapping_ajcc6",
    "name" : "AJCC 6",
    "exclusion_tables" : [ {
      "id" : "ajcc6_exclusions_pag",
      "inputs" : [ "hist" ]
    } ],
    "initial_context" : [ {
      "key" : "ajcc6_stage",
      "value" : ""
    }, {
      "key" : "stor_ajcc6_stage",
      "value" : ""
    } ],
    "tables" : [ {
      "id" : "ajcc6_stage_qaj",
      "input_mapping" : [ {
        "from" : "ajcc6_t",
        "to" : "t"
      }, {
        "from" : "ajcc6_n",
        "to" : "n"
      }, {
        "from" : "ajcc6_m",
        "to" : "m"
      } ],
      "output_mapping" : [ {
        "from" : "stage",
        "to" : "ajcc6_stage"
      } ],
      "inputs" : [ "ajcc6_n", "ajcc6_m", "grade", "ajcc6_t" ],
      "outputs" : [ "ajcc6_stage" ]
    }, {
      "id" : "ajcc6_stage_codes",
      "inputs" : [ "ajcc6_stage" ],
      "outputs" : [ "stor_ajcc6_stage" ]
    } ]
  }, {
    "id" : "mapping_ajcc6_included",
    "name" : "AJCC 6 Included",
    "inclusion_tables" : [ {
      "id" : "ajcc6_exclusions_pag",
      "inputs" : [ "hist" ]
    } ],
    "initial_context" : [ {
      "key" : "stor_ajcc6_m",
      "value" : "88"
    }, {
      "key" : "stor_ajcc6_n",
      "value" : "88"
    }, {
      "key" : "stor_ajcc6_tdescriptor",
      "value" : "N"
    }, {
      "key" : "ajcc6_ndescriptor",
      "value" : ""
    }, {
      "key" : "ajcc6_tdescriptor",
      "value" : ""
    }, {
      "key" : "stor_ajcc6_ndescriptor",
      "value" : "N"
    }, {
      "key" : "ajcc6_t",
      "value" : "NA"
    }, {
      "key" : "ajcc6_stage",
      "value" : "NA"
    }, {
      "key" : "ajcc6_mdescriptor",
      "value" : ""
    }, {
      "key" : "stor_ajcc6_stage",
      "value" : "88"
    }, {
      "key" : "ajcc6_m",
      "value" : "NA"
    }, {
      "key" : "stor_ajcc6_t",
      "value" : "88"
    }, {
      "key" : "ajcc6_n",
      "value" : "NA"
    }, {
      "key" : "stor_ajcc6_mdescriptor",
      "value" : "N"
    } ]
  }, {
    "id" : "mapping_summary_stage",
    "name" : "Summary Stage",
    "tables" : [ {
      "id" : "summary_stage_rpa",
      "input_mapping" : [ {
        "from" : "n77",
        "to" : "n"
      }, {
        "from" : "m77",
        "to" : "m"
      }, {
        "from" : "t77",
        "to" : "t"
      } ],
      "output_mapping" : [ {
        "from" : "stage",
        "to" : "ss77"
      } ],
      "inputs" : [ "t77", "m77", "n77" ],
      "outputs" : [ "ss77" ]
    }, {
      "id" : "ss_codes",
      "input_mapping" : [ {
        "from" : "ss77",
        "to" : "ss"
      } ],
      "output_mapping" : [ {
        "from" : "stor_ss",
        "to" : "stor_ss77"
      } ],
      "inputs" : [ "ss77" ],
      "outputs" : [ "stor_ss77" ]
    }, {
      "id" : "summary_stage_rpa",
      "input_mapping" : [ {
        "from" : "m2000",
        "to" : "m"
      }, {
        "from" : "t2000",
        "to" : "t"
      }, {
        "from" : "n2000",
        "to" : "n"
      } ],
      "output_mapping" : [ {
        "from" : "stage",
        "to" : "ss2000"
      } ],
      "inputs" : [ "t2000", "n2000", "m2000" ],
      "outputs" : [ "ss2000" ]
    }, {
      "id" : "ss_codes",
      "input_mapping" : [ {
        "from" : "ss2000",
        "to" : "ss"
      } ],
      "output_mapping" : [ {
        "from" : "stor_ss",
        "to" : "stor_ss2000"
      } ],
      "inputs" : [ "ss2000" ],
      "outputs" : [ "stor_ss2000" ]
    } ]
  }, {
    "id" : "mapping_ajcc7_invalid_year",
    "name" : "Validate AJCC7 Year",
    "exclusion_tables" : [ {
      "id" : "ajcc7_year_validation",
      "inputs" : [ "year_dx", "cs_input_version_original" ]
    } ],
    "initial_context" : [ {
      "key" : "stor_ajcc7_m",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_stage",
      "value" : ""
    }, {
      "key" : "ajcc7_m",
      "value" : ""
    }, {
      "key" : "ajcc7_n",
      "value" : ""
    }, {
      "key" : "ajcc7_mdescriptor",
      "value" : ""
    }, {
      "key" : "ajcc7_stage",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_mdescriptor",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_tdescriptor",
      "value" : ""
    }, {
      "key" : "ajcc7_tdescriptor",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_t",
      "value" : ""
    }, {
      "key" : "ajcc7_ndescriptor",
      "value" : ""
    }, {
      "key" : "ajcc7_t",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_n",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_ndescriptor",
      "value" : ""
    } ]
  }, {
    "id" : "mapping_ajcc6_invalid_year",
    "name" : "Validate AJCC6 Year",
    "exclusion_tables" : [ {
      "id" : "ajcc6_year_validation",
      "inputs" : [ "year_dx", "cs_input_version_original" ]
    } ],
    "initial_context" : [ {
      "key" : "stor_ajcc6_m",
      "value" : ""
    }, {
      "key" : "stor_ajcc6_ndescriptor",
      "value" : ""
    }, {
      "key" : "n77",
      "value" : ""
    }, {
      "key" : "stor_ajcc7_stage",
      "value" : ""
    }, {
      "key" : "ajcc6_m",
      "value" : ""
    }, {
      "key" : "t2000",
      "value" : ""
    }, {
      "key" : "ss77",
      "value" : ""
    }, {
      "key" : "stor_ss77",
      "value" : ""
    }, {
      "key" : "ajcc6_tdescriptor",
      "value" : ""
    }, {
      "key" : "t77",
      "value" : ""
    }, {
      "key" : "stor_ajcc6_stage",
      "value" : ""
    }, {
      "key" : "n2000",
      "value" : ""
    }, {
      "key" : "stor_ajcc6_t",
      "value" : ""
    }, {
      "key" : "ajcc6_t",
      "value" : ""
    }, {
      "key" : "stor_ajcc6_n",
      "value" : ""
    }, {
      "key" : "m2000",
      "value" : ""
    }, {
      "key" : "ss2000",
      "value" : ""
    }, {
      "key" : "ajcc6_ndescriptor",
      "value" : ""
    }, {
      "key" : "ajcc6_n",
      "value" : ""
    }, {
      "key" : "m77",
      "value" : ""
    }, {
      "key" : "ajcc6_stage",
      "value" : ""
    }, {
      "key" : "stor_ajcc6_mdescriptor",
      "value" : ""
    }, {
      "key" : "stor_ajcc6_tdescriptor",
      "value" : ""
    }, {
      "key" : "ajcc6_mdescriptor",
      "value" : ""
    }, {
      "key" : "stor_ss2000",
      "value" : ""
    } ]
  } ],
  "involved_tables" : [ "ajcc7_inclusions_tpv", "ssf25_snt", "ajcc7_t_codes", "ssf23_snr", "extension_eval_6_cab", "schema_selection_prostate", "histology", "special_calculation_non_invasive_pathologic_extension_xdr_xdt_xdq", "ssf14_sbd", "cs_input_version_original", "extension_sstg_bbo", "extension_bbo", "ssf22_snq", "lvi", "ssf3_sstg_lab", "ajcc_tdescriptor_cleanup", "ssf3_lab", "ajcc7_year_validation", "ssf21_snp", "ssf4_maf", "ssf17_snl", "ajcc_descriptor_codes", "special_calculation_invasive_unknown_pathologic_extension_xds_xdu_xdq", "ajcc6_stage_qaj", "extension_eval_cab", "ssf15_sbe", "grade", "summary_stage_rpa", "ajcc7_m_codes", "ssf20_sno", "ajcc_ndescriptor_cleanup", "ssf16_snk", "ajcc6_stage_qaj_grade", "mets_hal", "ssf6_oad", "ssf11_sba", "ajcc6_t_codes", "ssf1_jav", "nodes_pos_fpa", "ajcc_mdescriptor_cleanup", "ssf7_saw", "nodes_dbf", "ss_codes", "size_apa", "nodes_exam_gpa", "ajcc6_exclusions_pag", "ajcc6_n_codes", "behavior", "ssf10_saz", "mets_eval_ipb", "ssf18_snm", "ssf13_sbc", "ajcc7_n_codes", "ajcc6_stage_codes", "ssf19_snn", "ajcc7_stage_codes", "ssf9_say", "ajcc7_stage_ubp", "ssf12_sbb", "primary_site", "ajcc6_year_validation", "ssf2_kab", "determine_correct_table_for_t_ns28", "ajcc6_m_codes", "nodes_eval_epa", "ssf8_sax", "cs_year_validation", "ssf5_nae", "ssf24_sns" ],
  "last_modified" : "2016-01-28T18:55:55.381Z"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy