Onset Date missning from the preprinted HICFA form

We are missing this piece of information that was present in the 5.0.0.3.

hi @juggernautsei, there can’t be any :bug:s in the billing code :wink:

you could change this line back to just plain old OnsetDate if you want to keep using the encounter form instead of the misc billing options

Did this instead

if($claim->miscOnsetDate()){
    $tmp = $claim->miscOnsetDate();
    put_hcfa(32, 2, 2, substr($tmp, 4, 2));
    put_hcfa(32, 5, 2, substr($tmp, 6, 2));
    put_hcfa(32, 8, 4, substr($tmp, 0, 4));
    }elseif($claim->onsetDate()){
    $tmp = $claim->onsetDate();
    put_hcfa(32, 2, 2, substr($tmp,4,2));
    put_hcfa(32, 5, 2, substr($tmp,6,2));
    put_hcfa(32, 8, 4, substr($tmp,0,4));
    } 

Don’t know why not put this in the code because both areas are used and most people that I work with never use the misc billing form.

nice. ok, i’ll do a pull request and credit your advice, thanks @juggernautsei

Thank you for the credit.