MIAMI (WFLA) — A Florida nurse has lost her job after taking pictures of a baby born with a physical deformity and putting them on social media, according to officials from Jackson Memorial Hospital.

NBC News reports that Lidia Amoretti, a hospital spokesperson, sent an email saying that the hospital learned of the incident on Sept. 8.

The nurse, Sierra Samuels, worked in the neonatal intensive care unit and has taken pictures of a baby with gastroschisis, a condition that causes the intestines to protrude from the body. On her social media post, Samuels wrote that her night was going well until she had to deal with the baby.

This violates the Health Insurance Portability and Accountability Act, which forbids taking pictures of patients without permission.

She was put on administrative leave before being fired on Sept. 15.