ANRV BIRTH LIST (657)    SORT TEMPLATE (.401)

Name Value
NAME ANRV BIRTH LIST
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   2040
    GET CODE:   S Y(1)=$S($D(^ANRV(2040,D0,13)):^(13),1:"") S X=$P(Y(1),U,2),X=X S X=X'="I" I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)
    DESCRIPTION OF SORT:   INTERNAL(VIST ELIGIBLE (AMIS))'=""I""
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^ANRV(2040,D0,13)):^(13),1:"") S X=$P(Y(1),U,2),X=X S X=X'="I" I D0>0 S DISX(1)=X
    FIELD NAME:   INTERNAL(VIST ELIGIBLE (AMIS))'="I"
    SORT QUALIFIERS BEFORE FIELD:   @"@B
    SORT QUALIFIERS AFTER FIELD:   ;L1
  • FILE OR SUBFILE NO.:   2040
    GET CODE:   X DPP(2,"OVF0",9.3) S X=$P("JANUARY^FEBRUARY^MARCH^APRIL^MAY^JUNE^JULY^AUGUST^SEPTEMBER^OCTOBER^NOVEMBER^DECEMBER","^",+X) S X=X S D0=I(0,0) I D0>0 S DISX(2)=X
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   NAME:MONTHNAME(+$E(DATE OF BIRTH,4,5)) not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   X DPP(2,"OVF0",9.3) S X=$P("JANUARY^FEBRUARY^MARCH^APRIL^MAY^JUNE^JULY^AUGUST^SEPTEMBER^OCTOBER^NOVEMBER^DECEMBER","^",+X) S X=X 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(2040,D0,0)):^(0),1:""),D0=$P(Y(1),U,1) S:'$D(^DPT(+D0,0)) D0=-1 S Y(103)=$S($D(^DPT(D0,0)):^(0),1:""),Y(101)=X
    • FIRST SUBSCRIPT FOR OVERFLOW:   OVF0
      SECOND SUBSCRIPT FOR OVERFLOW:   9.3
      OVERFLOW CODE:   X DPP(2,"OVF0",9.2) S Y(102)=X S X=$P(Y(103),U,3),Y(104)=X S X=4,Y(105)=X S X=5,X=$E(Y(104),Y(105),X) S Y=X,X=Y(102),X=X+Y
    FIELD NAME:   NAME:MONTHNAME(+$E(DATE OF BIRTH,4,5))
    SORT QUALIFIERS BEFORE FIELD:   @"
    SORT QUALIFIERS AFTER FIELD:   ;"DATE OF BIRTH MONTH"
  • FILE OR SUBFILE NO.:   2040
    GET CODE:   S Y(1)=$S($D(^ANRV(2040,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(3)=X
    QUERY CONDITION:   I DISX(3)'=""
    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(^ANRV(2040,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(3)=X
    FIELD NAME:   NAME
    SORT QUALIFIERS BEFORE FIELD:   @".01
    CROSS REFERENCE DATA:   ^ANRV(2040,"B",^ANRV(2040,^2
    POINT TO CROSS REFERENCE:   ^DPT("B",
DATE CREATED 1993-05-22 14:47:00
FILE VIST ROSTER
DATE LAST USED 1998-04-30 00:00:00