Modelling and implementing electronic health records in Denmark