Data Integrity in Software: Designing for Accuracy and Consistency.