That was a bug which i have just fixed here: Fix: org.postgresql.util.PSQLException: ERROR: column "voided" is of · openmrs/openmrs-core@0b7c00d · GitHub
It happens when you are creating a patient from a person. As a workaround, create a patient without using an existing person.