ONC DISEASE INDEX (716)    SORT TEMPLATE (.401)

Name Value
NAME ONC DISEASE INDEX
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   9000010.07
    GET CODE:   S Y(1)=$S($D(^AUPNVPOV(D0,0)):^(0),1:"") S X=$S('$D(^AUPNVSIT(+$P(Y(1),U,3),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)'=""
    DESCRIPTION OF SORT:   VISIT not null
    SEARCH EFFICIENCY RATING:   0.0297
    PROBABILITY RATING:   0.0297
    DATA TYPE FOR SORTING:   DATE/TIME
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^AUPNVPOV(D0,0)):^(0),1:"") S X=$S('$D(^AUPNVSIT(+$P(Y(1),U,3),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    FIELD NAME:   VISIT
    SORT QUALIFIERS BEFORE FIELD:   '".03
    COMPUTED FIELD TYPE:   D
    CROSS REFERENCE DATA:   ^AUPNVPOV("AD",^AUPNVPOV(^2
    POINT TO CROSS REFERENCE:   ^AUPNVSIT("B",
  • FILE OR SUBFILE NO.:   9000010.07
    GET CODE:   S Y(1)=$S($D(^AUPNVPOV(D0,0)):^(0),1:"") S X=$S('$D(^ICD9(+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(2)=X
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   POV not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^AUPNVPOV(D0,0)):^(0),1:"") S X=$S('$D(^ICD9(+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(2)=X
    FIELD NAME:   POV
    SORT QUALIFIERS BEFORE FIELD:   '".01
  • FILE OR SUBFILE NO.:   9000010.07
    GET CODE:   X DPP(3,"OVF0",9.2) S X=$S('$D(^DPT(+$P(Y(101),U,1),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) I D0>0 S DISX(3)=X
    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) S X=$S('$D(^DPT(+$P(Y(101),U,1),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) I D0>0 S DISX(3)=X
    OVERFLOW DATA:
    • FIRST SUBSCRIPT FOR OVERFLOW:   OVF0
      SECOND SUBSCRIPT FOR OVERFLOW:   9.2
      OVERFLOW CODE:   S I(0,0)=$G(D0),Y(1)=$S($D(^AUPNVPOV(D0,0)):^(0),1:""),D0=$P(Y(1),U,2) S:'D0!'$D(^AUPNPAT(+D0,0)) D0=-1 S Y(101)=$S($D(^AUPNPAT(D0,0)):^(0),1:"")
    FIELD NAME:   PATIENT NAME
    SORT QUALIFIERS BEFORE FIELD:   ".02
DATE CREATED 2000-06-30 10:37:00
READ ACCESS @
FILE V POV
WRITE ACCESS @
DATE LAST USED 2000-08-02 00:00:00