Movie: Dad Takes Daughter for CT Scan, Hospital Empties, All in Her Mind
You're describing The Number 23 (2007), starring Jim Carrey.
Plot Match:
- Walter Sparrow (Carrey) becomes obsessed with a novel The Number 23.
- His daughter Robin is injured; he takes her to a hospital for a CT scan.
- The hospital becomes a locus of "23" patterns; reality fractures.
- Twist: The events are largely Walter's delusion; the book is his own repressed confession of a past crime. The "hospital emptying" reflects his dissociative state.
Note: The "all in a girl's mind" element may blend with Sucker Punch (2011) or Shutter Island (2010), but the CT scan + number obsession + father/daughter = The Number 23.