Place a big Red Cross on the roof. Taxi your aircraft inside there if possible with your pilot wound. Wait 60 seconds and you have been discharged with full recovery to fight and die some more.
The medical hangar can't be destroyed. During an enemy attack, anyone caught inside being treated for your injuries can be killed from enemy strafing or bombing.