Designing a HL7 compatible personal health record for mobile devices