problem with hooking node add/edit form
I use this in my module to prepopulate the forms with data when hooking on FORM_ALTER:

$form['field_history_patient_id'][LANGUAGE_NONE][0]['value']['#default_value'] = "whatever";


But when defining the form it is enough to do :

$form['field_history_patient_id']['#default_value'] = "whatever";