Write vital signs in the database automated by raspberry pi

Hello everyone, i want to put in vital signs automated by a raspberry pi. the connection between the raspberry pi and the database of openemr is made by mirht connect. a databasewriter write the vital signs in the form_vitals table, but the problem is, when i put a new vital sign manually by openemr it overrites the existing vital sign. can anybody help plz???