Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrLineProcessingEmptyInput = errors.New("empty input") ErrLineProcessingInvalidLinebreak = errors.New("invalid line breaking") ErrLineProcessingNoLineSeparator = errors.New("separator has to be provided if auto-detect is disabled") )
Lining
View Source
var ( ErrAnnotationParsingInvalidProtocol = errors.New("invalid protocol") ErrAnnotationParsingWrongProtocol = errors.New("wrong protocol") ErrAnnotationParsingMissingAnnotation = errors.New("annotation missing") // Note: special error used to skip unannotated fields ErrAnnotationParsingInvalidElement = errors.New("invalid annotation element") ErrAnnotationParsingInvalidElementKey = errors.New("invalid annotation element key") ErrAnnotationParsingIllegal = errors.New("illegal annotation combination") ErrAnnotationParsingInvalidInputStruct = errors.New("invalid input struct type") )
AnnotationParsing
View Source
var ( ErrLineParsingEmptyInput = errors.New("empty input") ErrLineParsingHeaderTooShort = errors.New("header too short") ErrLineParsingNotEnoughFields = errors.New("not enough input fields in line") ErrLineParsingSequenceNumberMismatch = errors.New("sequence number mismatch") ErrLineParsingRequiredInputFieldMissing = errors.New("required input field missing") ErrLineParsingInputComponentsMissing = errors.New("input components missing") ErrLineParsingNonSettableField = errors.New("field is not settable") ErrLineParsingDataParsingError = errors.New("data parsing error") ErrLineParsingInvalidDateFormat = errors.New("invalid date format") ErrLineParsingUnsupportedDataType = errors.New("unsupported data type") ErrLineParsingReservedFieldPosReference = errors.New("field position 1 and 2 are reserved") ErrLineParsingUnterminatedEscapeSequence = errors.New("unterminated escape sequence") ErrLineParsingUnknownEscapeSequence = errors.New("unknown escape sequence") ErrLineParsingMaximumRecursionDepthExceeded = errors.New("line parsing maximum recursion depth exceeded") ErrLineParsingInvalidRecursionDepth = errors.New("invalid recursion depth") ErrLineParsingLineTagMismatch = errors.New("line tag mismatch") // Note: special error used in ParseStruct )
LineParsing
View Source
var ( ErrStructureParsingMaxDepthReached = errors.New("max depth reached") ErrStructureParsingInputLinesDepleted = errors.New("input lines depleted") ErrStructureParsingEmptyStructure = errors.New("empty structure") //Note: special error for all optional array end find in ParseStruct )
StructureParsing
View Source
var ( ErrLineBuildingInvalidDateFormat = errors.New("invalid date format") ErrLineBuildingUsupportedDataType = errors.New("unsupported data type") ErrLineBuildingReservedFieldPosReference = errors.New("field position 1 and 2 are reserved") ErrLineBuildingInvalidLengthAttributeValue = errors.New("invalid length attribute value") ErrLineBuildingMaximumRecursionDepthExceeded = errors.New("line building maximum recursion depth exceeded") ErrLineBuildingInvalidRecursionDepth = errors.New("invalid recursion depth") )
LineBuilding
View Source
var ( ErrIdentifyMessageWrongProtocol = errors.New("protocol mismatch between function and configuration") ErrIdentifyMessageMissingMessageType = errors.New("missing message type from hl7 header") ErrIdentifyMessageMissingProtocolVersion = errors.New("missing protocol version from hl7 header") )
IdentifyMessage
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.