2020-04-23 23:25:01 +00:00
|
|
|
<?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_00j2iu5" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.0">
|
2020-04-28 02:54:05 +00:00
|
|
|
<bpmn:process id="Process_1gmf4la" name="Documents and Approvals" isExecutable="true">
|
2020-04-23 23:25:01 +00:00
|
|
|
<bpmn:documentation />
|
|
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
|
|
<bpmn:outgoing>Flow_1k3su2q</bpmn:outgoing>
|
|
|
|
</bpmn:startEvent>
|
|
|
|
<bpmn:endEvent id="EndEvent_1qvyxg7">
|
|
|
|
<bpmn:incoming>Flow_0m7unlb</bpmn:incoming>
|
|
|
|
</bpmn:endEvent>
|
|
|
|
<bpmn:sequenceFlow id="Flow_0m7unlb" sourceRef="Activity_DisplayDocsAndApprovals" targetRef="EndEvent_1qvyxg7" />
|
|
|
|
<bpmn:manualTask id="Activity_DisplayDocsAndApprovals" name="Display Documents and Approvals">
|
2020-04-24 03:32:20 +00:00
|
|
|
<bpmn:documentation># Documents & Approvals
|
|
|
|
|
|
|
|
> ## Protocol Document Management
|
2020-05-02 02:49:52 +00:00
|
|
|
{% if StudyInfo.documents.Study_Protocol_Document is defined -%}
|
|
|
|
{%- set p = StudyInfo.documents.Study_Protocol_Document -%}
|
|
|
|
{% if p.files|length -%}
|
|
|
|
{%- set f = p.files[0] -%}
|
|
|
|
> [{{p.display_name}}](/study/{{p.study_id}}/workflow/{{f.workflow_id}}/task/{{f.task_id}})
|
|
|
|
{%- else -%}
|
|
|
|
> No protocol uploaded yet.
|
|
|
|
{% endif %}
|
2020-04-29 14:21:24 +00:00
|
|
|
{%- else -%}
|
|
|
|
> No protocol uploaded yet.
|
|
|
|
{% endif %}
|
2020-04-24 03:32:20 +00:00
|
|
|
|
|
|
|
> ## Approvals
|
|
|
|
> | Name | Status | Help |
|
|
|
|
|:---- |:------ |:---- |
|
2020-04-23 23:25:01 +00:00
|
|
|
{% for approval in StudyInfo.approvals -%}
|
2020-04-29 14:21:24 +00:00
|
|
|
| [{{approval.display_name}}](/study/{{approval.study_id}}/workflow/{{approval.workflow_id}}) | {{approval.status}} | [?](/help/{{approval.workflow_spec_id}}) |
|
2020-04-24 01:02:08 +00:00
|
|
|
{% endfor %}
|
2020-04-23 23:25:01 +00:00
|
|
|
|
2020-04-24 03:32:20 +00:00
|
|
|
> ## Documents
|
|
|
|
> | Name | Status | Help | Download |
|
|
|
|
|:---- |:------ |:---- |:-------- |
|
2020-05-02 02:49:52 +00:00
|
|
|
{% for key, doc in StudyInfo.documents.items() %}{% if doc.required -%}
|
|
|
|
{% if doc.files|length -%}
|
2020-04-29 14:21:24 +00:00
|
|
|
| [{{doc.display_name}}](/study/{{doc.study_id}}/workflow/{{doc.workflow_id}}/task/{{doc.task_id}}) | {{doc.status}} | [Context here](/help/documents/{{doc.code}}) | [Download](/file/{{doc.file_id}}/data) |
|
2020-04-24 03:32:20 +00:00
|
|
|
{%- else -%}
|
2020-04-29 14:21:24 +00:00
|
|
|
| {{doc.display_name}} | Not started | [?](/help/documents/{{doc.code}}) | No file yet |
|
2020-04-24 03:32:20 +00:00
|
|
|
{%- endif %}
|
2020-07-17 14:56:04 +00:00
|
|
|
{% endif %}{% endfor %}</bpmn:documentation>
|
2020-04-23 23:25:01 +00:00
|
|
|
<bpmn:extensionElements>
|
|
|
|
<camunda:properties>
|
|
|
|
<camunda:property name="display_name" value="Documents and Approvals" />
|
|
|
|
</camunda:properties>
|
|
|
|
</bpmn:extensionElements>
|
|
|
|
<bpmn:incoming>Flow_142jtxs</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_0m7unlb</bpmn:outgoing>
|
|
|
|
</bpmn:manualTask>
|
|
|
|
<bpmn:scriptTask id="Activity_0a14x7j" name="Load Approvals">
|
|
|
|
<bpmn:incoming>Flow_0c7ryff</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_142jtxs</bpmn:outgoing>
|
2020-07-17 14:56:04 +00:00
|
|
|
<bpmn:script>#! StudyInfo approvals</bpmn:script>
|
2020-04-23 23:25:01 +00:00
|
|
|
</bpmn:scriptTask>
|
|
|
|
<bpmn:scriptTask id="Activity_1aju60t" name="Load Documents">
|
2020-05-02 02:49:52 +00:00
|
|
|
<bpmn:incoming>Flow_1k3su2q</bpmn:incoming>
|
2020-04-23 23:25:01 +00:00
|
|
|
<bpmn:outgoing>Flow_0c7ryff</bpmn:outgoing>
|
2020-07-17 14:56:04 +00:00
|
|
|
<bpmn:script>#! StudyInfo documents</bpmn:script>
|
2020-04-23 23:25:01 +00:00
|
|
|
</bpmn:scriptTask>
|
|
|
|
<bpmn:sequenceFlow id="Flow_142jtxs" sourceRef="Activity_0a14x7j" targetRef="Activity_DisplayDocsAndApprovals" />
|
|
|
|
<bpmn:sequenceFlow id="Flow_0c7ryff" sourceRef="Activity_1aju60t" targetRef="Activity_0a14x7j" />
|
2020-05-02 02:49:52 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_1k3su2q" sourceRef="StartEvent_1" targetRef="Activity_1aju60t" />
|
2020-04-23 23:25:01 +00:00
|
|
|
</bpmn:process>
|
|
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1gmf4la">
|
2020-04-28 02:54:05 +00:00
|
|
|
<bpmndi:BPMNEdge id="Flow_1k3su2q_di" bpmnElement="Flow_1k3su2q">
|
2020-04-29 14:21:24 +00:00
|
|
|
<di:waypoint x="188" y="117" />
|
2020-05-02 02:49:52 +00:00
|
|
|
<di:waypoint x="390" y="117" />
|
2020-04-28 02:54:05 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_0c7ryff_di" bpmnElement="Flow_0c7ryff">
|
2020-04-29 14:21:24 +00:00
|
|
|
<di:waypoint x="490" y="117" />
|
|
|
|
<di:waypoint x="540" y="117" />
|
2020-04-28 02:54:05 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_142jtxs_di" bpmnElement="Flow_142jtxs">
|
2020-04-29 14:21:24 +00:00
|
|
|
<di:waypoint x="640" y="117" />
|
|
|
|
<di:waypoint x="710" y="117" />
|
2020-04-28 02:54:05 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
2020-04-23 23:25:01 +00:00
|
|
|
<bpmndi:BPMNEdge id="Flow_0m7unlb_di" bpmnElement="Flow_0m7unlb">
|
2020-04-29 14:21:24 +00:00
|
|
|
<di:waypoint x="810" y="117" />
|
|
|
|
<di:waypoint x="882" y="117" />
|
2020-04-23 23:25:01 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
2020-04-29 14:21:24 +00:00
|
|
|
<dc:Bounds x="152" y="99" width="36" height="36" />
|
2020-04-23 23:25:01 +00:00
|
|
|
</bpmndi:BPMNShape>
|
|
|
|
<bpmndi:BPMNShape id="EndEvent_1qvyxg7_di" bpmnElement="EndEvent_1qvyxg7">
|
2020-04-29 14:21:24 +00:00
|
|
|
<dc:Bounds x="882" y="99" width="36" height="36" />
|
2020-04-23 23:25:01 +00:00
|
|
|
</bpmndi:BPMNShape>
|
|
|
|
<bpmndi:BPMNShape id="Activity_19nawos_di" bpmnElement="Activity_DisplayDocsAndApprovals">
|
2020-04-29 14:21:24 +00:00
|
|
|
<dc:Bounds x="710" y="77" width="100" height="80" />
|
2020-04-23 23:25:01 +00:00
|
|
|
</bpmndi:BPMNShape>
|
|
|
|
<bpmndi:BPMNShape id="Activity_1bxk8h3_di" bpmnElement="Activity_0a14x7j">
|
2020-04-29 14:21:24 +00:00
|
|
|
<dc:Bounds x="540" y="77" width="100" height="80" />
|
2020-04-23 23:25:01 +00:00
|
|
|
</bpmndi:BPMNShape>
|
|
|
|
<bpmndi:BPMNShape id="Activity_07ytvmv_di" bpmnElement="Activity_1aju60t">
|
2020-04-29 14:21:24 +00:00
|
|
|
<dc:Bounds x="390" y="77" width="100" height="80" />
|
2020-04-23 23:25:01 +00:00
|
|
|
</bpmndi:BPMNShape>
|
|
|
|
</bpmndi:BPMNPlane>
|
|
|
|
</bpmndi:BPMNDiagram>
|
|
|
|
</bpmn:definitions>
|