No drug testing rules as it is against BLUA, which you should read. I will be nice and give you an explination, but no one can answer this question for you. Only you know your situation and no amount of effort will give any of us the ability to answer you,
If it is a lab test they wont know just that you took oxy, but even how much is in your system or even long lasting metabolites able to be tested for weeks after one use. If it is a dip in urine cup it is unlikely although if there is a test for various opiates not just opiates.
The basic answer is possibly and that just depends on the test. I would assume yes to be safe if I were you and to prepare for the worst, but hopefully if you dot make any more mistakes you might be ok. Goodluck and next time follow your pain management plan as you don't want to lose your script therefor stability because of one attempt to get high for one night.