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 |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All
Print Page as PDF
Global: ^PXV(920.77

Package: PCE Patient Care Encounter

Global: ^PXV(920.77


Information

FileMan FileNo FileMan Filename Package
920.77 PX ICE MESSAGE PCE Patient Care Encounter

Description

Directly Accessed By Routines, Total: 3

Package Total Routines
PCE Patient Care Encounter 3 ^PXV(920.77    PXVWMSG    PXVWSOAP    

Pointed To By FileMan Files, Total: 1

Package Total FileMan Files
PCE Patient Care Encounter 1 PX ICE MESSAGE(#920.77)[.02]    

Pointer To FileMan Files, Total: 1

Package Total FileMan Files
PCE Patient Care Encounter 1 PX ICE MESSAGE(#920.77)[.02]    

Fields, Total: 8

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

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1)!'(X'?1P.E) X
  • LAST EDITED:  SEP 09, 2016
  • HELP-PROMPT:  Answer must be 1-30 characters in length.
  • DESCRIPTION:  This represents a template element. When adding an element to the message, the element's components will be added to the message in the following order: 1) pre-content; 2) content; 3) children of this element
    (recursively); 4) post-content.
  • CROSS-REFERENCE:  920.77^B
    1)= S ^PXV(920.77,"B",$E(X,1,30),DA)=""
    2)= K ^PXV(920.77,"B",$E(X,1,30),DA)
.02 PARENT ELEMENT 0;2 POINTER TO PX ICE MESSAGE FILE (#920.77) PX ICE MESSAGE(#920.77)

  • LAST EDITED:  SEP 09, 2016
  • HELP-PROMPT:  Enter this element's parent.
  • DESCRIPTION:  
    This is the parent element of this element. If this is a root element, this should be null.
  • RECORD INDEXES:  ACHILD (#1666)
.03 SORT ORDER 0;3 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<0)!(X?.E1"."3.N) X
  • LAST EDITED:  SEP 09, 2016
  • HELP-PROMPT:  Type a number between 0 and 999, 2 decimal digits.
  • DESCRIPTION:  
    If there are multiple sibling elements, this defines the order they will be added to the message.
  • RECORD INDEXES:  ACHILD (#1666)
.04 MODIFIER 0;4 SET
  • 'O' FOR OPTIONAL;
  • 'M' FOR MULTIPLE;
  • 'A' FOR ABSTRACT;

  • LAST EDITED:  SEP 09, 2016
  • HELP-PROMPT:  Enter the modifier for this element.
  • DESCRIPTION:  This controls how this element behaves.
    ABSTRACT - Used for inheritance. If multiple sibling elements have the same content, but have different build logic, then an abstract element can be used, so that the content does not need to be repeated for each element.
    An abstract element should be created as the parent of the sibling elements, and the direct children of the abstract element will inherit the pre-content, content, and post-content (unless they override it). The abstract
    element itself won't be added to the message; only the children will be added.
    MULTIPLE - Used when an element should be repeated. The M code in Build Logic (field #1) should return a multi-dimensional PXVARS() array, in the format PXVARS(n,field)=value, and for each entry n, this element will be
    added to the message again. The first subscript, n, should be a positive integer, and the second subscript, field, should be the field values used to process the word-processing windows for this element (see Build Logic
    description). If the Build Logic does not define the PXVARS() array (or PXSKIP is true), this element will be skipped entirely.
    Optional - Used when an element is optional. This element will only be added to the message if one of its descendants is added to the message.
1 BUILD LOGIC 1;E1,245 MUMPS

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  SEP 09, 2016
  • HELP-PROMPT:  Enter Standard MUMPS code
  • DESCRIPTION:  This is standard M[UMPS] code that is executed. If there are word-processing windows defined in the pre-content, content, or post-content, the Build Logic M code should set the PXVARS() array with the values needed. For
    example, if |AGE| is defined in the content, then the build logic should define PXVARS("AGE")=X, and when adding this element to the message, |AGE| will be replaced with X.
    1. The variable DFN will be defined before executing the Build Logic, and
    the M code in the build logic can make use of it.
    2. If this element should be skipped, the Build Logic should set the
    variable PXSKIP to boolean true and this element will not be added to
    the message.
    WRITE AUTHORITY: @
2 PRE-CONTENT 2;0 WORD-PROCESSING #920.772

  • DESCRIPTION:  This is the template text that will be added to the message before adding the content. It can contain word-processing windows (e.g., |AGE|) which will be replaced with the values from the PXVARS() array (defined by the
    Build Logic).
    Example:
    Pre-Content:
    Array value: PXVARS("SEX")="F"
    Text added to message:
  • LAST EDITED:  AUG 01, 2016
3 CONTENT 3;0 WORD-PROCESSING #920.773

  • DESCRIPTION:  This is the template text that will be added to the message before adding the descendant elements. It can contain word-processing windows (e.g., |AGE|) which will be replaced with the values from the PXVARS() array
    (defined by the Build Logic).
    Example:
    Content:
    Array value: PXVARS("SEX")="F"
    Text added to message:
  • LAST EDITED:  AUG 01, 2016
4 POST-CONTENT 4;0 WORD-PROCESSING #920.774

  • DESCRIPTION:  This is the template text that will be added to the message after adding the descendant elements. It can contain word-processing windows (e.g., |AGE|) which will be replaced with the values from the PXVARS() array (defined
    by the Build Logic).
    Example:
    Post-Content:
    Array value: PXVARS("SEX")="F"
    Text added to message:
  • LAST EDITED:  AUG 01, 2016

External References

Name Field # of Occurrence
^DIM 1+1
$$GETIMM^PXVWVMR 1(IEN:17)
$$GETREM^PXVWVMR 1(IEN:10), 1(IEN:11), 1(IEN:12), 1(IEN:13), 1(IEN:14), 1(IEN:15)
GETDEM^PXVWVMR 1(IEN:6)

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PXV(920.77 - [#920.77] IXACHILDSL+1*, IXACHILDKL+1!, IXACHILDKEIC+1!, .01(XREF 1S), .01(XREF 1K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DA IXACHILDSL+1, IXACHILDKL+1, .01(XREF 1S), .01(XREF 1K)
>> DFN 1(IEN:6), 1(IEN:10), 1(IEN:11), 1(IEN:12), 1(IEN:13), 1(IEN:14), 1(IEN:15), 1(IEN:17)
>> PXSKIP 1(IEN:10), 1(IEN:11), 1(IEN:12), 1(IEN:13), 1(IEN:14), 1(IEN:15), 1(IEN:17)
>> PXVARS 1(IEN:6), 1(IEN:10), 1(IEN:11), 1(IEN:12), 1(IEN:13), 1(IEN:14), 1(IEN:15), 1(IEN:17)
X IXACHILDP3CC+1*, .01+1!, .01(XREF 1S), .01(XREF 1K), .03+1!, 1+1!
X(1 IXACHILDSL+1, IXACHILDKL+1
X(2 IXACHILDP3CC+1
X(3 IXACHILDSL+1, IXACHILDKL+1
Info |  Desc |  Directly Accessed By Routines |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All