tmccormi/openemr — comment on commit 050ec3e0c171ce6984a78bd606addef9354926d0
File: library/Claim.class.php line 920
By yehster:

Dumping x12clean entirely seems like a bad idea. If the user enters invalid characters in a modifier, that could really foul up the x12 claim.
Suggest one of two approaches:
1. tokenize $proc key by colon, to parse out each individual modifier, clean each modifier, then concat back together with colons.
2. write a new version of x12clean that doesn't strip colons and use that.