Is the cost of temporary care in a long-term nursing facility due to surgery a deductible medical expense?

My 91-year-old mother broke her leg, required surgery, was discharged from the hospital and then sent to a rehabilitation facility. At the end of rehabilitation, she was deemed by the physician to be unable to be sent home but instead was transferred to a long-term senior care facility for so-called respite care. This respite care lasted for 6 weeks. During respite care, it was necessary for someone to tend to her daily needs (toileting, bathing, etc.) that she was unable to due herself due to lack of strength, and she received physical therapy and occupational therapy in order to increase her strength and to relearn the skills necessary to allow her to live independently.

These costs for respite care we not covered by insurance., but instead were paid by her out-of-pocket.  Are these costs deductible, and if yes, are they entered in the "medical facility fees" section?

 

Thanks in advance.