Yes. There are inherent risks in every medicine, especially for children. They're some of the most sensitive. Something like ibuprofen, which is what I'd give her in lieu of narcotics, is probably the safest option available. Most people don't have any complications. When properly managing dosage, there usually aren't dangerous side effects for narcotics, either, though.
no subject