ONCO PATIENT ONLY (387)    SORT TEMPLATE (.401)

Name Value
NAME ONCO PATIENT ONLY
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   160
    GET CODE:   S Y(1)=$S($D(^ONCO(160,D0,2)):^(2),1:"") S X=$P(Y(1),U,12),X=X I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)=528
    DESCRIPTION OF SORT:   INTERNAL(#30) equals 528
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^ONCO(160,D0,2)):^(2),1:"") S X=$P(Y(1),U,12),X=X I D0>0 S DISX(1)=X
    FIELD NAME:   INTERNAL(#30)
    SORT QUALIFIERS BEFORE FIELD:   @"
    FROM VALUE INTERNAL:   527.99999
    FROM VALUE EXTERNAL:   528
    TO VALUE INTERNAL:   528
    TO VALUE EXTERNAL:   528
  • FILE OR SUBFILE NO.:   160
    GET CODE:   S X=$S($D(^ONCO(165.5,"C",D0)):"",1:1) S DISX(2)=X
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   NO PRIMARY not null
    SEARCH EFFICIENCY RATING:   0.5833
    PROBABILITY RATING:   0.5833
    DATA TYPE FOR SORTING:   FREE TEXT
    FIELD NO.:   59
    FIELD NAME:   NO PRIMARY
    SORT QUALIFIERS BEFORE FIELD:   @
    SORT QUALIFIERS AFTER FIELD:   ;L1
  • FILE OR SUBFILE NO.:   160
    GET CODE:   X DPP(3,"OVF0",9.2) S X=$P(Y(1),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="," I D0>0 S DISX(3)=X
    QUERY CONDITION:   I DISX(3)'=""
    DESCRIPTION OF SORT:   NAME not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   X DPP(3,"OVF0",9.2) S X=$P(Y(1),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="," I D0>0 S DISX(3)=X
    OVERFLOW DATA:
    • FIRST SUBSCRIPT FOR OVERFLOW:   OVF0
      SECOND SUBSCRIPT FOR OVERFLOW:   9.2
      OVERFLOW CODE:   S Y(1)=$S($D(^ONCO(160,D0,0)):^(0),1:"")
    FIELD NAME:   NAME
    SORT QUALIFIERS BEFORE FIELD:   ".01
DATE CREATED 2000-01-05 15:37:00
FILE ONCOLOGY PATIENT
WRITE ACCESS @
DATE LAST USED 2000-04-03 00:00:00