You are on page 1of 11

Order Specifications

(Outbound)
Sequel Systems, Inc.
Purpose

This document defines the interface linking the two systems will be the common process through
which the systems will communicate, allowing the systems to exchange information. This interface
conforms to the application layer definition of the Health Level 7 (HL7) interface specification
Version 2.3. HL7 is an application level protocol for the electronic exchange or transfer of data in
the healthcare environment.

SequelMed System believes that the information in this specification is accurate and reliable but
accepts no responsibility for any consequences arising from unforeseen events.

The information contained in this document is subject to change. Revisions and updates will be
issued from time to time to document changes and/or additions

Communication Protocol

Sequel Systems, Inc. has defined TCP/IP as their standard communications protocol. As a result
Sequel Systems adopted the HL7 lower layer protocol format for message delivery.

HL7 Messages Format

Order segments are

SEGMENTS SEGMENT DESCRIPTION

MSH Message Header Segment


PID Patient Identification Segment
PV1 Patient Visit Information Segment
[{IN1}] Insurance Information
[GT1] Guarantor Information
ORC Common Order Segment
OBR Observation Request Segment

Key: [ ] = Optional Segments


{ } = 1+ occurrences, repeated
Message Delimiters
Delimiter Value Usage
Segment Terminator <CR> Terminates a Segment record
hex 0D
Field Separator | Separate two data fields
Component Separator ^ Separate component of a data field
Sub-Component Separator & Separates sub-component of data fields
Repetition Separator ~ Separates multiple occurrences of a field
Escape Character \ Escape character

MSH Segment – For All Messages

The MSH segment defines the source, destination, message type and some specific fields of the
segment. This is message header used in all message segments.

MSH Segment

Sequence Length Type Required Field Name Note


Number /Optional
2 5 ST R Encoding Characters (“|^~\&”)
3 25 ST O Sending Application
4 25 ST O Sending Facility
5 25 ST O Receiving Application
6 25 ST O Receiving Facility
7 12 TS O Date/Time of Message
8 N/A Security
9 7 ID R Message Type 1
10 20 ST R Message Control ID
11 1 ID R Processing ID
12 8 NM R Version ID
13 N/A Sequence Number
14 N/A Continuation Pointer

1) The Outbound event codes supported by SequelMed interface

is: O01 Order Message Trigger Event


HL7 Order Message

O01
SequelMed Outbound interface has the ability to send Order messages from ancillary system.
SequelMed will send information in the fields detailed below.

PID – Patient Information Segment

The PID segment is used by all applications as the primary means of communicating patient
identification information. This segment contains permanent patient identifying and demographic
information that, for the most part, is not likely to change frequently.

PID Segment

Sequence Length Type Required SequelMed HL7 Note


Number /Optional Field Name Field Name
1 1 O Set ID - Patient ID
2 30 ST O Chart Number Patient ID (External ID)
3 30 CK R Account # Medical Record Number 1
4 N/A Alternate Patient ID – PID
5 PN R Patient Name
5.1 30 ST R Last Name Last Name
5.2 30 ST R First Name First Name
5.3 1 ST O M.I. Middle Initial
5.4 3 ST O Title Title
6 N/A Mother’s Maiden Name
7 8 DT R DOB Date/Time of Birth
8 1 ID R Sex (M,F or U) Sex
9 N/A Patient Alias
10 N/A Race
11 AD O Patient Address
11.1 50 ST O Address 1 Address Line 1
11.2 50 ST O Address 2 Address Line 2
11.3 20 ST O City City
11.4 2 ST O State State
11.5 10 ST O Zip Zip
12 N/A Country Code
13 10 TN O Home Tel Phone Number – Home 2
14 17 TN O Work Tel / Ext Phone Number – Business 3
15 N/A Primary Language
16 1 IS O Marital Status Marital Status
17 N/A Religion
18 N/A Patient Account Number
19 9 ST O SSN SSN Number - Patient

1) The longest length of the medical record number field in SequelMed is 30.
2) Format of the phone number is standard HL7 (|9999999999|).
3) Format of the phone number is standard HL7 (|9999999999^99999|).
PV1 – Visit Information Segment

The PV1 segment is used by the applications to communicate information on a visit-specific basis.

PV1 Segment

Sequence Length Type Required SequelMed HL7 Note


Number /Optional Field Name Field Name
1 SI O Set ID
2 N/A Patient Class
3 10 ST R Location Assigned Patient Location
4 N/A Admission Type
5 N/A Preadmit Number
6 N/A Prior Patient Location
7 R Provider Attending Provider Number
7.1 10 ST R Provider Short Name ID Number
7.2 20 ST Last Name Family Name
7.3 20 ST First Name Given Name
7.4 1 ST M.I Middle Initial
8 O Ref. Prov Referring Provider Number
8.1 10 ST R Provider Short Name ID Number
8.2 20 ST Last Name Family Name
8.3 20 ST First Name Given Name
IN1 – Insurance Information Segment
The IN1 segment contains insurance policy coverage information necessary to produce properly
pro-rated patient and insurance bills.

IN1 Segment

Sequence Length Type Required SequelMed HL7 Note


Number /Optional Field Name Field Name
1 1 SI R Insurance Sequence 1
2 10 ST R Plan Short Name Insurance Plan ID
3 10 ST R Insurance Short Name Insurance Company ID
4 100 ST O Insurance Description Insurance Company Name
5 O Plan Address Insurance Company Address
5.1 50 ST Address Address Line 1
5.2 50 N/A Address Line 2
5.3 20 ST City City
5.4 2 ST State State
5.5 10 ST Zip Zip
6 30 ST O Plan Contact Insurance Co. Contact Person
7 17 TN O Plan Tel1/Ext Insurance Co Phone Number
8 30 ST O Group Number
9 N/A Group Name
10 N/A Insured’s Group Emp ID
11 N/A Insured’s Group Emp Name
12 N/A Plan Effective Date
13 8 DT O Plan Expiration Date
14 N/A Authorization Information
15 N/A Plan Type
16 PN R Insured Party Name Name of Insured
16.1 30 ST Last Name Last Name
16.2 30 ST First Name First Name
17 1 ST R Rel (H, O, C, S) Insured’s Relationship to Patient 2
18 8 DT R DOB Insured’s Date Of Birth
19 AD R Insured Party Address Insured’s Address
19.1 50 ST Address1 Address Line 1
19.2 50 ST Address2 Address Line 2
19.3 20 ST City City
19.4 2 ST State State
19.5 10 ST Zip Zip
20 N/A Assignment Of Benefits
21 N/A Coordination Of Benefits
22 N/A Coord Of Ben. Priority
23 N/A Notice Of Admission Flag
24 N/A Notice Of Admission Date
25 N/A Report Of Eligibility Flag
26 N/A Report Of Eligibility Date
27 N/A Release Information Code
28 N/A Pre-Admit Cert (PAC)
29 N/A Verification Date/Time
30 N/A Verification By
31 N/A Type Of Agreement Code
32 N/A Billing Status
33 N/A Lifetime Reserve Days
34 N/A Delay Before L.R. Day
35 N/A Company Plan Code
36 30 ST R Plan ID Num Policy Number
37 30 NM O Visit Co Pay Policy Deductible
38 N/A Policy Limit - Amount
39 N/A Policy Limit - Days
40 N/A Room Rate - Semi-Private
41 N/A Room Rate - Private
42 N/A Insured’s Employment Status
43 1 ST R Sex (M, F, U) Insured’s Sex
44 N/A Insured’s Employer Address

• For patient first insurance the insurance sequence must be 1. If patient has more than
one insurance then IN1 segment is repeated and the insurance sequence number
increases for each insurance.

• H = Self , O = Other , C = Child , S = Spouse


GT1 – Guarantor Information Segment
The GT1 segment contains guarantor information (e.g., the person or the organization with
financial responsibility for payment of a patient account).

GT1 Segment

Sequence Length Type Required SequelMed HL7 Note


Number /Optional Field Name Field Name
1 N/A Set ID
2 N/A Guarantor Number
3 PN R Patient Responsible Party Guarantor Name
Name
3.1 30 ST R Last Name Last Name
3.2 30 ST R First Name First Name
3.3 1 ST O M.I Middle Initial
3.4 3 ST O Title Title
4 N/A Guarantor Spouse Name
5 AD O Guarantor Address
5.1 50 ST Address1 Address Line 1
5.2 50 ST Address2 Address Line 2
5.3 20 ST City City
5.4 2 ST State State
5.5 10 ST Zip Zip
6 10 TN O Home Tel Guarantor Ph Num-Home
7 17 TN O Tel/Ext Guarantor Ph Num-Business
8 8 DT O DOB Guarantor Date Of Birth
9 N/A Guarantor Sex
10 N/A Guarantor Type
11 1 ST O Relationship (C, F, L, O, S) Guarantor Relationship 1
12 9 ST O SSN Guarantor SSN
13 N/A Guarantor Date - Begin
14 N/A Guarantor Date - End
15 N/A Guarantor Priority
16 30 ST O Patient Responsible Party Guarantor Employer Name
Employer
17 O Patient Responsible Party Guarantor Employer
Employer Addr Address
17.1 50 ST N/A Address Line 1
17.2 50 ST N/A Address Line 2
17.3 20 ST N/A City
17.4 2 ST N/A State
17.5 10 ST N/A Zip
18 17 TN O Patient Responsible Party Guarantor Employer Phone
Employer Work Tel / Ext Number
49 30 ST O Job Title Job Title

1) C = Child , F = Friend , L = Lawyer , O = Other , S = Spouse


ORC – Order Information Segment

The Common Order segment (ORC) is used to transmit fields that are common to all orders (all
types of services that are requested). The ORC segment is required in the Order (ORM)
message.

ORC Segment

Sequence Length Type Required SequelMed HL7 Note


Number /Optional Field Name Field Name
1 R NW Order Control
2 R Requistion# Placer Order Number
3 R Filler Order Number
4 N/A Placer Group Number
5 N/A Order Status
6 N/A Response Flag
7 N/A Quantity/Timing
8 N/A Parent
9 O Entry_date Date/Time of transaction
10 O Entered_by Entered By
11 N/A Verified By
12 R Ordering Provider
13 O Enterer’s Location
14 N/A Call Back Phone Number
15 N/A Order Effective Date/Time
16 N/A Order Control Code Reason
17 N/A Entering Organization
18 N/A Entering Device
19 N/A Action By
OBR – Observation Request Segment

The Observation Request segment (OBR) defines the attributes of a particular request for
diagnostic services (e.g., laboratory, EKG) or clinical observations, e.g., vital signs or physical
exam.

OBR Segment
Sequence Length Type Required SequelMed HL7 Note
Number /Optional Field Name Field Name
1 N/A Set ID
2 R Requistion# Placer Order Number
3 R Filler Order Number
4 R Test Code ^ Universal Service ID
ShorName and
Description from Test
table
5 N/A Priority
6 N/A Order Date Requested Date/Time
7 O Observation Date/Time
8 N/A Observation end Date/Time
9 N/A Collection Volume
10 N/A Collector Identifier
11 N/A Specimen Action Code
12 N/A Danger Code
13 N/A Relevant Clinical Info.
14 N/A Specimen Received
Date/Time
15 N/A Specimen Source
16 O Entered_by Ordering Provider
17 N/A Order Callback Phone
Number
18 N/A Placer Field 1
19 N/A Placer Field 2
20 N/A Filler Field 1
21 N/A Filler Field 2
22 N/A Result Rpt/Status Change –
Date/Time
23 N/A Charge to Practice
24 R Diagnostic Serv Sect ID 1
25 N/A Result Status
26 N/A Parent Result
27 N/A Quantity/Timing
28 N/A Result Copies to
29 N/A Parent
30 N/A Transportation Mode
31 N/A Reason for Study
32 N/A Principal Result Interpreter
33 N/A Assistant Result Interpreter
34 N/A Technician
35 O Transcriptionist
36 N/A Scheduled Date/Time
DG1 – Diagnosis Information Segment

The DG1 segment is used by the applications to communicate information of Diagnosis on a visit-specific basis.

DG1 Segment

Sequence Length Type Required SequelMed HL7 Note


Number /Optional Field Name Field Name
1 SI O Set ID
2 N/A Diagnosis Coding Method
3 10 ST R ICD^^Coding Method Diagnosis Code - DG1

Sample Message

MSH|^~\&|1100|||TE039481|202202110141||ORM^O01|12364056982|09040850|2.3|
PID|1|93871639|||TEST^TEST^^||20181203|M|||1 TEST RD^^BABYLON^NY^11702|||||U|||
PV1|1||CARE ACCESS CLINIC||||1255689824^ADENIRAN^ADEBUKOLA^A
IN1|1|||^|1 TEST RD^^BABYLON^NY^11702|||||||||||^|||^^^^||||||||||||||||||||||||||||P|
GT1|1||TEST^TEST^^||1 TEST RD^^BABYLON^NY^11702|0|X|20181203|||1|||||||X||||||||||||||||||||||||||||||||
ORC|NW|1768-91164543|||||||202202111341|||1255689824^ADENIRAN^ADEBUKOLA||||||||
OBR|1|1768-91164543||^^^^ANTICCP||202202111341||||||||||1255689824^ADENIRAN^ADEBUKOLA||||||||||||||||||
DG1|1||K00.2^^ICD9||||||||||||||||

You might also like