HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

RPI: Return patient information

This page lists the structures and trigger events RPI defines, taken from the standard. The written commentary that theADT page carries has not been written for RPI.

Recognising RPI messages

RPI announces itself in MSH-9 like this:

MSH-9RPI^I01^RPI_I01
  1. MSH-9.1RPImessage code: what kind of message this is
  2. MSH-9.2I01trigger event: what happened in the real world: request for insurance information
  3. MSH-9.3RPI_I01message structure: which segments to expect, and in what order

How to use these specifications explains MSH-9 in full, with a worked example.

Message structures

RPI takes 2 structures.

RPI_I01: Request for Insurance Information

Sent when one thing happens: I01: Request for Insurance Information.

You must always send: MSH, MSA, PRD, PID. Everything else is optional, or required only inside a group you chose to send.

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
MSAR1..1
PROVIDERa group of 2 segments, repeated togetherR1..*
PRDR1..1
CTDO0..*
PIDR1..1
NK1O0..*
GUARANTOR_INSURANCEa group of 2 segments, repeated togetherO0..1
GT1in GUARANTOR_INSURANCEO0..*
INSURANCEin GUARANTOR_INSURANCEa group of 3 segments, repeated togetherR1..*
IN1in INSURANCER1..1
IN2in INSURANCEO0..1
IN3in INSURANCEO0..1
NTEO0..*

R inside a group means required of that group. Send the group and you must include that segment; leave the group out and it never appears. This structure has 3 such groups: PROVIDER, GUARANTOR_INSURANCE, INSURANCE.

RPI_I04: request for patient demographic data

Sent when one thing happens: I04: request for patient demographic data.

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
MSAR1..1
PROVIDERa group of 2 segments, repeated togetherR1..*
PRDR1..1
CTDO0..*
PIDR1..1
NK1O0..*
GUARANTOR_INSURANCEa group of 2 segments, repeated togetherO0..1
GT1in GUARANTOR_INSURANCEO0..*
INSURANCEin GUARANTOR_INSURANCEa group of 3 segments, repeated togetherR1..*
IN1in INSURANCER1..1
IN2in INSURANCEO0..1
IN3in INSURANCEO0..1
NTEO0..*

Trigger events

The trigger event is the real-world thing that made the message get sent. RPI defines 2.

EventNameStructure
I01Request for Insurance InformationRPI_I01
I04request for patient demographic dataRPI_I04