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: IBD NO APPOINTMENT LIST

Package: Automated Information Collection System

Sort Template: IBD NO APPOINTMENT LIST


Source Information

Name Value
NAME IBD NO APPOINTMENT LIST
DESCRIPTION
This template with list patients for a date range that have had encounter
forms printed that are not related to appointments.
SORT FIELD DATA
  1. FILE OR SUBFILE NO.:   357.96
    GET CODE:   X DPP(1,"OVF0",9.2) S X=$P($P(Y(2),$C(59)_$P(Y(1),U,14)_":",2),$C(59),1)=$P($P(Y(3),$C(59)_$P(Y(1),U,14)_":",2),$C(59),1) I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)
    DESCRIPTION OF SORT:   NO APPOINTMENT ENTRY=NO APPOINTMENT ENTRY
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   X DPP(1,"OVF0",9.2) S X=$P($P(Y(2),$C(59)_$P(Y(1),U,14)_":",2),$C(59),1)=$P($P(Y(3),$C(59)_$P(Y(1),U,14)_":",2),$C(59),1) I D0>0 S DISX(1)=X
    OVERFLOW DATA:
    1. FIRST SUBSCRIPT FOR OVERFLOW:   OVF0
      SECOND SUBSCRIPT FOR OVERFLOW:   9.2
      OVERFLOW CODE:   S Y(2)=$C(59)_$S($D(^DD(357.96,.14,0)):$P(^(0),U,3),1:""),Y(3)=$C(59)_$S($D(^DD(357.96,.14,0)):$P(^(0),U,3),1:""),Y(1)=$S($D(^IBD(357.96,D0,0)):^(0),1:"")
    FIELD NAME:   NO APPOINTMENT ENTRY=NO APPOINTMENT ENTRY
    SORT QUALIFIERS BEFORE FIELD:   '@"@B
    SORT QUALIFIERS AFTER FIELD:   ;L1
  2. FILE OR SUBFILE NO.:   357.96
    GET CODE:   S Y(1)=$S($D(^IBD(357.96,D0,0)):^(0),1:"") S X=$P(Y(1),U,11),X=X S X=X=3,Y(2)=X,Y(3)=X S X=$P(Y(1),U,11),X=X S X=X=6,Y=X,X=Y(2),X=X!Y I D0>0 S DISX(2)=X
    QUERY CONDITION:   I DISX(2)
    DESCRIPTION OF SORT:   INTERNAL(#.11)=3!(INTERNAL(#.11)=6)
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^IBD(357.96,D0,0)):^(0),1:"") S X=$P(Y(1),U,11),X=X S X=X=3,Y(2)=X,Y(3)=X S X=$P(Y(1),U,11),X=X S X=X=6,Y=X,X=Y(2),X=X!Y I D0>0 S DISX(2)=X
    FIELD NAME:   INTERNAL(#.11)=3!(INTERNAL(#.11)=6)
    SORT QUALIFIERS BEFORE FIELD:   '@"@B
    SORT QUALIFIERS AFTER FIELD:   ;L1
  3. FILE OR SUBFILE NO.:   357.96
    GET CODE:   S Y(1)=$S($D(^IBD(357.96,D0,0)):^(0),1:"") S X=$S('$D(^DPT(+$P(Y(1),U,2),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(3)=X
    QUERY CONDITION:   I DISX(3)'=""
    DESCRIPTION OF SORT:   PATIENT not null
    SEARCH EFFICIENCY RATING:   0.0110
    PROBABILITY RATING:   0.0110
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^IBD(357.96,D0,0)):^(0),1:"") S X=$S('$D(^DPT(+$P(Y(1),U,2),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(3)=X
    FIELD NAME:   PATIENT
    SORT QUALIFIERS BEFORE FIELD:   +".02
    CROSS REFERENCE DATA:   ^IBD(357.96,"C",^IBD(357.96,^2
    POINT TO CROSS REFERENCE:   ^DPT("B",
  4. FILE OR SUBFILE NO.:   357.96
    GET CODE:   S DISX(4)=$P($G(^IBD(357.96,D0,0)),U,5)
    QUERY CONDITION:   I (DISX(4)]]2970730.99999)&(DISX(4)']]2970731.24)
    DESCRIPTION OF SORT:   DATE/TIME PRINTED from 7/31/97 to 7/31/97@24:00
    SEARCH EFFICIENCY RATING:   0.9890
    PROBABILITY RATING:   0.9890
    DATA TYPE FOR SORTING:   DATE/TIME
    FIELD NO.:   .05
    FIELD NAME:   DATE/TIME PRINTED
    FROM VALUE INTERNAL:   2970730.99999
    FROM VALUE EXTERNAL:   T-1
    FROM VALUE PRINTABLE:   7/31/97
    TO VALUE INTERNAL:   2970731.24
    TO VALUE EXTERNAL:   T-1@2400
    TO VALUE PRINTABLE:   7/31/97@24:00
DATE CREATED 1997-07-31 14:37:00
READ ACCESS @
FILE ENCOUNTER FORM TRACKING
WRITE ACCESS @
DATE LAST USED 1997-08-01 00:00:00

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(357.96 OVF01P11
^DPT - [#2] P31, P35
^IBD(357.96 - [#357.96] OVF01P11, P21, P25, P31, P35, P41

Naked Globals

Name Field # of Occurrence
^(0 OVF01P11, P21, P25, P31, P35

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

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