1. Order the medic to heal a soldier inside a building
OR
1. Ask the medic to heal you inside a building
EDIT CSR Kryssar:
(Video in note)
1) Spawn team leader with 50% health as player and medic in his group
2) Send medic to first position behind entering door at airfield tower
3) Get to first mezanin, turn around and stick to the wall
4) Order medic to heal you
Result: With a little bit of luck the medic will leave the building and may be even stuck there.