RA OUTSIDE LIST (311)    SORT TEMPLATE (.401)

Name Value
NAME RA OUTSIDE LIST
DESCRIPTION
Used for sorting outside film registry.
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   70.06
    GET CODE:   S DISX(1)=$P($G(^RADPT(D0,"O",D1,0)),U,2)
    QUERY CONDITION:   I (DISX(1)]]2000100.99999)&(DISX(1)']]2971201)
    DESCRIPTION OF SORT:   NEEDED BACK DATE from 1/1/00 to 12/1/97
    DATA TYPE FOR SORTING:   DATE/TIME
    MULTIPLE FIELD DATA:
    • MULT.FILE OR SUBFILE NO.:   70
      NODE:   O
    FIELD NO.:   2
    FIELD NAME:   NEEDED BACK DATE
    FROM VALUE INTERNAL:   2000100.99999
    FROM VALUE EXTERNAL:   2000101
    FROM VALUE PRINTABLE:   1/1/00
    TO VALUE INTERNAL:   2971201
    TO VALUE EXTERNAL:   2971201
    TO VALUE PRINTABLE:   12/1/97
  • FILE OR SUBFILE NO.:   70.06
    GET CODE:   S DISX(2)=$P($G(^RADPT(D0,"O",D1,0)),U,3)
    QUERY CONDITION:   I DISX(2)=""
    DESCRIPTION OF SORT:   RETURNED DATE is null
    DATA TYPE FOR SORTING:   DATE/TIME
    MULTIPLE FIELD DATA:
    • MULT.FILE OR SUBFILE NO.:   70
      NODE:   O
    FIELD NO.:   3
    FIELD NAME:   RETURNED DATE
    SORT QUALIFIERS BEFORE FIELD:   @
    FROM VALUE INTERNAL:   ?z
    TO VALUE INTERNAL:   @
  • FILE OR SUBFILE NO.:   70
    GET CODE:   S Y(1)=$S($D(^RADPT(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)]]"@z")&(DISX(3)']]"ZZZZ")
    DESCRIPTION OF SORT:   NAME
    SEARCH EFFICIENCY RATING:   0.0000
    PROBABILITY RATING:   0.0000
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^RADPT(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
    FROM VALUE INTERNAL:   @z
    TO VALUE INTERNAL:   ZZZZ
    CROSS REFERENCE DATA:   ^RADPT("B",^RADPT(^2
    POINT TO CROSS REFERENCE:   ^DPT("B",
DATE CREATED 1989-01-11 00:00:00
FILE RAD/NUC MED PATIENT
DATE LAST USED 1997-12-01 00:00:00