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

Package: Outpatient Pharmacy

Sort Template: PSO DRUG WARNINGS


Source Information

Name Value
NAME PSO DRUG WARNINGS
DESCRIPTION
Outpatient Prescription Drug Warning List
SORT FIELD DATA
  1. FILE OR SUBFILE NO.:   52
    GET CODE:   S Y(1)=$S($D(^PSRX(D0,2)):^(2),1:"") S X=$P($G(^PS(59,+$P(Y(1),U,9),0)),U) I D0>0 S DISX(1)=X
    QUERY CONDITION:   I (DISX(1)]]"@z")&(DISX(1)']]"Z")
    DESCRIPTION OF SORT:   DIVISION from A to Z
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^PSRX(D0,2)):^(2),1:"") S X=$P($G(^PS(59,+$P(Y(1),U,9),0)),U) I D0>0 S DISX(1)=X
    FIELD NAME:   DIVISION
    SORT QUALIFIERS BEFORE FIELD:   '"20
    FROM VALUE INTERNAL:   @z
    FROM VALUE EXTERNAL:   A
    TO VALUE INTERNAL:   Z
    TO VALUE EXTERNAL:   Z
  2. FILE OR SUBFILE NO.:   52
    GET CODE:   S Y(1)=$S($D(^PSRX(D0,0)):^(0),1:"") S X=$P($G(^DPT(+$P(Y(1),U,2),0)),U) I D0>0 S DISX(2)=X
    QUERY CONDITION:   I (DISX(2)]]"@z")&(DISX(2)']]"Z")
    DESCRIPTION OF SORT:   PATIENT from A to Z
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^PSRX(D0,0)):^(0),1:"") S X=$P($G(^DPT(+$P(Y(1),U,2),0)),U) I D0>0 S DISX(2)=X
    FIELD NAME:   PATIENT
    SORT QUALIFIERS BEFORE FIELD:   "2
    FROM VALUE INTERNAL:   @z
    FROM VALUE EXTERNAL:   A
    TO VALUE INTERNAL:   Z
    TO VALUE EXTERNAL:   Z
  3. FILE OR SUBFILE NO.:   52
    GET CODE:   S Y(1)=$S($D(^PSRX(D0,0)):^(0),1:"") S X=$P($G(^PSDRUG(+$P(Y(1),U,6),0)),U) I D0>0 S DISX(3)=X
    QUERY CONDITION:   I (DISX(3)]]"amowz")&(DISX(3)']]"amoxz")
    DESCRIPTION OF SORT:   DRUG from amox to amoxz
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^PSRX(D0,0)):^(0),1:"") S X=$P($G(^PSDRUG(+$P(Y(1),U,6),0)),U) I D0>0 S DISX(3)=X
    FIELD NAME:   DRUG
    SORT QUALIFIERS BEFORE FIELD:   "6
    FROM VALUE INTERNAL:   amowz
    FROM VALUE EXTERNAL:   amox
    TO VALUE INTERNAL:   amoxz
    TO VALUE EXTERNAL:   amoxz
  4. FILE OR SUBFILE NO.:   52
    GET CODE:   S DISX(4)=$P($G(^PSRX(D0,"OR1")),U,8)
    QUERY CONDITION:   I (DISX(4)]]3070300.999999)&(DISX(4)']]3100212.24)
    DESCRIPTION OF SORT:   FINISH DATE/TIME from Mar 1,2007 to Feb 12,2010@24:00
    SEARCH EFFICIENCY RATING:   10.2222
    PROBABILITY RATING:   0.9109
    DATA TYPE FOR SORTING:   DATE/TIME
    FIELD NO.:   38.3
    FIELD NAME:   FINISH DATE/TIME
    SORT QUALIFIERS BEFORE FIELD:   @
    FROM VALUE INTERNAL:   3070300.999999
    FROM VALUE EXTERNAL:   Mar 1,2007
    FROM VALUE PRINTABLE:   Mar 1,2007
    TO VALUE INTERNAL:   3100212.24
    TO VALUE EXTERNAL:   Feb 12,2010@2400
    TO VALUE PRINTABLE:   Feb 12,2010@24:00
    CROSS REFERENCE DATA:   ^PSRX("AFDT",^PSRX(^2
ROUTINE INVOKED ^DISZ
PREVIOUS ROUTINE INVOKED DISZ
DATE CREATED 2010-02-04 11:38:00
READ ACCESS Pp
FILE PRESCRIPTION
WRITE ACCESS Pp
DATE LAST USED 2010-05-18 00:00:00

Call Graph

Call Graph

Call Graph Total: 1

Package Total Call Graph
VA FileMan 1 ^DISZ  

External References

Name Field # of Occurrence
^DISZ 3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] P21, P25
^PS(59 - [#59] P11, P15
^PSDRUG - [#50] P31, P35
^PSRX - [#52] P11, P15, P21, P25, P31, P35, P41

Naked Globals

Name Field # of Occurrence
^(0 P21, P25, P31, P35
^(2 P11, P15

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> D0 P11, P15, P21, P25, P31, P35, P41
>> DISX(1 P11, P13, P15
>> DISX(2 P21, P23, P25
>> DISX(3 P31, P33, P35
>> DISX(4 P41, P43
U P11, P15, P21, P25, P31, P35, P41
>> X P11, P15, P21, P25, P31, P35
>> Y(1 P11, P15, P21, P25, P31, P35
Source Information |  Call Graph |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All