Social policy of the state in the field of health in the late XIX - early XXI centuries (on the example of North Ossetia-Alania)