25.01.2015 Views

Ensemble HL7 Version 2 Development Guide - InterSystems ...

Ensemble HL7 Version 2 Development Guide - InterSystems ...

Ensemble HL7 Version 2 Development Guide - InterSystems ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Elements of a Routing Production<br />

• An <strong>HL7</strong> business operation (if your design bypasses a routing process for this interface<br />

and simply relays messages from the incoming business service to the outgoing business<br />

operation)<br />

Use Ack Commit Codes<br />

True or False. If True, when constructing an ACK message for <strong>HL7</strong> messages version 2.3 or<br />

higher, the business service places one of the “enhanced-mode” ACK commit codes in the<br />

MSA segment AcknowledgmentCode field. For a list of codes, see “The UseAckCommitCodes<br />

Setting” in the chapter “Settings for a Routing Production.”<br />

The remaining entries in the Specific Settings column are determined by the type of adapter: FTP, File,<br />

TCP, or HTTP. The following adapter settings are especially important for <strong>HL7</strong> business services:<br />

AppendTimestamp<br />

ArchivePath<br />

CallInterval<br />

(File only) If True, the <strong>HL7</strong> business service automatically appends a time stamp to filenames<br />

in the ArchivePath. The format for this time stamp is %f_%Q where:<br />

• %f is the name of the data source, in this case the input filename<br />

• _ is the literal underscore character, which will appear in the output filename<br />

• %Q indicates ODBC format date and time<br />

In substituting a value for the format code %f, <strong>Ensemble</strong> strips out any of the characters<br />

|,,\,/,:,[,],,&,,,;,NUL,BEL,TAB,CR,LF, replacing spaces with underscores (_) and slashes<br />

(/) with hyphens (-). When the output file is being saved on an OpenVMS system, <strong>Ensemble</strong><br />

replaces colons with hyphens (-). Otherwise, colons (:) become dots (.).<br />

(File and FTP only) If this field is not empty, <strong>Ensemble</strong> creates a copy of each <strong>HL7</strong> message<br />

received via this business service and saves it as a file in the specified ArchivePath. The<br />

archived filename is the same as the input filename.<br />

The number of seconds to wait before looking for more input.<br />

For further information about any setting, hovering the cursor over the setting name, or consult these<br />

references:<br />

• “Adapter Settings” in the “FTP Inbound Adapter” chapter of Using FTP Adapters with <strong>Ensemble</strong><br />

• “Adapter Settings” in the “File Inbound Adapter” chapter of Using File Adapters with <strong>Ensemble</strong><br />

• “Adapter Settings” in the “TCP Inbound Adapter” chapter of Using TCP Adapters with<br />

<strong>Ensemble</strong>, which describes the settings for the general-purpose TCP inbound adapter. The difference<br />

30 <strong>Ensemble</strong> <strong>HL7</strong> <strong>Version</strong> 2 <strong>Development</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!