OIDEA(PSSXOI,PSSXOIP) |
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSSXOI |
Input |
This variable is the internal entry number from the
Pharmacy Orderable Item (#50.7) file.
|
PSSXOIP |
Input |
This variable can be one of three values. "O"
indicates that this call is being made for an Outpatient Pharmacy order.
Either an "I" or a "U" indicates that this call is being made for an Inpatient
Medications order.
|
$$OIDEA |
Output |
This output variable will have the most restrictive
CS FEDERAL SCHEDULE code or the DEA SPECIAL HDLG code as mapped to the
corresponding CS FEDERAL SCHEDULE code (as defined in the description), of the
active Dispense Drugs that are matched to the Pharmacy Orderable Item for the
specified package.
This variable can have one of the following values:
1;1 - Schedule I Narcotics
1;2 - Schedule II Narcotics - requires a wet signature
1;2n - Schedule II Non-Narcotics - requires a wet signature
2;3 - Schedule III Narcotics
2;3n - Schedule III Non-Narcotics
2;4 - Schedule IV Narcotics
2;5 - Schedule V Narcotics
0 - None of the above but there are active drugs matched to the
Pharmacy Orderable Item for the specified package
"" (Null)- There are no active drugs for the specified package matched to
the Pharmacy Orderable Item. Schedule I-V Narcotics will return a
2 piece value separated by a semicolon. 1st piece makes it compatible with the
old API 3373, where 1 requires a wet signature and 2 does not.
2nd piece provides the exact nature of the Narcotics.
|
|
$$DETOX(PSSDIEN) |
This API will identify a drug as a detoxification
drug when its name contains "BUPREN".
Format:
S X=$$DETOX^PSSOPKI(PSSDIEN)
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSSDIEN |
Input |
This is the IEN of the DRUG file (#50).
|
$$DETOX |
Output |
Where the output value is:
0 (zero) = not a detoxification drug
1 (one) = a detoxification drug
|
|
$$OIDETOX(PSSXOI,PSSXOIP) |
This API will identify a Pharmacy Orderable Item as a
detoxification drug based on the Dispense Drugs that are associated with that
Pharmacy Orderable Item and at least one of them contains "BUPREN" in the
name.
Format:
S X=$$OIDETOX(PSSXOI,PSSXOIP)
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSSXOI |
Input |
IEN of the Pharmacy Orderable Item file (#50.7).
|
PSSXOIP |
Input |
Application Package usage.
I - Inpatient
U - Unit Dose
O - Outpatient
|
$$OIDETOX |
Output |
Where the output value is:
0 (zero) = not a detoxification drug
1 (one) = a detoxification drug
|
|