| VERIFY |
This is used to verify the correctness of a digitally
signed order. Returned values are:
1 for verified
"-1^error message" for error during parameter check
"898020xx^error message" for error during verification
Reason Error Code Error Message
89802000 Order Text is blank
89802001 DEA # missing
89802002 Drug Schedule missing
89802003 DEA # not valid
89802004 Valid Certificate not found
89802005 Couldn't load CSP
89802006 Smart card Reader not found
89802007 Certificate with DEA # not found
89802008 Certificate not valid for schedule
89802010 Crypto Error (contact IRM)
89802015 Corrupted (Decode failure)
89802016 Corrupted (Hash mismatch)
89802017 Certificate revoked
89802018 Verification failure
89802019 Before Cert effective date
89802020 Certificate expired
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
ORDER |
Input |
ORIFN;ACTION - NOTE: if no ACTION then 1 (new order)
is assumed ORIFN is the internal order number of the order from the ORDERS
file (#100) ACTION is the associated action, found at ^OR(100,ORIFN,8,ACTION
|
DFN |
Input |
This is the patient DFN.
|
|
GETDATA |
This API gets Pharmacy/DEA data that has been stored
with the order. The returned values are:
Y = 1^ Order # ^ Nature of order ^ Order Status ^ Date Signed
Y(1) = Patient name ^ Street1 ^ Street2 ^ Street3 ^ City ^ State ^ Zip
Y(2) = Drug name_strength_dosage form (Dispense Drug) ^ Drug IEN (file 50) ^
Drug quantity prescribed ^ Schedule of medication ^ DEA Schedule
Y(3) = Directions for use (SIG)
Y(4) = Practitioner's name ^ DUZ ^ Practitioner's (DEA) registration number
Y(5) = SiteName ^ SiteStreet1 ^ SiteStreet2 ^ SiteCity ^ SiteState ^
SiteZip
Y(6) = Orderable Item ^ Orderable Item IEN (file 101.43) If an error occurs,
then error is returned:
;Y = "-1^Error message"
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
ORDER |
Input |
ORIFN;ACTION - NOTE: if no ACTION then 1 (new order) is assumed
ORIFN is the internal order number of the order from the ORDERS file (#100)
ACTION is the associated action, found at ^OR(100,ORIFN,8,ACTION
|
DFN |
Input |
This is the patient DFN.
|
|