Skip to main content
Draft - pending technical reviewOwner PDR Engineering (owner to be confirmed)

HL7v2 to PDR

This guide outlines the technical specifications for QEs to contribute HL7v2 data to the PDR.

Success criteria​

The success criteria of the HL7v2 effort include:

  • Contribution of all HL7v2 messages (ORU/MDM messages) to the PDR.
  • Successful sending and saving of messages to either the Part 2 or Non-Part 2 endpoint.

Information for QEs sending HL7v2 messages​

Data transmission: QE to HeC​

The preferred way for QEs to submit data to HeC is a web server endpoint that supports real-time submission of HL7v2 messages (MDM/ORU). This should include all ORUs and all MDM messages. We understand that some sources may have limitations that require other submission approaches (for example, sFTP), which may be supported as a second phase.

Inclusion criteria​

  • QEs should send both Non-Part 2 and Part 2 HL7v2 messages to the PDR at go-live. The documents should be sent to separate endpoints and will be stored separately.
  • QEs should generally send raw HL7v2 messages. Processing should occur only if it is required to distinguish Part 2 from Non-Part 2 documents. Processing should not introduce delays of more than a few minutes, nor should documents be "hydrated" with external information from other sources.
  • QEs need to err on the side of caution so that no Part 2 data is inadvertently sent to the wrong endpoint. We will all work to become more confident about these determinations as we go.
  • OMH/OPWDD data should be sent to the Non-Part 2 endpoint as long as there is no Part 2 data included.

Exclusion criteria​

There are no notable exclusions for sending HL7v2 message data that apply broadly. Please contact HeC (Lisa McHugh, lmchugh@healtheconnections.org) if you feel an exclusion should be made.

Endpoint paths​

Each endpoint supports the following message-specific paths:

Message typePath
Transition of Care ORU/trn
Laboratory ORU/lab
Radiology ORU/rad

Example, Hixny test endpoint:

  • https://mc-pdr-intake.qa.healtheconnections.org:6000/intake/trn
  • https://mc-pdr-intake.qa.healtheconnections.org:6000/intake/lab
  • https://mc-pdr-intake.qa.healtheconnections.org:6000/intake/rad

Endpoints​

HeC is setting up the following base endpoints for Test/Test Part 2 and Prod/Prod Part 2. The URLs below are base endpoints. Submitters must append the message path (/trn, /lab or /rad) that matches the message type being sent.

Hixny​

  • Test: https://mc-pdr-intake.qa.healtheconnections.org:6000/intake
  • Test Part 2: https://mc-pdr-intake-part2.qa.healtheconnections.org:6000/intake
  • Prod: https://mc-pdr-intake.prod.healtheconnections.org:6000/intake
  • Prod Part 2: https://mc-pdr-intake-part2.prod.healtheconnections.org:6000/intake

HeC​

  • Test: https://mc-pdr-intake.qa.healtheconnections.org:6001/intake
  • Test Part 2: https://mc-pdr-intake-part2.qa.healtheconnections.org:6001/intake
  • Prod: https://mc-pdr-intake.prod.healtheconnections.org:6001/intake
  • Prod Part 2: https://mc-pdr-intake-part2.prod.healtheconnections.org:6001/intake

RRHIO​

  • Test: https://mc-pdr-intake.qa.healtheconnections.org:6002/intake
  • Test Part 2: https://mc-pdr-intake-part2.qa.healtheconnections.org:6002/intake
  • Prod: https://mc-pdr-intake.prod.healtheconnections.org:6002/intake
  • Prod Part 2: https://mc-pdr-intake-part2.prod.healtheconnections.org:6002/intake

Bronx​

  • Test: https://mc-pdr-intake.qa.healtheconnections.org:6003/intake
  • Test Part 2: https://mc-pdr-intake-part2.qa.healtheconnections.org:6003/intake
  • Prod: https://mc-pdr-intake.prod.healtheconnections.org:6003/intake
  • Prod Part 2: https://mc-pdr-intake-part2.prod.healtheconnections.org:6003/intake

Healthix​

  • Test: https://mc-pdr-intake.qa.healtheconnections.org:6004/intake
  • Test Part 2: https://mc-pdr-intake-part2.qa.healtheconnections.org:6004/intake
  • Prod: https://mc-pdr-intake.prod.healtheconnections.org:6004/intake
  • Prod Part 2: https://mc-pdr-intake-part2.prod.healtheconnections.org:6004/intake

HeL (via TxD)​

  • Test: https://mc-pdr-intake.qa.healtheconnections.org:6006/intake
  • Test Part 2: https://mc-pdr-intake-part2.qa.healtheconnections.org:6006/intake
  • Prod: https://mc-pdr-intake.prod.healtheconnections.org:6006/intake
  • Prod Part 2: https://mc-pdr-intake-part2.prod.healtheconnections.org:6006/intake

HeC uses mutual TLS (mTLS) for the connection, so HeC needs each QE's mTLS certificate.

Message submission​

  • Add the Assigning Authority Code as an HTTP header. This is the value saved in NYeC's Verato to represent the organization. The screenshot below shows an example of how to set this in Mirth Connect: the header name is AssigningAuthority and the value is the organization's code (SOURCEABC in the example).

    Mirth Connect HTTP Sender headers table with a header named AssigningAuthority and the value SOURCEABC

  • A sample of how this looks in an HTTP header:

HTTP/1.1 200 OK
Date: Tue, 19 Aug 2025 18:25:00 GMT
Content-Type: application/json
Content-Length: 234
AssigningAuthority: HOSPITAL-XYZ
  • Send only the message and the header. Do not send Simple Object Access Protocol Provide and Register (SOAP PNR).
  • The endpoints return a successful response when HeC receives the data.
  • If messages need to be removed, moved to Part 2 or Non-Part 2 in the PDR, or corrected, provide HeC with the following information as soon as possible:
    • QE name
    • Assigning Authority
    • MRN
    • Document ID
  • Email this information securely to lmchugh@healtheconnections.org and bhesler@healtheconnections.org.

Version history​

No.DetailsModified byDate
1.0First version of documentHeC (Brad Hesler)9/24/25
1.1Add information on OMH/OPWDD and what should be included in TRN feedHeC (Brad Hesler)10/8/25
1.2Update label of HeL endpoint to include TxD, and reflect the defunct HeL endpointHeC (Mark Helmer)3/30/26
2.0Add support for Labs and RadsHeC (Steven Greenberg)7/13/26
2.1Revision/editsHeC (Lisa McHugh)9/14/26