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: MCARGIRCLI

Package: Medicine

Sort Template: MCARGIRCLI


Source Information

Name Value
NAME MCARGIRCLI
SORT FIELD DATA
  1. FILE OR SUBFILE NO.:   699
    GET CODE:   S Y(1)=$S($D(^MCAR(699,D0,0)):^(0),1:"") S X=$S('$D(^MCAR(697.2,+$P(Y(1),U,12),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)'=""
    DESCRIPTION OF SORT:   PROCEDURE 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(^MCAR(699,D0,0)):^(0),1:"") S X=$S('$D(^MCAR(697.2,+$P(Y(1),U,12),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    FIELD NAME:   PROCEDURE
    SORT QUALIFIERS BEFORE FIELD:   "1
    CROSS REFERENCE DATA:   ^MCAR(699,"D",^MCAR(699,^2
    POINT TO CROSS REFERENCE:   ^MCAR(697.2,"B",
  2. FILE OR SUBFILE NO.:   699.73
    GET CODE:   S DISX(2)=$P($G(^MCAR(699,D0,25,D1,0)),U,2)
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   FINAL DISPOSITION DATE not null
    DATA TYPE FOR SORTING:   DATE/TIME
    MULTIPLE FIELD DATA:
    1. MULT.FILE OR SUBFILE NO.:   699
      NODE:   25
    FIELD NO.:   1
    FIELD NAME:   FINAL DISPOSITION DATE
  3. FILE OR SUBFILE NO.:   699
    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:   MEDICAL PATIENT 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)=$S($D(D0):D0,1:""),Y(1)=$S($D(^MCAR(699,D0,0)):^(0),1:""),D0=$P(Y(1),U,2) S:'$D(^MCAR(690,+D0,0)) D0=-1 S Y(101)=$S($D(^MCAR(690,D0,0)):^(0),1:"")
    FIELD NAME:   MEDICAL PATIENT
    SORT QUALIFIERS BEFORE FIELD:   ".02
DATE CREATED 1994-05-23 15:47:00
FILE ENDOSCOPY/CONSULT
DATE LAST USED 1996-06-12 00:00:00

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] P31, P35
^MCAR(690 - [#690] OVF03P11
^MCAR(697.2 - [#697.2] P11, P15
^MCAR(699 - [#699] P11, P15, P21, OVF03P11

Naked Globals

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

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