hl7parse
|
HL7 Seperator configuration. More...
#include <meta.h>
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_t * | bom |
HL7 Seperator configuration.
bom_t* hl7_meta_t::bom |
bom bytes sequence and length
int hl7_meta_t::crlf |
are messages delimited by one or two bytes?
-1
(unknown), initial state0
delimiter is either CR
or LF
1
delimiter is CRLF
NOTE: in case of CRLF
sep_message
will contain CR
/0x0D
char* hl7_meta_t::encoding |
file encoding from MSH-18
int hl7_meta_t::field_length |
number of defined seperators
char hl7_meta_t::sep_comp |
component separator, default: ^
char hl7_meta_t::sep_escape |
escape character, default: \
char hl7_meta_t::sep_field |
field separator, default: |
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
char hl7_meta_t::sep_rep |
field repetition separator, default: ~
char hl7_meta_t::sep_subcmp |
sub component separator, default: &
char* hl7_meta_t::subtype |
message sub type from MSH-9.2
char* hl7_meta_t::type |
message type from MSH-9.1
char* hl7_meta_t::version |
hl7 version from MSH-12