Chat.HL7.org Zulip Archive

For questions about this archive, please contact webmaster@hl7.org.

Stream: V2

Topic: Signature as part of v2 message


view this post on Zulip Rene Spronk (Jan 09 2020 at 11:10):

Ireland are looking at ways of conveying a dig sig as part of the v2 message itself. I suggested to add a Z-segment at the tail end to send the sig of 'all segments bar the z-segment itself'. AFAIK there's no standard mechanism to accomplish this.
What's your experience / recommendation for this use case?

view this post on Zulip Craig Newman (Jan 09 2020 at 13:16):

@Rene Spronk I'm not sure what the answer is off the top of my head, but I've put it on the agenda for the v2 Management Group call on Friday. That call is at 3PM Eastern (which might be late for you) but you're welcome to join the call to discuss (we also meet the following Friday at 9AM Eastern which might be easier to make).

In the meantime, someone was looking for some clarification. Are you talking about digitally signing V2 messages, or just including some signature information inside the V2 message? Or both?

view this post on Zulip Vassil Peytchev (Jan 09 2020 at 15:25):

There is an Australian standard for that, but it doesn't sound like it is necessarily an appropriate solution: http://www.healthintersections.com.au/?p=688

view this post on Zulip Vassil Peytchev (Jan 09 2020 at 16:33):

As a more general approach, transforming HL7 V2 from the ER7 to XML format will allow using XML digital signature. This will move the development complexity from managing a digital signature "by hand" to transforming ER7 to V2.XML, and will bring the benefits of using existing libraries for XML Digital Signatures.

view this post on Zulip Daniel Rutz (Jan 09 2020 at 16:50):

That said, any kind of signing of a v2 message is fraught with practical challenges if the ecosystem you're applying it to is used to being able to manipulate messages in transit (selecting one coding system per recipient when a sender includes several, removing fields or segments not needed for data minimalism, or regression testing avoidance reasons, etc.). This is, of course, quite common in many established HL7 v2 ecosystems.

The XML digital signature route still allows for individual fields to be specified to be the signed elements, I believe, but it would need an implementation-specific agreement on which segments/fields should be signed and which are flexible. But at that point it becomes a dialog for the relevant regulating/implementing bodies to have in finding a reasonable middle ground.

view this post on Zulip Rene Spronk (Jan 10 2020 at 07:42):

Thanks all. @Craig Newman It's not my use-case, this Irish use case was raised during a HL7v2 training course. I'll inform them about this discussion.

view this post on Zulip Frank Oemig (Jan 12 2020 at 10:33):

As said, signing only works if there is no change. But most live systems rely on communication servers which is a No-Go then. Or signatures are reduced to partial information.

view this post on Zulip Grahame Grieve (Jan 14 2020 at 03:01):

any kind of signing of a v2 message is fraught with practical challenges if the ecosystem you're applying it to is used to being able to manipulate messages in transit

And this is a very hard thing to unwind

view this post on Zulip Mo Aamer (Feb 09 2020 at 09:38):

Hello everyone,
Anyone can help me please with a detailed example on how to register a new user using A28 event type,
I have searched the internet for days, but I have 2 main questions:
1- How should I send the required field(s) which I don't have them in my system, ex: "Patient ID (Internal ID)" ?
2- in the "patient name" if my system is bi-lingual, can i send english and the other language within this field or the English name only and save the other one in my DB?

view this post on Zulip Craig Newman (Feb 10 2020 at 13:18):

@Mo Aamer As far as the Patient ID (PID-3) goes, is there really no identifier associated with the patient in your system? There are a lot of different ID types that can be sent and I would have thought that all systems at least have some sort of ID for a given patient. What sort of system is generating the A28s (an EHR, a practice management system, an ancillary system)?

The description of the XPN data type in chapter 2A does cover some issues with internationalization of patient names. If you haven't looked at section, it may be of help. In general though, PID-5 is allowed to repeat.

view this post on Zulip Craig Newman (Feb 10 2020 at 13:19):

Having said all this, I'm not really that much of a patient administration sort of person. @Alexander de Leon may have more thoughts on this.

view this post on Zulip Craig Newman (Feb 10 2020 at 13:22):

Finally, are you trying to develop a general outgoing interface that can be used with many different trading partners or just developing a specific point-to-point interface with one other system. If the latter, the best course of action is to be talking directly to your trading partner and see what they can handle in these scenarios. They may or may not be able to accept a message without PID-3 and repeating names. If you're developing a more general interface, just be sure to document what your system can and cannot do so that future trading partners will know your capabilities. While there are many v2 implementation guides out there for various types of exchanges (all of which use PID segments), I don't think there is any sort of ADT implementation guide that covers A28s.


Last updated: Mar 23 2020 at 00:02 UTC