Handling patient_id field correctly.