XSegmentType Property

Indicates the current segment type.

Syntax

ANSI (Cross Platform)
int GetXSegmentType();

Unicode (Windows)
INT GetXSegmentType();

Possible Values

ST_NONE(0), 
ST_INTERCHANGE(1),
ST_FUNCTIONAL_GROUP(2),
ST_TRANSACTION(3),
ST_INTERCHANGE_HEADER(4),
ST_FUNCTIONAL_GROUP_HEADER(5),
ST_TRANSACTION_HEADER(6),
ST_TRANSACTION_SEGMENT(7),
ST_TRANSACTION_LOOP(8),
ST_TRANSACTION_FOOTER(9),
ST_FUNCTIONAL_GROUP_FOOTER(10),
ST_INTERCHANGE_FOOTER(11)
@property (nonatomic,readonly,assign,getter=XSegmentType) int XSegmentType;
- (int)XSegmentType;

Possible Values

ST_NONE(0), 
ST_INTERCHANGE(1),
ST_FUNCTIONAL_GROUP(2),
ST_TRANSACTION(3),
ST_INTERCHANGE_HEADER(4),
ST_FUNCTIONAL_GROUP_HEADER(5),
ST_TRANSACTION_HEADER(6),
ST_TRANSACTION_SEGMENT(7),
ST_TRANSACTION_LOOP(8),
ST_TRANSACTION_FOOTER(9),
ST_FUNCTIONAL_GROUP_FOOTER(10),
ST_INTERCHANGE_FOOTER(11)
#define PID_HL7READER_XSEGMENTTYPE 27

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_HL7Reader_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

0

Remarks

The current segment will be a control segment footer/header or a transaction data segment.

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 C++ Edition - Version 20.0 [Build 8203]