TOWSON, Md. (AP) — A Maryland woman has learned that eating a poppy seed bagel before giving birth has consequences.

Elizabeth Eden was in labor in April when a doctor told her she had tested positive for opiates and she had been reported to the state.

READ MORE: ‘Our Numbers Are Up About 500%’ Maryland Pushes To Vaccinate As Covid Delta Variant Spreads; Still No Plans For Another Mask Mandate

Eden had learned in a health class that eating poppy seeds could cause a false positive, and her test meant her daughter had to stay in the hospital for five days.

READ MORE: Bouncing back: Ledecky finally wins gold at Tokyo Games

Follow @WJZ on Twitter and like WJZ-TV | CBS Baltimore on Facebook

MORE NEWS: 'Our Jaws Dropped': Essex Daycare Teacher Caught On Camera Yanking Child To The Ground

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)