ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » HL7 Messageset in TDS Format

Post new topic  Reply to topic
 HL7 Messageset in TDS Format « View previous topic :: View next topic » 
Author Message
gakana
PostPosted: Mon Nov 21, 2005 9:41 am    Post subject: HL7 Messageset in TDS Format Reply with quote

Apprentice

Joined: 27 Jul 2005
Posts: 28
Location: Michigan

Hi All,

I would like to process this sample message in TDS format using HL7 standard.

MSH|^~\&|XXX||YYY|ZZZ|20050131191539||ADT^A01|01254647P

here

'^' Component separator in HL7
'|' Data element separator in HL7
'~' Repeating element delimiter in HL7
'&' Sub-component separator in HL7
'\' is Escape delimiter


The messageset tree should be populate like this

Field separator = |
EncodingCharacters = ^~\&
SendingApplication
NamespaceID = XXX
UniversalID
UniversalIDType
SendingFacility
NamespaceID
UniversalID
UniversalIDType
ReceivingApplication
NamespaceID = YYY
UniversalID
UniversalIDType
--
--
MessageType
MessageType = ADT
TriggerEvent = A01
--

ProcessingID
ProcessingID = 01254647P
ProcessingMode

--
--

etc

but I am getting the values like this in the message tree in the debug mode

MRM
HL7_SGMSH
Field separator = ^~\&
EncodingCharacters = XXX
SendingApplication
NamespaceID = YYY
UniversalID = ZZZ
UniversalIDType = 20050131191539
--
etc

I am working on MB 5.0.5 version and I have set all default values
in the messages set for HL7 standard

I also set Filed Identification Tag to "MSH'

Please hlep me how to get the expected values

Thanks
Gakana
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Nov 21, 2005 3:55 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You need to set 'Interpret Element Value' on the service string, and then make sure that you use HL7 mnemonics ( such as <HL7_FS> ) for all your Delimiters, Repeating Element Delimiters, Group Indicators and Group Terminators.
It's not straightforward to get the model right, so feel free to ask if you're still stuck.
Back to top
View user's profile Send private message
wooda
PostPosted: Tue Nov 22, 2005 12:50 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

As kimbert has said Se your Messaging Standard to "HL7" and set "Interpret Element Value" on the field separator and service string to "HL7 Field Separator" and "HL7 Service String" respectively. Then make sure you use the correct mnemonics in for your delimters, repeat delimiters etc.

As modelling the whole HL7 standard would be a very large task It is also worth mentioning that IBM has an off the shelf HL7 message set solution available.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Nov 22, 2005 6:55 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You should definitely consider using the IBM-supplied solution. It's a good implementation of the standard, and I've seen it work out-of-the-box on more than one project. Let me know if you need contact details - IBM Dublin usually do this sort of thing, but I think HL7 may be different.
Back to top
View user's profile Send private message
gakana
PostPosted: Tue Nov 22, 2005 11:48 am    Post subject: HL7 Messageset in TDS Format<Solved> Reply with quote

Apprentice

Joined: 27 Jul 2005
Posts: 28
Location: Michigan

Hi Kimbert, thanks for your reply with tips and suggestions.

As your suggestions and hints I am able to parse my messages through my HL7 messageset in TDS format.

For that I used Data Element separation is 'Variable Length Elements Delimited' and Delimiter is <HL7_FS>. For childs used <HL7_CS>

I did not used the HL7 Service String option for the local Elements

I took default value for Interpret Element Value is 'None' and Length is 'Zero'.

A pre-defined message set solution for HL7 may be purchased from IBM.

Thanks all for your support
Gakana
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Nov 28, 2005 5:26 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I did not used the HL7 Service String option for the local Elements
In that case you'd better be sure that all of the messages use the default separators. If you ever encounter a message which overrides the Field Separator in the service string (they are quite common) , your message will not parse correctly.

If you want help with interpreting the service string correctly, just ask.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » HL7 Messageset in TDS Format
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.