Help. What is this?

Went to go potty and found this , it's like a long brown stripe of something . I wiped an nothing came out . Not sure what this means , I was just at the hospital last night for feeling like I was going to black out and they treated me for my heart rate being at 160 and than a sleeping pill and sent me home because they think it was nothing .