cr-connect-workflow/crc/static/bpmn/ide_supplement/ide_update.bpmn

224 lines
13 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1e7871f" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.5.0">
<bpmn:process id="Process_04jm0bm" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>SequenceFlow_1dhb8f4</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="SequenceFlow_1dhb8f4" sourceRef="StartEvent_1" targetRef="Activity_18x16ff" />
<bpmn:userTask id="IDE_Entry_Submit" name="Edit IDE Info" camunda:formKey="IDE">
<bpmn:documentation>{{ ide_message }}</bpmn:documentation>
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="IDE_Number" label="IDE #:" type="string">
<camunda:properties>
<camunda:property id="read_only" value="true" />
<camunda:property id="hide_expression" value="model.IDE_HolderType.value === &#34;Exempt&#34; || model.IDE_HolderType.value === &#34;NotExempt&#34;" />
</camunda:properties>
</camunda:formField>
<camunda:formField id="IDE_NewDeviceOrNewIndication" label="New Device used or New Indication for Marketed Device" type="boolean" />
<camunda:formField id="IDE_HolderType" label="IDE Holder Type" type="enum">
<camunda:value id="Industry" name="Industry" />
<camunda:value id="UVaPI" name="UVa PI" />
<camunda:value id="OtherPI" name="Other PI" />
<camunda:value id="UVaCenter" name="UVaCenter" />
<camunda:value id="OtherCollUniv" name="Other Colleges and Universities" />
<camunda:value id="NotExempt" name="IDE not exempt, but no IDE#" />
<camunda:value id="Exempt" name="IDE Exempt" />
</camunda:formField>
<camunda:formField id="IDE_HolderNameOSP" label="Holder Name" type="autocomplete">
<camunda:properties>
<camunda:property id="spreadsheet.name" value="SponsorList.xls" />
<camunda:property id="spreadsheet.value.column" value="CUSTOMER_NUMBER" />
<camunda:property id="spreadsheet.label.column" value="CUSTOMER_NAME" />
<camunda:property id="autocomplete_num" value="15" />
<camunda:property id="hide_expression" value="!model.IDE_HolderType || !model.IDE_HolderType.value || (model.IDE_HolderType.value !== &#34;Industry&#34; &#38;&#38; model.IDE_HolderType.value !== &#34;OtherCollUniv&#34;)" />
<camunda:property id="description" value="Text" />
</camunda:properties>
</camunda:formField>
<camunda:formField id="IDE_HolderNameText" label="IDE Holder Name if not in above list" type="string">
<camunda:properties>
<camunda:property id="hide_expression" value="(!model.IDE_HolderType || !model.IDE_HolderType.value || model.IDE_HolderType.value === &#34;UVaPI&#34; || model.IDE_HolderType.value === &#34;Exempt&#34; || model.IDE_HolderType.value === &#34;NotExempt&#34;) || ((model.IDE_HolderType.value === &#34;Industry&#34; || model.IDE_HolderType.value === &#34;OtherCollUniv&#34;) &#38;&#38; (!model.IDE_HolderNameOSP || !model.IDE_HolderNameOSP.value || model.IDE_HolderNameOSP.value !== &#34;100&#34;))" />
<camunda:property id="description" value="Text" />
</camunda:properties>
</camunda:formField>
<camunda:formField id="IDE_HolderNameUVA" label="Holder Name" type="autocomplete">
<camunda:properties>
<camunda:property id="hide_expression" value="!model.IDE_HolderType || !model.IDE_HolderType.value || model.IDE_HolderType.value !== &#34;UVaPI&#34;" />
<camunda:property id="description" value="LDAP" />
</camunda:properties>
</camunda:formField>
<camunda:formField id="IDE_DeviceName" label="Device Name" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_1yb1vma</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1t2ha54</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="EndEvent_1h89sl4">
<bpmn:documentation>temp</bpmn:documentation>
<bpmn:incoming>SequenceFlow_1t2ha54</bpmn:incoming>
<bpmn:incoming>SequenceFlow_1yhv1qz</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_1t2ha54" sourceRef="IDE_Entry_Submit" targetRef="EndEvent_1h89sl4" />
<bpmn:exclusiveGateway id="ExclusiveGateway_1fib89p" name="IS_IDE = 1?">
<bpmn:incoming>SequenceFlow_1lazou8</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1yb1vma</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_011l5xt</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="SequenceFlow_1yb1vma" name="Yes" sourceRef="ExclusiveGateway_1fib89p" targetRef="IDE_Entry_Submit">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">ide.IS_IDE == 1</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="SequenceFlow_011l5xt" name="No" sourceRef="ExclusiveGateway_1fib89p" targetRef="Task_NoIDE">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">not ide.IS_IDE or ide.IS_IDE == 0</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:manualTask id="Task_NoIDE" name="Show Invalid IDE Access">
<bpmn:documentation>{{ ide_message }}</bpmn:documentation>
<bpmn:incoming>SequenceFlow_011l5xt</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1yhv1qz</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="SequenceFlow_1lazou8" sourceRef="Task_SupplementIDE" targetRef="ExclusiveGateway_1fib89p" />
<bpmn:businessRuleTask id="Task_SupplementIDE" name="IDE Info from PB" camunda:decisionRef="decision_ide_check">
<bpmn:incoming>Flow_08ezwjq</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1lazou8</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:sequenceFlow id="SequenceFlow_1yhv1qz" sourceRef="Task_NoIDE" targetRef="EndEvent_1h89sl4" />
<bpmn:sequenceFlow id="Flow_1majmgp" sourceRef="Activity_1tp43gs" targetRef="Gateway_1xe3e0h" />
<bpmn:scriptTask id="Activity_1tp43gs" name="Extract IDE Data">
<bpmn:incoming>Flow_0v7gh90</bpmn:incoming>
<bpmn:outgoing>Flow_1majmgp</bpmn:outgoing>
<bpmn:script>ide = {x:details[x] for x in details.keys() if x == 'IDE'}
is_ide = {x:details[x] for x in details.keys() if x == 'IS_IDE'}
del(details)</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0v7gh90" sourceRef="Activity_18x16ff" targetRef="Activity_1tp43gs" />
<bpmn:scriptTask id="Activity_18x16ff" name="Load IRB API Details">
<bpmn:incoming>SequenceFlow_1dhb8f4</bpmn:incoming>
<bpmn:outgoing>Flow_0v7gh90</bpmn:outgoing>
<bpmn:script>details = study_info('details')</bpmn:script>
</bpmn:scriptTask>
<bpmn:exclusiveGateway id="Gateway_1xe3e0h" name="IS_IDE = 1">
<bpmn:incoming>Flow_1majmgp</bpmn:incoming>
<bpmn:outgoing>Flow_08ezwjq</bpmn:outgoing>
<bpmn:outgoing>Flow_1l53x1e</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_08ezwjq" name="Yes" sourceRef="Gateway_1xe3e0h" targetRef="Task_SupplementIDE">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">is_ide.IS_IDE == 1</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1l53x1e" name="No" sourceRef="Gateway_1xe3e0h" targetRef="Activity_1seaot7">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">not is_ide.IS_IDE or is_ide.IS_IDE == 0</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:manualTask id="Activity_1seaot7" name="Show Contact Support">
<bpmn:documentation>{{ ide_message }}</bpmn:documentation>
<bpmn:incoming>Flow_1l53x1e</bpmn:incoming>
<bpmn:outgoing>Flow_0pfii1m</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:endEvent id="Event_16u0jqm">
<bpmn:incoming>Flow_0pfii1m</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0pfii1m" sourceRef="Activity_1seaot7" targetRef="Event_16u0jqm" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_04jm0bm">
<bpmndi:BPMNEdge id="Flow_0pfii1m_di" bpmnElement="Flow_0pfii1m">
<di:waypoint x="530" y="250" />
<di:waypoint x="582" y="250" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1l53x1e_di" bpmnElement="Flow_1l53x1e">
<di:waypoint x="480" y="142" />
<di:waypoint x="480" y="210" />
<bpmndi:BPMNLabel>
<dc:Bounds x="488" y="173" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_08ezwjq_di" bpmnElement="Flow_08ezwjq">
<di:waypoint x="505" y="117" />
<di:waypoint x="580" y="117" />
<bpmndi:BPMNLabel>
<dc:Bounds x="534" y="99" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0v7gh90_di" bpmnElement="Flow_0v7gh90">
<di:waypoint x="210" y="117" />
<di:waypoint x="280" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1majmgp_di" bpmnElement="Flow_1majmgp">
<di:waypoint x="380" y="117" />
<di:waypoint x="455" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1yhv1qz_di" bpmnElement="SequenceFlow_1yhv1qz">
<di:waypoint x="1020" y="250" />
<di:waypoint x="1170" y="250" />
<di:waypoint x="1170" y="135" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1lazou8_di" bpmnElement="SequenceFlow_1lazou8">
<di:waypoint x="680" y="117" />
<di:waypoint x="785" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_011l5xt_di" bpmnElement="SequenceFlow_011l5xt">
<di:waypoint x="810" y="142" />
<di:waypoint x="810" y="250" />
<di:waypoint x="920" y="250" />
<bpmndi:BPMNLabel>
<dc:Bounds x="819" y="194" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1yb1vma_di" bpmnElement="SequenceFlow_1yb1vma">
<di:waypoint x="835" y="117" />
<di:waypoint x="920" y="117" />
<bpmndi:BPMNLabel>
<dc:Bounds x="870" y="99" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1t2ha54_di" bpmnElement="SequenceFlow_1t2ha54">
<di:waypoint x="1020" y="117" />
<di:waypoint x="1152" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1dhb8f4_di" bpmnElement="SequenceFlow_1dhb8f4">
<di:waypoint x="58" y="117" />
<di:waypoint x="110" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="22" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="UserTask_17syy68_di" bpmnElement="IDE_Entry_Submit">
<dc:Bounds x="920" y="77" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_1h89sl4_di" bpmnElement="EndEvent_1h89sl4">
<dc:Bounds x="1152" y="99" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="414" y="202" width="74" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ExclusiveGateway_1fib89p_di" bpmnElement="ExclusiveGateway_1fib89p" isMarkerVisible="true">
<dc:Bounds x="785" y="92" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="782" y="47" width="60" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ManualTask_1f7z9wm_di" bpmnElement="Task_NoIDE">
<dc:Bounds x="920" y="210" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BusinessRuleTask_1cszgkx_di" bpmnElement="Task_SupplementIDE">
<dc:Bounds x="580" y="77" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0sq4r9w_di" bpmnElement="Activity_18x16ff">
<dc:Bounds x="110" y="77" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1xe3e0h_di" bpmnElement="Gateway_1xe3e0h" isMarkerVisible="true">
<dc:Bounds x="455" y="92" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="453" y="68" width="54" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_01v60lq_di" bpmnElement="Activity_1seaot7">
<dc:Bounds x="430" y="210" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_16u0jqm_di" bpmnElement="Event_16u0jqm">
<dc:Bounds x="582" y="232" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0u8knps_di" bpmnElement="Activity_1tp43gs">
<dc:Bounds x="280" y="77" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>