Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Source Information |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All
Print Page as PDF
Sort Template: ONC DISEASE INDEX

Package: Oncology

Sort Template: ONC DISEASE INDEX


Source Information

Name Value
NAME ONC DISEASE INDEX
SORT FIELD DATA
  1. 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",
  2. 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
  3. 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:
    1. 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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNPAT - [#9000001] OVF03P11
^AUPNVPOV - [#9000010.07] P11, P15, P21, P25, OVF03P11
^AUPNVSIT - [#9000010] P11, P15
^DPT - [#2] P31, P35
^ICD9 - [#80] P21, P25

Naked Globals

Name Field # of Occurrence
^(0 P11, P15, P21, P25, P31, P35, OVF03P11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> D0 P11, P15, P21, P25, P31, P35, OVF03P11
>> DISX(1 P11, P13, P15
>> DISX(2 P21, P23, P25
>> DISX(3 P31, P33, P35
>> DPP(3 P31, P35
>> I(0 P31, P35, OVF03P11
U P11, P15, P21, P25, P31, P35, OVF03P11
>> X P11, P15, P21, P25, P31, P35
>> Y(1 P11, P15, P21, P25, OVF03P11
>> Y(101 P31, P35, OVF03P11
Source Information |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All