﻿<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='true'>
  <entity name="llp_incident" >
    <filter type="and" >
      <condition attribute="llp_incidentcode" operator="eq" value="${incidentNr}" />
    </filter>
    <link-entity name='incident' to='llp_claimid' from='incidentid' link-type='outer' alias='claim' >
      <attribute name='llp_policyid' />
    </link-entity>
  </entity>
</fetch>