New Repeater Child Element

Follow the next steps to add a new repeater child element and a parent element.
  1. Copy the standard OOTB profile and create a copy of the profile from Console > System Configuration > Interchange Mapping > Manage Profile.
    For example, the newly created profile ICH-ICSR V3.0 MESSAGE TEMPLATE - EMA CUSTOM.
  2. Identify the UD field and refer to New Child Element section of this document (Point 2) to add it in the new mapping SQL.
  3. Add the parent element <custom_parent> in the CFG_E2B for ICH-ICSR V3.0 MESSAGETEMPLATE - EMA CUSTOM profile.

    Note:

    Verify that the following apply to the parent element:
    1. ORDER_OF_EXECUTION is +0.1 from the previous element.
    2. HIE_LEVEL is the same for each ICH ICSR element and for the neighboring element.
    3. REPEATABLE is set to 1.

    For details on other columns, refer to the Export Specific Extensibility section of this document (Point b).

  4. Add the child element <custom_child> in CFG_E2B for ICH-ICSR V3.0 MESSAGE TEMPLATE -EMA CUSTOM profile, setting the parent_element to <custom_parent>.
  5. Open the Console > System Configuration > Interchange Mapping > Manage Profile screen.
    The newly added custom parent and custom child DTD appear in the left side pane.
  6. Click the <custom_parent> DTD element. In the Transmit tab on right side of the screen, add a new transmit logic for this newly added <custom_child> DTD element.
  7. Click the <custom_child> DTD element. In the Receiver tab on the right side of the screen, add a new import logic for this newly added field.
  8. Save the profile.
  9. Create a reporting destination for this newly added message profile.
  10. Log in to the web server and open the XSLT templates for the profile to customize.
    1. Back up the existing templates.
    2. Modify the templates based on the element added in the respective parent node.
    3. Navigate to the desired XSLT template and modify the XSLT as per the HL7 representation provided.
      For Null Flavor support, refer to the other sections of this document.
    4. If the new templates address a specific requirement, specify the mode so that the templates are uniquely identified across the reports.
    5. If any new variable is specific to a report, verify that the respective variable is uniquely named.
    6. Replace the modified XSLTs in all the servers (Web Server, AG Server & Interchange Server).
  11. Open the cfg_imp_staging_xml and insert a new row for each of the following items:
    1. CUSTOM_PROFILE = ICH-ICSR V3.0 MESSAGE TEMPLATE - EMA CUSTOM
    2. TABLE_NAME = <custom_parent>
    3. INSERT_SQL = New logic for importing <custom_parent> and <custom_child>
    4. SORT_ID = Sort ID for the table execution
    5. SORT_ID2 = Sort ID for child repeater
    6. SORT_ID3 = Sort for third level repeater
  12. Create a new case and schedule a report for the newly created agency.
  13. From the Bulk Reporting screen, transmit the report.
  14. Import the report on the receiver side.