From: efreed <ef...@ne...> - 2005-06-02 14:02:13
|
OK, so one more question: Aris JAVIER RAMOS wrote: > Construction time means before the start of parsing message > > //disabling TN validation > System.setProperty(CommonTN.VALIDATE_PROPERTY, "FALSE"); > Parser parser = new PipeParser(); > Message message = parser.parse(strMsgToParse); and a few people said about run time: java -Dca.uhn.hl7v2.model.primitive.CommonTN.validate=false etc That means it is a global switch. In other words if I have two sources of HL7 messages, I can either validate both or neither because ca.uhn.hl7v2.model.primitive.CommonTN.validate is a System property of the VM, yes? (Validating one and not the other would require fancy thread managed timing to switch the validation on and off) Thanks -- Eric Freed IT Manager New Rochelle Radiology 914-633-7700 x339 |