SCMC FLAGGED BY CLINIC (882)    SORT TEMPLATE (.401)

Name Value
NAME SCMC FLAGGED BY CLINIC
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   404.43
    GET CODE:   D INACTDT^SCMCTSK1(D0) S DISX(3)=X
    QUERY CONDITION:   I DISX(3)'=""
    DESCRIPTION OF SORT:   SCHEDULED INACTIVATION DATE not null
    SEARCH EFFICIENCY RATING:   0.6739
    PROBABILITY RATING:   0.6739
    DATA TYPE FOR SORTING:   DATE/TIME
    FIELD NO.:   .159
    FIELD NAME:   SCHEDULED INACTIVATION DATE
    SORT QUALIFIERS BEFORE FIELD:   @
  • FILE OR SUBFILE NO.:   404.43
    GET CODE:   X DPP(4,"OVF0",9.2) S X=$P($G(^DPT(+$P(Y(101),U,1),0)),U) S D0=I(0,0) I D0>0 S DISX(4)=X
    QUERY CONDITION:   I DISX(4)'=""
    DESCRIPTION OF SORT:   PATIENT TEAM ASSIGNMENT not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   X DPP(4,"OVF0",9.2) S X=$P($G(^DPT(+$P(Y(101),U,1),0)),U) S D0=I(0,0) I D0>0 S DISX(4)=X
    OVERFLOW DATA:
    • FIRST SUBSCRIPT FOR OVERFLOW:   OVF0
      SECOND SUBSCRIPT FOR OVERFLOW:   9.2
      OVERFLOW CODE:   S I(0,0)=$G(D0),Y(1)=$S($D(^SCPT(404.43,D0,0)):^(0),1:""),D0=$P(Y(1),U,1) S:'D0!'$D(^SCPT(404.42,+D0,0)) D0=-1 S Y(101)=$S($D(^SCPT(404.42,D0,0)):^(0),1:"")
    FIELD NAME:   PATIENT TEAM ASSIGNMENT
    SORT QUALIFIERS BEFORE FIELD:   @".01
BY(0) TMP("SCSORT",$J,
L(0) 3
SORT RANGE DATA FOR BY(0)
  • DISPAR(0,n) PIECE ONE:   #
    DISPAR(0,n) PIECE TWO:   ;"Institution: "
  • DISPAR(0,n) PIECE TWO:   ;"Clinic: "
DATE CREATED 2004-01-21 15:41:00
READ ACCESS @
FILE PATIENT TEAM POSITION ASSIGNMENT
WRITE ACCESS @
DATE LAST USED 2004-02-04 00:00:00