Monitoring the release of anti-inflammatory and analgesic pharmaceuticals in the receiving environment