Соответствующая норма
Spain
Practice Relating to Rule 25. Medical Personnel
Spain’s LOAC Manual (1996) defines medical personnel with reference to Article 8 of the 1977 Additional Protocol I. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Publicación OR7-004, 2 Tomos, aprobado por el Estado Mayor del Ejército, División de Operaciones, 18 March 1996, Vol. I, § 9.2.a.(1).
The manual states, with reference to the relevant provisions of the Geneva Conventions and both Additional Protocols, that “respect and protection” of medical personnel include the duty not to attack medical personnel, and the duty to defend, assist and support such personnel when needed. The manual further explains:
It must be underlined that the protection of medical personnel is not a personal privilege but rather a corollary of the respect and protection due to the wounded and sick, who must be treated humanely in all circumstances. This means that the protection of medical personnel is not permanent but is only granted when such personnel are carrying out their humanitarian tasks. Medical personnel lose the special protection to which they are entitled if they commit acts of hostility. Such behaviour might even constitute perfidy if in so doing they take advantage of their medical position and the distinctive emblems. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Publicación OR7-004, 2 Tomos, aprobado por el Estado Mayor del Ejército, División de Operaciones, 18 March 1996, Vol. I, § 9.2.a.(2).
Spain’s LOAC Manual (2007) defines medical personnel with reference to Article 8 of the 1977 Additional Protocol I. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Tomo 1, Publicación OR7–004, (Edición Segunda), Mando de Adiestramiento y Doctrina, Dirección de Doctrina, Orgánica y Materiales, 2 November 2007, § 9.2.a.(1).
The manual also states that medical personnel of the armed forces and civilian medical personnel are protected persons and cannot therefore be attacked. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Tomo 1, Publicación OR7–004, (Edición Segunda), Mando de Adiestramiento y Doctrina, Dirección de Doctrina, Orgánica y Materiales, 2 November 2007, § 4.5.b.(1).(b); see also §§ 5.2.a.(2).(c), 7.3.a.(10) and 9.2.a.2.(c).
The manual further explains:
It should be emphasized that the protection to which medical personnel are entitled is not an individual privilege granted to them, but rather a natural corollary to the obligations to respect and protect the wounded and sick, who must be treated humanely in all circumstances.
This means that such protection is not permanent; it is granted when and for as long as medical personnel are performing humanitarian duties. If medical personnel commit acts of hostility, they lose this special protection, and their conduct could be considered an act of perfidy if they take advantage of their medical status or the protective emblems to commit such acts. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Tomo 1, Publicación OR7–004, (Edición Segunda), Mando de Adiestramiento y Doctrina, Dirección de Doctrina, Orgánica y Materiales, 2 November 2007, § 9.2.a.(2).(a).
The manual further states that “medical personnel … who take a direct part in hostilities” are military objectives and can therefore be attacked. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Tomo 1, Publicación OR7–004, (Edición Segunda), Mando de Adiestramiento y Doctrina, Dirección de Doctrina, Orgánica y Materiales, 2 November 2007, § 4.5.b.(1).(a).
Spain’s Military Criminal Code (1985) provides for the punishment of any soldier who “exercises violence against the personnel of medical … services, be they enemy or neutral, members of aid organizations and personnel affected to the services of [medical establishments]”, provided that the protection due is not misused for hostile purposes. 
Spain, Military Criminal Code, 1985, Article 77(4).
Spain’s Penal Code (1995) provides for the punishment of “anyone who should … exercise violence on health … personnel, or members of medical missions or rescue teams”. 
Spain, Penal Code, 1995, Article 612(2).
Spain’s Penal Code (1995), as amended in 2003, states:
Anyone who [commits any of the following acts] during armed conflict shall be punished with three to seven years’ imprisonment:
2. Exercising violence against medical … personnel or against a member of medical missions. 
Spain, Penal Code, 1995, as amended on 25 November 2003, Article 612(2).
Spain’s LOAC Manual (1996) states that military medical personnel
may carry arms for self-defence and for the defence of the wounded, sick and shipwrecked. They may not use them to avoid being taken prisoner. Using these arms in combat will terminate the protection to which they are entitled. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Publicación OR7-004, 2 Tomos, aprobado por el Estado Mayor del Ejército, División de Operaciones, 18 March 1996, Vol. I, § 4.5.b.(1)(b); see also § 9.6.b.(2).
Spain’s LOAC Manual (2007) states with regard to medical personnel of the armed forces:
Medical personnel can carry weapons to defend themselves and the wounded, sick and shipwrecked in their charge. They must not use these weapons to avoid being captured or taken prisoner. If they use these weapons in acts of war, they will lose their entitlement to protection. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Tomo 1, Publicación OR7–004, (Edición Segunda), Mando de Adiestramiento y Doctrina, Dirección de Doctrina, Orgánica y Materiales, 2 November 2007, § 4.5.b.(1).(b); see also §§ 3.2.a and 9.6.b.(2).
The manual also states:
The following are not considered harmful to the adverse party: medical personnel equipped with light individual weapons for their own defence or for that of the wounded and sick in their charge; medical units guarded by pickets, sentries or escorts … 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Tomo 1, Publicación OR7–004, (Edición Segunda), Mando de Adiestramiento y Doctrina, Dirección de Doctrina, Orgánica y Materiales, 2 November 2007, § 7.3.a.(10).