<?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:di="http://www.omg.org/spec/DD/20100524/DI" id="KP_HP_18_Definitions" targetNamespace="urn:caf:public:descriptive-process">
  <bpmn:process id="KP_HP_18_Process" name="KP-HP-18: Öffentliche Anzeige einer Anhörung steuern" isExecutable="false">
    <bpmn:documentation textFormat="text/plain">Referent oder Geschäftsführung kennzeichnet ein freigegebenes oder versandtes Verfahren ausdrücklich zur öffentlichen Anzeige. Das Portal liefert nur den begrenzten öffentlichen Bestand. Nach Rücknahme oder Verlassen der sichtbaren Phase erscheint das Verfahren bei der nächsten Lesung nicht mehr; eine bestätigte Übernahme durch die externe Website ist noch offen.</bpmn:documentation>
    <bpmn:laneSet id="KP_HP_18_LaneSet">
      <bpmn:lane id="KP_HP_18_Lane_0" name="Referent / Geschäftsführung">
        <bpmn:documentation textFormat="text/plain">Verantwortung: Referent / Geschäftsführung</bpmn:documentation>
        <bpmn:flowNodeRef>KP_HP_18_Start</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_18_Choose</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_18_Action</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_18_Visible</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_18_Removed</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="KP_HP_18_Lane_1" name="Portal">
        <bpmn:documentation textFormat="text/plain">Verantwortung: Portal</bpmn:documentation>
        <bpmn:flowNodeRef>KP_HP_18_Check</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_18_Valid</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_18_Publish</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_18_Unpublish</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_18_Refused</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="KP_HP_18_Start" name="Öffentliche Anzeige zu ändern">
      <bpmn:documentation textFormat="text/plain">Interne Pflege unter dem Veröffentlichungsrecht; Administrator und Institution erhalten dieses Recht nicht.</bpmn:documentation>
      <bpmn:outgoing>KP_HP_18_Flow_Start_Choose</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:userTask id="KP_HP_18_Choose" name="Anzeige setzen oder zurücknehmen">
      <bpmn:documentation textFormat="text/plain">Kennzeichnen ausdrücklich in freigegebenen oder versandten Verfahren; Rücknahme einer bestehenden Kennzeichnung ist in jedem Hauptstatus erlaubt.</bpmn:documentation>
      <bpmn:incoming>KP_HP_18_Flow_Start_Choose</bpmn:incoming>
      <bpmn:outgoing>KP_HP_18_Flow_Choose_Action</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:exclusiveGateway id="KP_HP_18_Action" name="Gewählte Aktion?">
      <bpmn:documentation textFormat="text/plain">Setzen und Zurücknehmen haben unterschiedliche Voraussetzungen; beide prüfen den aktuellen Verfahrensstand.</bpmn:documentation>
      <bpmn:incoming>KP_HP_18_Flow_Choose_Action</bpmn:incoming>
      <bpmn:outgoing>KP_HP_18_Flow_Action_Check</bpmn:outgoing>
      <bpmn:outgoing>KP_HP_18_Flow_Action_Unpublish</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:serviceTask id="KP_HP_18_Check" name="Freigabephase und Stand prüfen">
      <bpmn:documentation textFormat="text/plain">Setzen nur bei Freigabe oder Beteiligungsphase und ohne bestehende Kennzeichnung. Veralteter Stand oder fehlendes Recht wird ohne Änderung abgewiesen.</bpmn:documentation>
      <bpmn:incoming>KP_HP_18_Flow_Action_Check</bpmn:incoming>
      <bpmn:outgoing>KP_HP_18_Flow_Check_Valid</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:exclusiveGateway id="KP_HP_18_Valid" name="Kennzeichnung zulässig?">
      <bpmn:documentation textFormat="text/plain">Die erfolgreiche Kennzeichnung ersetzt keine öffentliche Datenfreigabe außerhalb der festgelegten Projektion.</bpmn:documentation>
      <bpmn:incoming>KP_HP_18_Flow_Check_Valid</bpmn:incoming>
      <bpmn:outgoing>KP_HP_18_Flow_Valid_Publish</bpmn:outgoing>
      <bpmn:outgoing>KP_HP_18_Flow_Valid_Refused</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:serviceTask id="KP_HP_18_Publish" name="Kennzeichnung und Kennung festhalten">
      <bpmn:documentation textFormat="text/plain">Bei erster Veröffentlichung stabile öffentliche Kennung erzeugen; spätere Veröffentlichungen behalten sie. Genau einen Verlaufseintrag schreiben.</bpmn:documentation>
      <bpmn:incoming>KP_HP_18_Flow_Valid_Publish</bpmn:incoming>
      <bpmn:outgoing>KP_HP_18_Flow_Publish_Visible</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:endEvent id="KP_HP_18_Visible" name="Begrenzter Bestand sichtbar">
      <bpmn:documentation textFormat="text/plain">Nur Titel, Gütezeichen, Verfahrensart, Frist und Änderungszeit mit öffentlicher Kennung. Jede Lesung prüft Kennzeichen und Phase erneut; Bescheidung, Abschluss oder Abbruch beenden Sichtbarkeit.</bpmn:documentation>
      <bpmn:incoming>KP_HP_18_Flow_Publish_Visible</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:serviceTask id="KP_HP_18_Unpublish" name="Kennzeichnung zurücknehmen">
      <bpmn:documentation textFormat="text/plain">Eine bestehende Kennzeichnung mit aktuellem Stand zurücknehmen; öffentliche Kennung bleibt bestehen. Abweisung verändert nichts.</bpmn:documentation>
      <bpmn:incoming>KP_HP_18_Flow_Action_Unpublish</bpmn:incoming>
      <bpmn:outgoing>KP_HP_18_Flow_Unpublish_Removed</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:endEvent id="KP_HP_18_Removed" name="Aus öffentlichem Bestand entfernt">
      <bpmn:documentation textFormat="text/plain">Nach Commit fehlt der Eintrag bei der nächsten Lesung; der Deltaabruf liefert die Entfernung. Externe Website-Übernahme ist nicht bestätigt.</bpmn:documentation>
      <bpmn:incoming>KP_HP_18_Flow_Unpublish_Removed</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:endEvent id="KP_HP_18_Refused" name="Anzeige unverändert">
      <bpmn:documentation textFormat="text/plain">Unzulässige Kennzeichnung wird abgewiesen. Eine spätere neue Freigabe nach Rücknahme verlangt auch eine erneute ausdrückliche Kennzeichnung.</bpmn:documentation>
      <bpmn:incoming>KP_HP_18_Flow_Valid_Refused</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="KP_HP_18_Flow_Start_Choose" sourceRef="KP_HP_18_Start" targetRef="KP_HP_18_Choose">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_18_Flow_Choose_Action" sourceRef="KP_HP_18_Choose" targetRef="KP_HP_18_Action">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_18_Flow_Action_Check" sourceRef="KP_HP_18_Action" targetRef="KP_HP_18_Check" name="Setzen">
      <bpmn:documentation textFormat="text/plain">Setzen</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_18_Flow_Action_Unpublish" sourceRef="KP_HP_18_Action" targetRef="KP_HP_18_Unpublish" name="Zurücknehmen">
      <bpmn:documentation textFormat="text/plain">Zurücknehmen</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_18_Flow_Check_Valid" sourceRef="KP_HP_18_Check" targetRef="KP_HP_18_Valid">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_18_Flow_Valid_Publish" sourceRef="KP_HP_18_Valid" targetRef="KP_HP_18_Publish" name="Ja">
      <bpmn:documentation textFormat="text/plain">Ja</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_18_Flow_Valid_Refused" sourceRef="KP_HP_18_Valid" targetRef="KP_HP_18_Refused" name="Nein">
      <bpmn:documentation textFormat="text/plain">Nein</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_18_Flow_Publish_Visible" sourceRef="KP_HP_18_Publish" targetRef="KP_HP_18_Visible">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_18_Flow_Unpublish_Removed" sourceRef="KP_HP_18_Unpublish" targetRef="KP_HP_18_Removed">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="KP_HP_18_Diagram" name="Fachlicher Ablauf">
    <bpmndi:BPMNPlane id="KP_HP_18_Plane" bpmnElement="KP_HP_18_Process">
      <bpmndi:BPMNShape id="KP_HP_18_Lane_0_di" bpmnElement="KP_HP_18_Lane_0" isHorizontal="true">
        <dc:Bounds x="80" y="70" width="1658.0" height="280" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_18_Lane_1_di" bpmnElement="KP_HP_18_Lane_1" isHorizontal="true">
        <dc:Bounds x="80" y="350" width="1658.0" height="280" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_18_Start_di" bpmnElement="KP_HP_18_Start">
        <dc:Bounds x="232.0" y="132.0" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="178.0" y="176.0" width="144" height="46" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_18_Choose_di" bpmnElement="KP_HP_18_Choose">
        <dc:Bounds x="400.0" y="110.0" width="160" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_18_Action_di" bpmnElement="KP_HP_18_Action">
        <dc:Bounds x="685.0" y="125.0" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="638.0" y="70.0" width="144" height="46" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_18_Check_di" bpmnElement="KP_HP_18_Check">
        <dc:Bounds x="860.0" y="390.0" width="160" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_18_Valid_di" bpmnElement="KP_HP_18_Valid">
        <dc:Bounds x="1145.0" y="405.0" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1098.0" y="350.0" width="144" height="46" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_18_Publish_di" bpmnElement="KP_HP_18_Publish">
        <dc:Bounds x="1320.0" y="390.0" width="160" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_18_Visible_di" bpmnElement="KP_HP_18_Visible">
        <dc:Bounds x="1612.0" y="132.0" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1558.0" y="176.0" width="144" height="46" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_18_Unpublish_di" bpmnElement="KP_HP_18_Unpublish">
        <dc:Bounds x="860.0" y="510.0" width="160" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_18_Removed_di" bpmnElement="KP_HP_18_Removed">
        <dc:Bounds x="1152.0" y="252.0" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1098.0" y="296.0" width="144" height="46" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_18_Refused_di" bpmnElement="KP_HP_18_Refused">
        <dc:Bounds x="1382.0" y="532.0" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1328.0" y="576.0" width="144" height="46" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="KP_HP_18_Flow_Start_Choose_di" bpmnElement="KP_HP_18_Flow_Start_Choose">
        <di:waypoint x="268.0" y="150.0" />
        <di:waypoint x="400.0" y="150.0" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_18_Flow_Choose_Action_di" bpmnElement="KP_HP_18_Flow_Choose_Action">
        <di:waypoint x="560.0" y="150.0" />
        <di:waypoint x="685.0" y="150.0" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_18_Flow_Action_Check_di" bpmnElement="KP_HP_18_Flow_Action_Check">
        <di:waypoint x="735.0" y="150.0" />
        <di:waypoint x="759.0" y="150.0" />
        <di:waypoint x="759.0" y="430.0" />
        <di:waypoint x="860.0" y="430.0" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="771.0" y="281.0" width="39.0" height="18" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_18_Flow_Action_Unpublish_di" bpmnElement="KP_HP_18_Flow_Action_Unpublish">
        <di:waypoint x="710.0" y="175.0" />
        <di:waypoint x="710.0" y="550.0" />
        <di:waypoint x="860.0" y="550.0" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="722.0" y="259.75" width="78.0" height="18" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_18_Flow_Check_Valid_di" bpmnElement="KP_HP_18_Flow_Check_Valid">
        <di:waypoint x="1020.0" y="430.0" />
        <di:waypoint x="1145.0" y="430.0" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_18_Flow_Valid_Publish_di" bpmnElement="KP_HP_18_Flow_Valid_Publish">
        <di:waypoint x="1195.0" y="430.0" />
        <di:waypoint x="1320.0" y="430.0" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1242.5" y="400.0" width="30" height="18" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_18_Flow_Valid_Refused_di" bpmnElement="KP_HP_18_Flow_Valid_Refused">
        <di:waypoint x="1170.0" y="455.0" />
        <di:waypoint x="1170.0" y="550.0" />
        <di:waypoint x="1382.0" y="550.0" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1261.0" y="520.0" width="30" height="18" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_18_Flow_Publish_Visible_di" bpmnElement="KP_HP_18_Flow_Publish_Visible">
        <di:waypoint x="1480.0" y="430.0" />
        <di:waypoint x="1504.0" y="430.0" />
        <di:waypoint x="1504.0" y="150.0" />
        <di:waypoint x="1612.0" y="150.0" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_18_Flow_Unpublish_Removed_di" bpmnElement="KP_HP_18_Flow_Unpublish_Removed">
        <di:waypoint x="1020.0" y="550.0" />
        <di:waypoint x="1044.0" y="550.0" />
        <di:waypoint x="1044.0" y="270.0" />
        <di:waypoint x="1152.0" y="270.0" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>