Re: [HAPI-devel] Fwd:

2014-03-18 Thread king...@aol.com
Dear all, I apologize for the inconvenience caused by me. Actually My mail was hacked by some one and now it is under control. -- Sathish On Tuesday 18 March 2014 11:22 PM, Bob Gage wrote: > If you cannot filter this spammer, please unsubscribe me immediately. > > -Original Message- > F

Re: [HAPI-devel] Fwd:

2014-03-18 Thread Bob Gage
If you cannot filter this spammer, please unsubscribe me immediately. -Original Message- From: Sathish kumar [mailto:king...@aol.com] Sent: Monday, March 17, 2014 3:16 PM To: sundara...@raster.in; hl7api-devel@lists.sourceforge.net Subject: [HAPI-devel] Fwd: Hallo! http://www.unitedco-on

Re: [HAPI-devel] customizing datatype

2014-03-18 Thread Pablo Pazos
Just take into account disabling validation just will create a non compliant message, that could work internally as a workaround, but if you'll integrate external systems in the future, this may cause a problem. You can always process the value and validate if it's numeric or not before creating th

Re: [HAPI-devel] customizing datatype

2014-03-18 Thread Letha.Joy
User is entering like 3MG in the Give amount field in the application. I can’t always assume user to enter number in that field. Thanks, Letha Joy From: Pablo Pazos [mailto:pablo.pa...@cabolabs.com] Sent: Tuesday, March 18, 2014 12:13 PM To: Letha.Joy Cc: HAPI Devel List Subject: Re: [HAP

Re: [HAPI-devel] customizing datatype

2014-03-18 Thread Pablo Pazos
In the specs, RXO-2 is NM. why do you need to put MG there? You have RXO-4 to put the units. - RXO-2: Requested Give Amount - Minimum (NM) *optional * - RXO-3: Requested Give Amount - Maximum (NM) *optional * - RXO-4: Requested Give Units (CE) *optional * On Tue, Mar 18, 2014 at 10:29

Re: [HAPI-devel] customizing datatype

2014-03-18 Thread James Agnew
Hi Letha, This definitely just looks like you're running up against invalid data in a field (which is pretty common in the real world). I believe you should be able to solve this by disabling validation, ie.e using NoValidationBuilder instead of DefaultValidationBuilder. Cheers, James On Tue,

Re: [HAPI-devel] customizing datatype

2014-03-18 Thread Christian Ohr
You can define your own validation rules or turn off validation completely. See e.g. http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/MessageValidation.htmlhow to do this. cheers Christian 2014-03-18 14:29 GMT+01:00 Letha.Joy : > Pablo, > > If I tried to add 30MG in RXO 2 I am getting

Re: [HAPI-devel] customizing datatype

2014-03-18 Thread Letha.Joy
Pablo, If I tried to add 30MG in RXO 2 I am getting a validation failed error. I wanted to add custom validation to that field(change data type from numeric to character). I tried DefaultValidationBuilder but it is not helping me. It would be great if you let me know the solution. ca.uhn.hl7v