Top Banner
Connection sheet SHEET # CONNECTION NAME REV # VERSION 10 HL7: Reception of patient demographics 3 V03.11 This interface specification is confidential and is strictly reserved for communication with a Hospital Information System. An End User Agreement containing the text on the final page of the present document must be agreed by the Customer (End User). This interface specification is for the exclusive use of sites covered by an End User Agreement. Use of this interface specification implies full acceptance of the terms and conditions of the End User Agreement included hereafter. Table of contents Technical pre-requisites ...................................3 References..................................................3 Program identification......................................3 Presentation............................................... 4 Communication diagram.......................................4 Communication layers: TCP / IP socket......................5 Transmission Diagram........................................5 Data Block Structure........................................6 Information exchange description............................8 Installation procedure.....................................9 Implementation............................................. 9 Defining the communication in the Device dictionary.........9 Starting the Connection service............................14 Defining "Labconf" parameters..............................14 Relevant HL7 messages, segment types and fields ...........15 ADT processed messages (Event fields).....................15 Supported segment types....................................22 Segment descriptions ......................................23 MSH - Message Header Segment...............................23 EVN - Event type segment...................................24 PID - Patient identifying segment..........................24 PV1 - Patient visit information............................29 GT1 - Guarantor segment....................................32 IN1 - Insurance segment....................................34 Examples of ADT messages..................................36 CNXR010 / 3 Reception of patient demographicsV03.11 Page 1/28 Confidential. This specification requires an end user agreement
28

HL7 ADT

Apr 16, 2015

Download

Documents

HL7 ADT
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: HL7 ADT

Connection sheet

SHEET # CONNECTION NAME REV # VERSION

10 HL7: Reception of patient demographics 3 V03.11

This interface specification is confidential and is strictly reserved for communication with a Hospital Information System. An End User Agreement containing the text on the final page of the present document must be agreed by the Customer (End User). This interface specification is for the exclusive use of sites covered by an End User Agreement. Use of this interface specification implies full acceptance of the terms and conditions of the End User Agreement included hereafter.

Table of contents

Technical pre-requisites.......................................................................................3

References............................................................................................................3Program identification...........................................................................................3

Presentation..........................................................................................................4Communication diagram.......................................................................................4

Communication layers: TCP / IP socket.............................................................5Transmission Diagram..........................................................................................5Data Block Structure.............................................................................................6Information exchange description..........................................................................8

Installation procedure..........................................................................................9

Implementation.....................................................................................................9Defining the communication in the Device dictionary.............................................9Starting the Connection service...........................................................................14Defining "Labconf" parameters............................................................................14

Relevant HL7 messages, segment types and fields........................................15ADT processed messages (Event fields)............................................................15Supported segment types...................................................................................22

Segment descriptions........................................................................................23MSH - Message Header Segment.......................................................................23EVN - Event type segment..................................................................................24PID - Patient identifying segment........................................................................24PV1 - Patient visit information.............................................................................29GT1 - Guarantor segment...................................................................................32IN1 - Insurance segment.....................................................................................34

Examples of ADT messages.................................................................................36

CNXR010 / 3 Reception of patient demographics V03.11 Page 1/21Confidential. This specification requires an end user agreement

Page 2: HL7 ADT

Connection sheet

Technical pre-requisites

The communication must be set up on a computer connected to the network 24 hours/day, 7 days/week and on which the connection service is installed.

The computer must be installed with at least Windows 2000 or XP and must conform to the recommendations specified in the Description of system components document, available on our website (www.technidata-web.com).

References

Reference number of HL7 standard (High Level Protocol): High Level protocol HL7 2.4Chapter 3 Patient Administration

Date of this standard: November 2000

Reference number of HL7 standard(Low Level Protocol)

Low Level protocol HL7 2.3Appendix C Lower Layer Protocols

Date of this standard: June 1998

CNXR010 / 3 Reception of patient demographics V03.11 Page 2/21Confidential. This specification requires an end user agreement

Page 3: HL7 ADT

Connection sheet

Presentation

This document describes the rules for the reception of "Patient demographics" messages (ADT messages) transmitted from a HOST through HL7 for the high-level protocol and TCP/IP socket. This description is based on the principles given by the HL7 “Appendix C Lower Layer Protocols” chapter.The generic rules that apply to all messages and the specific messages to be exchanged among certain applications can be found in the HL7 documentation.

HL7protocol (Health Level Seven) intent is to provide standards relative to the structure of the information to be exchanged between multiple healthcare information systems, such as laboratories, radiology.

The referenced high-level protocol is the HL7 version 2.4 (Standard specification for transferring clinical observations between independent computer systems) and the aim of this document is to present the mechanisms of that protocol implemented for that transaction type.

Communication diagram

CNXR010 / 3 Reception of patient demographics V03.11 Page 3/21Confidential. This specification requires an end user agreement

Page 4: HL7 ADT

Connection sheet

Communication layers: TCP / IP socket

TCP/IP socket low-level protocol is the transport layer used for exchanging data through devices located on the same network. The purpose of this chapter is to describe the mechanisms for data exchange between a Patient Administration System and the Communication engine when TCP/IP socket is implemented as low-level protocol.

Transmission Diagram

After the connection between the client (P.A.S) and the server connection task, data is sent to the server by the client.

P.A.S (Client) Connection (Server)

Connection phase between the client and the server: Socket creation, establishment of the connection etc …(cf : Information exchange description)

<SB>tvv<CR>ddddcccccxxx<EB><CR> ¾¾¾>

Data block sent by the client with an HL7 ADT message embedded into it. After control of the correct data transfer (physical integrity), the HL7 message is parsed and managed. Depending on the result of these processings, an HL7 ACK message is sent with the error code in case of problem or without error code if all is correct.

Data block sent by the server with a HL7 ACK message embedded into it

<¾¾¾ <SB>tvv<CR>ddddcccccxxx<EB><CR>"dddd" contains the different HL7 messages composing the logical acknowledgement (MSH,MSA and ERR segments).

It is up to the client to close the connection upon reception of the Acknowledgement

Connection phase between the client and the server: Socket creation, establishment of the connection etc …(cf : Information exchange description)

<SB>tvv<CR>ddddcccccxxx<EB><CR> ¾¾¾> Data block sent by the client with an HL7 ADT message embedded into it. On the physical integrity control, a wrong block format has been detected. A special data block is sent (NAK block).

Data block sent by the server with a physical NAK message embedded into it (character 'C')

<¾¾¾ <SB>Nvv<CR>C000EBxxx<EB><CR>Negative physical acknowledgement sent by the connection if something is wrong on the physical transmission (wrong checksum, wrong count of characters)

It is up to the client to send the data block back or to simply discard it and to execute its own error handling routine

<SB>tvv<CR>ddddcccccxxx<EB><CR> ¾¾¾> Data block sent by the client with an HL7 ADT message embedded into it. After control of the correct data transfer (physical integrity), the HL7 message is parsed and managed. Depending on the result of these processings, an HL7 ACK message is sent with the error code in case of problem or without error code if all is correct.

Data block sent by the server with a HL7 ACK message embedded into it

<¾¾¾ <SB>tvv<CR>ddddcccccxxx<EB><CR>"dddd" contains the different HL7 messages composing the logical acknowledgement (MSH, MSA and ERR segments).

It is up to the client to close the connection upon reception of the Acknowledgement

CNXR010 / 3 Reception of patient demographics V03.11 Page 4/21Confidential. This specification requires an end user agreement

Page 5: HL7 ADT

Connection sheet

Data Block Structure

Depending upon the TCP-IP Lower Layer Protocol parameter in the Device Dictionary, 2 Data Block structures are possible. The Hybrid and the Minimal.

1. Hybrid HL7 Low Layer Protocol

There are two types of blocks: the data blocks and the NAK blocks.HL7 messages are transmitted in single data blocks.NAK blocks are used to signal physical transmission errors.

Both block types have the same format:<SB>tvv<CR>ddddcccccxxx<EB><CR>

Blocks consist of the following fields.

<SB> =Start Block character (1 byte).Configurable on a site specific basis. Unless there is a conflict, the value should be ASCII <VT>, i.e. <0x0B>. This should not be confused with the SOH or STX ASCII characters.

This character must equal the one configured as "Start of block character" in the Device dictionary.

t =Block Type (1 byte)."D" = Data block"N" = NAK block

vv =Protocol ID (2 bytes).Characters "2" "4" for this version.

<CR> =Carriage Return (1 byte).The ASCII carriage return character, i.e. <0x0D>.

dddd =Data (variable number of bytes).In a data block, it corresponds to the data content of the block. The data can contain any displayable ASCII characters and the carriage return character, <CR>. Carriage returns that are not part of the HL7 message may be inserted as described in "Carriage Return Stuffing."

In a NAK block, this field contains a 1-byte reason code as follows:'C' - character count wrong in previous data block received'X' - checksum wrong in previous data block received'B' - data too long for input buffer in previous block received'G' - Error not covered elsewhere.

ccccc =Block Size (5 bytes).Character count of all characters so far in the data block up to and including the last data character. For this protocol version, it corresponds to 5 + the size of the "dddd" field. Note: HL7 message ends with a <CR> character. This character is considered as part of the data.

CNXR010 / 3 Reception of patient demographics V03.11 Page 5/21Confidential. This specification requires an end user agreement

Page 6: HL7 ADT

Connection sheet

xxx =Checksum (3 bytes).Exclusive-OR checksum of all characters in the block up to and including the last data character. The checksum is expressed as a decimal number in three ASCII digits. If the value of this field is 999, the checksum should not be computed.Processing will proceed as if it were correct. This feature is used for applications where the messages will be translated from one character set to another during transmission.The "Checksum type" parameter in the Device dictionary must be set to "Checksum for HL7 low layer protocol".

<EB> =End Block character (1 byte).Configurable on a site specific basis. Unless there is a conflict, the value should be ASCII <FS>, i.e. <0x1C>. This should not be confused with the ETX or EOT ASCII characters.This character must equal the one configured as "End of block character" in the Device dictionary.

<CR> =Carriage Return (1 byte).The ASCII carriage return character, i.e., <0x0D>.

2. Minimal HL7 Low Layer Protocol

HL7 messages are enclosed by special characters to form a block. The format is as follows:

<SB>dddd<EB><CR>

<SB> = Start Block character (1 byte)ASCII <VT>, i.e., <0x0B>. This should not be confused with the ASCII characters SOH or STX.

This character must equal the one configured as "Start of block character" in the device dictionary.

dddd = Data (variable number of bytes)

This is the HL7 data content of the block. The data can contain any displayable ASCII characters and the carriage return character, <CR>.

<EB> = End Block character (1 byte)ASCII <FS>, i.e., <0x1C>. This should not be confused with the ASCII characters ETX or EOT.

<CR> = Carriage Return (1 byte)The ASCII carriage return character, i.e., <0x0D>.

This character must equal the one configured as "End of block character" in the device dictionary.

CNXR010 / 3 Reception of patient demographics V03.11 Page 6/21Confidential. This specification requires an end user agreement

Page 7: HL7 ADT

Connection sheet

Information exchange description

Data exchange between the Patient Administration System and Communication engine corresponds to data blocks being transmitted through a socket.

In order to enable data exchange, a socket (connection) must first be established. One part must be the server, the other part the client. The client will ask the server permission to connect to a specific port. The server on its side must be listening to this port.

The sequence order in which operations must be performed is:1. The server must be created and must be listening to a specific port. 2. The client will ask the server permission to connect to this port. If granted, a socket is established

between the client and the server. Data can be sent back and forth through the previously established socket.

The Communication engine will act as the server and the P.A.S. as the client.

Pre-requisites and sequence of operations (see also "Example of definition for TCP/IP socket" paragraph later in the document)

In order for the TCP/IP socket low-level protocol to work properly, several parameters must be set:1. The machine onto which the server will be created must be declared as the "recipient network address"

(it can be the network name or the dotted address).2. The port the server will be listening to is declared as the "listening port".3. The transmission mode is set to "Mono client server transmission mode".4. The connection (Communication engine) has to be started and is listening to the configured port.5. At this time one and only one simultaneous connection will be accepted by the server.

After being granted access to the server, the client can send its data blocks through the socket and read answers back from it.

6. When finished, the client disconnects.

Incident management on the socket

* If the server tries to accept a client connection while already having a client connected to it, the following error is generated : More than one connection has been opened on the server !

* If the server could not instantiate a client socket upon creation, the following error is generated:Invalid client socket retrieved !

* If the server cannot accept a client connection, the following error is generated:Couldn't accept connection !

* If any exception occurs while reading from the socket, the next error is generated:Couldn't receive data through socket !

CNXR010 / 3 Reception of patient demographics V03.11 Page 7/21Confidential. This specification requires an end user agreement

Page 8: HL7 ADT

Connection sheet

Relevant HL7 messages, segment types and fields

ADT processed messages (Event fields)

There are 62 different ADT messages on the HL7 V2.4 version. These 62 messages do not have the same segment structure and can be recognized through the Event field.

3 different actions (Action A, B and C) are performed depending on the Event field.

Action A: The events are managed by the communication, i.e. a task is created for each received ADT message

List of the managed events on the delivered communication:

NOTE All the events listed below are managed as an A08 event, that is, like an update of patient demographics (such as the name, firstname, etc.).

*A01: Admit/visit notification*A02: Transfer a patient *A03: Discharged / end visit *A04: Register a patient *A05: Pre-admit a patient *A06: Change an outpatient to an inpatient*A07: Change an inpatient to an outpatient *A08: Update patient information *A09: Patient departing-tracking *A10: Patient arriving-tracking *A12: Cancel transfer *A13: Cancel discharge/end visit *A14: Pending admit *A32: Cancel patient arriving -tracking*A33: Cancel patient departing -tracking *A54: Change attending doctor*A55: Cancel change attending doctor

If no problem occurs during the management of the message, a positive logical acknowledgement is sent to the Host and the created task is set to the "Completed" status.In the positive logical acknowledgement sent by the connection, the MSA-1 field "Acknowledgment code" is set to AA (application acknowledgement Accept) and the ERR-1 field, subfield 4, "Error code" is set to the no error code 0.

0 Message accepted Success. Optional, as the AA conveys success. Used for systems that must always return a status code.

During the management of the ADT message, some errors can occur. In such cases, the created task is set to the "Error" status.

Errors managedThe managed errors are:

- Case 1: The connection has detected X differences between the demographic data of the patient in the Management database and the transmitted demographic data (the controls on the demographic data are done on the firstname and lastname, the maiden name, the sex and the birthdate of the patient). X is greater than the authorized number of differences customized with the "Patients differences" parameter in the Device dictionary.In such a case, the ADT message is not integrated in the Management database and a negative logical acknowledgement is sent to the host.

CNXR010 / 3 Reception of patient demographics V03.11 Page 8/21Confidential. This specification requires an end user agreement

Page 9: HL7 ADT

Connection sheet

In the negative logical acknowledgement sent by the connection, the MSA-1 field "Acknowledgment code" is set to AR (application acknowledgement Reject) and the ERR-1 field, subfield 4, "Error code" and the "ERR-1" fields are set to the error code 207.

207 Application internal error A catchall for internal errors not explicitly covered by other codes.

The MSA-3 field is filled in with the string: A catchall for internal errors not explicitly covered by other codes.

- Case 2: The previous control is correct but the connection has detected two different patients with the same "Alternate number" in the Management database.In such a case, the ADT message is not integrated in the Management database and a negative logical acknowledgement is sent to the host.In the negative logical acknowledgement sent by the connection, the MSA-1 field "Acknowledgment code" is set to AR (application acknowledgement Reject) and the ERR-1 field, subfield 4, "Error code" and the "ERR-1" fields are set to the error code 205.

205 Duplicate key identifier The ID of the patient, order, etc., already exists. Used in response to addition transactions (Admit, New Order, etc.).

The MSA-3 field is filled in with the string: The ID of the patient, order, etc., already exists. Used in response to addition transactions (Admit, New Order, etc.).

Case 3: The ADT message sent by the P.A.S. cannot be properly parsed (problem on the HL7 structure).In such case, the ADT message is not integrated in the Management database and a negative logical acknowledgement is sent to the host.In the negative logical acknowledgement sent by the connection, the MSA-1 field "Acknowledgment code" is set to AE (application acknowledgement Error) and the ERR-1 field, subfield 4, "Error code" and the "ERR-1" fields are set to the error code 100.

100 Segment sequence error The message segments were not in the proper order, or required segments are missing.

The MSA-3 field is filled in with the string: The message segments were not in the proper order, or required segments are missing.

- Case 4: The ADT message sent by the P.A.S. is properly parsed and managed but the database is locked/not available or the patient record to update is protected.In such a case, the ADT message cannot be integrated in the Management database and a negative logical acknowledgement is sent to the host.In the negative logical acknowledgement sent by the connection, the MSA-1 field "Acknowledgment code" is set to AR (application acknowledgement Reject) and the ERR-1 field, subfield 4, "Error code" and the "ERR-1" fields are set to the error code 206.

206 Application record locked The transaction could not be performed at the application storage level, e.g. database locked.

The MSA-3 field is filled in with the string: The transaction could not be performed at the application storage level, e.g. database locked.

CNXR010 / 3 Reception of patient demographics V03.11 Page 9/21Confidential. This specification requires an end user agreement

Page 10: HL7 ADT

Connection sheet

Action B: the events are ignored (no task is created)

For these events, the ADT message is not managed and a negative logical acknowledgement is sent to the Host.In the negative logical acknowledgement sent by the connection, the MSA-1 field "Acknowledgment code" is set to AR (application acknowledgement Reject) and the ERR-1 field, subfield 4, "Error code" and the "ERR-1" fields are set to the error code 200.

200 Unsupported event code The Event Code is not supported.

The MSA-3 field is filled in with the string: The %s Event code is not supported.

List of the ignored events on the delivered communication :*A38: Cancel pre-admit *A11: Cancel admit/visit notification*A27: Cancel pending admit*A15: Pending transfer *A26: Cancel pending transfer*A16: Pending discharge *A25: Cancel pending discharge*A17: Swap patients *A19: Patient query *A20: Bed status update*A21: Patient goes on a leave of absence*A52: Cancel leave of absence for a patient*A22: Patient returns from a leave of absence*A23: Delete a patient record *A53: Cancel patient returns from a leave of absence*A28: Add person or patient information *A29: Delete person information*A30: Merge person information *A31: Update person information*A37: Unlink patient information *A49: Change patient account number*Q21: Get person demographics*Q22: Find candidates*Q23: Get corresponding identifiers*Q24: Allocate identifiers*A60: Update adverse reaction information*A61: Change consulting doctor*A62: Cancel change consulting doctor.

CNXR010 / 3 Reception of patient demographics V03.11 Page 10/21Confidential. This specification requires an end user agreement

Page 11: HL7 ADT

Connection sheet

Action C: the events are managed in error (an error is generated on the Management database, a task in error is created)

For these events (listed below), the ADT message is not managed and a negative logical acknowledgement is sent to the Host.In the negative logical acknowledgement sent by the connection, the MSA-1 field "Acknowledgment code" is set to AR (application acknowledgement Reject) and the ERR-1 field, subfield 4, "Error code" and the "ERR-1" fields are set to the error code 200.

200 Unsupported event code The Event Code is not supported.

The MSA-3 field is filled in with the string: The %s Event code is not supported.

List of the events managed as errors on the delivered communication :*A18: Merge patient information*A24: Link patient information*A34: Merge patient information (patient ID only)*A35: Merge patient information (account number only)*A36: Merge patient information (patient ID & account number)*A39: Merge person - patient ID *A40: Merge patient - patient identifier list*A41: Merge account - patient account number*A42: Merge visit - visit number*A43: Move patient information -patient identifier list*A44: Move account information -patient account number*A45: Move visit information - visit number*A46: Change patient ID*A47: Change patient identifier list*A48: Change alternate patient ID*A50: Change visit number*A51: Change alternate visit number

We draw your attention to the fact that events managed by this connection as errors (displayed in the Task manager window), might contain vital information that requires subsequent manual action by the user (for example "Change Patient ID"). The Installation engineer must warn the user about the associated risks so that the user can make the necessary verifications to avoid loss of important information.Failure to do this could be dangerous for the patient.In order to manage these risks, the action D and E can be enabled.

Action D: the events are managed in merge error (an error is generated on the Management database and a merge task in error is created)

This management is not automatically implemented on the delivered version, but it might be necessary to implement it in order to merge manually two patients after reception of an A40 message.

Events processed in action D will generate a task in error containing minimum information required to perfom the merge manually, using the Merge functionality available on TD-Synergy (refer to the corresponding online user help).

Example of merge task: Merge (Source: DUPONT Jean, Pat# 222222, Alt# ALT1238 Target: DUPOND Jean, Pat# 784512, Alt# MRCMRC)

CNXR010 / 3 Reception of patient demographics V03.11 Page 11/21Confidential. This specification requires an end user agreement

Page 12: HL7 ADT

Connection sheet

Action E: the events are managed in cancel error (an error is generated on the Management database, a cancel task in error is created)

This management is not automatically implemented on the delivered version, but it might be necessary to implement it so that users can be informed of a cancel pre-admission, cancel admission, cancel patient transfer or cancel patient discharge that could not be performed.

Events processed in action E will generate a task in error containing information related to the cancel event that could not be peformed.

Supported segment types

You will find in this chapter general information of these segment types.

MSH - Message Header Segment.It defines the type, the event of the message and indicates other information such as sender, receiver.

EVT - Event information segment.It defines the Event of the message.

PID - Patient information segmentIt contains patient information exchanged between the sender and the receiver.

PV1 - Hospitalization information segment.It contains hospitalization visit information exchanged between the sender and the receiver.

GT1 - Guarantor segment It contains guarantor data for patient and insurance billing applications.

IN1 - Insurance segment It contains insurance policy coverage information.

Each message must be identified by a "message header" segment and an "end of message" segment.

A segment is composed of fields.

A field is the basic element of information in any segment. For each type of record, HL7 protocol lists all the fields possibly used for medical information exchanges. Only the processed fields and their corresponding meaning are described for each record type in "Segments description".

The next part of the paragraph deals with characteristics common to all fields. It concerns field rules and the different abbreviations encountered all along in the document.

The field identification.In each segment type, fields are identified by a number. This identification corresponds to the HL7 definitions.

The field delimiters.A character defined as delimiter separates each field from the next one. This field delimiter must even follow the last field of a record.

The field sizeAll field sizes given in the document are maximum sizes as specified in HL7 standards. Each field contains only significant information, without any left or right filling characters.

The DT column of the "HL7 data types by category" table gives the “Data Type” of the field.The complete list of the HL7 “Data Types” is defined in the Chapter 2 “Control” of the HL7 version 2.4.

CNXR010 / 3 Reception of patient demographics V03.11 Page 12/21Confidential. This specification requires an end user agreement

Page 13: HL7 ADT

Connection sheet

Segment descriptions

MSH - Message Header Segment

SEQ LEN DT FIELD NAME On Communication Engine

1 1 ST Field Separator Used to parse the HL7 message2 4 ST Encoding Characters Used to parse the HL7 message3 180 HD Sending Application Used for message acknowledgment4 180 HD Sending Facility Not Used5 180 HD Receiving Application Used for message acknowledgment6 180 HD Receiving Facility Not Used7 26 TS Date/Time Of Message Not Used8 40 ST Security Not Used9 13 CM Message Type Used to determine the message type

10 20 ST Message Control ID Used to identify the rejected message in case of error (task information)

11 3 PT Processing ID Not Used12 60 VID Version ID Not Used13 15 NM Sequence Number Not Used14 180 ST Continuation Pointer Not Used15 2 ID Accept Acknowledgment Type Not Used16 2 ID Application Acknowledgment Type Not Used17 3 ID Country Code Not Used18 16 ID Character Set Not Used19 250 CE Principal Language Of Message Not Used20 20 ID Alternate Character Set Handling

SchemeNot Used

21 10 ID Conformance Statement ID Not Used

MSH 1 - 2 Field Separator / Encoding CharactersDefines the message delimiters.The first five-character set following the "H" character "|^~\&" defines which field separators are used. From the TDR-Server to the Host, the following ones are used:

| = Field delimiter.^ = Sub-field delimiter.~ = Repeat sub-field delimiter.\ = ESCAPE sequence & = Sub-field component delimiter.

MSH - 3 Sending ApplicationDetermines the Host connected. Used for acknowledgment message.

MSH - 5 Receiving ApplicationDetermines the receiving application. Used for acknowledgment message.

MSH - 9 Message TypeDetermines the message type (Message type code + event code).

CNXR010 / 3 Reception of patient demographics V03.11 Page 13/21Confidential. This specification requires an end user agreement

Page 14: HL7 ADT

Connection sheet

EVN - Event type segment

The EVN segment is used for communicating necessary trigger event information to receiving applications.

SEQ LEN DT FIELD NAME On Communication Engine

1 3 ID Event Type Code Not Used2 26 TS Recorded Date/Time Not Used3 26 TS Date/Time Planned Event Not Used4 3 IS Event Reason Code Not Used5 250 XCN Operator ID Not Used6 26 TS Event Occurred Not Used7 180 HD Event Facility Not Used

No information in EVN segment is managed by the connection.

PID - Patient identifying segment

The PID segment contains patient information exchanged between the sender and the receiver.

SEQ LEN DT FIELD NAME On Communication Engine

1 4 SI Set ID – PID Not Used 2 20 CX Patient ID Not Used3 250 CX Patient Identifier List Patient Number, or

Alternate Patient Number4 20 CX Alternate Patient ID - PID Not Used5 250 XPN Patient Name Patient name6 250 XPN Mother’s Maiden Name Not Used7 26 TS Date/Time of Birth Patient birth date8 1 IS Administrative Sex Patient sex9 250 XPN Patient Alias Not Used

10 250 CE Race Patient ethnic origin11 250 XAD Patient Address Address 1st line

Address 2nd lineCityState ProvincePostal codeCountry

12 4 IS County Code Not Used13 250 XTN Phone Number - Home Telephone number

Telephone number 2FaxEmail address

14 250 XTN Phone Number - Business Not Used15 250 CE Primary Language Not Used16 250 CE Marital Status Not Used17 250 CE Religion Religion18 250 CX Patient Account Number Not Used19 16 ST SSN Number - Patient Not Used20 25 DLN Driver's License Number - Patient Not Used21 250 CX Mother's Identifier Not Used22 250 CE Ethnic Group Not Used23 250 ST Birth Place Not Used24 1 ID Multiple Birth Indicator Not Used25 2 NM Birth Order Not Used26 250 CE Citizenship Not Used27 250 CE Veterans Military Status Not Used

CNXR010 / 3 Reception of patient demographics V03.11 Page 14/21Confidential. This specification requires an end user agreement

Page 15: HL7 ADT

Connection sheet

SEQ LEN DT FIELD NAME On Communication Engine

28 250 CE Nationality Not Used29 26 TS Patient Death Date and Time Not Used30 1 ID Patient Death Indicator Not Used31 1 ID Identity Unknown Indicator Not Used32 20 IS Identity Reliability Code Not Used33 26 TS Last Update Date/Time Not Used34 40 HD Last Update Facility Not Used35 250 CE Species Code Not Used36 250 CE Breed Code Not Used37 80 ST Strain Not Used38 250 CE Production Class Code Not Used

PID - 3 Patient identifier list fieldComponents: <ID (ST)> ^ <check digit (ST)> ^ <code identifying the check digit scheme employed (ID)> ^ < assigning authority (HD)> ^ <identifier type code (ID)> ^ < assigning facility (HD) ^ <effective date (DT)> ^ <expiration date (DT)>Subcomponents of assigning authority: <namespace ID (IS)> & <universal ID (ST)> & <universal ID type (ID)>Subcomponents of assigning facility: <namespace ID (IS)> & <universal ID (ST)> & <universal ID type (ID)>

This field contains all patient identifications. It is repeatable and each element contains one identification.Each identification is identified by a user-defined type code:

Example 403O^^^N^CODFISC~261055502^^^060^CODSAN~STP0501160000004^^^060106^STPCODFISC, CODSAN, STP identify each identification type.403O, 261055502, STP0501160000004 are the identification ID for each identification.

Only two patient identifications are available: either the Patient number or the Alternate number.

CNXR010 / 3 Reception of patient demographics V03.11 Page 15/21Confidential. This specification requires an end user agreement

Page 16: HL7 ADT

Connection sheet

PID - 5 Patient name fieldComponents: In Version 2.3, replaces the PN data type. <family name (FN)> ^ <given name (ST)> ^ <second and further given names or initials thereof (ST)> ^ <suffix (e.g., JR or III) (ST)> ^ <prefix (e.g., DR) (ST)> ^ <degree (e.g., MD) (IS)> ^ <name type code (ID) > ^ <name representation code (ID)> ^ <name context (CE)> ^ <name validity range (DR)> ^ <name assembly order (ID)>

Subcomponents of family name: <family name (ST)> & <own family name prefix (ST)> & <own family name (ST)> & <family name prefix from partner/spouse (ST)> & <family name from partner/spouse (ST)>

This field contains all patient names. It is repeatable and each element contains one name.Each name is identified by a type code:

Example MARCHESE^MARCO^^^^^L~soprannome^^^^^^ML, M identify each name type.MARCHESE^MARCO, soprannome, are the string for each name.

Two different levels of names are available: the Patient Name and the Maiden name.

PID - 7 Patient birth dateThis field is is used for the patient birth date.

PID - 8 Patient sexThis field is used for the patient sex.

Value Description

F Female

M Male

O Other

U Unknown

A Ambiguous

N Not applicable

PID - 10 Patie0nt ethnic originThis field is used for the patient race.

PID - 11 Patient addressThis field contains all patient addresses. This field is repeatable and each element contains one address.The Communication Engine can only manage one address by patient. So, the first address is always managed by the communication.

PID - 13 Patient phone numbers (Home)Components: [NNN] [(999)]999-9999 [X99999] [B99999] [C any text] ^ <telecommunication use code (ID)> ^ <telecommunication equipment type (ID)> ^ <e-mail address (ST)> ^ <country code (NM)> ^ <area/city code (NM)> ^ <phone number (NM)> ^ <extension (NM)> ^ <any text (ST)>

This field contains all patient phones. This field is repeatable and each element contains one phone number.Each phone number is identified by a phone type code : Telephone 1, Telephone 2 and Fax.

PID - 17 Patient religion

CNXR010 / 3 Reception of patient demographics V03.11 Page 16/21Confidential. This specification requires an end user agreement

Page 17: HL7 ADT

Connection sheet

This field is used for the patient religion code.

CNXR010 / 3 Reception of patient demographics V03.11 Page 17/21Confidential. This specification requires an end user agreement

Page 18: HL7 ADT

Connection sheet

PV1 - Patient visit information

SEQ LEN DT ELEMENT NAME On Communication Engine

1 4 SI Set ID - PV1 Not Used2 1 IS Patient Class Stay patient class3 80 PL Assigned Patient Location Reference Location ID (sub-field 1)

Room number (sub-field 3)4 2 IS Admission Type Not Used5 250 CX Preadmit Number Not Used6 80 PL Prior Patient Location Not Used7 250 XCN Attending Doctor Attending doctor8 250 XCN Referring Doctor Reference doctor9 250 XCN Consulting Doctor Not Used10 3 IS Hospital Service Hospital service11 80 PL Temporary Location Not Used12 2 IS Preadmit Test Indicator Not Used13 2 IS Re-admission Indicator Not Used14 6 IS Admit Source Not Used15 2 IS Ambulatory Status Not Used16 2 IS VIP Indicator Patient secret and Patient VIP17 250 XCN Admitting Doctor Admitting doctor18 2 IS Patient Type Not Used19 250 CX Visit Number Hospitalization Number20 50 FC Financial Class Hospitalization financial class (sub-field 1)

Date when the financial class is taken into account (sub-field 2)

21 2 IS Charge Price Indicator Not Used22 2 IS Courtesy Code Not Used23 2 IS Credit Rating Not Used24 2 IS Contract Code Not Used25 8 DT Contract Effective Date Not Used26 12 NM Contract Amount Not Used27 3 NM Contract Period Not Used28 2 IS Interest Code Not Used29 1 IS Transfer to Bad Debt Code Not Used30 8 DT Transfer to Bad Debt Date Not Used31 10 IS Bad Debt Agency Code Not Used32 12 NM Bad Debt Transfer Amount Not Used33 12 NM Bad Debt Recovery Amount Not Used34 1 IS Delete Account Indicator Not Used35 8 DT Delete Account Date Not Used36 3 IS Discharge Disposition Not Used37 25 CM Discharged to Location Not Used38 250 CE Diet Type Not Used39 2 IS Servicing Facility Not Used40 1 IS Bed Status Not Used41 2 IS Account Status Not Used42 80 PL Pending Location Not used43 80 PL Prior Temporary Location Not Used44 26 TS Admit Date/Time Admission Date Time45 26 TS Discharge Date/Time Discharge Date Time46 12 NM Current Patient Balance Not Used47 12 NM Total Charges Not Used48 12 NM Total Adjustments Not Used49 12 NM Total Payments Not Used50 250 CX Alternate Visit ID Not Used51 1 IS Visit Indicator Not Used52 250 XCN Other Healthcare Provider Not Used

CNXR010 / 3 Reception of patient demographics V03.11 Page 18/21Confidential. This specification requires an end user agreement

Page 19: HL7 ADT

Connection sheet

PV1 - 2 Patient classThis field is managed as the Stay patient class by the connection.

PV1 - 3 Assigned patient locationThis field is used for the Stay location and Patient reference location by the connection.

PV1 - 7 Attending doctorThis field is managed as the Stay attending doctor by the connection.

PV1 - 8 Referring doctorThis field is managed as the Patient reference doctor by the connection.

PV1 - 10 Hospital ServiceThis field is managed as the Stay hospital service (Medical discipline) by the connection.

PV1 - 16 VIP IndicatorThis field is managed as the Patient VIP and the Patient Secret Result by the connection.But it is possible to manage either the Patient VIP or the Patient Secret Result, if needed. Then, the information to be managed in this field can be indicated by the FSE during the connection installation using the Chameleon mapping logic on the Patient table.

PV1 - 17 Admitting doctorThis field is managed as the Stay admitting doctor by the connection.

PV1 -19 Visit numberThis field is managed as the Hospitalization number by the connection, according to the labconf parameter: Duplicate stay numbers are allowed (0=No 1=Yes). This parameter must be set to 1 if Hospitalization numbers are not unique. The default value is 0.

PV1 - 44 Admit date/timeThis field is managed as the Admit Date / Time of the hospitalization by the connection.

PV1 - 45 Discharge date/timeThis field is managed as the Discharge Date / Time of the hospitalization by the connection.

CNXR010 / 3 Reception of patient demographics V03.11 Page 19/21Confidential. This specification requires an end user agreement

Page 20: HL7 ADT

Connection sheet

Examples of ADT messages

MSH|^~\&|SSI|SI|LIS|SMITH|200305081258||ADT^A01|SI030000000000095400|P|2.03PID||98700021^^^106|98900021^^^L^ASSIPCA~98600021^^^N^CODFISC~98700021^^^060^CODSAN||TESTRLE2^Robin2^^^^^L~Fleurus2^^^^^^M||19850724|M||2056-5^Blanc|9 rue Marcel Cachin^^Meylan^^38100^FRANCE^L^||0476001122^^PH~0600112233^^[email protected]^^Internet||||ATH^Catholic||261055501PV1||O|MEDIR^2^Lit19^^^^^^|||||CLAD^Maraul2^Doc|||||||||||20020001|~~~||||||||||||||||||||||||20030709||||||954||NTE||| PATIENT_COMMENT_TESTRLE5

MSH|^~\&|SSI|SI|LIS|BAYER|200305081258||ADT^A35|SI030000000000095400|P|2.03PID||261055502^^^106|46619287^^^L^ASSIPCA~MRCMRC75D21I403O^^^N^CODFISC~261055502^^^060^CODSAN~STP0501160000004^^^060106^STP||MARCHESE2^MARCO^^^^^L~soprannome^^^^^^C||19750421|M|||VIA CASARSA,82^ZOPPOLA^^PN^33081^^L^093051~,^^^^33081^^C^||604582||||||261055501PV1||O|019201^1^18^^^^^^||||~^^^^^^^^^^^^050901&010501&L|~^^^^^^^^^^^^050901&010501&L|||||||||||200258423|~~~||||||||||||||||||||||||20030508||||||954||MRG|46619288^^^L^ASSIPCA~MRCMRC75D21I403M^^^N^CODFISC~261055503^^^060^CODSAN~STP0501160000005^^^060106^STP||||||MARCHESE2^MARCO^^^^^L|

Example with:- Assigned patient location "ASSLOC1" with room number "ROOM20" and bed number "B2"- Attending doctor "ATTEN"- Referring doctor "REF1"- Hospital Service "HOSP"- VIP Indicator "VIP"'- Admitting doctor "ADMDOC"

MSH|^~\&|SSI|SI|LMX|BAYER|200305081258||ADT^A01|SI030000000000095400|P|2.03PID||261055502^^^106|9911111^^^L^ASSIPCA~9911111^^^060^CODSAN||GDS0^GDS0^^^^^L~GDS0MAIDEN^^^^^^M||19750421|M|||VIA CASARSA,82^ZOPPOLA^^PN^33081^^L^093051~,^^^^33081^^C^||604582||||||261055501PV1||O|ASSLOC1^ROOM20^B2^^^^^||||ATTEN1|REF1||HOSP||||||VIP|ADMDOC||9911119|~~~||||||||||||||||||||||||20030508||||||954||

CNXR010 / 3 Reception of patient demographics V03.11 Page 20/21Confidential. This specification requires an end user agreement

Page 21: HL7 ADT

END USER AGREEMENT FOR CONNECTION

The interface specification described in the attached Connection Sheet # CNXR010 "Patient Administration Reception (HL7 2.4 / TCP-IP Socket)" is confidential and is strictly reserved for communication with a Hospital Information System. An End User Agreement containing the text hereunder must be agreed by the Customer (End User). The interface specification "Connection Sheet # CNXR010" is for the exclusive use of sites covered by an End User Agreement. Use of the interface specification "Connection Sheet # CNXR010" implies full acceptance of the terms and conditions of the End User Agreement hereunder.

END USER AGREEMENT FOR CONNECTION SHEET # CNXR010

PLEASE READ THIS AGREEMENT CAREFULLY.THE USE OF THE INTERFACE SPECIFICATION SHALL IMPLY ACCEPTANCE OF THIS AGREEMENT.

IF YOU DO NOT AGREE, YOU MUST NOT USE THE INTERFACE SPECIFICATION.

OWNERSHIP

TECHNIDATA shall retain all titles and intellectual property rights of the attached interface specification. The interface specification is protected under international laws related to intellectual property rights.

The Customer agrees that it does not have any title or ownership on the attached interface specification.

USE

The Customer may use the Interface Specification, provided that the product license has been properly acquired.

The Customer shall only use the Interface Specification for his own needs.

The Customer shall only use the Interface Specification for the purpose of communication with a Hospital Information System. Consequently, Customer is not authorized, in any way, to use the Interface Specification for any other type of communication or for any other purpose.

The Customer shall not use any portion of the said Interface Specification for the purpose of interfacing or creating new software programs to be made available to any third party, either free of charge or for pecuniary benefit.

The Customer shall not disclose, communicate or use for the benefit of any third party any portion of the said Interface Specification

The Customer must be aware that the Interface Specification is likely to evolve. The Customer therefore agrees that any software that relies on this Interface Specification may require to be updated to maintain existing functionality.

Upon termination of this Agreement, the Customer shall return all materials which contain information related to the Interface Specification, including written notes, photographs, memoranda or notes taken.

CNXR010 / 3 Reception of patient demographics V03.11 Page 21/21Confidential. This specification requires an end user agreement