Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Pointer To FileMan Files |  Fields |  Found Entries |  External References |  Global Variables Directly Accessed |  Local Variables  | All
Print Page as PDF
Global: ^SD(409.64

Package: Scheduling

Global: ^SD(409.64


Information

FileMan FileNo FileMan Filename Package
409.64 QUERY OBJECT Scheduling

Description

Directly Accessed By Routines, Total: 4

Package Total Routines
Scheduling 4 SDQ    SUPPORTED INDEXES    ^SD(409.64    TEAM POSITIONS    

Pointer To FileMan Files, Total: 1

Package Total FileMan Files
VA FileMan 1 FILE(#1)[.02]    

Fields, Total: 10

Field # Name Loc Type Details
.01 NAME 0;1 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>40!($L(X)<3)!'(X'?1P.E) X
  • LAST EDITED:  JUL 21, 1997
  • HELP-PROMPT:  Answer must be 3-40 characters in length.
  • DESCRIPTION:  This property contains the name of the query object being defined.
    The name should be namespaced.
  • CROSS-REFERENCE:  409.64^B
    1)= S ^SD(409.64,"B",$E(X,1,30),DA)=""
    2)= K ^SD(409.64,"B",$E(X,1,30),DA)
.02 FILE 0;2 POINTER TO FILE FILE (#1) FILE(#1)

  • LAST EDITED:  AUG 14, 1997
  • DESCRIPTION:  This property contains the name of the file associated with this query object
    definition.
    (Note: It is possible to have a file associated with more than
    one query object definition.)
.03 SUBSCRIPTS IN GLOBAL ROOT 0;3 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>9)!(X<0)!(X?.E1"."1N.N) X
  • LAST EDITED:  AUG 04, 1997
  • HELP-PROMPT:  Type a Number between 0 and 9, 0 Decimal Digits
  • DESCRIPTION:  This property contains the number of subscripts in the global root for
    the file associated with this query object definition.
    Examples:
    Global Root Level
    ----------- -----
    ^SCE 0
    ^SCPT(404.42) 1
    This property is needed by some methods when the intrinic $QSUBCRIPT
    function is executed.
.04 $STORAGE LIMIT 0;4 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>300000)!(X<5000)!(X?.E1"."1N.N) X
  • LAST EDITED:  SEP 25, 1997
  • HELP-PROMPT:  Type a Number between 5000 and 300000, 0 Decimal Digits
  • DESCRIPTION:  This property indicates the trigger value of $STORAGE that causes
    the query object data to be stored in ^TMP global instead of a local array.
    (The local variable is the default.)
    If the $STORAGE is less than the Property value then store in global.
    Examples:
    $Storage Value Property Value Query Stored in...
    ============== ============== ==================
    30000 10000 local
    5000 10000 global
  • TECHNICAL DESCR:  
    See DESCRIPTION field.
.07 OK TO TRANSPORT? 0;7 SET
  • '0' FOR NOT OK;
  • '1' FOR OK;

  • LAST EDITED:  JUL 21, 1997
  • DESCRIPTION:  This field indicates to the transport utility if this
    query template should be distributed.
101 OPEN METHOD OPEN;E1,245 MUMPS

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  JUL 21, 1997
  • HELP-PROMPT:  This is Standard MUMPS code.
  • DESCRIPTION:  This property contains any query specific open logic that the
    custodial pacakge needs performed. This logic is executed
    after the generic open logic is performed.
    WRITE AUTHORITY: @
102 CLOSE METHOD CLOSE;E1,245 MUMPS

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  JUL 21, 1997
  • HELP-PROMPT:  This is Standard MUMPS code.
  • DESCRIPTION:  This property contains any query specific close logic that the
    custodial pacakge needs performed. This logic is executed
    before the generic close logic is performed.
    WRITE AUTHORITY: @
103 SCAN METHOD SCAN;E1,245 MUMPS
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  JUL 24, 1997
  • HELP-PROMPT:  This is Standard MUMPS code.
  • DESCRIPTION:  This property contains query object specific logic that the custodial
    package must specify that allows the use of the Scan method by
    developers.
    This scan logic typically hard codes references to supported indexes.
    There is a significant performance reasons for the custidial packages
    to develop this logic. The Next/Eof scanning approach is much slower then
    using Scan/Scan Callback approach.
    For more information, see API definitions for the following:
    Scan
    Scan Callback
    Next
    EOF
    Prior
    BOF
    WRITE AUTHORITY: @
104 ZERO NODE METHOD ZERO;E1,245 MUMPS

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  JUL 30, 1997
  • HELP-PROMPT:  This is Standard MUMPS code.
  • DESCRIPTION:  This property contains any query specific logic that the
    custodial pacakge needs performed to screen out unsupported
    fields on the zero node.
    Various methods of the query object need to make available to
    developers the zero node of an entry. For example, during the execution
    of the filters and scan callbacks, the zero node is made available
    to developers in the variable Y0.
    If the custodial package does not support all fields on the zero
    node, then logic similar to the following needs to be specified
    in this property:
    S Y0=$$Y0^XXUTL(Y)
    ...where Y is the internal entry number
    WRITE AUTHORITY: @
200 SUPPORTED INDEXES INDEX;0 Multiple #409.641 409.641

  • DESCRIPTION:  This multiple contains index definitions that are supported
    by the custodial package when the developer uses this query object
    definition.

Found Entries, Total: 1

NAME: SD STANDARD ENCOUNTER QUERY    

External References

Name Field # of Occurrence
^DIM 101+1, 102+1, 103+1, 104+1
$$OE0^SDOEQ 104(IEN:1)
SCAN^SDOEQ 103(IEN:1)

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SD(409.64 - [#409.64] .01(XREF 1S), .01(XREF 1K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DA .01(XREF 1S), .01(XREF 1K)
>> SDERR 103(IEN:1)
>> SDIR 103(IEN:1)
>> SDQ 103(IEN:1)
X .01+1!, .01(XREF 1S), .01(XREF 1K), .03+1!, .04+1!, 101+1!, 102+1!, 103+1!, 104+1!
>> Y 104(IEN:1)
>> Y0 104(IEN:1)
Info |  Desc |  Directly Accessed By Routines |  Pointer To FileMan Files |  Fields |  Found Entries |  External References |  Global Variables Directly Accessed |  Local Variables  | All