Print Page as PDF
CALL FOR PSSDIN - NFI TEXT AVAIL. FOR ORD.ITEM/DISP.DRUG ICR (3166)

CALL FOR PSSDIN - NFI TEXT AVAIL. FOR ORD.ITEM/DISP.DRUG    ICR (3166)

Name Value
NUMBER 3166
IA # 3166
DATE CREATED 2000/08/15
CUSTODIAL PACKAGE PHARMACY DATA MANAGEMENT
CUSTODIAL ISC Birmingham
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSSDIN
NAME CALL FOR PSSDIN - NFI TEXT AVAIL. FOR ORD.ITEM/DISP.DRUG
GENERAL DESCRIPTION
Outpatient Pharmacy, Inpatient Medications and
Computerized Patient Record System all request permission to call the function
provided by the Pharmacy Data Management package - routine name ^PSSDIN.

This call builds the temporary global ^TMP("PSSDIN" with the National
Formulary Indicator text for both orderable items and dispense drugs that are
marked as restricted items. Sending input of either orderable items or
dispense drugs is optional and the routine will only return text where it
receives either or both variables. The text may be displayed upon request.

STATUS Active
DURATION Till Otherwise Agreed
ID PSSDIN
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
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.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC SUBSCRIBING DETAILS
OUTPATIENT PHARMACY Birmingham
INPATIENT MEDICATIONS Birmingham
ORDER ENTRY/RESULTS REPORTING Birmingham
VA POINT OF SERVICE (KIOSKS)
VISTA INTEGRATION ADAPTOR
VIABDX SAVE RPC references PSSDIN routine.