version property
Determines the version of both the default parser to be used when schema
is not given, as well as the schematized parser used when schema
is
specified.
This field is immutable after HL7v2 store creation.
Immutable. Possible string values are:
- "PARSER_VERSION_UNSPECIFIED" : Unspecified parser version, equivalent to V1.
- "V1" : The
parsed_data
includes every given non-empty message field except the Field Separator (MSH-1) field. As a result, the parsed MSH segment starts with the MSH-2 field and the field numbers are off-by-one with respect to the HL7 standard. - "V2" : The
parsed_data
includes every given non-empty message field. - "V3" : This version is the same as V2, with the following change. The
parsed_data
contains unescaped escaped field separators, component separators, sub-component separators, repetition separators, escape characters, and truncation characters. Ifschema
is specified, the schematized parser uses improved parsing heuristics compared to previous versions.
Implementation
core.String? version;