check that anamnesis and infotext are not nil before inserting them to form