How to say i think she was planning to go visit her mother who is in the hospital. in Japanese

1)

彼女彼女(kanojo) (pn) she/her/her/girl friend/girlfriend/sweetheartはは(ha) (int) indicating a subject/yes/indeed/well/ha!/what?/huh?/sigh入院中入院中(nyuuinchuu) (n) in the hospital/hospitalizedのの(no) (prt) indicates possessive/nominalizes verbs and adjectives/substitutes for "ga" in subordinate phrases/indicates a confident conclusion/ indicates emotional emphasis/indicates questionおお(o) (int) oh!/polite prefix to the next word母さん母さん(kaasan) (n) motherをを(wo) (prt) indicates direct object of action/indicates subject of causative expression/indicates an area traversed/indicates time over which action takes place/indicates point of departure or separation of action/indicates object of desire, like, hate,見舞い見舞い(mimai) (n,vs) visiting ill or distressed people/writing get-well letters/get-well gifts/get-well letters/expression of sympathy/expression of concern/enquiry/inquiryにに(ni) (prt) indicates such things as location of person or thing, location of short-term action, etc.行く行く(iku) (v5k-s,vi) to go/to proceed/to take place/to continue/ to have an orgasm/to come/to cum/ to trip/to get high/to have a drug-induced hallucinationつもりだったno dictionary result, likely a conjigated verbのです(exp) the expectation is that .../the reason is that .../the fact is that .../it is that ...がが(ga) (prt) indicates sentence subject/indicates possessive/but/however/still/and。。(。) Japanese period "."