ONC DISEASE INDEX CASEFINDING (910)    SORT TEMPLATE (.401)

Name Value
NAME ONC DISEASE INDEX CASEFINDING
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   9000010.07
    GET CODE:   S Y(1)=$S($D(^AUPNVPOV(D0,0)):^(0),1:"") S X=$P($G(^AUPNVSIT(+$P(Y(1),U,3),0)),U) I D0>0 S DISX(1)=X
    QUERY CONDITION:   I (DISX(1)]]2999999.999999)&(DISX(1)']]3220101.24)
    DESCRIPTION OF SORT:   VISIT from 2000 to JAN 1,2022@24:00
    SEARCH EFFICIENCY RATING:   0.4257
    PROBABILITY RATING:   0.4257
    DATA TYPE FOR SORTING:   DATE/TIME
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^AUPNVPOV(D0,0)):^(0),1:"") S X=$P($G(^AUPNVSIT(+$P(Y(1),U,3),0)),U) I D0>0 S DISX(1)=X
    FIELD NAME:   VISIT
    SORT QUALIFIERS BEFORE FIELD:   '".03
    COMPUTED FIELD TYPE:   D
    FROM VALUE INTERNAL:   2999999.999999
    FROM VALUE EXTERNAL:   2000
    FROM VALUE PRINTABLE:   2000
    TO VALUE INTERNAL:   3220101.24
    TO VALUE EXTERNAL:   JAN 1,2022@2400
    TO VALUE PRINTABLE:   JAN 1,2022@24:00
    CROSS REFERENCE DATA:   ^AUPNVPOV("AD",^AUPNVPOV(^2
    POINT TO CROSS REFERENCE:   ^AUPNVSIT("B",
  • FILE OR SUBFILE NO.:   9000010.07
    GET CODE:   X DPP(2,"OVF0",9.2) S X=$P($G(^DPT(+$P(Y(101),U,1),0)),U) S D0=I(0,0) I D0>0 S DISX(2)=X
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   PATIENT NAME not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   X DPP(2,"OVF0",9.2) S X=$P($G(^DPT(+$P(Y(101),U,1),0)),U) 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)=$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 2010-04-08 14:22:00
READ ACCESS @
FILE V POV
WRITE ACCESS @
DATE LAST USED 2022-02-15 00:00:00