This has nothing to do with socialized medicine. The hospital near me has multiple offices and buildings around the hospital. One is even attached to the main building, but if you have a medical emergency there, they will call 911.
Near our hospital were Doctor’s office buildings.
One cardiologist had a patient code in his office. He called 911.
At the time, I thought it was strange. Actually it was the right thing to do.