ardenwong wrote on Wednesday, February 15, 2012:
Thank you for the reply from everyone. I’ve now installed the OpenEMR on Hostgator VPS.
However, i have not been able to add new patient or facilities. The error message is like this:
ERROR: insert failed: INSERT INTO patient_data SET pid = ‘1’, date = NOW(), `title` = ‘’, `fname` = ‘John’, `mname` = ‘’, `lname` = ‘Test’, `pubpid` = ‘jt123456’, `DOB` = ‘1950-01-01’, `sex` = ‘Male’, `ss` = ‘’, `drivers_license` = ‘’, `status` = ‘’, `genericname1` = ‘’, `genericval1` = ‘’, `genericname2` = ‘’, `genericval2` = ‘’, `street` = ‘’, `city` = ‘’, `state` = ‘’, `postal_code` = ‘’, `country_code` = ‘’, `mothersname` = ‘’, `guardiansname` = ‘’, `contact_relationship` = ‘’, `phone_contact` = ‘’, `phone_home` = ‘’, `phone_biz` = ‘’, `phone_cell` = ‘’, `email` = ‘’, `providerID` = ‘’, `pharmacy_id` = ‘0’, `hipaa_notice` = ‘’, `hipaa_voice` = ‘’, `hipaa_message` = ‘’, `hipaa_mail` = ‘’, `hipaa_allowsms` = ‘’, `hipaa_allowemail` = ‘’, `allow_imm_reg_use` = ‘’, `allow_imm_info_share` = ‘’, `allow_health_info_ex` = ‘’, `allow_patient_portal` = ‘’, `occupation` = ‘’, `language` = ‘’, `ethnicity` = ‘’, `race` = ‘’, `financial_review` = ‘’, `family_size` = ‘’, `monthly_income` = ‘’, `homeless` = ‘’, `interpretter` = ‘’, `migrantseasonal` = ‘’, `referral_source` = ‘’, `vfc` = ‘’, `deceased_date` = ‘’, `deceased_reason` = ‘’
Initially I had problem with adding user and was solved by setting the Default Password Expiration Days (Globals - Security) to non-zero value.
Could someone enlighten me with this Add Patient problem?
I’m not in the US. All the US-specific fields I leave them empty. I entered only the basic ones: First Name, Last Name, Date of Birth & Sex, and then Create New Patient.
Thanks a lot.