Which theoretical framework best explains why a child uses medical play to repeatedly give injections to a doll after hospitalization?