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: PXTT HEALTH FACTOR BY CATEGORY

Package: PCE Patient Care Encounter

Sort Template: PXTT HEALTH FACTOR BY CATEGORY


Source Information

Name Value
NAME PXTT HEALTH FACTOR BY CATEGORY
DESCRIPTION
This will sort the health factors alphabetically by category, and then by
the health factor.
SORT FIELD DATA
  1. FILE OR SUBFILE NO.:   9999999.64
    GET CODE:   S Y(1)=$S($D(^AUTTHF(D0,0)):^(0),1:"") S X=$S('$D(^AUTTHF(+$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:   CATEGORY not null
    SEARCH EFFICIENCY RATING:   0.0250
    PROBABILITY RATING:   0.0250
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^AUTTHF(D0,0)):^(0),1:"") S X=$S('$D(^AUTTHF(+$P(Y(1),U,3),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
    FIELD NAME:   CATEGORY
    SORT QUALIFIERS BEFORE FIELD:   ".03
    SORT QUALIFIERS AFTER FIELD:   ;S
    CROSS REFERENCE DATA:   ^AUTTHF("AC",^AUTTHF(^2
    POINT TO CROSS REFERENCE:   ^AUTTHF("B",
  2. FILE OR SUBFILE NO.:   9999999.64
    GET CODE:   S DISX(2)=$P($G(^AUTTHF(D0,0)),U,1)
    QUERY CONDITION:   I DISX(2)'=""
    DESCRIPTION OF SORT:   FACTOR not null
    SEARCH EFFICIENCY RATING:   0
    PROBABILITY RATING:   0
    DATA TYPE FOR SORTING:   FREE TEXT
    FIELD NO.:   .01
    FIELD NAME:   FACTOR
    CROSS REFERENCE DATA:   ^AUTTHF("B",^AUTTHF(^2
DATE CREATED 1995-08-14 00:29:00
FILE HEALTH FACTORS
DATE LAST USED 1996-08-02 00:00:00

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUTTHF - [#9999999.64] P11, P15, P21

Naked Globals

Name Field # of Occurrence
^(0 P11, P15

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

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