jschill2628
Programmer
I have a formula:
@severity:
If {IRSCLAIM.COVERAGE}= "FALL" and {IRSCLAIM.SPECIAL20} = "05" then "Fall - None" else
If {IRSCLAIM.COVERAGE}= "FALL" and {IRSCLAIM.SPECIAL20} = "10" then "Fall - Minor" else
If {IRSCLAIM.COVERAGE}= "FALL" and {IRSCLAIM.SPECIAL20} = "15" then "Fall - Moderate" else
If {IRSCLAIM.COVERAGE}= "FALL" and {IRSCLAIM.SPECIAL20} = "20" then "Fall - Major" else
If {IRSCLAIM.COVERAGE}= "FALL" and {IRSCLAIM.SPECIAL20} = "25" then "Fall - Death" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "00" then "Near Miss" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "01" then "No Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "02" then "No Detectable Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "03" then "Minimal - Temporary Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "04" then "Minimal - Permanent Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "05" then "Moderate - Temporary Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "06" then "Moderate - Permanent Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "07" then "Severe - Temporary Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "08" then "Severe - Permanent Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "09" then "Death" else
If {IRSCLAIMSA1.SA153} = "" then "N/A"
I would like to some how make this into a prompt, allowing users to pick all of a select few of the severities found above. I am not sure how to do this especially with two different fields that make up the severity field.
Can anyone help me? Thank you
@severity:
If {IRSCLAIM.COVERAGE}= "FALL" and {IRSCLAIM.SPECIAL20} = "05" then "Fall - None" else
If {IRSCLAIM.COVERAGE}= "FALL" and {IRSCLAIM.SPECIAL20} = "10" then "Fall - Minor" else
If {IRSCLAIM.COVERAGE}= "FALL" and {IRSCLAIM.SPECIAL20} = "15" then "Fall - Moderate" else
If {IRSCLAIM.COVERAGE}= "FALL" and {IRSCLAIM.SPECIAL20} = "20" then "Fall - Major" else
If {IRSCLAIM.COVERAGE}= "FALL" and {IRSCLAIM.SPECIAL20} = "25" then "Fall - Death" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "00" then "Near Miss" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "01" then "No Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "02" then "No Detectable Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "03" then "Minimal - Temporary Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "04" then "Minimal - Permanent Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "05" then "Moderate - Temporary Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "06" then "Moderate - Permanent Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "07" then "Severe - Temporary Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "08" then "Severe - Permanent Harm" else
If {IRSCLAIM.COVERAGE} in ["ADR", "BEH", "EQUI", "IVBP", "LAB", "MAT", "MED", "PCE", "SURG"] and {IRSCLAIMSA1.SA153} = "09" then "Death" else
If {IRSCLAIMSA1.SA153} = "" then "N/A"
I would like to some how make this into a prompt, allowing users to pick all of a select few of the severities found above. I am not sure how to do this especially with two different fields that make up the severity field.
Can anyone help me? Thank you