Child table in patient table

i have added a child table in patient which can store any type of attachments , on adding attachment i am getting timestamp mismatch error
Please help me in fixing this