Media reports have the facts wrong, I think. I dont think this law applies if the patient is conscious. If the patient is unconscious, and the patient has not filed an advance healthcare directive, and the medical facility makes a determination of futility, THEN they can pull the plug. They cannot do so over the wishes of a conscious patient.
Link 1