It looks to me like the medical one was a series of stills taken of a skilled artist drawing on a whiteboard. There are shadows of the arm and hand all over.
The second one looks like an animated arm.
In either case, you could have the images drawn and photographed, then import them as an image sequence, then chromakey an arm/hand and lay it over that. It all sounds like a lot of work.