ONCO SITE/GP80 (416)    SORT TEMPLATE (.401)

Name Value
NAME ONCO SITE/GP80
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   165.5
    GET CODE:   S Y(1)=$S($D(^ONCO(165.5,D0,0)):^(0),1:"") S X=$S('$D(^ONCO(164.2,+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)'=""
    DESCRIPTION OF SORT:   SITE/GP not null
    SEARCH EFFICIENCY RATING:   0.0000
    PROBABILITY RATING:   0.0000
    DATA TYPE FOR SORTING:   POINTER TO A FILE
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^ONCO(165.5,D0,0)):^(0),1:"") S X=$S('$D(^ONCO(164.2,+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    FIELD NAME:   SITE/GP
    SORT QUALIFIERS BEFORE FIELD:   #@".01
    SORT QUALIFIERS AFTER FIELD:   ;
    CROSS REFERENCE DATA:   ^ONCO(165.5,"B",^ONCO(165.5,^2
    POINT TO CROSS REFERENCE:   ^ONCO(164.2,"B",
  • FILE OR SUBFILE NO.:   165.5
    GET CODE:   S X=$P($G(^ONCO(165.5,D0,2)),U),X=$S(X="":"",1:"C"_$E(X,3,4)_"."_$E(X,5)) S DISX(2)=X
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   ICDO TOPOGRAPHY-CODE not null
    SEARCH EFFICIENCY RATING:   0.1010
    PROBABILITY RATING:   0.1010
    DATA TYPE FOR SORTING:   FREE TEXT
    FIELD NO.:   20.1
    FIELD NAME:   ICDO TOPOGRAPHY-CODE
    SORT QUALIFIERS AFTER FIELD:   ;S1;"ICDO CODE: ";C35
  • FILE OR SUBFILE NO.:   165.5
    GET CODE:   X DPP(3,"OVF0",9.2) X DPP(3,"OVF1",9.2) I $G(X(3))]"" S DISX(3)=X(3)
    QUERY CONDITION:   I DISX(3)'=""
    DESCRIPTION OF SORT:   PATIENT NAME not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   X DPP(3,"OVF0",9.2) X DPP(3,"OVF1",9.2) I $G(X(3))]"" S DISX(3)=X(3)
    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(^ONCO(165.5,D0,0)):^(0),1:""),D0=$P(Y(1),U,2) S:'$D(^ONCO(160,+D0,0)) D0=-1 S Y(101)=$S($D(^ONCO(160,D0,0)):^(0),1:"")
    • FIRST SUBSCRIPT FOR OVERFLOW:   OVF1
      SECOND SUBSCRIPT FOR OVERFLOW:   9.2
      OVERFLOW CODE:   S X=$P(Y(101),U,1),C=$S(X="":-1,'$D(@(U_$P(X,";",2)_"0)")):-1,1:$P(^(0),U,2)),X=$S(X="":X,'$D(^(+X,0)):"",1:$P(^(0),U,1)),Y=X,C=$S($D(^DD(+C,.01,0)):$P(^(0),U,2),1:"D") D:X]"" Y^DIQ:C'["D" S X=Y,C="," S D0=I(0,0) I D0>0 S X(3)=X
    FIELD NAME:   PATIENT NAME
    SORT QUALIFIERS BEFORE FIELD:   @".02
DATE CREATED 1991-03-18 18:51:00
FILE ONCOLOGY PRIMARY
WRITE ACCESS @
DATE LAST USED 2000-03-06 00:00:00