The use of a mathematical model in the adoption of an integrated EHR system