Demographic java checks error

omo66 wrote on Friday, May 15, 2009:

I got this error after trying to re-save the demofraphics.
Version 3.0.1.1

Subscriber relationship is self but SS number is different

The SSN is correct and matches, I copy and paste it to confirm, still have the error…

sunsetsystems wrote on Friday, May 15, 2009:

That’s odd.  Any chance you have a space at the beginning or end of either field?  Which browser version?

Rod
www.sunsetsystems.com

aperezcrespo wrote on Friday, May 15, 2009:

I had the same error.  It went away after updating to current CVS.

Thanks

omo66 wrote on Friday, May 15, 2009:

firebox browser 3.0.10
The OEMR version was from CVS download 10 days ago.
When was the CVS updated and what changes were made…

please advise

Thanks

omo66 wrote on Saturday, May 16, 2009:

Any one knows why this error?
I can not re-save any old demographics because the pop-up warning message will prevent this.???

sunsetsystems wrote on Saturday, May 16, 2009:

I found that this page was erroneously adding a space to the end of the subscriber SS number when generating the display, and just checked in a fix (to interface/patient_file/summary/demographics_full.php).

In the meantime you could just remove that space before saving the form.

Rod
www.sunsetsystems.com

omo66 wrote on Saturday, May 16, 2009:

was the fix by removing (     )  from end of this line ~ 539  ?

<span class=bold><?php xl(‘S.S.’,‘e’); ?>: </span><input type=entry size=11 name=i<?php echo $i?>subscriber_ss value="<?php echo $result3{“subscriber_ss”}?> ">&nbsp;

The CVS is not showing color diff?

I think now all charts that were opened were saved SSN with extra white space. This means those demographic has to be located again and get cleaned up otherwise the front desk will keep calling me to fix every patients chart.

Could you guide me on where could I place a trim function?

I am not sure to replace the entire file (demographics_full.php) with recent update since Jason just made prior update and moved lines to other files (which ones?)
Thanks

sunsetsystems wrote on Saturday, May 16, 2009:

No.

diff -r1.46 -r1.47
542c542
<    <span class=bold><?php xl(‘S.S.’,‘e’); ?>: </span><input type=entry size=11 name=i<?php echo $i?>subscriber_ss value="<?php echo $result3{“subscriber_ss”}?> “>&nbsp;

>    <span class=bold><?php xl(‘S.S.’,‘e’); ?>: </span><input type=entry size=11 name=i<?php echo $i?>subscriber_ss value=”<?php echo $result3{“subscriber_ss”}?>">&nbsp;

You could do this instead:

<span class=bold><?php xl(‘S.S.’,‘e’); ?>: </span><input type=entry size=11 name=i<?php echo $i?>subscriber_ss value="<?php echo trim($result3{“subscriber_ss”}) ?>">&nbsp;

Rod
www.sunsetsystems.com

juggernautsei wrote on Tuesday, May 24, 2011:

Hi Rod,
We are getting this same error message and I tried incerting the line of code above. We are still get the same question about the entry. It does save the entry changes but it asks this question that of course is going to get anoying.

Do you have any new suggestions?

Sherwin
openmedpractice.com