Active appointments get converted to completed appointments the morning of the appointment

Our "active appointments" get changed to "Completed appointments" for no apparent reason the morning of the appointment. I don't want this to happen. how can I stop this?