Is the segment description accessible via script within Iguana?
If so, can you provide an example?
What about the option flags for a given field or segment regarding “Required” or “Optional”?
Nope that isn’t exposed either I think…
If you felt ambitious you could parse the XML of the VMD file itself and get access to this information from there.
What is driving the need?
While Optionality of fields isn’t exposed directly, it may be useful to look at the 3rd return value from the hl7.parse() method. This is a table of errors (including violation of the “required” attribute) that can provide useful validation information.
Jeff Drumm ◊ VP and COO ◊ HICG, LLC. ◊ http://www.hicgrp.com
You must be logged in to reply to this topic.