Files > HL LOGICAL LINK

name
HL LOGICAL LINK
number
870
location
^HLCS(870,
description
This file serves two purposes. It is a fileman-compatible transmission log. The Low Layer Protocols write and read directly from this file. (See routines HLCSDR1 and HLCSDR2) This file stores parameters that govern the behaviour of the Low Layer Protocols. Fields like: READ TIMEOUT, ACK TIMEOUT, LLP START BLOCK, and LLP END BLOCK, are fields that govern how long the finite state machine waits for data to come down the line (READ TIMEOUT), how long it waits for a lower level acknowledgement (ACK TIMEOUT), and which control characters define the beginning and end of a message (LLP START BLOCK and LLP END BLOCK). This file also stores information that drives the SYSTEMS LINK MONITOR display option. Fields like, IN QUEUE FRONT POINTER, IN QUEUE BACK POINTER are used to manage the data flow in the queues but they are also displayed on the SYSTEMS LINK MONITOR under the alias's MESSAGES PROCESSED and MESSAGES RECEIVED. Fields like STATE and DEVICE TYPE are also used to drive the SYSTEMS LINK MONITOR. These fields are updated by the lower layer protocols in order to give real-time feedback as to what is ocurring on a link. For example, when a message is received (see HLCSDR1) the state transitions from "IDLE" to "READING".
Fields
#NameLocationTypeDetailsIndexDescription
.01node(+)0;1FREE TEXTBThis is the name of the logical link that data will be communicated on. It is this name that will be displayed in the "NODE" column of the SYSTEMS LINK MONITOR display option. It is suggested that this name be the same name as the commercial application e.g. KURZWEIL1,KURZWEIL2,COPATH, or SUNQUEST1.
.02institution0;2POINTER4CIt may be necessary for an application to determine the appropriate link to use when the only information it has is the institution. This field is used to associate a link with that institution. There is a 1:1 correspondence between institution and logical link. An institution cannot be associated with more than one logical link.
.03mailman domain0;7POINTER4.2DEither this field or the OTHER DOMAIN field should have a value. The domain is used to formulate the RECEIVING FACILITY field of the message header.
.08dns domain0;8FREE TEXTThe domain name as registered with DNS.
1description3;0WORD-PROCESSINGThis field contains a brief explanation of this link.
2llp type(+)0;3POINTER869.1ALLPEnter the type of Lower Level Protocol for this logical link. Selection of TCP implies that the MLLP protocol will be used. Each of the supported LLP's are described in detail in Appendix C of the HL7 Implementation Guide.
3device type0;4SET OF CODESPC:Persistent Client
NC:Non-Persistent Client
SS:Single-threaded Server
MS:Multi-threaded Server
SH:Serial HLLP
SX:Serial X3.28
MM:MailMan
This field is not editable from any user option. It is used purely for display purposes in the DEVICE TYPE column of the SYSTEMS LINK MONITOR display option.
4state0;5FREE TEXTThis field is not editable from any user option. It is used purely for display purposes in the STATE column of the SYSTEMS LINK MONITOR display option.
4.5autostart0;6SET OF CODES0:Disabled
1:Enabled
This field permits the link to be restarted by Taskman after a system reboot. If disabled, the link will not be restarted.
4.9stop processing in-queue0;9BOOLEAN0:NO
1:YES
Setting this field to 'Y' prevents the incoming filer from processing the incoming messages queued in this link.
5in queue front pointerIN QUEUE FRONT POINTER;1NUMERICThe queue structure relies on two queues, INcoming and OUTgoing. This pointer is used to point to the first message in the FIFO queue.
6in queue back pointerIN QUEUE BACK POINTER;1NUMERICThe queue structure relies on two queues-INcoming and OUTgoing. This pointer points to the last message in the FIFO queue.
7out queue front pointerOUT QUEUE FRONT POINTER;1NUMERICThe queue structure relies on two queues-INcoming and OUTgoing. This pointer points to the first message in the FIFO queue.
8out queue back pointerOUT QUEUE BACK POINTER;1NUMERICThe queue structure relies on two queues, INcoming and OUTgoing. This pointer points to the last message in the FIFO queue.
9time started0;10DATE-TIMEThis field contains the Date/Time the Lower Layer Protocol was last launched for the Logical Link. Only applicable to Lower Layer Protocols, not Mailman.
10time stopped0;11DATE-TIMEThis field contains the Date/Time the Lower Layer Protocol was last shutdown for the Logical Link. Only applicable to Lower Layer Protocols, not Mailman.
11task number0;12NUMERICThis is the task number assigned by TaskMan when the Lower Layer Protocol is launched in the background.
14shutdown llp ?0;15BOOLEAN0:NO
1:YES
This field is editable through the STOP HYBRID LLP option. When the Lower Layer Protocol is running, and this field is set to 'Y' the Lower Layer Protocol will shutdown and close the device.
16shutdown outgoing hlo messages0;16BOOLEAN0:NO
1:YES
This field affects only HLO messages.
18gross communications error0;19POINTER771.7This field contains the most recent gross communications error. It serves a two purposes. It is a flag for the SYSTEMS LINK MONITOR. In other words, if this field is defined it means a communications error has occured on the link. This is indicated by the NODE field flashing on the SYSTEMS LINK MONITOR. The error can be viewed by using the SHOW COMMUNICATION ERROR option. The error can be cleared by using the CLEAR COMMUNICATION ERROR option. If set, an error occurred while transmitting (timeout for example). This field can be viewed using the 'Show Gross LLP Error' and cleared using the 'Clear Gross LLP Error' options.
19in queue1;0MULTIPLE870.019This multiple contains the queue for incoming messages.
20out queue2;0MULTIPLE870.01This multiple contains the queue for outgoing messages.
21queue size0;21NUMERICThis is the steady-state size of the queue. The queue may dynamically grow beyond this size, under certain conditions. See Users Manual, for more information.
22retention time queued stub rcd0;22NUMERICThe field represents the time in minutes for how long a stub record must remain as such before that record is changed to a unused status. The default time is 10 minutes. This field is compared to DATE/TIME STUB RCD FOUND. If the time elapsed since the DATE/TIME STUB RCD FOUND is greater than the number of minutes found in this field, then the STATUS (870.019,1) is changed to unused if it is an incoming message. If it is an outgoing message then the STATUS (870.01,1) is changed to unused.
23single threaded0;23BOOLEAN1:YES
0:NO
HLO provides the ability to setup multiple queues of outgoing messages to be transmitted over the same HL LOGICAL LINK. However, if the remote server is single threaded, trying to open multiple connections over TCP/IP may cause problems. Therefore, if the HL LOGICAL LINK is setup to communicate with a single threaded server, this field should be set to YES. Currently, only HLO messaging honors this field. The older HL7 1.6 VistA messaging software does not support multiple outgoing queues to be transmitted over the same HL LOGICAL LINK.
24do not ping0;24BOOLEAN0:NO
1:YES
This field, if set to YES, will prevent the link from being PINGED.
100.01mail group100;1POINTER3.8If you are building a logical link that will use Mailman as a transport, you must define a mail group that contains the remote member, S.HL V16 SERVER@your target domain The HL7 package will place outbound messages in file 870's outque. The link must be running for messages to be handed off to Mailman. Inbound messages that are received by the server option are placed directly in file 772.
200.01hllp device200;1POINTER3.5This is an entry in the Device file (#3.5). It is opened when this logical link is started up and remains open until the link is shut down. Normally, Vista will initiate and the connection with this serial device.
200.02re-transmission attempts200;2NUMERICEnter the number of times to re-try sending a message. The default is 5 tries if this field is left blank. If a single message exceeds this value an Alert is sent to the HL7 mail group and the link is shutdown.
200.021exceed re-transmit action200;10SET OF CODESI:ignore
R:restart
S:shutdown
This field determines what to do when a message exceeds the number of retry attempts for this Logical Link. Actions are: Ignore = send alert once and keep trying to resend Restart = send alert once and shutdown link then start link Shutdown = send alert once and shutdown link
200.022close before re-transmission200;11BOOLEAN1:YES
Re-transmitting a message over the same open connection may cause a synchronization problem for some applications. Setting this field to YES will cause the TCP connection to always be closed after a READ timeout or other communication failure. Instead, a new connection will be opened before attempting to re-transmit the message.
200.03block size200;3NUMERIC
200.04read timeout200;4NUMERICEnter the number of seconds the Lower Layer Protocol remains in a read state for data to come in on the link. The default is 10 seconds if this field is left blank.
200.05ack timeout200;5NUMERICThe number of seconds the Lower Layer Protocol waits for an acknowledgement from the receiving application. The default is 60. If this field is less than the READ TIMEOUT field, the READ TIMEOUT value will be used.
200.06llp start block200;6NUMERICEnter the numeric value of the control character used by the HLLP communications protocol as a START BLOCK CHARACTER. While this character is negotiable, the HL7 implementation guide recommends the use of the 'VT' character. If this field is left blank, the default value of 11 will be used.
200.07llp end block200;7NUMERICEnter the numeric value of the control character defined in the HLLP specification as the END BLOCK CHARACTER. The recommended value is 28. If this field is left blank, the default value will be 28 for the 'FS' character.
200.08protocol id version200;8SET OF CODES21:2.1
22:2.2
23:2.3
The latest specification for the HLLP communications protocol is identified by a version number, which may be different from the HL7 standard itself.
200.09uni-directional wait200;9NUMERICThe number of seconds the Lower Layer Protocol waits after sending a messages. This is only used if the message doesn't want an acknowledgment.
300.01x3.28 device300;1POINTER3.5X3.28 is a serial protocol like HLLP. It requires the remote system be configured as a device (bi-directional) in the Device and terminal type files. The Vista system will normally open and maintain the connection. See the HL7 Implementation Guide for details of this protocol.
300.02maximum message size300;2NUMERICSee the HL7 Implementation Guide for details of the x3.28 protcol.
300.03maximum block size300;3NUMERICSee the HL7 Implementation Guide for details of the x3.28 protcol.
300.04timer a300;4NUMERICEnter the time in seconds for the Response Timer. The default is 6 seconds if no time is entered.
300.05timer b300;5NUMERICEnter the time in seconds for the Receive Timer. The default is 3 seconds if no time is entered.
300.06timer d300;6NUMERICEnter the time for the Inter-Block timer. The default is 30 seconds if no time is specified.
300.07timer e300;7NUMERICEnter the time for the Line Check Timer. The default is 180 seconds is no time is specified.
400.01tcp/ip address400;1FREE TEXTEnter the IP address of the remote site using the syntax, nn.nn.nn.nn (IPV4) or hhhh:hhhh:hhhh:hhhh:hhhh:hhhh:hhhh:hhhh (IPV6)
400.02tcp/ip port400;2NUMERICThis is the port over which the HL7 service will create a socket for message exchange. In VA, this port will be 5000 between production systems.
400.03tcp/ip service type400;3SET OF CODESC:CLIENT (SENDER)
S:SINGLE LISTENER
M:MULTI LISTENER
EThis field determines if the Logical Link is the client (sender) or a listener (server) of a message. Choose from: CLIENT (SENDER): Indicates that this Logical Link connects to a target system, with the current system acting as the sender. SINGLE LISTENER: Designates that the current system is a server (listener), using a single M process to do the listening. MULTI LISTENER: Designates that the current system is a server (listener), creating multiple background processes.
400.04persistent400;4BOOLEANY:YES
N:NO
Enter 'YES' if this connection needs to remain open even if there are no messages to send. The connection will remain open until it is disconnected by either side via shutting-down the logical link. A setting of 'YES' is appropriate for connecting to a COTS device with a high volume of messages.
400.05retention400;5NUMERICRetention is the maximum time in seconds in which a non-persistent LLP will wait after the associated queue has been emptied. If further messages arrive in the queue before the retention time has expired, the LLP will continue to dequeue and send messages. Otherwise, the LLP will become inactive and will remain inactive until further messages are queued.
400.06startup node400;6POINTER14.7This field is ONLY for VMS sites running Dual Taskman in DCL. This field is used to specify what Taskman node you want to job the Lower Level Protocol. It should only be used if you have two Taskmans running and only want the LLP to run on a particular node. It will only work if you are running the dual Taskmans in DCL context on a VMS system.
400.07say helo400;7BOOLEANY:YES
N:NO
This field is applicable only to Cache/NT sites with TCP links. If you are not a Cache/NT site, or this is not a TCP link, this field does not apply, AND will be ignored. If this TCP link is for a VA site, answer YES. If this TCP link is for a COTS system, answer NO. This is the default.
400.08tcp/ip port (optimized)400;8NUMERICThe new HL7 'optimized' server will operate concurrently with the old HL7 1.6 server. To enable that, the two servers are assigned different ports to listen on. The default port for the old HL7 server is 5000, whereas the new optimized HL7 server uses port 5001.
400.09tcp/ip openfail timeout400;9NUMERICEnter the number of seconds for the TCP/IP Openfail Timeout. The default is 30 seconds if this field is left blank.

Referenced by 7 types

  1. OUTPATIENT SITE (59) -- logical link
  2. PROTOCOL (101) -- logical link
  3. CP INSTRUMENT (702.09) -- hl7 logical link
  4. HL7 MESSAGE TEXT (772) -- logical link
  5. HL7 MESSAGE ADMINISTRATION (773) -- logical link, logical link - in queue
  6. HLO SYSTEM PARAMETERS (779.1) -- hlo standard listener
  7. HLO APPLICATION REGISTRY (779.2) -- application specific listener