How patients choose a preferred pharmacy