Stabsarzt (short: StArzt or SA), literally meaning "staff physician," is a military commissioned officer rank in German speaking armed forces. In the German Bundeswehr and the former Wehrmacht and Reichswehr, it describes a qualified or licensed surgeon or dentist who practises military medicine, with a rank equal to captain (German: Hauptmann) in the army or air force or lieutenant (German: Kapitänleutnant) in the navy. This rank corresponds to NATO code OF2, and is known in English as captain (Dr.) for army or air force officers or lieutenant (Dr.) for naval officers. The rank was historically also used in the Austro-Hungarian Common Army and corresponded to major or the NATO code OF-3, known as major (Dr.) in English.
While holders of this rank are commissioned officers, their authority is usually limited to medical matters and medical staff (such as other doctors, nurses and other medics working under their supervision), and they are regarded as neutral non-combatants and accorded the status of "protected persons" under international humanitarian law (specifically the First and Second Geneva Conventions) when participating in humanitarian work during armed conflicts, such as caring for the sick or wounded. They may wear the red cross as a protective sign. As such, they may not be attacked, harmed or taken as prisoners of war (attacking medical personnel is a war crime), and are entitled under the Geneva Conventions to carry out their work without being inhibited. They may be armed, usually with service pistols, for the purpose of self defense or the defense of patients.