Skip to content

Commit

Permalink
Urinary - rows 8323/3, 8154/3 and 8693/3 added
Browse files Browse the repository at this point in the history
  • Loading branch information
bekeles committed Dec 20, 2024
1 parent 601d112 commit 10f09bb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/imsweb/mph/MphConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -689,11 +689,14 @@ private MphConstants() {
content.put("8746/3", "8720/3"); // Malignant melanoma 8720/3
content.put("8721/3", "8720/3"); // Malignant melanoma 8720/3
content.put("8714/3", "8714/3"); // Malignant perivascular epithelioid cell tumor 8714/3
content.put("8323/3", "8323/3"); // Mixed adenocarcinoma 8323/3
content.put("8154/3", "8154/3"); // Mixed neuroendocrine-nonneuroendocrine carcinoma 8154/3
content.put("8246/3", "8246/3"); // Neuroendocrine carcinoma, NOS 8246/3
content.put("8013/3", "8246/3"); // Neuroendocrine carcinoma, NOS 8246/3
content.put("8041/3", "8246/3"); // Neuroendocrine carcinoma, NOS 8246/3
content.put("8240/3", "8240/3"); // Neuroendocrine tumor, NOS 8240/3
content.put("8249/3", "8240/3"); // Neuroendocrine tumor, NOS 8240/3
content.put("8693/3", "8693/3"); // Paraganglioma 8693/3
content.put("8800/3", "8800/3"); // Sarcoma NOS 8800/3
content.put("9120/3", "8800/3"); // Sarcoma NOS 8800/3
content.put("9220/3", "8800/3"); // Sarcoma NOS 8800/3
Expand Down
10 changes: 10 additions & 0 deletions src/test/java/com/imsweb/mph/Mph2018RuleTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -4291,6 +4291,16 @@ public void test2018Urinary() {
Assert.assertEquals(ruleCountToTest, output.getAppliedRules().size());
Assert.assertTrue(output.getReason().contains("tumors that are on different rows in Table 2"));
Assert.assertEquals(ruleStepToTest, output.getStep());
i1.setHistologyIcdO3("8323");
i2.setHistologyIcdO3("8693");
output = _utils.computePrimaries(i1, i2);
Assert.assertEquals(MphUtils.MpResult.MULTIPLE_PRIMARIES, output.getResult());
Assert.assertEquals(ruleStepToTest, output.getStep());
i1.setHistologyIcdO3("8323");
i2.setHistologyIcdO3("8154");
output = _utils.computePrimaries(i1, i2);
Assert.assertEquals(MphUtils.MpResult.MULTIPLE_PRIMARIES, output.getResult());
Assert.assertEquals(ruleStepToTest, output.getStep());
// Does not apply.
i1.setHistologyIcdO3("8131");
i2.setHistologyIcdO3("8130");
Expand Down

0 comments on commit 10f09bb

Please sign in to comment.