Those people include her USA citizen cousin Aurora Cantu who accompanied her on the ambulance ride and her legal permanent resident grandfather who's lived in the country for 45 years.
Hernandez, who was born in Mexico and has lived in the United States since she was three months old, was stopped at a Texas Border Patrol checkpoint while she was being transported from Laredo to Corpus Christi for a gallbladder operation. It said Border Patrol agents were "committed to enforcing the immigration laws of this nation".
The border agents allowed her to proceed to the hospital but her detention after the surgery has been criticised by opponents of US President Donald Trump's crackdown on illegal immigration, which was a major part of his election campaign previous year.
After her surgery was done, agents took Hernandez to a facility in San Antonio for unaccompanied minors brought to the US illegally.
It was not immediately clear whether she would be returned to her mother's care or taken to a government-run shelter for immigrant children.
"They told me that my aunt (Felipa Delacruz) had two options", Cantu said. It's especially true for immigrants like Rosa Maria, who live south of Border Patrol checkpoints, in the Rio Grande Valley, and must cross the checkpoints to visit a hospital farther north.
The family is now raising money through the online fundraising site GoFundMe for legal fees and to move to a larger home that they say will encourage federal authorities to release her to live with them.
Rosamaria Hernandez recuperating in hospital after emergency surgery on her gallbladder.
Rosemarie Hernandez, 10, lies in a Corpus Christi hospital bed after.
It follows another case in May, detailed by NPR, that saw the Border Patrol escort a two-month-old United States citizen boy with pyloric stenosis from the Rio Grande Valley to the same hospital for surgery with his undocumented parents, who were tracked wherever they went in the building, detained, fingerprinted and released.
Rosamaria, who has cerebral palsy and has been living in the town of Laredo since she was an infant, had just passed a Border Patrol checkpoint.
The travesty that is USA immigration and border enforcement, plus its White House enablers, is unremitting.
The hospital's discharge orders indicated that Rosa Maria should be released to the custody of a family member familiar with her medical condition as her deportation proceedings continued. "The ACLU has also documented other similar cases that have ended in deportation", said ACLU lawyer Astrid Dominguez. "We have situations where certain discretions must be allowed to protect the rights of a human being".
All Rosa Maria wants is to be back with her mother, Gonzalez said.
At the hospital, agents stood by and refused to let Rosa Maria's relative close the door to their room so they could keep watch over the girl, Gonzalez said. "I was anxious that no one would be with her". As she recovers from surgery, she still requires medical attention.