Skip to main content

Patient Registration

AdvaPACS supports the IHE Patient Registration [RAD-1] transaction for receiving patient demographic updates via HL7 ADT messages. These messages allow an external system, such as a RIS, HIS, or PAS, to create, update, or cancel patient records in AdvaPACS based on the supplied patient identifiers and demographics.

Supported Trigger Events

The following ADT trigger events are supported by AdvaPACS.

Trigger EventAction
ADT^A01Creates a new patient record if one does not already exist.
ADT^A04Creates a new patient record if one does not already exist.
ADT^A05Creates a new patient record if one does not already exist.
ADT^A08Updates an existing patient record if a matching patient is found.
ADT^A11Deletes the patient record if no associated resources exist.
ADT^A38Deletes the patient record if no associated resources exist.
ADT^A40Merge two patients by Patient ID.
ADT^A47Update and replace a Patient ID.

Message Structure

Patient Registration messages use the standard ADT message structure. The following segments are supported:

SegmentRequiredDescription
MSHYesIdentifies the message type, sender and receiver.
EVNYesIdentifies the event that triggered the message.
PIDYesContains the patient identifiers and demographics.
PV1ConditionalContains visit information where applicable.
MRGConditionalContains patient merge information where applicable.

The following reference provides the supported fields for each HL7 segment used in this workflow. Unless otherwise stated, fields not listed are ignored during processing.

MSH

The MSH (Message Header) segment identifies the message type, sender, receiver, version and other information required to process an HL7 message. All patient registration messages sent to AdvaPACS must include a valid MSH segment.

FIELDNAMELENGTHDATA TYPEOPT.TABLE
MSH-1Field Separator1STR-
MSH-2Encoding Characters4STR-
MSH-3Sending Application227HDR+-
MSH-4Sending Facility227HDR+-
MSH-5Receiving Application227HDR-
MSH-6Receiving Facility227HDR+-
MSH-7Date/Time of Message26TSR-
MSH-9Message Type15MSGR0076
MSH-10Message Control ID199STR-
MSH-11Processing ID3PTR0103
MSH-12Version ID60VIDR0104
MSH-15Accept Acknowledgment Type2IDO0155
MSH-16Application Acknowledgment Type2IDO0155

EVN

The EVN segment identifies the event being reported and when that event was recorded by the sending system. For patient registration messages, AdvaPACS uses EVN to identify the ADT event type and record the event timestamp.

FIELDNAMELENGTHDATA TYPEOPT.TABLE
EVN-1Event Type Code3IDO0003
EVN-2Recorded Date/Time26TSR-
EVN-3Date/Time Planned Event26TSO-
EVN-4Event Reason Code3ISO0062
EVN-5Operator ID250XCNO0188
EVN-6Event Occurred26TSO-
EVN-7Event Facility241HDO-

Notes:

  • If EVN-1 is populated, it should match the trigger event contained in MSH-9-2. For example, an ADT^A08 message should contain A08 in both MSH-9-2 and EVN-1.
  • EVN-2 should contain the date and time the event was recorded by the sending system.

PID

The PID segment contains the patient identifiers and demographic information used to identify the patient associated with the report.

FIELDNAMELENGTHDATA TYPEOPT.TABLE
PID-1Set ID - PID4SIO-
PID-3Patient Identifier List20CXR-
PID-5Patient Name48XPNR-
PID-7Date/Time of Birth26TSR2-
PID-8Sex1ISR0001
PID-13Phone Number - Home40XTNO-
PID-29Patient Death Date and Time26TSO-
PID-30Patient Death Indicator1IDO0136

Assigning Authorities

If the Assigning Authorities feature of AdvaPACS is enabled, Patient IDs must include Assigning Authority. The first subcomponent (namespace ID) of Assigning Authority shall be populated. If the second and third subcomponents (universal ID and universal ID type) are also populated, they shall reference the same entity as is referenced in the first subcomponent.

PV1

The PV1 (Patient Visit) segment describes the patient's encounter at the requesting facility. While many fields are optional for outpatient imaging, the segment can be used to communicate visit information, patient class, referring provider, and visit identifiers when available.

FIELDNAMELENGTHDATA TYPEOPT.TABLE
PV1-1Set ID - PV14SIO-
PV1-2Patient Class1ISR0004
PV1-8Referring Doctor60XCNC0010
PV1-19Visit Number20CXC-

MRG

The MRG (Merge Information) segment is used in patient merge and patient identifier update messages. It contains the patient's previous identifier information, allowing the receiving system to associate the incoming request with an existing patient record before performing the update.

FIELDNAMELENGTHDATA TYPEOPT.TABLE
MRG-1Prior Patient Identifier List250CXR-

Example Messages

The examples below illustrate typical HL7 messages used during patient registration. Use them as a reference when building, testing, or troubleshooting your integration with AdvaPACS.

Create a Patient

The following example uses an ADT^A04 message to register a new outpatient:

MSH|^~\&|RIS|HOSPITAL|ADVAPACS||20260706103000+1200||ADT^A04|MSG000001|P|2.5.1
EVN|A04|20260706103000+1200
PID|1||123456^^^HOSPITAL^MR||SMITH^JOHN^MICHAEL||19800115|M|||123 Example Street^^Auckland^^1010^NZ||0211234567^PRN^CP^+64|john.smith@example.com
PV1|1|O

Update a Patient ID

The following example uses an ADT^A47 message to update a patient's identifier, where:

  • PID-3 contains the patient's new identifier.
  • MRG-1 contains the patient's existing identifier, which will be replaced.
MSH|^~\&|RIS|HOSPITAL|ADVAPACS||20260706103000+1200||ADT^A47|MSG000002|P|2.5.1
EVN|A47|20260330120000
PID|1||NEWPID^^^HOSP^MR||DOE^JOHN
MRG|OLDPID^^^HOSP^MR

Merge Patients

The following example uses an ADT^A40 message to merge two patient records, where:

  • PID-3 contains the surviving (correct) patient identifier.
  • MRG-1 contains the patient identifier to be merged into the surviving patient record.
MSH|^~\&|RIS|HOSPITAL|ADVAPACS||20260706103000+1200||ADT^A40|MSG000001|P|2.5.1
EVN|A40|202604021030
PID|||12345^^^HOSP^MR||Doe^Jane||19800101|F
MRG|98765^^^HOSP^MR