Skip to content

Commit

Permalink
Solid tumor 2024 update
Browse files Browse the repository at this point in the history
  • Loading branch information
bekeles committed Feb 6, 2024
1 parent 8915d44 commit 6da058f
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public TempRuleResult apply(MphInput i1, MphInput i2, RuleExecutionContext conte
//Special case 9413 and 9509
if ("9413".equals(i1.getHistology())) {
result.setFinalResult(MpResult.QUESTIONABLE);
result.setMessage("Unable to apply Rule " + this.getStep() + " of " + this.getGroupName() + ". The ICD-O code (9413/0) can be used for both DNET and PLNTY.");
result.setMessage("Unable to apply Rule " + this.getStep() + " of " + this.getGroupName() + ". The ICD-O code (9413) can be used for both DNET and PLNTY.");
}
else if ("9509".equals(i1.getHistology()) && !i1.getBehavior().equals(i2.getBehavior())) {
result.setFinalResult(MpResult.QUESTIONABLE);
Expand Down Expand Up @@ -176,9 +176,13 @@ public TempRuleResult apply(MphInput i1, MphInput i2, RuleExecutionContext conte
}
else if (GroupUtility.sameHistologies(icd1, icd2) || row1.equals(row2)) {
//Special case 9413 and 9509
if ("9413".equals(i1.getHistology()) || "9509".equals(i1.getHistology())) {
if ("9413".equals(i1.getHistology())) {
result.setFinalResult(MpResult.QUESTIONABLE);
result.setMessage("9413".equals(i1.getHistology()) ? "9413 needs a manual review." : "9509 needs a manual review.");
result.setMessage("Unable to apply Rule " + this.getStep() + " of " + this.getGroupName() + ". The ICD-O code (9413) can be used for both DNET and PLNTY.");
}
else if ("9509".equals(i1.getHistology()) && !i1.getBehavior().equals(i2.getBehavior())) {
result.setFinalResult(MpResult.QUESTIONABLE);
result.setMessage("Unable to apply Rule " + this.getStep() + " of " + this.getGroupName() + ". The ICD-O code (9509) can be used for both MVNT and papillary glioneural tumor.");
}
else
result.setFinalResult(MphUtils.MpResult.SINGLE_PRIMARY);
Expand Down

0 comments on commit 6da058f

Please sign in to comment.