fixed the get prescription or null so it will only get the original prescription and not the resplacement.  Also made it take the list of pairs