# Demographic java checks error

**URL:** <https://community.open-emr.org/t/demographic-java-checks-error/140>\
**Category:** Management and Administration\
**Created:** [May 15, 2009, 4:01pm UTC](https://community.open-emr.org/t/demographic-java-checks-error/140 "2009-05-15T16:01:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [May 15, 2009, 4:01pm UTC](https://community.open-emr.org/t/demographic-java-checks-error/140/1 "2009-05-15T16:01:53Z")

</div>

**[omo66](https://sourceforge.net/u/omo66/)** wrote on [Friday, May 15, 2009](https://sourceforge.net/p/openemr/discussion/202505/thread/0af7cae3/#40c1):

# 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…

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [May 15, 2009, 4:05pm UTC](https://community.open-emr.org/t/demographic-java-checks-error/140/2 "2009-05-15T16:05:14Z")

</div>

**[sunsetsystems](https://sourceforge.net/u/sunsetsystems/)** wrote on [Friday, May 15, 2009](https://sourceforge.net/p/openemr/discussion/202505/thread/0af7cae3/#40c1/d312):

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

Rod  
[www.sunsetsystems.com](http://www.sunsetsystems.com)

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [May 15, 2009, 4:22pm UTC](https://community.open-emr.org/t/demographic-java-checks-error/140/3 "2009-05-15T16:22:23Z")

</div>

**[aperezcrespo](https://sourceforge.net/u/aperezcrespo/)** wrote on [Friday, May 15, 2009](https://sourceforge.net/p/openemr/discussion/202505/thread/0af7cae3/#40c1/2920):

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

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [May 15, 2009, 5:15pm UTC](https://community.open-emr.org/t/demographic-java-checks-error/140/4 "2009-05-15T17:15:34Z")

</div>

**[omo66](https://sourceforge.net/u/omo66/)** wrote on [Friday, May 15, 2009](https://sourceforge.net/p/openemr/discussion/202505/thread/0af7cae3/#40c1/85d7):

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

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [May 16, 2009, 1:09pm UTC](https://community.open-emr.org/t/demographic-java-checks-error/140/5 "2009-05-16T13:09:24Z")

</div>

**[omo66](https://sourceforge.net/u/omo66/)** wrote on [Saturday, May 16, 2009](https://sourceforge.net/p/openemr/discussion/202505/thread/0af7cae3/#40c1/c606):

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

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [May 16, 2009, 1:53pm UTC](https://community.open-emr.org/t/demographic-java-checks-error/140/6 "2009-05-16T13:53:40Z")

</div>

**[sunsetsystems](https://sourceforge.net/u/sunsetsystems/)** wrote on [Saturday, May 16, 2009](https://sourceforge.net/p/openemr/discussion/202505/thread/0af7cae3/#40c1/e39e):

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](http://www.sunsetsystems.com)

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [May 16, 2009, 2:46pm UTC](https://community.open-emr.org/t/demographic-java-checks-error/140/7 "2009-05-16T14:46:12Z")

</div>

**[omo66](https://sourceforge.net/u/omo66/)** wrote on [Saturday, May 16, 2009](https://sourceforge.net/p/openemr/discussion/202505/thread/0af7cae3/#40c1/fcc3):

was the fix by removing (&nbsp; &nbsp;&nbsp; )&nbsp; from end of this line ~ 539&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;

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

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [May 16, 2009, 3:02pm UTC](https://community.open-emr.org/t/demographic-java-checks-error/140/8 "2009-05-16T15:02:44Z")

</div>

**[sunsetsystems](https://sourceforge.net/u/sunsetsystems/)** wrote on [Saturday, May 16, 2009](https://sourceforge.net/p/openemr/discussion/202505/thread/0af7cae3/#40c1/813f):

No.

diff -r1.46 -r1.47  
542c542  
\<&nbsp;&nbsp;&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;  
—  
\>&nbsp;&nbsp;&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](http://www.sunsetsystems.com)

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [May 24, 2011, 6:27pm UTC](https://community.open-emr.org/t/demographic-java-checks-error/140/9 "2011-05-24T18:27:50Z")

</div>

**[juggernautsei](https://sourceforge.net/u/juggernautsei/)** wrote on [Tuesday, May 24, 2011](https://sourceforge.net/p/openemr/discussion/202505/thread/0af7cae3/#49d5):

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](http://openmedpractice.com)
