I’ve been on a flight where they used the medical intercom. Nobody is going to use it without a whole lot of people noticing.
And yes, it is there so the attendants can talk directly to medical personnel on the ground while attending to the person needing care.
PS - “intercom” is probably going to give people the wrong idea. It’s a headset with a thick black 50-foot long cord, and when you plug it in, it dangles down on top of passengers before getting to the aisle. Also, you can’t hear it - only the person wearing the headset hears anything…