ERROR: insert failed: INSERT INTO form_encounter SET date = ?, onset_date = ?, reason = ?, facility = ?, pc_catid = ?, facility_id = ?, billing_facility = ?, sensitivity = ?, referral_source = ?, pid = ?, encounter = ?, pos_code = ?, class_code = ?, external_id = ?, parent_encounter_id = ?, provider_id = ?, discharge_disposition = ?, referring_provider_id = ?, encounter_type_code = ?, encounter_type_description = ?
Error: Column ‘pc_catid’ cannot be null
/var/www/html/openemr/interface/forms/newpatient/save.php at 127:sqlInsert
I’m using OpenEMR version 7.0
I’m using: WINDOWS 10
Did you check the logs?
Was there anything pertinent in them?
Please paste them here (surround with three backticks (```) for readability.
You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All