Included user_id and patient_id for unique indexing in mongodb