From: John G. <jdg...@gm...> - 2016-01-27 19:30:14
|
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 < jen...@gm...> wrote: > If you can provide the messages I'll have a look ASAP > > On 5 January 2016 at 14:27, John Giotta <jdg...@gm...> 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 < >> jen...@gm...> wrote: >> >>> Could you provide a stacktrace? >>> >>> On 3 January 2016 at 18:55, John Giotta <jdg...@gm...> 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 >>>> Hl7...@li... >>>> 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 >>> jen...@gm... >>> >> > > > -- > > Med venlig hilsen / Kind regards > > *Jens Kristian Villadsen* > cand.polyt > > Stålhøjen 24 > 8240 Risskov > Denmark > > Mobile +4523373806 > jen...@gm... > |