Update: Rachel McAfee made her first court appearance Friday, more than a month after she was charged in connection with her 3-month-old daughter Emma's death.

McAfee's lawyer, Aaron Freeman, indicated at the court hearing that McAfee is at an in-patient treatment facility. She is expected to begin counseling on Monday.

"She’s doing the best she can," he told the judge.

Freeman has not responded to multiple requests from IndyStar for comment.

McAfee is charged with neglect of a dependent resulting in death. The level one felony carries a sentence of 20 to 40 years in prison if convicted.

A trial date was set for July 22.

Original, March 7: The temperature was just 9 degrees when police found Rachel McAfee and the body of her 3-month-old daughter in a northwest-side neighborhood this week.

McAfee, dressed in thin clothing, appeared to be intoxicated and had a bottle of rum nearby, according to court documents filed Thursday.

The car was out of gas and the battery had died.

Baby Emma was "cold to the touch and appeared to be deceased," Indianapolis Metropolitan Police Detective Gary L. Smith Jr. wrote in a probable cause affidavit filed in Marion Superior Court.

Marion County prosecutors on Thursday charged Rachel McAfee with neglect of a dependent. The level one felony carries a sentence of 20 to 40 years in prison if convicted.

Rachel and her daughter go missing

Rachel's husband John McAfee reported the mother and daughter missing at about 7:30 p.m. Monday, according to the affidavit. He told police that she had left their far-east-side home with Emma at about 7 a.m. Monday.

"Rachel was supposed to drop Emma off at John’s parent’s home and then go to an intervention concerning her excessive drinking," Smith wrote.

Instead, prosecutors say McAfee parked about a block away from her in-laws' home and drank alcohol until she passed out.

Initial report:Baby found dead, mother hospitalized after going missing

Arrest:Indianapolis mother arrested on neglect charge in baby's death

A neighbor calls 911

A neighbor told police she saw McAfee's running vehicle parked in the 2600 block of Stanford Court when she left for work at about 7:30 a.m. Tuesday.

"She pulled beside the vehicle and asked the occupant if she was okay," Smith wrote in the affidavit. "The woman, who was holding a baby, told her they were fine."

The car was in the same spot, no longer running, when the neighbor returned home about 2:45 p.m.

"She saw the same woman from earlier in the morning lying across the center console, but she was no longer wearing the coat she had on," Smith wrote. "It appeared to (the neighbor) that the woman was breathing. She called 911."

Emma's cold corpse was on the floor by the passenger's seat. Medics pronounced Emma dead at 3:17 p.m.

'No concept of time'

Dr. Christopher Poulos performed an autopsy Wednesday and "found signs that are consistent with cold related deaths," according to the affidavit.

Medics took Rachel to Eskenazi Hospital in critical condition. A detective who observed her at the hospital noted that "she had short term memory loss about the death of her child and no concept of time."

Rachel McAfee remained in Eskenazi Hospital on Thursday, said Michael Leffler, a spokesman for Marion County Prosecutor Terry Curry's office.

John McAfee told police his wife abused alcohol and suffered from depression, according to the documents.

"According to John, Rachel is known to drink alcohol until she passes out," Smith wrote.

Emma was born about two weeks early and was underweight for her age, documents said. The baby had missed a doctor's visit on Feb. 22 because Rachel drank too much and passed out, her husband told investigators.

Call IndyStar reporter Vic Ryckaert at 317-444-2701. Follow him on Twitter: @VicRyc.