11.1. Outbound

The Patient Demographics Query - Find Candidates HL7 message is sent to other HL7 applications/receivers which act as Patient Demographics Suppliers requesting information about patients whose demographic data match data provided in query message.

This message may be triggered either by Patient Demographics Query services or by patient verification scheduler.

11.1.1. Outbound Message

11.1.1.1. QBP - Query by Parameter Message (Event Q22)

Supported HL7 version: 2.5.1 (ITI-21)

11.1.1.1.1. Trigger Event

This message is sent out by the archive when patient demographics is to be requested from external patient demographics suppliers

11.1.1.1.2. Supported Segments

The following segments are sent in an outgoing QBP^Q22^QBP_Q22 message:

Table 11.1 Supported segments of QBP^Q22^QBP_Q22 (HL7 v2.5.1)

Segment

Meaning

Usage

Card.

HL7 chapter

MSH - MSH - Message Header segment (HL7 v2.5.1)

Message Header

R

[1..1]

2

QPD - QPD - Query Parameter Definition segment (HL7 v2.5.1)

Query Parameter Definition

R

[1..1]

5

RCP - RCP - Response Control Parameter segment (HL7 v2.5.1)

Response Control Parameter

R

[1..1]

5

11.1.1.1.3. Expected Actions

The patient demographics suppliers acting as receiver shall follow stated Expected Actions.

11.1.2. Outbound Message Segments

11.1.2.1. MSH - Message Header segment

Same as specified in MSH - Message Header segment (HL7 v2.5.1)

11.1.2.2. QPD - Query Parameter Definition segment

Table 11.2 QPD - Query Parameter Definition segment (HL7 v2.5.1)

SEQ

LEN

DT

OPT

TBL#

ITEM #

Element Name

1

250

CE

R

0471

01375

Message Query Name

2

32

ST

C

00696

Query Tag

3-n

256

varies

01435

User Parameters (in successive fields)

11.1.2.3. RCP - Response Control Parameter segment

Table 11.3 RCP - Response Control Parameter segment (HL7 v2.5.1)

SEQ

LEN

DT

OPT

TBL#

ITEM #

Element Name

1

1

ID

O

0091

00027

Query Priority

2

10

CQ

O

0126

00031

Quantity Limited Request

3

250

CE

O

0394

01440

Response Modality

4

26

TS

C

01441

Execution and Delivery Time

5

1

ID

O

0395

01443

Modify Indicator

6

512

SRT

O

01624

Sort-by Field

7

256

ID

01594

Segment group inclusion

Element names in bold indicates that the field is used by dcm4che DICOM Archive 5.

11.1.3. DICOM to HL7 Query by Parameter Message Mapping

Mappings between HL7 and DICOM are illustrated in the following manner:

  • Element Name (HL7 item_number.component.sub-component #/ DICOM (group, element))

  • The component/sub-component value is not listed if the HL7 element should not contain multiple components/sub-components.

11.1.3.1. QBP - DICOM Patient Attributes to HL7 Query by Parameter Message mapping

Table 11.4 DICOM Patient Attributes to HL7 Query by Parameter Message mapping

HL7 Field

HL7 Item #

HL7 Segment

DICOM Attribute

DICOM Tag

Note

Message Query Name

01375

QPD:1

Set to ‘IHE PDQ Query’

Query Tag

00696

QPD:2

Set to ‘QRY’ + value from MSH:9

User Parameters (in successive fields)

01435

QPD:3

[1]

Patient ID

(0010, 0020)

Sent as @PID.3.1^’ + value of Patient ID

Issuer of Patient ID

(0010, 0021)

Sent as @PID.3.4.1^’ + value of Issuer of Patient ID

Issuer of Patient ID Qualifiers Sequence

(0010, 0024)

>Item

(FFFE, E000)

>Universal Entity ID

(0040, 0032)

Sent as @PID.3.4.2^’ + value of Universal Entity ID

>Universal Entity ID Type

(0040, 0033)

Sent as @PID.3.4.3^’ + value of Universal Entity ID Type

Query Priority

00027

RCP:1

Set to I