ONCO DUE FOLLOWUP (388)    SORT TEMPLATE (.401)

Name Value
NAME ONCO DUE FOLLOWUP
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   160
    GET CODE:   S DISX(1)=$P($G(^ONCO(160,D0,1)),U,2)
    QUERY CONDITION:   I (DISX(1)]]3140099.999999)&(DISX(1)']]3141000.24)
    DESCRIPTION OF SORT:   DUE FOLLOW-UP from Jan 2014 to Oct 2014@24:00
    SEARCH EFFICIENCY RATING:   20.3333
    PROBABILITY RATING:   0.9531
    DATA TYPE FOR SORTING:   DATE/TIME
    FIELD NO.:   27
    FIELD NAME:   DUE FOLLOW-UP
    SORT QUALIFIERS AFTER FIELD:   ;C30;S1
    FROM VALUE INTERNAL:   3140099.999999
    FROM VALUE EXTERNAL:   Jan 2014
    FROM VALUE PRINTABLE:   Jan 2014
    TO VALUE INTERNAL:   3141000.24
    TO VALUE EXTERNAL:   Oct 2014@2400
    TO VALUE PRINTABLE:   Oct 2014@24:00
    CROSS REFERENCE DATA:   ^ONCO(160,"AD",^ONCO(160,^2
  • FILE OR SUBFILE NO.:   160
    GET CODE:   N DIERR S Y(1)=$S($D(^ONCO(160,D0,0)):^(0),1:"") S X=$$EXTERNAL^DIDU(160,.01,"",$P(Y(1),U,1)) 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:   N DIERR S Y(1)=$S($D(^ONCO(160,D0,0)):^(0),1:"") S X=$$EXTERNAL^DIDU(160,.01,"",$P(Y(1),U,1)) I D0>0 S DISX(2)=X
    FIELD NAME:   NAME
    SORT QUALIFIERS BEFORE FIELD:   @".01
  • FILE OR SUBFILE NO.:   165.5
    GET CODE:   D ARFPRI^ONCOCOM S DISX(3)=X
    QUERY CONDITION:   I DISX(3)=1
    DESCRIPTION OF SORT:   ANALYTIC PRIMARY REQ FOLLOWUP equals 1
    DATA TYPE FOR SORTING:   FREE TEXT
    RELATIONAL JUMP FIELD DATA:
    • RELATIONAL START FILE NO.:   160
      NEXT SUBSCRIPT:   100
      TO FILE OR SUBFILE:   165.5
      GLOBAL REFERENCE:   ONCO(165.5,
      MULTIVALUED FLAG:   YES, MULTI-VALUED
      RELATIONAL CODE:   S I(0,0)=$G(D0) X DPP(3,"OVF0",9.3) S X="" S D0=I(0,0)
    OVERFLOW DATA:
    • FIRST SUBSCRIPT FOR OVERFLOW:   OVF0
      SECOND SUBSCRIPT FOR OVERFLOW:   9.2
      OVERFLOW CODE:   S (D,D0)=$QS(DIMQ,$QL(DIMQ)) I D,$D(^ONCO(165.5,D,0)) S X=$P(^(0),U) S:$D(^ONCO(164.2,+X,0)) X=$P(^(0),U) D M
    • FIRST SUBSCRIPT FOR OVERFLOW:   OVF0
      SECOND SUBSCRIPT FOR OVERFLOW:   9.3
      OVERFLOW CODE:   N DIMQ,DIMSTRT,DIMSCNT S (DIMQ,DIMSTRT)=$NA(^ONCO(165.5,"C",I(0,0))),DIMSCNT=$QL(DIMQ) F S DIMQ=$Q(@DIMQ) Q:DIMQ="" Q:$NA(@DIMQ,DIMSCNT)'=DIMSTRT X DPP(3,"OVF0",9.2) Q:'$D(D) S D=D0
    FIELD NO.:   .043
    FIELD NAME:   ANALYTIC PRIMARY REQ FOLLOWUP
    SORT QUALIFIERS BEFORE FIELD:   "@
    FROM VALUE INTERNAL:   .999999
    FROM VALUE EXTERNAL:   1
    TO VALUE INTERNAL:   1
    TO VALUE EXTERNAL:   1
DATE CREATED 2014-10-08 15:24:00
FILE ONCOLOGY PATIENT
WRITE ACCESS @
DATE LAST USED 2014-10-09 00:00:00