If I can receive HL7 XML, can I receive CCD? - hl7

I'm using the Mirth Connect listener and so can receive HL7 XML fine (apparently). I've been asked, though, if I am able to receive CCD messages.
Looking at Wikipedia, "The CCD specification is a constraint on the HL7 Clinical Document Architecture (CDA) standard". To me, that says I can at least receive the message via my normal process. Parsing the message could be something altogether different, though.
Can anyone tell me whether or not I am correct in this reading of the description? Is Mirth going to have any trouble receiving the CCD message/s?
Thanks.

The answer is yes, mostly. Below is an example of how to setup for receiving a CDA Message.
The real issue comes into play depending on how you need to receive the message and what needs to be done with it. CDA and HL7 v3 messaging is not as trivial as HL7 v2 (your typical pipe delimited HL7 message) is. The message structures are highly complex and will require a lot of learning. Additionally, CDA messages are not transferred over the MLLP protocol like HL7 v2. I have generally seen people transferring these messages using the XDS profiles. So, depending on how you need to receive the message, there may some additional work to be done.
I believe the paid/licensed version of Mirth offers some components to aid with CDA/HL7 v3 messages, but it is not included in the OSS version.
Receiving a CDA Message in Mirth
Mirth would have no issue receiving the XML message. Just make sure to set the data type to XML in the channel.
From there, you can setup your receive and destination. If you need to work with the XML of the CDA, in the message transformer make sure to provide a sample CDA in the message templates section. Once you do that, the message should show up in teh Message Trees section.

Related

What does ZCD segment refer to in HL7 message?

Does anyone know what ZCD may refer to? It is described as a segment with a link back to PreManage for the patient!
Can anyone please provide more details?
The Z segments (segments those begin with the letter "Z") are custom segments. Those are not defined in specifications. They vary from vendor to vendor. Vendor may publish a document explaining usage of segment. Two connected parties should know in advance and decide the usage by mutual understanding.
As those are custom, and if there is no way to know what data they contain, it may be safe to neglect them hoping the sender have not put critical data in it.
Please refer to this:
Z-segments can be inserted anywhere in the HL7 message. A popular approach is to place the Z-segment within a group of segments that contain similar information, such as insurance. Z-segments are also often placed at the end of the message. The advantage of doing so is that this placement prevents systems configured to parse “standard” HL7 format from requiring any configuration modifications in order to process the message. The application simply reads the segments in the order expected and then extracts the data from the Z-segment (if needed) via parser modifications.
Working with unexpected Z-segments
Sometimes systems may send unexpected Z-segments, whether or not they were part of the original specifications. Even if you are not interested in the data in the Z-segment, you may still (depending on its location) need to take the segment into account while testing and developing your interface.

What is Needed at Receiver side for Receiving EDI documents?

I have Transport Management System. Now one of my carrier want to send me EDI document for Shipment Tracking. that document is EDI 214 (Transportation Carrier Shipment Status Message).Now I'm not clear what I'll need at receiving side. I did some search on google and there are lot's of information regarding EDI and it's workflow. But I'm not clear what should I need at Receiver Side.
Do I need to open any port at my side for receiving document ? Do I need EDI Translator software ? Please Help me as I'm new to EDI.
Thanks so much for any help.
The good news is that receiving X12 is typically easier than generating X12, so your use case is simple relative to bi-directional communication. You are receiving X12 EDI 214s, so it is a single flow in one direction.
The best way to think about this is to ask 1) what is my input I am receiving? and 2) what is the output I want to generate? You are receiving an EDI 214, so presumably you want to generate a JSON/XML/CSV object with just the tracking data that you ERP (system of record) can ingest.
So you need a few things in a typical "EDI architecture"
File transfer protocol (an SFTP is easiest) that you trading partner can connect to and send files to
You need to translate that X12 to JSON (you should check out www.stedi.com/docs/edi-core to do that)
You need to "Map" that file to your output schema (and perhaps convert it to XML/CSV)
You need to post that file to your ERP system
You need to send an EDI 997 (acknowledgement) back to the sender to say "I got it" (think of a read receipt on SMS). Note: some times this is optional
EDI is text, formatted a specific way (aligned to a published standard). To receive files, you have options (but also depends on what the sender supports). Everything from email to 3rd party value added networks, to signed/encrypted HTTP pushes (AS2).
You'll need to agree how you're trading these electronic documents. Once you receive it, then you'll need to parse it. This can be done using 3rd party translators, or you can write it yourself. If the partner requires a 997 (an acknowledgement you received the file), you'll have to generate that. Most 3rd party tools will do that for you. 3rd party tools typically consist of a mapper (drag and drop from source to target) as well as communication mechanisms. Some are cheap, some are expensive. It depends on what you and the sender agree upon to get to the level of effort that you have.
For simplicity sake, you could just set up FileZilla FTP and have the sender place the order there. Then have a process (script, program, etc) to pick up the file, parse it into something your ERP/WMS can understand (XML, JSON, CSV, etc). Again, that assumes the partner supports clear FTP. Some partners demand encryption.

TRADACOMS Utility Bill File - Message Specification

I am looking for a message definition document for a TRADACOMS UTLHDR message (Utility Bill File, version 3).
Context: Need to setup an ETL process involving generation of UTLHDR message but I am missing the message definition document needed to successfully code / test creation of these files. I am reasonably familiar with EDI formats in general, but without a specification it is 'challenging' to correctly sequence the message segments.
The message type is open / non-propriety, just there seems to be very little published information left despite many hours searching. TRADACOMS invoice help (EDI Invoice) was closest I got, but the tools mentioned do not support the message version I am working with.
Any help much appreciated!
While I cannot find a specification for UTLHDR transaction, the UTLBIL format might get you started in the right direction. That is available online, or via export from an EDI dictionary.

Can an HL7 message contain MLLP?

I'm not entirely sure that this is the right place for it - if so, this question should be "Where should I ask this question?" ;)
I have some code I'm maintaining that is parsing out HL7 and MLLP. It opens the MLLP message and sends it to the HL7 parser. Which sends it right back to the MLLP parser. As you can imagine, this goes poorly, quickly.
I'm fairly new to HL7/MLLP, but I'm really confused and also pretty sure that HL7 shouldn't contain another MLLP message. If this is allowed, could I get a link/quote to some documentation stating that?
Just use escape sequences to mask the MLLP codes
see http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/
But if you only want to send more than one HL7-Message in just one MLLP envelope, I would use batch processing with FHS and BHS segments
While perhaps not the same as the issue you are describing, it is not uncommon for HL7 messages to end up being double wrapped in MLLP envelopes. This is particularly if the message is transitioning through another system. (say from a billing system, through an EHR)
a standard envelope is
<VT>...hl7data...<FS><CR>
but a double wrapped message will look like this
<VT><VT>...hl7data...<FS><CR><FS><CR>
It's just something to look out for. And should be corrected by the system in the middle unwrapping and rewrapping the message correctly.

What Difference HL7 V3 and CDA?

What Difference HL7 V3 and CDA, really until now I haven't got precise answer
please help me
Thanks.
HLv2.x is messaging protocol which was mostly ascii/text based, and also had an xml support to it. The problem was that HL7v2.x had boundaries for customization to about 20 percent That is why some times HL7 is also referred to as an open standard.
In order to scrap off customization, attain consistency and enable Plug N Play messaging, RIM - Reference Information Model was created. That gave an Object oriented approach to HL7 messaging standard.
Based on RIM, CDA Clinical Document Architecture was developed.If you say you using v3 or CDA both mean the same. v3 message is completely XML based allowing no region for customization unlike v2.7.
UPDATE: This question here also adds more information about the schemas used by v3 and CDA.
Key Differences
HL7 V2
Not “Plug and Play” – it provides 80 percent of the interface and a framework to negotiate the remaining 20 percent on an interface-by-interface basis
Historically built in an ad hoc way because no other standard existed at the time
Generally provides compatibility between 2.X versions
Messaging-based standard built upon pipe and hat encoding
V2 is what most people think of when people say “HL7″
HL7 V3
Approaching “Plug and Play” – less of a “framework for negotiation”
Many decades of effort over ten year period reflecting “best and brightest” thinking
NOT backward compatible with V2
Model-based standard built upon Reference Information Model (RIM) provides consistency across entire standard
Messaging in XML format.
Clinical Document Architecture (CDA) is what most people think of when people say “HL7 V3″
Example
v3
<author>
<time value="200202150730"/>
<modeCode code="WRITTEN"/>
<signatureCode code="S"/>
<assignedEntity>
<id root="2.16.840.1.113883.19.1122.3" extension="444-444-4444"/>
<assignedPerson>
<name>
<given>Harold</given>
<given>H</given>
<family>Hippocrates</family>
<suffix qualifier="AC">MD</suffix>
</name>
</assignedPerson>
</assignedEntity>
v3 is under continous development. Even today, most of the healthcare applications, still continue to use v2.x.
CDA are HL7 documents, while HL7 V.x are messages. Long story short, the CDA aims for human readability AND machine processing while messages only aim for machine processing.
Here's a good link which describes both paradigms.
A CDA is self-contained and static while a HL7 message describes a dynamic action on a object (A08 for example to update a visit's details or A05 to pre-admitt a patient.)
HL7 V.x messages are purely event driven while the content (Such as an OBX-5 field) may contain a static value. We for example used ORU messages to embedd x-ray results as binary stream.
I think you need to be a bit more specific on HL7. Do you mean HL7 V2 or HL7 V3.
CDA is a specific model created using HL7V3 ( and its underlying Reference Information Model ) to represent a clinical document. So in fact CDA is HL7v3, in as much it is an instance of a model created using HL7V3.
From my knowledge of CDA and the wider use of HL7V3, CDA is by far the most successful and widespread use of HL7V3.
CDA is an specification of HL7 v3. V3 is divided in domains, and CDA is like one specific domain for clinical documents. The Reference Information Model (RIM) of v3 is the general model for all v3 based standards, CDA is just one of those standards.
The CDA and HL7 v 3.x are synonymous.

Resources