The NSW government has made a major announcement after two-year-old Joe Massa died after receiving care at Northern Beaches Hospital.