Health authorities are urging parents to get their kids vaccinated after a NSW child died from influenza.

The child was one of 19 admitted to Sydney's children's hospital between April 3 and July 8 with the flu, with only two of those infants fully vaccinated.

NSW Health says it was the first death of a child for the 2018 flu season.