Re: [HAPI-devel] handling of HL7-null

2007-10-02 Thread Bryan Tripp
Hi Ronald, Thanks very much for this helpful review. I'm still not sure how to interpret this. The v2.6 text seems to address "what can go in a field". If there's no corresponding text for "what can go in a component/subcomponent" (is there? I don't have access to this spec) then I think this wou

Re: [HAPI-devel] handling of HL7-null

2007-09-19 Thread Life is hard, and then you die
[sorry for the slow reply - was offline for bit] On Thu, Sep 13, 2007 at 11:29:09AM -0400, Bryan Tripp wrote: > Hi Ronald, > > > I think there's a slight confusion regarding HL7 Null's: only a field > > as a whole may be Null, not individual components. So, |""| says the > > Yes, I might be con

Re: [HAPI-devel] handling of HL7-null

2007-09-13 Thread Bryan Tripp
Hi Ronald, > I think there's a slight confusion regarding HL7 Null's: only a field > as a whole may be Null, not individual components. So, |""| says the Yes, I might be confused about that. Can you give me a section reference? Thanks, Bryan -

Re: [HAPI-devel] handling of HL7-null

2007-09-12 Thread Life is hard, and then you die
Hi Bryan, On Wed, Sep 12, 2007 at 11:42:41AM -0400, Bryan Tripp wrote: > > Thanks for the explanations. I think I understand where you're coming > from but I have a few more questions ... > > > 1. Checking for Null currently is hard, because you actually have > >to check all parts in a c

Re: [HAPI-devel] handling of HL7-null

2007-09-12 Thread Bryan Tripp
Hi Ronald, Thanks for the explanations. I think I understand where you're coming from but I have a few more questions ... > 1. Checking for Null currently is hard, because you actually have >to check all parts in a composite type. E.g. for a field of type >XPN you have to check that XPN.

Re: [HAPI-devel] handling of HL7-null

2007-09-11 Thread Life is hard, and then you die
Hi Bryan, thanks for your reply. On Mon, Sep 10, 2007 at 09:26:19AM -0400, Bryan Tripp wrote: > > I'm not sure I understand the motivation for handling them specially. > Nulls (as opposed to empty fields) are to indicate that corresponding > data should be deleted from the receiving applicati

Re: [HAPI-devel] handling of HL7-null

2007-09-10 Thread Bryan Tripp
Hi Ronald, I'm not sure I understand the motivation for handling them specially. Nulls (as opposed to empty fields) are to indicate that corresponding data should be deleted from the receiving application. This is supported -- if a field contains "\"\"" then the application should delete data -- b

[HAPI-devel] handling of HL7-null

2007-08-30 Thread Life is hard, and then you die
We're trying to handle hl7 update messages, and these may contain hl7 null's (""). HAPI does not currently seem to handle them specially, which leads to various problems, such as validation failures and making it somewhat torturous to detect these nulls. I've been trying to figure out what the be