From: Ackley, K. A <kei...@ed...> - 2003-10-20 21:05:45
|
Hi, I'm trying to send a null value, which should be transmitted as two double quote marks (""). I have tried calling setValue with null and with "". It does not appear to work for any type. For example, I have tried ca.uhn.hl7v2.model.v24.datatype.NM value = new ca.uhn.hl7v2.model.v24.datatype.NM() value.setValue(null); And ca.uhn.hl7v2.model.v24.datatype.NM value = new ca.uhn.hl7v2.model.v24.datatype.NM() value.setValue(""); Both approaches result in the value being omitted from the generated message. How do I get the parser to produce ""? Thanks, Keith |