Sie sind auf Seite 1von 9

eGateway HL7 Specification

1 Results
1.1

Solicited Results

This mode uses non-standard implementations of standard HL7 Messages.

Figure 1 Query Mode Sequence Diagram

1.1.1 Incoming messages


1.1.1.1

Query (QRY^Q02)

Segment

Meaning

Usage

Cardinality

MSH

Message Header

[1..1]

QRD

Original Style Query Definition

[1..1]

The Gateway shall process the Query QRY^Q02 when received a system requesting data.

The default segment grammar for this transaction shall be MSH QRD

Mindray DS USA, Inc. PROPRIETARY

Page 1 of 9

0084-00-0081
Revision A.1

eGateway HL7 Specification

1.1.1.2

ACK^R04

This message is expected as an acknowledgement to the ORF^R04 message sent by the Panorama
eGateway.
Segment

Meaning

Usage

Cardinality

MSH

Message Header

[1..1]

[SFT]

Software Segment

[0..1]

MSA

Message Acknowledgement

[1..1]

[ERR]

Error

[0..1]

Table 1 ACK^R04 Acknowledgement Message Definition

The SFT segment will be ignored by the Panorama eGateway for an ACK^R04 message.

The ERR segment will be ignored by the Panorama eGateway for an ACK^R04message.

1.1.1.3

ACK^W02

This message is expected as an acknowledgement to the ORF^W02^ORF_R04 message sent by the


Panorama eGateway.
Segment

Meaning

Usage

Cardinality

MSH

Message Header

[1..1]

[SFT]

Software Segment

[0..1]

MSA

Message Acknowledgement

[1..1]

[ERR]

Error

[0..1]

Table 2 ACK^W02 Acknowledgement Message Definition

The SFT segment will be ignored by the Panorama eGateway for an ACK^W02 message.

The ERR segment will be ignored by the Panorama eGateway for an ACK^W02 message.

Mindray DS USA, Inc. PROPRIETARY

Page 2 of 9

0084-00-0081
Revision A.1

eGateway HL7 Specification

1.1.2 Outgoing messages


1.1.2.1

Query Response (ORF^R04)

Segment

Meaning

Usage

Cardinality

MSH

Message Header

[1..1]

QRD

Original Style Query Definition

[1..1]

{PID

Patient Identification

[1..1]

PV1

Patient Visit

[1..1]

{OBR

Observation Request

[1..1]

Observation/Result

[1..1]

[{OBX}]}}

Mindray DS USA, Inc. PROPRIETARY

Page 3 of 9

0084-00-0081
Revision A.1

eGateway HL7 Specification

The Panorama eGateway shall send the ORF^R04 message in response to a QRY^Q02 message.

The default segment grammar for this transaction shall be MSH QRD {PID PV1 {OBR [{OBX}]}}

1.1.2.2

Waveform Query Response (ORF^W02^ORF_R04)

Segment

Meaning

Usage

Carnality

MSH

Message Header

[1..1]

[{SFT}]

Software Segment

[0..1]

QRD

Original Style Query Definition

[1..1]

--- PATIENT_RESULT begin

[1..1]

PID

Patient Identification

[1..1]

PV1

Patient Visit

[1..1]

---ORDER_OBSERVATION begin

OBR

Observation Request

[{

--- WAVEFORM begin

[1..1]
R

[1..1]
[0..*]

OBX(CHN)

Channel definition data

[1..1]

OBX(TIM)

Timing information

[1..1]

OBX(WAV)

Waveform digital data

[1..1]

[OBX(ANO)]

Waveform annotation

[0..1]

RE

[0..1]

}]

--- WAVEFORM end

OBR

Observation Request

[{

--- PARAMETER begin


OBX

}]

[1..*]

Parameter Observation

[0..1]

--- PARAMETER end

---ORDER_OBSERVATION end

--- PATIENT_RESULT end

The Gateway shall send the ORF^W02^ORF_R04 message to report waveform results to the system
connected to the Gateway when in Unsolicited Results mode.

The SFT segment will be include by default.

The default segment grammar for this transaction shall be MSH [{SFT}] QRD {PID PV1 {OBR
[{OBX(CHN) OBX(TIM) OBX(WAV) [OBX(ANO)]}] OBR [{OBX}] }}

The eGateway shall follow the "Channel block" format specified by the HL7 2.5 standard for sending
waveforms.

Mindray DS USA, Inc. PROPRIETARY

Page 4 of 9

0084-00-0081
Revision A.1

eGateway HL7 Specification


1.1.2.3

ACK^Q02

This message is sent in response to a QRY^Q02 message received by the Panorama eGateway.
Segment

Meaning

Usage

Cardinality

MSH

Message Header

[1..1]

[SFT]

Software Segment

[0..1]

MSA

Message Acknowledgement

[1..1]

[ERR]

Error

[0..1]

Table 3 Acknowledgement Message Definition

An Acknowledgement message shall be sent in response to all received messages when ACK All is
turned on and only supported messages when turned off.

The default segment grammar for this message shall be MSH MSA

The SFT segment shall be included by default.

The ERR segment will be sent on NACK messages only.

Mindray DS USA, Inc. PROPRIETARY

Page 5 of 9

0084-00-0081
Revision A.1

eGateway HL7 Specification

2 Supported Segments
2.1

QRD

The QRD segment is used to define a query. This segment is not IHE compliant.
Table 4 QRD Segment Definition
SEQ

LEN

DT

Usage

Cardinality

Table#

Element Name

26

TS

[1..1]

ID

[1..1]

0106

Query Format Code

ID

[1..1]

0091

Query Priority

10

ST

[1..1]

ID

26

TS

10

CQ

[1..1]

60

XCN

[1..1]

60

CE

[1..1]

10

60

CE

[1..1]

11

20

ST

What Data Code Value Qual.

12

ID

Query Results Level

Query Date/Time

Query ID
0107

Deferred Response Type


Deferred Response Date/Time

0126

Quantity Limited Request


Who Subject Filter

0048

What Subject
What Department Data Code

Table 5 QRD Segment Mapping

Gateway Field

Default HL7 Field Mapping

QRD_QueryTime

QRD-1 Query Date/Time

QRD_QueryFormatCode

QRD-2 Query Format Code

QRD_QueryPriority

QRD-3 Query Priority

QRD_QueryID

QRD-4 Query ID

QRD_QueryQuantity

QRD-7.1 Quantity Limited Request.Quantity

QRD_QueryQuantityUnits_Identifier

QRD-7.2.1 Quantity Limited


Request.Units.Identifier

QRD_WhoSubjectFiler_IDNumber

QRD-8.1 Who Subject Filter.Id Number

QRD_WhoSubjectFiler_FamilyName

QRD-8.2 Who Subject Filter.Family Name

QRD_WhoSubjectFiler_GivenName

QRD-8.3 Who Subject Filter.Given Name

QRD_QueryWhat

QRD-9 What Subject Filter.Text

QRD_WhatDepartmentDataCode_Identifier

QRD-10.1 What Department Data

Mindray DS USA, Inc. PROPRIETARY

Page 6 of 9

0084-00-0081
Revision A.1

eGateway HL7 Specification

Gateway Field

Default HL7 Field Mapping


Code.Identifier

QRD_WhatDepartmentDataCode_Text

QRD-10.2 What Department Data Code.Text

QRD_WhatDepartmentDataCode_NameOfCodingSystem

QRD-10.3 What Department Data Code.Name


of Coding System

2.1.1 QRD-1 Query Date/Time


QRD-1 shall be populated with the current date and time on the Panorama eGateway on messages sent by
the Panorama eGateway.

2.1.2 QRD-2 Query Format Code


In Meditech CS mode, the Panorama eGateway shall only process queries when QRD-2 is populated with
R.
In queried results mode, QRD-2 shall always be populated to D on reply messages sent by the Panorama
eGateway.
In queried results mode, the Panorama eGateway shall only process queries when QRD-2 is populated with
D.

2.1.3 QRD-3 Query Priority


In Meditech CS mode, the Panorama eGateway shall only process queries when QRD-3 is populated with
I.
In queried results mode, the Panorama eGateway shall only process queries when QRD-3 is populated with
D.
In queried results mode, QRD-3 shall always be populated to D on reply messages sent by the Panorama
eGateway for non-Meditech query messages.

2.1.4 QRD-7 Quantity Limits Request


QRD-7.1 "Quantity" shall always be populated to 1 on messages sent by the Panorama eGateway.
QRD-7.2.1 Units.Identifier shall always be populated to RD on messages sent by the Panorama
eGateway.

2.1.5 QRD-8 Who Subject Filter


The Panorama eGateway shall only utilize the first 15 characters of the QRD-8.1 "Patient ID" field.
The Panorama eGateway shall only utilize the first 15 characters of the QRD-8.2 "Given Name" field.
The Panorama eGateway shall only utilize the first 15 characters of the QRD-8.3 "Family Name" field.
The Panorama eGateway shall only process queries based on QRD-8 Who.

2.1.6 QRD-9 What Subject


The Panorama eGateway will only process queries when QRD-9.1 "Identifier" is populated with RES.

Mindray DS USA, Inc. PROPRIETARY

Page 7 of 9

0084-00-0081
Revision A.1

eGateway HL7 Specification

2.1.7 QRD-10 What Department Data Code


QRD-10.2 Text shall be populated to Panorama eGateway on messages sent by the Panorama eGateway;
this can be configured via the configuration file.

2.2

QRF

The QRF segment is used to filter the requested data for a Meditech CS query.
Table 6 QRF Segment Definition
SEQ

LEN

DT

Usage

Cardinality

Table#

Element Name

20

ST

[1..1]

Where Subject Filter

26

TS

[1..1]

When Data Start Date/Time

26

TS

[1..1]

When Data End Date/Time

60

ST

What User Qualifier

60

ST

Other QRY Subject Filter

12

ID

0156

Which Date/Time Qualifier

12

ID

0157

Which Date/Time Status Qualifier

12

ID

0158

Date/Time Selection Qualifier

60

TQ

When Quantity/Timing Qualifier

10

10

NM

Search Confidence Threshold

Table 7 QRF Segment Mapping

Gateway Field

Default HL7 Field Mapping

QRF_QueryWhere

QRF-1 Where Subject Filter

QRF_QueryStartTime

QRF-2 When Data Start Date/Time

QRF_QueryEndTime

QRF-3 When Data End Date/Time

Mindray DS USA, Inc. PROPRIETARY

Page 8 of 9

0084-00-0081
Revision A.1

eGateway HL7 Specification

2.2.1 QRF-1 Where Subject Filter


QRD-1 will be ignored buy the Panorama eGateway in a Meditech CS Query.

2.2.2 QRF-2 When Data Start Date/Time


QRD-2 will be used by the Panorama eGateway to specify the time of the first record to send in a Meditech
CS Query.

2.2.3 QRF-3 When Data End Date/Time


QRD-3 will be used by the Panorama eGateway to specify the time of the last record to send in a Meditech
CS Query.

Mindray DS USA, Inc. PROPRIETARY

Page 9 of 9

0084-00-0081
Revision A.1