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: SCMC EXTENDED BY CLINIC

Package: Scheduling

Sort Template: SCMC EXTENDED BY CLINIC


Source Information

Name Value
NAME SCMC EXTENDED BY CLINIC
SORT FIELD DATA
  1. FILE OR SUBFILE NO.:   404.42
    GET CODE:   S Y(101)=$S($D(^SCPT(404.42,D0,0)):^(0),1:"") S X=$P($G(^DPT(+$P(Y(101),U,1),0)),U) I D0>0 S DISX(3)=X
    QUERY CONDITION:   I DISX(3)'=""
    DESCRIPTION OF SORT:   PATIENT not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(101)=$S($D(^SCPT(404.42,D0,0)):^(0),1:"") S X=$P($G(^DPT(+$P(Y(101),U,1),0)),U) I D0>0 S DISX(3)=X
    RELATIONAL JUMP FIELD DATA:
    1. RELATIONAL START FILE NO.:   404.43
      NEXT SUBSCRIPT:   100
      TO FILE OR SUBFILE:   404.42
      GLOBAL REFERENCE:   SCPT(404.42,
      MULTIVALUED FLAG:   NOT MULTI-VALUED
      RELATIONAL CODE:   S I(0,0)=D0 S Y(1)=$S($D(^SCPT(404.43,D0,0)):^(0),1:"") S X=$P(Y(1),U,1),X=X S D(0)=+X
    FIELD NAME:   PATIENT
    SORT QUALIFIERS BEFORE FIELD:   "@".01
BY(0) TMP("SCSORT",$J,
L(0) 3
SORT RANGE DATA FOR BY(0)
  1. DISPAR(0,n) PIECE ONE:   #
    DISPAR(0,n) PIECE TWO:   ;"Institution: "
  2. DISPAR(0,n) PIECE TWO:   ;"Clinic: "
DATE CREATED 2004-01-20 06:22:00
READ ACCESS @
FILE PATIENT TEAM POSITION ASSIGNMENT
WRITE ACCESS @
DATE LAST USED 2004-01-21 00:00:00

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] P31, P35
^SCPT(404.42 - [#404.42] P31, P35
^SCPT(404.43 - [#404.43] RCOD3P11

Naked Globals

Name Field # of Occurrence
^(0 P31, P35, RCOD3P11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> D(0 RCOD3P11
D0 P31, P35, RCOD3P11
>> DISX(3 P31, P33, P35
I(0 RCOD3P11
U P31, P35, RCOD3P11
X P31, P35, RCOD3P11
Y(1 RCOD3P11
Y(101 P31, P35
Source Information |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All