ca.uhn.hl7v2.model.DataTypeException: The value of the TN datatype does not
conform to an allowable format. Format should conform to [NNN]
[(999)]999-9999[X99999][B99999][C any text]: Segment: PID (rep 0) Field #13
at
ca.uhn.hl7v2.model.primitive.CommonTN.setValidValue(CommonTN.java:242)
at ca.uhn.hl7v2.model.primitive.CommonTN.setValue(CommonTN.java:114)
at ca.uhn.hl7v2.model.v23.datatype.TN.setValue(TN.java:77)
at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:363)
at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:312)
at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:264)
at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:139)
at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:120)
The cause was PID-13 of "509 555-1212 CELL" instead of the expected format
of "509 555-1212C CELL". Simple problem, but a pain because the exception
that is generated kills the responder, which kills the receiver, which kills
the connection.
On a side note, I have noticed that the connection cleaner defined in
HL7Service doesn't seem to be doing it's job. I haven't looked further, so
I am mainly curious if anyone else has noticed similar things.
Sorry for the dupe, Bryan; I realized that I emailed you directly instead of
the list.
-Court
|