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
Print Page as PDF
Sort Template: PRPF UNASSIGNED STATION LIST

Package: Integrated Patient Fund

Sort Template: PRPF UNASSIGNED STATION LIST


Source Information

Name Value
NAME PRPF UNASSIGNED STATION LIST
DESCRIPTION
THIS TEMPLATE WILL SEARCH FOR PATIENTS WITH OUT A STATION ASSIGNED TO THEM
SORT FIELD DATA
  1. FILE OR SUBFILE NO.:   470
    GET CODE:   S Y(1)=$S($D(^PRPF(470,D0,12)):^(12),1:"") S X=$S('$D(^DIC(4,+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)=""
    DESCRIPTION OF SORT:   STATION NAME is null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^PRPF(470,D0,12)):^(12),1:"") S X=$S('$D(^DIC(4,+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    FIELD NAME:   STATION NAME
    SORT QUALIFIERS BEFORE FIELD:   @"73
    FROM VALUE INTERNAL:   ?z
    FROM VALUE EXTERNAL:   @
    TO VALUE INTERNAL:   @
    TO VALUE EXTERNAL:   @
  2. FILE OR SUBFILE NO.:   470
    GET CODE:   S Y(1)=$S($D(^PRPF(470,D0,0)):^(0),1:"") S X=$S('$D(^DPT(+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(2)=X
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   NAME not null
    SEARCH EFFICIENCY RATING:   0.0000
    PROBABILITY RATING:   0.0000
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^PRPF(470,D0,0)):^(0),1:"") S X=$S('$D(^DPT(+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(2)=X
    FIELD NAME:   NAME
    SORT QUALIFIERS BEFORE FIELD:   ".01
    CROSS REFERENCE DATA:   ^PRPF(470,"B",^PRPF(470,^2
    POINT TO CROSS REFERENCE:   ^DPT("B",
DATE CREATED 2002-05-15 17:44:00
READ ACCESS @
FILE PATIENT FUNDS
WRITE ACCESS @
DATE LAST USED 2002-08-02 00:00:00

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(4 - [#4] P11, P15
^DPT - [#2] P21, P25
^PRPF(470 - [#470] P11, P15, P21, P25

Naked Globals

Name Field # of Occurrence
^(0 P11, P15, P21, P25
^(12 P11, P15

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

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