hl7parse
Public Attributes | List of all members
hl7_meta_t Struct Reference

HL7 Seperator configuration. More...

#include <meta.h>

Collaboration diagram for hl7_meta_t:
Collaboration graph
[legend]

Public Attributes

int field_length
 
int crlf
 
char sep_message
 
char sep_field
 
char sep_comp
 
char sep_rep
 
char sep_escape
 
char sep_subcmp
 
char * encoding
 
char * version
 
char * type
 
char * subtype
 
bom_tbom
 

Detailed Description

HL7 Seperator configuration.

See also
meta.h

Member Data Documentation

◆ bom

bom_t* hl7_meta_t::bom

bom bytes sequence and length

◆ crlf

int hl7_meta_t::crlf

are messages delimited by one or two bytes?

  • -1 (unknown), initial state
  • 0 delimiter is either CR or LF
  • 1 delimiter is CRLF

NOTE: in case of CRLF sep_message will contain CR/0x0D

◆ encoding

char* hl7_meta_t::encoding

file encoding from MSH-18

◆ field_length

int hl7_meta_t::field_length

number of defined seperators

◆ sep_comp

char hl7_meta_t::sep_comp

component separator, default: ^

◆ sep_escape

char hl7_meta_t::sep_escape

escape character, default: \

◆ sep_field

char hl7_meta_t::sep_field

field separator, default: |

◆ sep_message

char hl7_meta_t::sep_message

message separator, defaults to LF. in case of CRLF this one byte variable will be CR. use hl7_meta_t->crlf to check

◆ sep_rep

char hl7_meta_t::sep_rep

field repetition separator, default: ~

◆ sep_subcmp

char hl7_meta_t::sep_subcmp

sub component separator, default: &

◆ subtype

char* hl7_meta_t::subtype

message sub type from MSH-9.2

◆ type

char* hl7_meta_t::type

message type from MSH-9.1

◆ version

char* hl7_meta_t::version

hl7 version from MSH-12


The documentation for this struct was generated from the following file: