openemr/openemr — comment on commit 5b3648a189a9e2338d6620b2e6d75351d5e5737e
File: library/Claim.class.php line 922
By yehster:

split is deprecated
http://php.net/manual/en/function.split.php
Should use either explode or preg_split instead.
I believe that
$mods = preg_split("[: ]",trim($this->procs[$prockey]['modifier']));
will actually make it so that both ":" or space will work. That way we also don't break this for yourika who provided guidance on this.

Even though ":" was documented as the delimiter to use for multiple modifiers, it really wasn't correct since doing so would have resulted in incorrect CMS1500 claims. This should handle both scenarios, where if a practice was primarily using CMS1500 and using space, their X12 claims would now work, and if they were using colon for X12 claims, their CMS1500 would now be valid.