<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:ap="http://adeptia.com/schema/bpmn/ap" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
  <bpmn2:process id="mainProcess" isExecutable="false">
    <bpmn2:extensionElements>
      <ap:properties>
        <ap:property name="version"><![CDATA[1.0]]></ap:property>
      </ap:properties>
    </bpmn2:extensionElements>
    <bpmn2:startEvent id="StartEvent_1" name="Start Event">
      <bpmn2:outgoing>SequenceFlow_13dkm26</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:task id="Task_04w1qct" name="HL7DataFile">
      <bpmn2:extensionElements>
        <ap:streams>
          <ap:stream id="stream_0oomj9w" name="HL7DataFile" consumer="Task_07lfxv4" source="Task_04w1qct" error="false" visible="false" dataObjectReferenceId="" />
        </ap:streams>
        <ap:node>
          <ap:attribute name="label"><![CDATA[HL7DataFile]]></ap:attribute>
          <ap:attribute name="type"><![CDATA[LanFileSource]]></ap:attribute>
          <ap:attribute name="id"><![CDATA[010000000119153780775126100077]]></ap:attribute>
          <ap:attribute name="name"><![CDATA[HL7DataFile]]></ap:attribute>
          <ap:attribute name="async"><![CDATA[false]]></ap:attribute>
          <ap:attribute name="signal"><![CDATA[SignalComplete]]></ap:attribute>
          <ap:attribute name="comments"><![CDATA[]]></ap:attribute>
          <ap:attribute name="serverEntity"><![CDATA[false]]></ap:attribute>
          <ap:attribute name="serviceType"><![CDATA[activity]]></ap:attribute>
          <ap:attribute name="uiType"><![CDATA[LanFileSource]]></ap:attribute>
        </ap:node>
        <ap:properties>
          <ap:property name="restartTriesCount"><![CDATA[0]]></ap:property>
          <ap:property name="restartWaitTime"><![CDATA[60]]></ap:property>
          <ap:property name="source"><![CDATA[]]></ap:property>
          <ap:property name="streamNames"><![CDATA[HL7DataFile]]></ap:property>
          <ap:property name="targetConnectTimeout"><![CDATA[300]]></ap:property>
          <ap:property name="eventContextEnabled"><![CDATA[false]]></ap:property>
        </ap:properties>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_13dkm26</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_07lk5il</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:sequenceFlow id="SequenceFlow_13dkm26" sourceRef="StartEvent_1" targetRef="Task_04w1qct" />
    <bpmn2:task id="Task_0anul5d" name="Call">
      <bpmn2:extensionElements>
        <ap:properties>
          <ap:property name="flowId"><![CDATA[010000000119158924601162600135]]></ap:property>
          <ap:property name="resultCtxVarName"><![CDATA[]]></ap:property>
          <ap:property name="executeOnSameNode"><![CDATA[false]]></ap:property>
        </ap:properties>
        <ap:variables>
          <ap:variable>
            <ap:valueType><![CDATA[ChildPF]]></ap:valueType>
            <ap:activityName><![CDATA[]]></ap:activityName>
            <ap:key><![CDATA[output]]></ap:key>
            <ap:childActivityName><![CDATA[]]></ap:childActivityName>
            <ap:childKey><![CDATA[mydata]]></ap:childKey>
            <ap:type><![CDATA[input]]></ap:type>
          </ap:variable>
        </ap:variables>
        <ap:node>
          <ap:attribute name="label"><![CDATA[Call]]></ap:attribute>
          <ap:attribute name="name"><![CDATA[Call]]></ap:attribute>
          <ap:attribute name="type"><![CDATA[Call]]></ap:attribute>
          <ap:attribute name="comments"><![CDATA[]]></ap:attribute>
          <ap:attribute name="serverEntity"><![CDATA[false]]></ap:attribute>
          <ap:attribute name="serviceType"><![CDATA[action]]></ap:attribute>
          <ap:attribute name="uiType"><![CDATA[Call]]></ap:attribute>
        </ap:node>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_07ebmdo</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_0cgrmzd</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:endEvent id="EndEvent_0cm3sp5" name="End Event">
      <bpmn2:extensionElements>
        <ap:properties>
          <ap:property name="attachNotification"><![CDATA[false]]></ap:property>
          <ap:property name="mailNotification"><![CDATA[]]></ap:property>
        </ap:properties>
        <ap:node>
          <ap:attribute name="label"><![CDATA[End Event]]></ap:attribute>
          <ap:attribute name="comments"><![CDATA[]]></ap:attribute>
        </ap:node>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_0cgrmzd</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_0cgrmzd" sourceRef="Task_0anul5d" targetRef="EndEvent_0cm3sp5" />
    <bpmn2:task id="Task_07lfxv4" name="ContextTarget">
      <bpmn2:extensionElements>
        <ap:properties>
          <ap:property name="restartTriesCount"><![CDATA[0]]></ap:property>
          <ap:property name="restartWaitTime"><![CDATA[60]]></ap:property>
          <ap:property name="source"><![CDATA[HL7DataFile]]></ap:property>
          <ap:property name="streamNames"><![CDATA[]]></ap:property>
          <ap:property name="targetConnectTimeout"><![CDATA[300]]></ap:property>
          <ap:property name="characterSetEncoding"><![CDATA[None]]></ap:property>
          <ap:property name="fileName"><![CDATA[]]></ap:property>
          <ap:property name="parameterName"><![CDATA[output]]></ap:property>
          <ap:property name="documentRepository"><![CDATA[false]]></ap:property>
          <ap:property name="versionControl"><![CDATA[false]]></ap:property>
        </ap:properties>
        <ap:node>
          <ap:attribute name="label"><![CDATA[ContextTarget]]></ap:attribute>
          <ap:attribute name="type"><![CDATA[ContextTarget]]></ap:attribute>
          <ap:attribute name="id"><![CDATA[]]></ap:attribute>
          <ap:attribute name="name"><![CDATA[ContextTarget]]></ap:attribute>
          <ap:attribute name="async"><![CDATA[false]]></ap:attribute>
          <ap:attribute name="signal"><![CDATA[SignalComplete]]></ap:attribute>
          <ap:attribute name="comments"><![CDATA[]]></ap:attribute>
          <ap:attribute name="serverEntity"><![CDATA[false]]></ap:attribute>
          <ap:attribute name="serviceType"><![CDATA[activity]]></ap:attribute>
          <ap:attribute name="uiType"><![CDATA[ContextTarget]]></ap:attribute>
        </ap:node>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_07lk5il</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_07ebmdo</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:sequenceFlow id="SequenceFlow_07lk5il" sourceRef="Task_04w1qct" targetRef="Task_07lfxv4" />
    <bpmn2:sequenceFlow id="SequenceFlow_07ebmdo" sourceRef="Task_07lfxv4" targetRef="Task_0anul5d" />
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="mainProcess">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1" bioc:stroke="#808080">
        <dc:Bounds x="100" y="200" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_04w1qct_di" bpmnElement="Task_04w1qct" bioc:stroke="#808080" bioc:fill="url(#task_color)">
        <dc:Bounds x="186" y="188" width="130" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_13dkm26_di" bpmnElement="SequenceFlow_13dkm26" bioc:stroke="#808080">
        <di:waypoint x="136" y="218" />
        <di:waypoint x="186" y="218" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="161" y="196" width="0" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Task_0anul5d_di" bpmnElement="Task_0anul5d" bioc:stroke="#808080" bioc:fill="url(#task_color)">
        <dc:Bounds x="555" y="188" width="130" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_0cm3sp5_di" bpmnElement="EndEvent_0cm3sp5" bioc:stroke="#808080" bioc:fill="url(#endevent_color)">
        <dc:Bounds x="756" y="200" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="749" y="239" width="51" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0cgrmzd_di" bpmnElement="SequenceFlow_0cgrmzd" bioc:stroke="#808080">
        <di:waypoint x="685" y="218" />
        <di:waypoint x="756" y="218" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="720.5" y="196.5" width="0" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Task_07lfxv4_di" bpmnElement="Task_07lfxv4" bioc:stroke="#808080" bioc:fill="url(#task_color)">
        <dc:Bounds x="366" y="188" width="130" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_07lk5il_di" bpmnElement="SequenceFlow_07lk5il" bioc:stroke="#808080">
        <di:waypoint x="316" y="218" />
        <di:waypoint x="366" y="218" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="341" y="196" width="0" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_07ebmdo_di" bpmnElement="SequenceFlow_07ebmdo" bioc:stroke="#808080">
        <di:waypoint x="496" y="218" />
        <di:waypoint x="555" y="218" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="525.5" y="196.5" width="0" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>
