Created by ProtoGen/HL7 r1.2 (c) 1994, 1995, 1996 by Gunther Schadow. All rights reserved
MESSAGES SEGMENTS TABLES COMPOSITES
HL7 MESSAGES

HL7 MESSAGES

CHAPTER 2 CNT - CONTROL/QUERY

MESSAGE ACK - GENERAL ACKNOWLEDGEMENT

  MSH
  MSA
  [ ERR ]

MESSAGE DSR - DISPLAY RESPONSE

EVENT Q03 - DEFERRED RESPONSE TO A QUERY

  MSH
  [ MSA ]
  QRD
  [ QRF ]
  { DSP }
  [ DSC ]

MESSAGE MCF - DELAYED ACKNOWLEDGEMENT

  MSH
  MSA
  [ ERR ]

MESSAGE QRY - QUERY

EVENT A19 - PATIENT, QUERY

  MSH
  QRD
  [ QRF ]

EVENT Q01 - IMMEDIATE ACCESS

  MSH
  QRD
  [ QRF ]
  [ DSC ]

EVENT Q02 - DEFERRED ACCESS

  MSH
  QRD
  [ QRF ]
  [ DSC ]

MESSAGE UDM - UNSOLICITED DISPLAY MESSAGE

EVENT Q05 - UNSOLICITED DISPLAY UPDATE

  MSH
  URD
  [ URS ]
  { DSP }
  [ DSC ]

CHAPTER 3 ADT - REG/ADT

MESSAGE ADR - ADT RESPONSE

  MSH
  MSA
  [ ERR ]
  QRD
  {
    [ EVN ]
    PID
    [ { NK1 } ]
    PV1
    [ PV2 ]
    [ { OBX } ]
    [ { AL1 } ]
    [ { DG1 } ]
    [ { PR1 } ]
    [ { GT1 } ]
    [
      {
        IN1
        [ IN2 ]
        [ IN3 ]
      }
    ]
    [ ACC ]
    [ UB1 ]
    [ UB2 ]
  }
  [ DSC ]

MESSAGE ADT - ADT MESSAGE

EVENT A01 - ADMIT A PATIENT

  MSH
  EVN
  PID
  [ { NK1 } ]
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { AL1 } ]
  [ { DG1 } ]
  [ { PR1 } ]
  [ { GT1 } ]
  [
    {
      IN1
      [ IN2 ]
      [ IN3 ]
    }
  ]
  [ ACC ]
  [ UB1 ]
  [ UB2 ]

EVENT A02 - TRANSFER A PATIENT

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]

EVENT A03 - DISCHARGE A PATIENT

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]

EVENT A04 - REGISTER A PATIENT

  MSH
  EVN
  PID
  [ { NK1 } ]
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { AL1 } ]
  [ { DG1 } ]
  [ { PR1 } ]
  [ { GT1 } ]
  [
    {
      IN1
      [ IN2 ]
      [ IN3 ]
    }
  ]
  [ ACC ]
  [ UB1 ]
  [ UB2 ]

EVENT A05 - PREADMIT A PATIENT

  MSH
  EVN
  PID
  [ { NK1 } ]
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { AL1 } ]
  [ { DG1 } ]
  [ { PR1 } ]
  [ { GT1 } ]
  [
    {
      IN1
      [ IN2 ]
      [ IN3 ]
    }
  ]
  [ ACC ]
  [ UB1 ]
  [ UB2 ]

EVENT A06 - TRANSFER AN OUTPATIENT TO INPATIENT

  MSH
  EVN
  PID
  [ MRG ]
  [ { NK1 } ]
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { AL1 } ]
  [ { DG1 } ]
  [ { PR1 } ]
  [ { GT1 } ]
  [
    {
      IN1
      [ IN2 ]
      [ IN3 ]
    }
  ]
  [ ACC ]
  [ UB1 ]
  [ UB2 ]

EVENT A07 - TRANSFER AN INPATIENT TO OUTPATIENT

  MSH
  EVN
  PID
  [ MRG ]
  [ { NK1 } ]
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { AL1 } ]
  [ { DG1 } ]
  [ { PR1 } ]
  [ { GT1 } ]
  [
    {
      IN1
      [ IN2 ]
      [ IN3 ]
    }
  ]
  [ ACC ]
  [ UB1 ]
  [ UB2 ]

EVENT A08 - UPDATE PATIENT INFORMATION

  MSH
  EVN
  PID
  [ { NK1 } ]
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { AL1 } ]
  [ { DG1 } ]
  [ { PR1 } ]
  [ { GT1 } ]
  [
    {
      IN1
      [ IN2 ]
      [ IN3 ]
    }
  ]
  [ ACC ]
  [ UB1 ]
  [ UB2 ]

EVENT A09 - PATIENT DEPARTING

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { DG1 } ]

EVENT A10 - PATIENT ARRIVING

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { DG1 } ]

EVENT A11 - CANCEL ADMIT

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { DG1 } ]

EVENT A12 - CANCEL TRANSFER

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { DG1 } ]

EVENT A13 - CANCEL DISCHARGE

  MSH
  EVN
  PID
  [ { NK1 } ]
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { AL1 } ]
  [ { DG1 } ]
  [ { PR1 } ]
  [ { GT1 } ]
  [
    {
      IN1
      [ IN2 ]
      [ IN3 ]
    }
  ]
  [ ACC ]
  [ UB1 ]
  [ UB2 ]

EVENT A14 - PENDING ADMIT

  MSH
  EVN
  PID
  [ { NK1 } ]
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { AL1 } ]
  [ { DG1 } ]
  [ { PR1 } ]
  [ { GT1 } ]
  [
    {
      IN1
      [ IN2 ]
      [ IN3 ]
    }
  ]
  [ ACC ]
  [ UB1 ]
  [ UB2 ]

EVENT A15 - PENDING TRANSFER

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { DG1 } ]

EVENT A16 - PENDING DISCHARGE

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { DG1 } ]

EVENT A17 - SWAP PATIENTS

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]

EVENT A18 - MERGE PATIENT INFORMATION

  MSH
  EVN
  PID
  [ MRG ]
  PV1

EVENT A20 - NURSING/CENSUS APPLICATION UPDATES

  MSH
  EVN
  NPU

EVENT A21 - LEAVE OF ABSENCE - OUT (LEAVING)

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]

EVENT A22 - LEAVE OF ABSENCE - IN (RETURNING)

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]

EVENT A23 - DELETE A PATIENT RECORF

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]

EVENT A24 - LINK PATIENT INFORMATION

  MSH
  EVN
  PID
  [ PV1 ]
  PID
  [ PV1 ]

EVENT A25 - CANCEL PENDING DISCHARGE

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]

EVENT A26 - CANCEL PENDING TRANSFER

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]

EVENT A27 - CANCEL PENDING ADMIT

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]

EVENT A28 - ADD PERSON INFORMATION

  MSH
  EVN
  PID
  [ { NK1 } ]
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { AL1 } ]
  [ { DG1 } ]
  [ { PR1 } ]
  [ { GT1 } ]
  [
    {
      IN1
      [ IN2 ]
      [ IN3 ]
    }
  ]
  [ ACC ]
  [ UB1 ]
  [ UB2 ]

EVENT A29 - DELETE PERSON INFORMATION

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]

EVENT A30 - MERGE PERSON INFORMATION

  MSH
  EVN
  PID
  MRG

EVENT A31 - UPDATE PERSON INFORMATION

  MSH
  EVN
  PID
  [ { NK1 } ]
  PV1
  [ PV2 ]
  [ { OBX } ]
  [ { AL1 } ]
  [ { DG1 } ]
  [ { PR1 } ]
  [ { GT1 } ]
  [
    {
      IN1
      [ IN2 ]
      [ IN3 ]
    }
  ]
  [ ACC ]
  [ UB1 ]
  [ UB2 ]

EVENT A32 - CANCEL PATIENT ARRIVING

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]

EVENT A33 - CANCEL PATIENT DEPARTING

  MSH
  EVN
  PID
  PV1
  [ PV2 ]
  [ { OBX } ]

EVENT A34 - MERGE PATIENT INFORMATION - PATIENT ID ONLY

  MSH
  EVN
  PID
  MRG

EVENT A35 - MERGE PATIENT INFORMATION - ACCOUNT NUMBER ONLY

  MSH
  EVN
  PID
  MRG

EVENT A36 - MERGE PATIENT INFORMATION - PATIENT ID AND ACCOUNT NUMBER

  MSH
  EVN
  PID
  MRG

EVENT A37 - UNLINK PATIENT INFORMATION

  MSH
  EVN
  PID
  [ PV1 ]
  PID
  [ PV1 ]

MESSAGE QRY - QUERY

EVENT A19 - PATIENT, QUERY

  MSH
  QRD
  [ QRF ]

EVENT Q01 - IMMEDIATE ACCESS

  MSH
  QRD
  [ QRF ]
  [ DSC ]

EVENT Q02 - DEFERRED ACCESS

  MSH
  QRD
  [ QRF ]
  [ DSC ]

CHAPTER 4 ORD - ORDER ENTRY

MESSAGE ORM - ORDER MESSAGE

  MSH
  [ { NTE } ]
  [
    PID
    [ { NTE } ]
    [ { AL1 } ]
    [ PV1 ]
  ]
  {
    ORC
    [
      [
        {
          ANY OF OBR, ODS, ODT, RQD AND RXO
        }
      ]
      [ RQ1 ]
    ]
    [ { NTE } ]
    [
      { RXR }
      [ { RXC } ]
      [ { NTE } ]
    ]
    [
      {
        OBX
        [ { NTE } ]
      }
    ]
    [ BLG ]
  }

MESSAGE ORR - ORDER ACKNOWLEDGEMENT MESSAGE

  MSH
  [ { NTE } ]
  [
    PID
    [ { NTE } ]
    [ { AL1 } ]
    [ PV1 ]
  ]
  {
    ORC
    [
      [
        {
          ANY OF OBR, ODS, ODT, RQD AND RXO
        }
      ]
      [ RQ1 ]
    ]
    [ { NTE } ]
    [
      { RXR }
      [ { RXC } ]
      [ { NTE } ]
    ]
  }

MESSAGE RAS - PHARMACY ADMINISTRATION MESSAGE

  MSH
  [ { NTE } ]
  [
    PID
    [ { NTE } ]
    [ { AL1 } ]
    [ PV1 ]
  ]
  {
    ORC
    [
      RXO
      [
        { NTE }
        { RXR }
        [
          { RXC }
          [ { NTE } ]
        ]
      ]
    ]
    [
      RXE
      { RXR }
      [ { RXC } ]
    ]
    { RXA }
    RXR
    {
      [
        OBX
        [ { NTE } ]
      ]
    }
  }

MESSAGE RDE - PHARMACY ENCODED ORDER MESSAGE

  MSH
  [ { NTE } ]
  [
    PID
    [ { NTE } ]
    [ { AL1 } ]
    [ PV1 ]
  ]
  {
    ORC
    [
      RXO
      [ { NTE } ]
      { RXR }
      [
        { RXC }
        [ { NTE } ]
      ]
    ]
    RXE
    { RXR }
    [ { RXC } ]
    {
      [ OBX ]
      [ { NTE } ]
    }
  }

MESSAGE RDS - PHARMACY DISPENSE MESSAGE

  MSH
  [ { NTE } ]
  [
    PID
    [ { NTE } ]
    [ { AL1 } ]
    [ PV1 ]
  ]
  {
    ORC
    [
      RXO
      [
        { NTE }
        { RXR }
        [
          { RXC }
          [ { NTE } ]
        ]
      ]
    ]
    [
      RXE
      { RXR }
      [ { RXC } ]
    ]
    RXD
    { RXR }
    [ { RXC } ]
    {
      OBX
      [ { NTE } ]
    }
  }

MESSAGE RGV - PHARMACY GIVE MESSAGE

  MSH
  [ { NTE } ]
  [
    PID
    [ { NTE } ]
    [ { AL1 } ]
    [ PV1 ]
  ]
  {
    ORC
    [
      RXO
      [
        { NTE }
        { RXR }
        [
          { RXC }
          [ { NTE } ]
        ]
      ]
    ]
    [
      RXE
      { RXR }
      [ { RXC } ]
    ]
    {
      RXG
      { RXR }
      [ { RXC } ]
      {
        [ OBX ]
        [ { NTE } ]
      }
    }
  }

MESSAGE RRA - PHARMACY ADMINISTRATION ACKNOWLEDGEMENT

  MSH
  MSA
  [ ERR ]
  [ { NTE } ]
  [
    [
      PID
      [ { NTE } ]
    ]
    {
      ORC
      [
        { RXA }
        RXR
      ]
    }
  ]

MESSAGE RRD - PHARMACY DISPENSE ACKNOWLEDGEMENT

  MSH
  MSA
  [ ERR ]
  [ { NTE } ]
  [
    [
      PID
      [ { NTE } ]
    ]
    {
      ORC
      [
        RXD
        { RXR }
        [ { RXC } ]
      ]
    }
  ]

MESSAGE RRE - PHARMACY ENCODED ORDR ACKNOWLEDGEMENT

  MSH
  MSA
  [ ERR ]
  [ { NTE } ]
  [
    [
      PID
      [ { NTE } ]
    ]
    {
      ORC
      [
        RXE
        { RXR }
        [ { RXC } ]
      ]
    }
  ]

MESSAGE RRG - PHARMACY GIVE ACKNOWLEDGEMENT

  MSH
  MSA
  [ ERR ]
  [ { NTE } ]
  [
    [
      PID
      [ { NTE } ]
    ]
    {
      ORC
      [
        RXG
        { RXR }
        [ { RXC } ]
      ]
    }
  ]

CHAPTER 6 BLN - FINANCE

MESSAGE BAR - ADD/CHANGE BILLING ACCOUNT

EVENT P01 - ADD AND UPDATE PATIENT ACCOUNT

  MSH
  EVN
  PID
  {
    [ PV1 ]
    [ PV2 ]
    [ { OBX } ]
    [ { AL1 } ]
    [ { DG1 } ]
    [ { PR1 } ]
    [ { GT1 } ]
    [ { NK1 } ]
    [
      {
        IN1
        [ IN2 ]
        [ IN3 ]
      }
    ]
    [ ACC ]
    [ UB1 ]
    [ UB2 ]
  }

EVENT P02 - PURGE PATIENT ACCOUNT

  MSH
  EVN
  {
    PID
    [ PV1 ]
  }

MESSAGE DFT - DETAIL FINANCIAL TRANSACTION

EVENT P03 - POST DETAIL FINANCIAL TRANSACTION

  MSH
  EVN
  PID
  [ PV1 ]
  [ PV2 ]
  [ { OBX } ]
  { FT1 }

CHAPTER 7 ANR - ANCILLARY RPT

MESSAGE ORF - OBSERV. RESULT/RECORD RESPONSE

  MSH
  MSA
  {
    QRD
    [ QRF ]
    [ PID ]
    [ { NTE } ]
  }
  {
    [ ORC ]
    OBR
    [ { NTE } ]
    {
      [ OBX ]
      [ { NTE } ]
    }
  }
  [ DSC ]

MESSAGE ORU - OBSERV RESULT/UNSOLICITED

  MSH
  {
    [
      PID
      [ { NTE } ]
      [ PV1 ]
    ]
    {
      [ ORC ]
      OBR
      [ { NTE } ]
      [
        {
          OBX
          [ { NTE } ]
        }
      ]
    }
  }
  [ DSC ]

CHAPTER 8 MFI - MASTER FILES

MESSAGE MFD - MASTER FILE DELAYED ACKNOWLEDGEMENT

  MSH
  MFI
  [ { MFA } ]

MESSAGE MFK - MASTER FILE ACKNOWLEDGEMENT

  MSH
  MSA
  [ ERR ]
  MFI
  [ { MFA } ]

MESSAGE MFN - MASTER FILE NOTIFICATION

  MSH
  MFI
  {
    MFE
    [
      {
        ANY OF STF AND PRA
      }
    ]
  }

MESSAGE MFR - MASTER FILE RESPONSE

  MSH
  MSA
  QRD
  [ QRF ]
  MFI
  {
    MFE
    [
      {
        ANY OF STF AND PRA
      }
    ]
  }
  [ DSC ]

CHAPTER C NMT - NETWORK MGMT.

MESSAGE NMD - NETWORK MANAGEMENT DATA

  MSH
  {
    [
      NCK
      [ { NTE } ]
    ]
    [
      NST
      [ { NTE } ]
    ]
    [
      NSC
      [ { NTE } ]
    ]
  }

MESSAGE NMQ - NETWORK MANAGEMENT QUERY

  MSH
  [
    QRD
    [ QRF ]
  ]
  {
    [ NCK ]
    [ NST ]
    [ NSC ]
  }

MESSAGE NMR - NETWORK MANAGEMENT RESPONSE

  MSH
  MSA
  [ ERR ]
  [ QRD ]
  {
    [ NCK ]
    [ { NTE } ]
    [ NST ]
    [ { NTE } ]
    [ NSC ]
    [ { NTE } ]
  }


MESSAGES SEGMENTS TABLES COMPOSITES
Created by ProtoGen/HL7 r1.2 (c) 1994, 1995, 1996 by Gunther Schadow. All rights reserved