Fixed adding visit records, added logic for updating visit records.
Added some HTTPTests for obstetrics visits.