yubin-park / hccpy

A Python implementation of Hierarchical Condition Categories
Apache License 2.0
97 stars 59 forks source link

Remove claimtype arameter from raeligible.iseligible() method #36

Open dr00b opened 2 years ago

dr00b commented 2 years ago

@yubin-park I will definitely add claims eligibility source doc to the readme.

Considering TOB code is defining the OP / IP categories, does it make sense to remove the 'claimtype' parameter from the raeligible.iseligible() method? Including the claimtype parameter means the user will have to apply the TOB mapping before using the function. So the filter is essentially applied twice.

yubin-park commented 2 years ago

@dr00b yes, please go ahead!