Statement refraction and Eye Exam vitreous questions

Hi Ray,

Two things I want to ask.

  1. The statement.inc.php file is substituting “Office Visit” for all the eye exam codes. I presume that this was done to decrease the size of the line. I’m not a programmer, but looking thru the file it appears that this is occurring at Line’s 666 & 667 as well as 935 & 936. The problem that we are having is that the words “Office Visit” are confusing patients when it is substituted for 92015 = Refraction. Would it be possible to exclude 92015 from this substitution? Would a substitution of “$tmp == ‘Procedure 9201’)” with “$tmp == ‘Procedure 92012’ || $tmp == ‘ Procedure 92014’)” fix the problem?

  2. Is the fix for the blank Vitreous fields going to be included in Patch 7?

Thank you,
Henry

@hamd,
If you want to exclude “Procedure 92015” in the line 666, Have you tried by using the condition $tmp != ‘Procedure 92015’.

Thanks,
ViSolve

Hi ViSolve,

Will give that a try.

Thank you,

Henry

Hi ViSolve,
I tried entering;
$tmp != ‘Procedure 92015’.

After;
“$tmp == ‘Procedure 9201’)”

This did not work.

Then tried removing
“$tmp == ‘Procedure 9201’)”
Then adding
“$tmp == ‘Procedure 92012’ || $tmp == ‘ Procedure 92014’)”
These are the only 2 procedure codes that start with 9201_.

This changed Office Visit to Procedure, but not Refraction.

Is there a way around this?

Please advise,

Henry

@hamd,
Hope the below example would help.

 <?php
$data =array('Procedure 9920','Procedure 9921','Procedure 9200','Procedure 9201','Procedure 92015');
$tmp = 'Procedure 92015';
if(($tmp == $data[0] || $tmp == $data[1] || $tmp == $data[2] || $tmp == $data[3]) && ($tmp != $data[4])){
        echo "Office visit";
}else{
        echo "Refraction";
}
?>

Thanks,
ViSolve