RA IMAGE LOC LIST (310)    SORT TEMPLATE (.401)

Name Value
NAME RA IMAGE LOC LIST
DESCRIPTION
This template is used to sort location parameters by imaging
location.
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   79.1
    GET CODE:   S Y(1)=$S($D(^RA(79.1,D0,0)):^(0),1:"") S X=$S('$D(^RA(79.2,+$P(Y(1),U,6),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)'=""
    DESCRIPTION OF SORT:   TYPE OF IMAGING 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(^RA(79.1,D0,0)):^(0),1:"") S X=$S('$D(^RA(79.2,+$P(Y(1),U,6),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    FIELD NAME:   TYPE OF IMAGING
    SORT QUALIFIERS BEFORE FIELD:   "6
    CROSS REFERENCE DATA:   ^RA(79.1,"BIMG",^RA(79.1,^2
    POINT TO CROSS REFERENCE:   ^RA(79.2,"B",
  • FILE OR SUBFILE NO.:   79.1
    GET CODE:   X DPP(2,"OVF0",9.2) S X=$S('$D(^DIC(4,+$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 1
    DESCRIPTION OF SORT:   All RAD/NUC MED DIVISION (includes nulls)
    DATA TYPE FOR SORTING:   POINTER TO A FILE
    COMPUTED FIELD CODE:   X DPP(2,"OVF0",9.2) S X=$S('$D(^DIC(4,+$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(^RA(79.1,D0,"DIV")):^("DIV"),1:""),D0=$P(Y(1),U,1) S:'$D(^RA(79,+D0,0)) D0=-1 S Y(101)=$S($D(^RA(79,D0,0)):^(0),1:"")
    FIELD NAME:   RAD/NUC MED DIVISION
    SORT QUALIFIERS BEFORE FIELD:   "25
    FROM VALUE INTERNAL:   ?z
    FROM VALUE EXTERNAL:   @
    TO VALUE INTERNAL:   z
  • FILE OR SUBFILE NO.:   79.1
    GET CODE:   S Y(1)=$S($D(^RA(79.1,D0,0)):^(0),1:"") S X=$S('$D(^SC(+$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:   LOCATION 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(^RA(79.1,D0,0)):^(0),1:"") S X=$S('$D(^SC(+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(3)=X
    FIELD NAME:   LOCATION
    SORT QUALIFIERS BEFORE FIELD:   #".01
    CROSS REFERENCE DATA:   ^RA(79.1,"B",^RA(79.1,^2
    POINT TO CROSS REFERENCE:   ^SC("B",
DATE CREATED 1996-02-21 08:54:00
FILE IMAGING LOCATIONS
PRINT TEMPLATE RA IMAGE LOC LIST
DATE LAST USED 2000-05-17 00:00:00