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 |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  ICR |  Found Entries |  All
Print Page as PDF
Global: ^HLB

Package: Health Level Seven

Global: ^HLB


Information

FileMan FileNo FileMan Filename Package
778 HLO MESSAGES Health Level Seven

Description

Directly Accessed By Routines, Total: 46

Package Total Routines
Health Level Seven 17 HLOAPI3    HLOCLNT    HLOCLNT1    HLOCLNT2    HLOCLNT3    HLOF778    HLOF778A    HLOFILER
HLOMSG    HLOMSG1    HLOPRS    HLOPURGE    HLOSITE    HLOSRVR    HLOSRVR1    HLOSRVR2
HLOUSR3    
Patient Registration MPI 11 AGMP72P3    AGMPHL01    AGMPHL03    AGMPHLU    AGMPHLU1    AGMPHLU2    AGMPHLVQ    AGMPIACK
AGMPIBGP    AGMPIHLO    AGMPPURG    
Electronic Dental Record 6 BADE10P3    BADEASU    BADECTRL    BADEHL1    BADEMRG1    BADEPROV    
Patient Care Component Reports 3 APCLSIHL    APCLSMU    APCLSMU2    
Ensemble Suite 2 BEEIASUF    BEEICTRL    
IHS Changes To Pharmacy 2 APSPES1    APSPES4    
Patient Care Component Surveillance 2 APCSHLO    APCSHLOC    
iCare 2 BQICAHLO    BQINIGH2    

Accessed By FileMan Db Calls, Total: 5

Package Total Routines
Patient Care Component Reports 2 APCLSIHL    APCLSMU2    
Patient Registration MPI 2 AGMPHLU    AGMPPURG    
IHS Changes To Pharmacy 1 APSPES2    

Pointer To FileMan Files, Total: 1

Package Total FileMan Files
Health Level Seven 1 HLO MESSAGE BODY(#777)[.02]    

Fields, Total: 27

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

  • INPUT TRANSFORM:  K:$L(X)>20!($L(X)<3) X
  • LAST EDITED:  MAY 04, 2005
  • HELP-PROMPT:  Answer must be 3-20 characters in length
  • CROSS-REFERENCE:  778^B
    1)= S ^HLB("B",$E(X,1,30),DA)=""
    2)= K ^HLB("B",$E(X,1,30),DA)
  • CROSS-REFERENCE:  778^AC^MUMPS
    1)= Q
    2)= Q
    This x-ref is maintained by the HL7 package.  It is used to detect if an incoming message is a duplicate.  The format is: ^HLB("AC"sending facility>__,ien)=0
.02 MESSAGE BODY 0;2 POINTER TO HLO MESSAGE BODY FILE (#777)
************************REQUIRED FIELD************************
HLO MESSAGE BODY(#777)

  • LAST EDITED:  MAR 17, 2005
  • HELP-PROMPT:  Which record in file #777 contains the body of the message?
  • CROSS-REFERENCE:  778^C^MUMPS
    1)= S ^HLB("C",X,DA)=""
    2)= K ^HLB("C",X,DA)
    Used to find all the messages that point to the same entry in file 777. Only set for outgoing messages.
.03 APPLICATION ACKNOWLEDGMENT TO 0;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • LAST EDITED:  MAR 17, 2005
  • HELP-PROMPT:  Enter the Message Control ID of the message to which this one is an acknowledgment.
  • DESCRIPTION:  
    This is the Message Control ID of the original message to which this message is an application acknowledgment.
.04 DIRECTION 0;4 SET
************************REQUIRED FIELD************************
  • 'I' FOR INCOMING;
  • 'O' FOR OUTGOING;

  • LAST EDITED:  NOV 16, 2004
  • HELP-PROMPT:  Is the message INCOMING or OUTGOING?
.05 LINK 0;5 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<3) X
  • LAST EDITED:  NOV 16, 2004
  • HELP-PROMPT:  Enter the name of the logical link over which the message is being transmitted.
.06 QUEUE 0;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>20!($L(X)<3) X
  • LAST EDITED:  JUL 29, 2004
  • HELP-PROMPT:  Is the queue on which this message was placed.
.07 APPLICATION ACKNOWLEDGMENT BY 0;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • LAST EDITED:  SEP 30, 2004
  • HELP-PROMPT:  If this message has received an application response then enter the responses Message Control ID.
.08 REMOTE PORT 0;8 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>65535)!(X<1)!(X?.E1"."1.N) X
  • LAST EDITED:  MAY 04, 2005
  • HELP-PROMPT:  Enter the remote port indicated in the Facility field of the message header.
  • DESCRIPTION:  This is the remote port # that may be found in the message header. For outgoing messages, it is in the Receiving Facility field, for incoming messages it is in tthe Sending Facility. For application acknowledgments, the
    port provided in the original message is used to return the acknowledgment.
.09 SCHEDULED PURGE DATE/TIME 0;9 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  AUG 19, 2004
  • HELP-PROMPT:  When can this message be purged?
  • CROSS-REFERENCE:  778^AD^MUMPS
    1)= Q
    2)= Q
    3)= DO NOT DELETE!
    This cross-reference will be used to control the purging process.  It will be maintained within the HL7 package and will not be set via Fileman.  The format is: ^HLB("AD",<"IN" or "OUT">,
    ,
    ien>)="
.1 APPLICATION ACK RSPNS TAG 0;10 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
  • LAST EDITED:  JUL 27, 2004
  • HELP-PROMPT:  Answer must be 1-8 characters in length.
  • DESCRIPTION:  The sending application routine to execute when the application ack is received.
    This is part one of a two-part field which is the entry point.  The second part names the routine.
.11 APPLICATION ACK RSPNS RTN 0;11 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
  • LAST EDITED:  JUL 27, 2004
  • HELP-PROMPT:  Answer must be 1-8 characters in length.
  • DESCRIPTION:  Answer must be 1-8 characters in length. The sending application routine to execute when the application ack is received.
    This is part two of a two-part field which is the routine name.  The first part names the entry point.
.12 ACCEPT ACK RSPNS TAG 0;12 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
  • LAST EDITED:  NOV 16, 2004
  • HELP-PROMPT:  Answer must be 1-8 characters in length.
  • DESCRIPTION:  The sending application's routine to execute when the transmission of the message fails, i.e., the message cannot be sent or no acceptack is received.
    This is part one of a two-part field, naming the entry point of the routine to be called.  The second part names the routine.
.13 ACCEPT ACK RESPNS RTN 0;13 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
  • LAST EDITED:  NOV 16, 2004
  • HELP-PROMPT:  Answer must be 1-8 characters in length.
  • DESCRIPTION:  The sending application routine to execute whe the commit ack is received.
    This is part two of a two-part field, consisting of the routine name. The first part names the entry point with the M routine.
.14 TRANSMISSION FAILURE RSPNS TAG 0;14 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
  • LAST EDITED:  JUL 27, 2004
  • HELP-PROMPT:  Answer must be 1-8 characters in length.
  • DESCRIPTION:  The sending application's routine to execute when the transmission of the message fails, i.e., the message can not be sent or no commit ack is received.
    This is part one of a two-part field which is the entry point.  The second part names the routine.
.15 TRANSMISSION FAILURE RSPNS RTN 0;15 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
  • LAST EDITED:  JUL 27, 2004
  • HELP-PROMPT:  Answer must be 1-8 characters in length.
  • DESCRIPTION:  The sending application's routine to execute when the transmission of the message fails, i.e., the message can not be sent or no commit ack is received.
    This is part two of a two-part field which is the routine's name.  The first part names the entry point.
.16 TRANSMISSION DATE/TIME 0;16 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JUL 28, 2004
  • DESCRIPTION:  
    This is the date and time that the message was either received or sent.
.17 ACCEPT ACK'D 0;17 SET
  • '1' FOR YES;

  • LAST EDITED:  AUG 23, 2004
  • HELP-PROMPT:  Enter 1 if an accept ack was sent or received.
.18 APPLICATION ACK'D 0;18 SET
  • '1' FOR YES;

  • LAST EDITED:  NOV 16, 2004
  • DESCRIPTION:  
    For incoming messages, this flag indicates that an application ack was returned.  For outgoing messages, this field indicates that the application ack was sent.
.19 APPLICATION HANDOFF 0;19 SET
  • '1' FOR YES;

  • LAST EDITED:  JUL 28, 2004
  • DESCRIPTION:  This flag indicates that this message was handed to the application. That may be for initial processing, or it may be in response to one of the other conditions that an application may register its need to respond, such
    as a failure of the remote system to accept the message.
.2 COMPLETION STATUS 0;20 SET
  • 'SU' FOR SUCCESSFUL;
  • 'TF' FOR TRANSMISSION FAILURE;
  • 'SE' FOR RECEIVING SYSTEM DETERMINED ERROR;
  • 'AE' FOR RECEIVING APPLICATION DETERMINED ERROR;

  • LAST EDITED:  AUG 20, 2004
  • HELP-PROMPT:  Enter the code that indicates the final status of the message.
  • DESCRIPTION:  
    This field indicates the final status of the message.  Any code but SU (SUCCESSFUL) indicates that an error occurred.  No value indicates that the message has not completed.
.21 ERROR TEXT 0;21 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
  • LAST EDITED:  SEP 28, 2004
  • HELP-PROMPT:  Answer must be 1-30 characters in length.
  • DESCRIPTION:  
    The HL7 package may use this field to document errors that prevent transmission.  Errors determined by the remote system are contained in the MSA segment of the response message.
1 HDR SEGMENT,COMPONENTS 1-6 1;E1,250 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>250!($L(X)<8) X
  • LAST EDITED:  JUL 29, 2004
  • HELP-PROMPT:  The first 6 components of the message header segment.
2 HDR SEGMENT,COMPONENTS 7-END 2;E1,250 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>250!($L(X)<15) X
  • LAST EDITED:  NOV 16, 2004
  • HELP-PROMPT:  Enter the header segment begining with component 7
3 MSH SEGMENTS FOR BATCH 3;0 Multiple #778.03 778.03
4.01 DATE/TIME OF ACCEPT ACK 4;1 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  SEP 28, 2004
  • HELP-PROMPT:  Enter the date and time of the ack.
  • DESCRIPTION:  
    This field will be used to record the accept ack.
4.02 ACCEPT ACK MESSAGE ID 4;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
  • LAST EDITED:  SEP 28, 2004
  • HELP-PROMPT:  Answer must be 1-30 characters in length.
4.03 ACCEPT ACK MSA SEGMENT 4;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>210!($L(X)<3) X
  • LAST EDITED:  SEP 28, 2004
  • HELP-PROMPT:  Answer must be 3-210 characters in length.

ICR, Total: 1

ICR LINK Subscribing Package(s) Fields Referenced Description
ICR #5206
  • Master Patient Index VistA
  • DIRECTION (.04).
    Access: Direct Global Read & w/Fileman

    APPLICATION ACKNOWLEDGMENT BY (.07).
    Access: Direct Global Read & w/Fileman

    TRANSMISSION DATE/TIME (.16).
    Access: Direct Global Read & w/Fileman

    COMPLETION STATUS (.2).
    Access: Direct Global Read & w/Fileman

    MESSAGE ID (.01).
    Access: Direct Global Read & w/Fileman

    We are looking at the "B" cross-reference to get the IENfor ACK messages.
    Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  ICR |  Found Entries |  All