ANRVRRL (663)    SORT TEMPLATE (.401)

Name Value
NAME ANRVRRL
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   2042.51
    GET CODE:   S DISX(1)=$P($G(^ANRV(2042.5,D0,1,D1,0)),U)
    QUERY CONDITION:   I DISX(1)'=""
    DESCRIPTION OF SORT:   REFERRAL DATE not null
    DATA TYPE FOR SORTING:   DATE/TIME
    MULTIPLE FIELD DATA:
    • MULT.FILE OR SUBFILE NO.:   2042.5
      NODE:   1
    FIELD NO.:   .01
    FIELD NAME:   REFERRAL DATE
    SORT QUALIFIERS BEFORE FIELD:   @
    FROM VALUE INTERNAL:   2970609.99999
    FROM VALUE EXTERNAL:   T-365
    FROM VALUE PRINTABLE:   Jun 10,1997
    TO VALUE INTERNAL:   2980610.24
    TO VALUE EXTERNAL:   T@2400
    TO VALUE PRINTABLE:   Jun 10,1998@24:00
    CROSS REFERENCE DATA:   ^ANRV(2042.5,"C",^ANRV(2042.5,^2
  • FILE OR SUBFILE NO.:   2042.5
    GET CODE:   X DPP(2,"OVF0",9.2) S X=$S('$D(^DPT(+$P(Y(101),U,1),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) I D0>0 S DISX(2)=X
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   NAME not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   X DPP(2,"OVF0",9.2) S X=$S('$D(^DPT(+$P(Y(101),U,1),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) I D0>0 S DISX(2)=X
    OVERFLOW DATA:
    • FIRST SUBSCRIPT FOR OVERFLOW:   OVF0
      SECOND SUBSCRIPT FOR OVERFLOW:   9.2
      OVERFLOW CODE:   S I(0,0)=$S($D(D0):D0,1:""),Y(1)=$S($D(^ANRV(2042.5,D0,0)):^(0),1:""),D0=$P(Y(1),U,1) S:'$D(^ANRV(2040,+D0,0)) D0=-1 S Y(101)=$S($D(^ANRV(2040,D0,0)):^(0),1:"")
    FIELD NAME:   NAME
    SORT QUALIFIERS BEFORE FIELD:   ".01
DATE CREATED 1998-05-27 13:40:00
FILE VIST REFERRAL ROSTER
DATE LAST USED 1998-06-10 00:00:00