<?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="Definitions_Normy" targetNamespace="https://codeberg.org/MarekDeja/ipm/diagramy/02">
  <bpmn:collaboration id="Collaboration_Normy">
    <bpmn:participant id="Participant_Biblioteka" name="Biblioteka uczelniana" processRef="Process_Wypozyczenie" />
  </bpmn:collaboration>
  <bpmn:process id="Process_Wypozyczenie" name="Wypożyczenie międzybiblioteczne" isExecutable="false">
    <bpmn:laneSet id="LaneSet_1">
      <bpmn:lane id="Lane_Czytelnik" name="Czytelnik">
        <bpmn:flowNodeRef>Start</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_Zlozenie</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_System" name="System biblioteczny">
        <bpmn:flowNodeRef>Task_Rejestracja</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_Bibliotekarz" name="Bibliotekarz">
        <bpmn:flowNodeRef>Task_Sprawdzenie</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gw_Dostepna</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_Wskazanie</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_Zamowienie</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>End_Wskazany</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>End_Wyslane</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="Start" name="Potrzeba książki" />
    <bpmn:userTask id="Task_Zlozenie" name="Złożenie zamówienia" />
    <bpmn:serviceTask id="Task_Rejestracja" name="Rejestracja zamówienia" />
    <bpmn:userTask id="Task_Sprawdzenie" name="Sprawdzenie katalogów" />
    <bpmn:exclusiveGateway id="Gw_Dostepna" name="Czy książka dostępna lokalnie?" />
    <bpmn:userTask id="Task_Wskazanie" name="Wskazanie egzemplarza" />
    <bpmn:userTask id="Task_Zamowienie" name="Zamówienie w innej bibliotece" />
    <bpmn:endEvent id="End_Wskazany" name="Egzemplarz wskazany" />
    <bpmn:endEvent id="End_Wyslane" name="Zamówienie wysłane" />
    <bpmn:sequenceFlow id="F1" sourceRef="Start" targetRef="Task_Zlozenie" />
    <bpmn:sequenceFlow id="F2" sourceRef="Task_Zlozenie" targetRef="Task_Rejestracja" />
    <bpmn:sequenceFlow id="F3" sourceRef="Task_Rejestracja" targetRef="Task_Sprawdzenie" />
    <bpmn:sequenceFlow id="F4" sourceRef="Task_Sprawdzenie" targetRef="Gw_Dostepna" />
    <bpmn:sequenceFlow id="F5" name="tak" sourceRef="Gw_Dostepna" targetRef="Task_Wskazanie" />
    <bpmn:sequenceFlow id="F6" name="nie" sourceRef="Gw_Dostepna" targetRef="Task_Zamowienie" />
    <bpmn:sequenceFlow id="F7" sourceRef="Task_Wskazanie" targetRef="End_Wskazany" />
    <bpmn:sequenceFlow id="F8" sourceRef="Task_Zamowienie" targetRef="End_Wyslane" />
    <bpmn:textAnnotation id="Ann_Poufnosc">
      <bpmn:text>ISO/IEC 27001: dane czytelnika są poufne; formularz dostępny tylko po zalogowaniu</bpmn:text>
    </bpmn:textAnnotation>
    <bpmn:textAnnotation id="Ann_Zapis">
      <bpmn:text>ISO 9001 (7.5): zamówienie zapisane jako udokumentowana informacja</bpmn:text>
    </bpmn:textAnnotation>
    <bpmn:textAnnotation id="Ann_Kompetencje">
      <bpmn:text>ISO 9001 (7.2): bibliotekarz ma kompetencje do wyszukiwania w NUKAT</bpmn:text>
    </bpmn:textAnnotation>
    <bpmn:textAnnotation id="Ann_Przekazanie">
      <bpmn:text>ISO/IEC 27001: do innej biblioteki trafiają tylko dane niezbędne do realizacji zamówienia</bpmn:text>
    </bpmn:textAnnotation>
    <bpmn:association id="A1" sourceRef="Ann_Poufnosc" targetRef="Task_Zlozenie" />
    <bpmn:association id="A2" sourceRef="Ann_Zapis" targetRef="Task_Rejestracja" />
    <bpmn:association id="A3" sourceRef="Ann_Kompetencje" targetRef="Task_Sprawdzenie" />
    <bpmn:association id="A4" sourceRef="Ann_Przekazanie" targetRef="Task_Zamowienie" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_Normy">
      <bpmndi:BPMNShape id="Participant_Biblioteka_di" bpmnElement="Participant_Biblioteka" isHorizontal="true">
        <dc:Bounds x="0" y="0" width="1070" height="950" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_Czytelnik_di" bpmnElement="Lane_Czytelnik" isHorizontal="true">
        <dc:Bounds x="30" y="0" width="1040" height="270" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_System_di" bpmnElement="Lane_System" isHorizontal="true">
        <dc:Bounds x="30" y="270" width="1040" height="260" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_Bibliotekarz_di" bpmnElement="Lane_Bibliotekarz" isHorizontal="true">
        <dc:Bounds x="30" y="530" width="1040" height="420" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Start_di" bpmnElement="Start">
        <dc:Bounds x="90" y="52" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="63" y="93" width="90" height="11" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_Zlozenie_di" bpmnElement="Task_Zlozenie">
        <dc:Bounds x="191" y="30" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_Rejestracja_di" bpmnElement="Task_Rejestracja">
        <dc:Bounds x="371" y="300" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_Sprawdzenie_di" bpmnElement="Task_Sprawdzenie">
        <dc:Bounds x="551" y="560" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gw_Dostepna_di" bpmnElement="Gw_Dostepna" isMarkerVisible="true">
        <dc:Bounds x="716" y="575" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="746" y="628" width="62" height="35" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_Wskazanie_di" bpmnElement="Task_Wskazanie">
        <dc:Bounds x="831" y="560" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_Zamowienie_di" bpmnElement="Task_Zamowienie">
        <dc:Bounds x="831" y="690" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="End_Wskazany_di" bpmnElement="End_Wskazany">
        <dc:Bounds x="996" y="582" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="960" y="623" width="108" height="11" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="End_Wyslane_di" bpmnElement="End_Wyslane">
        <dc:Bounds x="996" y="712" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="963" y="753" width="102" height="11" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Ann_Poufnosc_di" bpmnElement="Ann_Poufnosc">
        <dc:Bounds x="176" y="160" width="130" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Ann_Zapis_di" bpmnElement="Ann_Zapis">
        <dc:Bounds x="356" y="430" width="130" height="70" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Ann_Kompetencje_di" bpmnElement="Ann_Kompetencje">
        <dc:Bounds x="536" y="690" width="130" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Ann_Przekazanie_di" bpmnElement="Ann_Przekazanie">
        <dc:Bounds x="816" y="820" width="130" height="100" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="F1_di" bpmnElement="F1">
        <di:waypoint x="126" y="70" />
        <di:waypoint x="191" y="70" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="F2_di" bpmnElement="F2">
        <di:waypoint x="291" y="70" />
        <di:waypoint x="421" y="70" />
        <di:waypoint x="421" y="300" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="F3_di" bpmnElement="F3">
        <di:waypoint x="471" y="340" />
        <di:waypoint x="601" y="340" />
        <di:waypoint x="601" y="560" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="F4_di" bpmnElement="F4">
        <di:waypoint x="651" y="600" />
        <di:waypoint x="716" y="600" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="F5_di" bpmnElement="F5">
        <di:waypoint x="766" y="600" />
        <di:waypoint x="831" y="600" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="773" y="585" width="18" height="11" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="F6_di" bpmnElement="F6">
        <di:waypoint x="741" y="625" />
        <di:waypoint x="741" y="730" />
        <di:waypoint x="831" y="730" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="748" y="715" width="18" height="11" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="F7_di" bpmnElement="F7">
        <di:waypoint x="931" y="600" />
        <di:waypoint x="996" y="600" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="F8_di" bpmnElement="F8">
        <di:waypoint x="931" y="730" />
        <di:waypoint x="996" y="730" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="A1_di" bpmnElement="A1">
        <di:waypoint x="241" y="160" />
        <di:waypoint x="241" y="110" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="A2_di" bpmnElement="A2">
        <di:waypoint x="421" y="430" />
        <di:waypoint x="421" y="380" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="A3_di" bpmnElement="A3">
        <di:waypoint x="601" y="690" />
        <di:waypoint x="601" y="640" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="A4_di" bpmnElement="A4">
        <di:waypoint x="881" y="820" />
        <di:waypoint x="881" y="770" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
