Sorry for the very late response. I did finally figure out what the problem
was. Mostly CN and TN formatting.
For example:
ORC|RE||31971|||||||1^Clark^Mark||71^Abrams^Richard|^^^Colorado Preventive
Medicine&169|(303) 320-2400^^^^^303^3202400|20160105180250|||||

I created a custom parser to fix some of these issues, but RegEx replacing
doesn't sit well with me.

On Tue, Jan 5, 2016 at 8:29 AM Jens Villadsen <
jenskristianvillad...@gmail.com> wrote:

> If you can provide the messages I'll have a look ASAP
>
> On 5 January 2016 at 14:27, John Giotta <jdgio...@gmail.com> wrote:
>
>> The problem is these HL7 messages I'm getting. I've written my own custom
>> PipeParser to attempt fixing the message midstream. However I'm now onto my
>> 33rd string replacement and I don't even have production messages yet.
>>
>> I didn't realize how out of specification these messages can be. Is there
>> an easier way to extract specific segments without parsing the entire
>> message? I assume there isn't since some version identification must be
>> discovered first.
>>
>>
>>
>> On Mon, Jan 4, 2016 at 4:41 PM Jens Villadsen <
>> jenskristianvillad...@gmail.com> wrote:
>>
>>> Could you provide a stacktrace?
>>>
>>> On 3 January 2016 at 18:55, John Giotta <jdgio...@gmail.com> wrote:
>>>
>>>> I was provided an HL7 file that if I simply trying to consume it with
>>>> HAPI I get an exception of formatting.
>>>>
>>>> How do I handle formatting exceptions, but still access the parts of
>>>> the HL7 I need?
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Hl7api-devel mailing list
>>>> Hl7api-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Med venlig hilsen / Kind regards
>>>
>>> *Jens Kristian Villadsen*
>>> cand.polyt
>>>
>>> Stålhøjen 24
>>> 8240 Risskov
>>> Denmark
>>>
>>> Mobile +4523373806
>>> jenskristianvillad...@gmail.com
>>>
>>
>
>
> --
>
> Med venlig hilsen / Kind regards
>
> *Jens Kristian Villadsen*
> cand.polyt
>
> Stålhøjen 24
> 8240 Risskov
> Denmark
>
> Mobile +4523373806
> jenskristianvillad...@gmail.com
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to