Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Source Information |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All
Print Page as PDF
Sort Template: PSO HOLD LIST

Package: Outpatient Pharmacy

Sort Template: PSO HOLD LIST


Source Information

Name Value
NAME PSO HOLD LIST
SORT FIELD DATA
  1. FILE OR SUBFILE NO.:   52
    GET CODE:   S Y(1)=$S($D(^PSRX(D0,2)):^(2),1:"") S X=$S('$D(^PS(59,+$P(Y(1),U,9),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)'=""
    DESCRIPTION OF SORT:   DIVISION not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^PSRX(D0,2)):^(2),1:"") S X=$S('$D(^PS(59,+$P(Y(1),U,9),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    FIELD NAME:   DIVISION
    SORT QUALIFIERS BEFORE FIELD:   #"20
    FROM VALUE INTERNAL:   STICKXz
    FROM VALUE EXTERNAL:   STICKY
    TO VALUE INTERNAL:   STICKY
    TO VALUE EXTERNAL:   STICKY
  2. FILE OR SUBFILE NO.:   52
    GET CODE:   S DISX(2)=$P($G(^PSRX(D0,"H")),U,1)
    QUERY CONDITION:   I DISX(2)=3
    DESCRIPTION OF SORT:   HOLD REASON equals 3 (PATIENT REACTION)
    SEARCH EFFICIENCY RATING:   49.5000
    PROBABILITY RATING:   0.9802
    DATA TYPE FOR SORTING:   SET OF CODES
    FIELD NO.:   99
    FIELD NAME:   HOLD REASON
    SORT QUALIFIERS AFTER FIELD:   ;S2
    FROM VALUE INTERNAL:   2.99999
    FROM VALUE EXTERNAL:   3
    FROM VALUE PRINTABLE:   3 (PATIENT REACTION)
    TO VALUE INTERNAL:   3
    TO VALUE EXTERNAL:   3
    TO VALUE PRINTABLE:   3 (PATIENT REACTION)
    CROSS REFERENCE DATA:   ^PSRX("AH",^PSRX(^2
  3. FILE OR SUBFILE NO.:   52
    GET CODE:   S DISX(3)=$P($G(^PSRX(D0,"H")),U,3)
    QUERY CONDITION:   I DISX(3)'=""
    DESCRIPTION OF SORT:   HOLD DATE not null
    SEARCH EFFICIENCY RATING:   0.9406
    PROBABILITY RATING:   0.9406
    DATA TYPE FOR SORTING:   DATE/TIME
    FIELD NO.:   99.2
    FIELD NAME:   HOLD DATE
DATE CREATED 1994-05-17 09:36:00
READ ACCESS @
FILE PRESCRIPTION
WRITE ACCESS @
DATE LAST USED 1997-09-02 00:00:00

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(59 - [#59] P11, P15
^PSRX - [#52] P11, P15, P21, P31

Naked Globals

Name Field # of Occurrence
^(0 P11, P15
^(2 P11, P15

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> D0 P11, P15, P21, P31
>> DISX(1 P11, P13, P15
>> DISX(2 P21, P23
>> DISX(3 P31, P33
U P11, P15, P21, P31
>> X P11, P15
>> Y(1 P11, P15
Source Information |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All