ONCO ANNUAL HIST/SITE/ICDO (450)    SORT TEMPLATE (.401)

Name Value
NAME ONCO ANNUAL HIST/SITE/ICDO
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   165.5
    GET CODE:   S DISX(1)=$P($G(^ONCO(165.5,D0,0)),U,7)
    QUERY CONDITION:   I DISX(1)=2002
    DESCRIPTION OF SORT:   ACCESSION YEAR equals 2002
    SEARCH EFFICIENCY RATING:   11.5714
    PROBABILITY RATING:   0.9205
    DATA TYPE FOR SORTING:   FREE TEXT
    FIELD NO.:   .07
    FIELD NAME:   ACCESSION YEAR
    SORT QUALIFIERS BEFORE FIELD:   +@
    FROM VALUE INTERNAL:   2001.999999
    FROM VALUE EXTERNAL:   2002
    TO VALUE INTERNAL:   2002
    TO VALUE EXTERNAL:   2002
    CROSS REFERENCE DATA:   ^ONCO(165.5,"AY",^ONCO(165.5,^2
  • FILE OR SUBFILE NO.:   165.5
    GET CODE:   S DISX(2)=$P($G(^ONCO(165.5,D0,0)),U,20)
    QUERY CONDITION:   I DISX(2)=1
    DESCRIPTION OF SORT:   CLASS CATEGORY equals 1 (Analytic)
    SEARCH EFFICIENCY RATING:   0.2055
    PROBABILITY RATING:   0.1705
    DATA TYPE FOR SORTING:   SET OF CODES
    FIELD NO.:   .042
    FIELD NAME:   CLASS CATEGORY
    SORT QUALIFIERS BEFORE FIELD:   @
    FROM VALUE INTERNAL:   .999999
    FROM VALUE EXTERNAL:   1
    FROM VALUE PRINTABLE:   1 (Analytic)
    TO VALUE INTERNAL:   1
    TO VALUE EXTERNAL:   1
    TO VALUE PRINTABLE:   1 (Analytic)
    CROSS REFERENCE DATA:   ^ONCO(165.5,"AG",^ONCO(165.5,^2
  • FILE OR SUBFILE NO.:   165.5
    GET CODE:   S X=$$HIST^ONCFUNC(D0),X=$S(X="":"",1:$E(X,1,4)_"/"_$E(X,5)) S DISX(3)=X
    QUERY CONDITION:   I DISX(3)'=""
    DESCRIPTION OF SORT:   ICDO HISTOLOGY-CODE not null
    SEARCH EFFICIENCY RATING:   0.1136
    PROBABILITY RATING:   0.1136
    DATA TYPE FOR SORTING:   FREE TEXT
    FIELD NO.:   22.1
    FIELD NAME:   ICDO HISTOLOGY-CODE
    SORT QUALIFIERS BEFORE FIELD:   +
  • 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(4)=X
    QUERY CONDITION:   I DISX(4)'=""
    DESCRIPTION OF SORT:   SITE/GP 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(^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(4)=X
    FIELD NAME:   SITE/GP
    SORT QUALIFIERS BEFORE FIELD:   +".01
    SORT QUALIFIERS AFTER FIELD:   ;S1
    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,0)),U,22) I X'="" S X="C"_$E(X,3,4) S DISX(5)=X
    QUERY CONDITION:   I DISX(5)'=""
    DESCRIPTION OF SORT:   ICDO-SITE CODE not null
    SEARCH EFFICIENCY RATING:   0.0000
    PROBABILITY RATING:   0.0000
    DATA TYPE FOR SORTING:   FREE TEXT
    FIELD NO.:   .023
    FIELD NAME:   ICDO-SITE CODE
  • FILE OR SUBFILE NO.:   165.5
    GET CODE:   X DPP(6,"OVF0",9.3) S X=$P(Y(101),U,1) X DPP(6,"OVF0",9.2) S X=X S D0=I(0,0) I D0>0 S DISX(6)=X
    QUERY CONDITION:   I DISX(6)'=""
    DESCRIPTION OF SORT:   PATIENT NAME not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   X DPP(6,"OVF0",9.3) S X=$P(Y(101),U,1) X DPP(6,"OVF0",9.2) S X=X S D0=I(0,0) I D0>0 S DISX(6)=X
    OVERFLOW DATA:
    • FIRST SUBSCRIPT FOR OVERFLOW:   OVF0
      SECOND SUBSCRIPT FOR OVERFLOW:   9.2
      OVERFLOW CODE:   N C S 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
    • FIRST SUBSCRIPT FOR OVERFLOW:   OVF0
      SECOND SUBSCRIPT FOR OVERFLOW:   9.3
      OVERFLOW CODE:   S I(0,0)=$G(D0),Y(1)=$S($D(^ONCO(165.5,D0,0)):^(0),1:""),D0=$P(Y(1),U,2) S:'D0!'$D(^ONCO(160,+D0,0)) D0=-1 S Y(101)=$S($D(^ONCO(160,D0,0)):^(0),1:"")
    FIELD NAME:   PATIENT NAME
    SORT QUALIFIERS BEFORE FIELD:   ".02
DATE CREATED 2002-10-23 09:22:00
FILE ONCOLOGY PRIMARY
WRITE ACCESS @
DATE LAST USED 2002-10-23 00:00:00