Modelling longitudinal electronic health records data with an informative observation process and drop-out