; (B) for the recording of such prescription in the electronic health record of the veteran; and (C) to enable other monitoring of such prescription as outlined in the Opioid Safety Initiative of the Department. (2) Exception (A) In general A covered health care provider is not required under paragraph (1) to submit an opioid prescription directly to a pharmacy of the Department if— (i) the health care provider determines that there is an immediate medical need for the prescription, including an urgent or emergent prescription or a prescription dispensed as part of an opioid treatment program that provides office-based medications; and (ii) (I) following an inquiry into the matter, a pharmacy of the Department notifies the health care provider that it cannot fill the prescription in a timely manner