imsweb / mph

Java implementation of the Multiple Primary and Histology Coding Rules.
Other
4 stars 2 forks source link

2018 Urinary rule has a wrong message for M15 #86

Closed bekeles closed 1 year ago

bekeles commented 2 years ago

Check the documentation and update the message accordingly.

bekeles commented 2 years ago

Here’s another one… single primary and the reason is “Synchronous, separate/non-contiguous tumors that are on the same row in Table 1 in the Equivalent Terms and Definitions (Tumors must be in the same kidney), are multiple primaries.”

C649, 8317, 3, 1, 2018-04-30 C649, 8312, 3, 1, 2018-04-30

depryf commented 2 years ago

Could you maybe write a unit test to make sure that no rule that returns "single primary" contains "multiple primaries" on it?

bekeles commented 2 years ago

For most of the rules yes. But I think there are few rules which returns both based on some condition.