AUSTIN — A federal appeals court has temporarily blocked an order calling for the U.S. government to let an undocumented teenager in Texas have an abortion, one day after the order was issued.

The U.S. Court of Appeals for the District of Columbia said the teenager still can travel to a clinic and receive the counseling Texas requires of women 24 hours ahead of an abortion, but barred her from actually having the procedure, which was scheduled for Friday or Saturday.

More:US judge orders feds to let undocumented teen in Texas have an abortion

The 17-year-old, called Jane Doe in court documents, entered the United States from Mexico as an unaccompanied minor in September. She is in federal custody at a U.S. Department of Health and Human Services shelter in Texas, as is the policy for minors who enter the country alone.

Attorneys for the teenager say that federal officials at the shelter would not allow her to go to a clinic to have an abortion, even though she received permission from a Texas judge for the procedure.

U.S. District Judge Tanya S. Chutkan on Wednesday issued a temporary restraining order calling for the minor to be taken to a clinic “promptly and without delay” and undergo an abortion procedure Friday or Saturday.

The Health and Human Services Department then filed an emergency appeal, asking for the decision to be overturned.

More:Texas can't become 'sanctuary state for abortions,' Paxton tells court

Attorneys for the government said the 17-year-old does not have a constitutional right to have an abortion because she is not a citizen. In the appeal, they argued that the department is allowed to assess a minor’s request for an abortion and decide whether it can be permitted.

“In Ms. Doe’s case, the Director determined that HHS would not permit Ms. Doe to leave her shelter for purposes of obtaining the abortion,” the appeal reads.

Attorneys further argued that the government “placed no obstacle in per path” because “courts have recognized that the government may legitimately refuse to facilitate abortion without violating a woman’s constitutional rights.”

Brigitte Amiri, a senior staff attorney with the ACLU, said the department abused its power by preventing the minor from having an abortion.

“This administration has no shame and no regard for a woman’s health or decisions," Amiri said in a statement. "Weeks ago, our client decided to end her pregnancy. Her decision has been disregarded and she's now been dragged into a protracted legal battle over her ability to get the care she needs. The abuse of power is appalling.”

The appeals court approved the department’s request for a temporary restraining order and scheduled oral arguments in the case for Friday morning.

Texas Attorney General Ken Paxton applauded the appeals court for blocking the minor’s abortion.

“The D.C. Circuit made the right decision to temporarily stay the district court’s order, which contradicts U.S. Supreme Court precedent and harms the public interest because it effectively creates a right to abortion for anyone who entered the U.S. illegally, no matter how briefly,” he said in a statement.

More:Texas special session sees success for slew of anti-abortion bills

Minors in Texas must have permission from a parent or guardian to have an abortion, but they also can seek a judicial bypass from a court.

Any woman seeking an abortion in the state can do so within the 22 weeks following her last menstrual period — unless her life is in danger. At that point, the procedure is permitted outside of the 22-week window.

Women must have an ultrasound 24 hours before an abortion, which the minor still can do under the order from the appeals court. Doctors must show women images from the ultrasound and describe what they depict.

Madlin Mekelburg is a reporter with the USA Today Austin Bureau; she may be reached at 512-479-6606; mmekelburg@elpasotimes.com; @madlinbmek on Twitter.