Configuring the editor of tHL7Input

Scenario: Retrieving information about patients and events from an HL7 file (deprecated)

EnrichVersion
Cloud
6.4
task
Data Governance > Third-party systems > Business applications > HL7 components
Data Quality and Preparation > Third-party systems > Business applications > HL7 components
Design and Development > Third-party systems > Business applications > HL7 components
EnrichPlatform
Talend Studio

Procedure

  1. From the Palette, drop an tHL7Input and three tLogRow components onto the design workspace.
  2. Double-click tHL7Input in order to open its editor.
  3. In the File path field, click [Browse...] and browse the directory to select your HL7 file.
  4. In the File Setting area, type in your segment Start character and your segment End character.
  5. Under Segment(As Schema), in the Schema view area, select MSH.
  6. 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.
  7. Under Segment(As Schema), in the Schema view area, select EVN.
  8. 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.
  9. Under Segment(As Schema), in the Schema view area, select PID.
  10. 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.

  11. Click Ok to close the editor.