procedure DecodeOptions(APacket : String; options : String);

Class IHL7Message

decode converts a message into a DOM type tree integrated with the dictionary.

The options must be one or more of the following words, separated by whitespace:

  v[X]
    Where X is 2.v (i.e. 2.3 or 2.3.1). v can be any of the supported versions.
    Parse as if the specified version, irrespective of what the message says

  s[n]
    Where n is an integer. Parse up the first n segments only. If n is 0, or
    this option is not specified, the entire message will be parsed.

  xml
    Treat as xml without first trying to figure out what it is

  er7
    Treat as vertical bar message without first trying to figure out what it is

  noErrors
    Tell the parser to do it's best to suppress errors encountered reading
    messages. Mostly this relates to XML parsing where the apparent semantics
    in the instance don't match the specified semantics in the standard

  NoOddBinaries
    Don't allow odd length \Xdd\ escape sequences to have a '0' prepended to them. (causes an exception instead)
    i.e. \X9\ is not treated as \X09\


© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.
Keywords: DecodeOptions