How did an intern prescribe something to you? That should not be possible. Also, codeine isn't a treatment for strep. They should have given you antibiotics after diagnosing a throat swab.
Perhaps a young doctor. :-) They should have advised against you leaving until they did a throat culture. It's rare, but strep can develop into a life threatening condition.