tHL7Input (deprecated)
Reads an HL7 structured file and extracts data row by row.
tHL7Input opens an HL7 structured file and reads it row by row to split
them up into fields then sends the fields as defined in the Schema to the next
component, via a Row link.
tHL7Input Standard properties
These properties are used to configure tHL7Input running in the Standard Job framework.
The Standard
tHL7Input component belongs to the Business family.
The component in this framework is generally available.
Basic settings
Property Type |
Either Built-In or Repository: |
|
Built-In: No property data stored |
|
Repository: Select the Repository |
|
Click this icon to open a connection wizard and store the Excel For more information about setting up and storing file connection |
Multi Schemas Editor |
The [Multi Schema Editor] helps |
Segment Lists |
Connection: The columns are
Column Mapping: The mapping in |
Not Validate HL7 Message |
Select this check box if you do not want to validate HL7 |
Advanced settings
Advanced separator (for numbers) |
Select this check box to modify the separators to be used for the Thousands separator or Decimal separator |
Encoding |
Select the encoding type from the list or select Custom and define it manually. This field |
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at a |
Global Variables
Global Variables |
NB_LINE: the number of rows read by an input component or
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
Usage rule |
Usually used as a Start component. An output component is |
Scenario: Retrieving information about patients and events from an HL7 file
(deprecated)
This scenario describes a four-component Job which retrieves information about
patients and events from an HL7 file.

Configuring the editor of tHL7Input
- From the Palette, drop an tHL7Input and three tLogRow components onto the design workspace.
-
Double-click tHL7Input in order to open
its editor. -
In the File path field, click [Browse…] and browse the directory to select
your HL7 file. -
In the File Setting area, type in your
segment Start character and your segment
End character. -
Under Segment(As Schema), in the Schema
view area, select MSH. -
Drop the MSH-3(1)-1-1[IS] and
MSH-7(1)-1-1[ST
] segments from
the Message View onto the Schema View, and change the User Column value to MSH_LABEL and MSH_DATE
respectively. -
Under Segment(As Schema), in the Schema
view area, select EVN. -
Drop the EVN-1(1)-1-1[ID] and
EVN-2(1)-1-1[ST] segments from the Message View onto the Schema View, and change the User
Column value to EVN_ID and
EVN_DATE respectively. -
Under Segment(As Schema), in the Schema
view area, select PID. -
Drag and drop the following segments from the Message View onto the Schema
View: PID-1(1)-1-1[SI],
PID-5(1)-1-1[ST],
PID-5(1)-2-1[ST], PID-5(1)-3-1[ST],
PID-5(1)-4-1[ST],
PID-5(1)-5-1[ST],
PID-7(1)-1-1[ST], PID-8(1)-1-1[IS], then change the User
Column value to PID_ID,
PID_FNAME, PID_LNAME, PID_STNUMBER,
PID_STREET, PID_CITY, PID_BDAY,
PID_GENDER.Note:If available, click the Auto map!
button, located at the bottom left of the interface, to carry out the
mapping operation automatically. - Click Ok to close the editor.
Configuring the output components
-
Double-click tLogRow_1 to display its
Basic settings view and define the
component properties. -
Select Table (print values in cells of a
table) mode to display the execution result. - Do the same with tLogRow_2 and tLogRow_3.
Job Execution
- Link tHL7Input to the three tLogRow components, using MSH, EVN and PID links respectively.
-
Save your Job and press F6 to execute
it.
The console displays the three tLogRow tables,
which return different types of information. The first one gives the message header
label and its date. The second table shows the information about the patient. The
third one displays the event ID and its date.