Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

Formula to pull diagnosis codes

$
0
0

We have a report that we cannot get a formula to work, the report needs to pull where it looks at the first set of codes and then the second set of codes. We are using the 'and' statement and it seems to be ignoring the second set of codes, here is an example:

 

if code in ["z37.0" to "z37.5"] or code in ["z37.50" to "z37.54] and

code in ["072.0" to "07.2"] then true

 

The report seems to be ignoring the "072.0" to "07.2" statement as we are getting all of the patients that match the first set only.

 

Thanks.


Viewing all articles
Browse latest Browse all 4814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>