Older physicians seem to have a harder time "multi-tasking" and do sometimes seem distracted, diverting their attention away from actual patient.
And there was I, thinking it was younglings who get distracted with their digital toys, diverting their attention from whatever it is that needs to be done.
On the whole there's a lot to be said for making sure stuff is recorded, whether in writing or otherwise.
My mother had a penicillin allergy but in her 80s she forgot. It didn't matter too much as her GP knew about it. But then the GP retired and it wasn't in her notes. Possibly a coincidence but she had a fatal stroke not long after being prescribed penicillin.
Entering stuff and checking on past history inevitably takes attention but it's essential if the GP isn't to have to carry everything in their head. Perhaps the answer is to make sure systems fit into the doctors' work as effectively and unobtrusively as possible.