| EN | 
This entry point builds the temporary global
^TMP("PSSDIN", with National Formulary Indicator text for both orderable items
and dispense drugs that are marked as restricted items. The syntax of this
call is D EN^PSSDIN(PSSOI,PSSDD).
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
PSSOI | 
Input | 
Orderable item - This is the Orderable Item internal
entry number in the global ^PS(50.7,# (PHARMACY ORDERABLE ITEM file #50.7).
 
 | 
PSSDD | 
Input | 
Dispense Drug - This is the Drug internal entry
number in the global ^PSDRUG(#  (DRUG file #50).
 
 | 
TMP | 
Output | 
The call builds all of the NFI text. If entries exist
in the global ^PSDRUG(PSSDD,9, (DRUG TEXT ENTRY SUB-FILE #50.037 of DRUG file
#50) which points to various drug text entries (dtien), located in the DRUG
TEXT file (#51.7) then the global ^TMP("PSSDIN",$J,"DD",PSSDD,dtien,index) is
built.
If entries exist in the global ^PS(50.7,PSSOI,1 (OI-DRUG TEXT ENTRY SUB-FILE
#50.76 of PHARMACY ORDERABLE ITEM file # 50.7) which points to various drug
text entries (dtien), located in the DRUG TEXT file (#51.7) then the global
^TMP("PSSDIN",$J,"OI",PSSOI,dtien,index) is built.
 | 
 
 | 
PROMPT | 
This entry point checks for the existance of the
^TMP("PSSDIN" global and prompts the user accordingly with the message:
Restriction/Guideline(s) exist. Display?
O - Orderable Item text available, D - Dispense Drug text available, B - both
Orderable Item text and Dispense Drug text are available, N - NO the default
not to display any text.
If the ^TMP("PSSDIN" global is not found nothing is prompted. If "B" is
selected the function will return "Y" as "Y" was used initially not "B".
The syntax of this call is S var=$$PROMPT^PSSDIN.
 | 
 |