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: RMPR TECH PAT

Package: Prosthetics

Sort Template: RMPR TECH PAT


Source Information

Name Value
NAME RMPR TECH PAT
SORT FIELD DATA
  1. FILE OR SUBFILE NO.:   664.1
    GET CODE:   X DPP(1,"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(1)=X
    QUERY CONDITION:   I DISX(1)'=""
    DESCRIPTION OF SORT:   PATIENT not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   X DPP(1,"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(1)=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(^RMPR(664.1,D0,0)):^(0),1:""),D0=$P(Y(1),U,2) S:'$D(^RMPR(665,+D0,0)) D0=-1 S Y(101)=$S($D(^RMPR(665,D0,0)):^(0),1:"")
    FIELD NAME:   PATIENT
    SORT QUALIFIERS BEFORE FIELD:   ".02
  2. FILE OR SUBFILE NO.:   664.1
    GET CODE:   S Y(1)=$S($D(^RMPR(664.1,D0,0)):^(0),1:"") S X=$S('$D(^VA(200,+$P(Y(1),U,16),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(2)=X
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   TECHNICIAN not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^RMPR(664.1,D0,0)):^(0),1:"") S X=$S('$D(^VA(200,+$P(Y(1),U,16),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(2)=X
    FIELD NAME:   TECHNICIAN
    SORT QUALIFIERS BEFORE FIELD:   "15
DATE CREATED 1995-02-27 16:14:00
FILE PROSTHETIC 2529-3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] P11, P15
^RMPR(664.1 - [#664.1] OVF01P11, P21, P25
^RMPR(665 - [#665] OVF01P11
^VA(200 - [#200] P21, P25

Naked Globals

Name Field # of Occurrence
^(0 P11, P15, OVF01P11, P21, P25

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

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