# Encounter E-sign Issue error - The data integrity test failed for this form

**URL:** <https://community.open-emr.org/t/encounter-e-sign-issue-error-the-data-integrity-test-failed-for-this-form/19659>\
**Category:** Management and Administration\
**Created:** [December 18, 2022, 9:30pm UTC](https://community.open-emr.org/t/encounter-e-sign-issue-error-the-data-integrity-test-failed-for-this-form/19659 "2022-12-18T21:30:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlobo4370](https://community.open-emr.org/letter_avatar_proxy/v4/letter/m/a88e4f/32.png) [@mlobo4370](https://community.open-emr.org/u/mlobo4370)\
**Post date:** [December 18, 2022, 9:30pm UTC](https://community.open-emr.org/t/encounter-e-sign-issue-error-the-data-integrity-test-failed-for-this-form/19659/1 "2022-12-18T21:30:34Z")

</div>

Hi, I have found this error, apparently it comes from a long time ago but I realized it recently. It does with most patients but not always. I upload two images of two different patients signed on the same day, one with the error and the other without an error. It’s bad ? it can be fixed ?  
Thanks a lot  
without error

 ![Paciente sin error de registro](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/d/f/dfc4309584efc94b9554f9c607986cb41d1491f8.png)

whith error

 ![Paciente con error de registro](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/a/7/a7ade208ff36cf49ef9da9e76078c5b1d552a57e.png)

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [December 19, 2022, 8:32pm UTC](https://community.open-emr.org/t/encounter-e-sign-issue-error-the-data-integrity-test-failed-for-this-form/19659/2 "2022-12-19T20:32:02Z")

</div>

hi @mlobo4370 this was “fixed” in v7. It turns out there’s a design flaw in the e-sign mechanism that’s exposed when we added fields to the form\_encounter table 😿

---

<div class="post-metadata">

**Author:** ![mlobo4370](https://community.open-emr.org/letter_avatar_proxy/v4/letter/m/a88e4f/32.png) [@mlobo4370](https://community.open-emr.org/u/mlobo4370)\
**Post date:** [December 19, 2022, 10:29pm UTC](https://community.open-emr.org/t/encounter-e-sign-issue-error-the-data-integrity-test-failed-for-this-form/19659/3 "2022-12-19T22:29:04Z")

</div>

Thanks @stephenwaite  
thank you !!! I will try with version 7

Regards
