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.
Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Login
0 Comments