OutputFormat Property

The format of the output data.

Syntax

ANSI (Cross Platform)
int GetOutputFormat();
int SetOutputFormat(int iOutputFormat); Unicode (Windows) INT GetOutputFormat();
INT SetOutputFormat(INT iOutputFormat);

Possible Values

HOF_XML(0), 
HOF_JSON(1),
HOF_HL7(6)
@property (nonatomic,readwrite,assign,getter=outputFormat,setter=setOutputFormat:) int outputFormat;
- (int)outputFormat;
- (void)setOutputFormat:(int)newOutputFormat;

Possible Values

HOF_XML(0), 
HOF_JSON(1),
HOF_HL7(6)
#define PID_HL7TRANSLATOR_OUTPUTFORMAT 6

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_HL7Translator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_HL7Translator_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

This property specifies the format of the output data. The value set here, along with InputFormat, determines how the data is converted when Translate is called.

Possible values are:

  • 0 (ofXML)
  • 1 (ofJSON)
  • 6 (ofHL7)
Before calling Translate, both InputFormat and OutputFormat must be specified. Translation from XML or JSON to EDI and vice versa are supported. If InputFormat is ifXML or ifJSON, OutputFormat must be an EDI format. Similarly, if InputFormat is an EDI format, OutputFormat must be ofXML or ofJSON.

This property is 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]