Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Details
Print Page as PDF
Sub-Field: 776.2051

Package: Health Level Seven

HL7 MONITOR MASTER JOB(#776.2)-->776.2051

Sub-Field: 776.2051


Information

Parent File Name Number Package
HL7 MONITOR MASTER JOB(#776.2) EVENTS CHECKED 776.2051 Health Level Seven

Details

Field # Name Loc Type Details
.01 EVENT MONITOR IEN (Free-Text) 0;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>12!($L(X)<1) X
  • LAST EDITED:  MAY 23, 2003
  • HELP-PROMPT:  Answer must be 1-12 characters in length.
  • DESCRIPTION:  This field holds the internal entry number of the monitor entry in the HL Event Monitor file (#776.1).
    NOTE: This is a free-text field, and not a pointer field! This was done to ensure that monitors could be deleted without creating broken pointers.
  • CROSS-REFERENCE:  776.2051^B
    1)= S ^HLEV(776.2,DA(1),51,"B",$E(X,1,30),DA)=""
    2)= K ^HLEV(776.2,DA(1),51,"B",$E(X,1,30),DA)
2 ACTION 0;2 SET
  • 'E' FOR TOO EARLY;
  • 'I' FOR INACTIVE;
  • 'Q' FOR QD NEW JOB;
  • 'X' FOR ERROR;
  • 'R' FOR RUNNING;
  • 'M' FOR M CHK FAIL;

  • LAST EDITED:  AUG 07, 2003
  • DESCRIPTION:  When a monitor is checked, the master job either starts a background job for the monitor, or it doesn't. If it does, record is made of the fact in this field. If a monitor job is not started, the reason is also
    recorded in this field. (The Results field (#5) often holds additional information about the action taken by the master job for a specific monitor.)
3 CHECK/QUEUE TIME 0;3 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAY 21, 2003
  • DESCRIPTION:  
    This field holds the time the master job checked the monitor.
4 TASK NUMBER 0;4 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>99999999999999)!(X<1)!(X?.E1"."1N.N) X
  • LAST EDITED:  MAY 21, 2003
  • HELP-PROMPT:  Type a Number between 1 and 99999999999999, 0 Decimal Digits
  • DESCRIPTION:  
    This field holds the task number of the queued monitor job created by the master job.
5 RESULTS 0;5 SET
  • 'XE' FOR ERROR-OTHER;
  • 'XM' FOR ERROR-M CODE;
  • 'F' FOR FINISHED;
  • 'XL' FOR ERROR-LOCK;

  • LAST EDITED:  JUL 11, 2003
  • DESCRIPTION:  
    This field holds the additional information about the action taken by the master job for the specific monitor recorded in multiple entries.
6 RESULTS TIME 0;6 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAY 21, 2003
  • DESCRIPTION:  
    This field holds the time the RESULTS field is populated.
7 ERROR REASON 0;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • LAST EDITED:  MAY 21, 2003
  • HELP-PROMPT:  Answer must be 3-30 characters in length.
  • DESCRIPTION:  
    This field holds optional free-text data that further illuminates the actions taken by the master job.
8 EVENT JOB IEN (Free-Text) 0;8 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>12!($L(X)<1) X
  • LAST EDITED:  MAY 23, 2003
  • HELP-PROMPT:  Answer must be 1-12 characters in length.
  • DESCRIPTION:  This field holds the task number of the background job created by the master job for a specific monitor. When monitor jobs complete, their record is deleted by Taskman. For this reason, this field is a free-text field,
    avoiding broken pointers.
Info |  Details