<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmi:id="fa2bfa61-55ba-4638-95b0-35bc34625076" name="model">
  <eAnnotations xmi:id="fa2bfa61-55ba-4638-95b0-35bc346250760" source="genmymodel">
    <details xmi:id="fa2bfa61-55ba-4638-95b0-35bc3462507600" key="uuid" value="fa2bfa61-55ba-4638-95b0-35bc34625076"/>
  </eAnnotations>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_1INsgYUwEDKz3rUYpsz0XQ" name="Patient">
    <eAnnotations xmi:id="_1INsgYUwEDKz3rUYpsz0XQ0" source="genmymodel">
      <details xmi:id="_1INsgYUwEDKz3rUYpsz0XQ00" key="uuid" value="_1INsgYUwEDKz3rUYpsz0XQ"/>
    </eAnnotations>
    <eOperations xmi:id="_OEEGEIUxEDKz3rUYpsz0XQ" name="bookAppointment">
      <eAnnotations xmi:id="_OEEGEIUxEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_OEEGEIUxEDKz3rUYpsz0XQ00" key="uuid" value="_OEEGEIUxEDKz3rUYpsz0XQ"/>
      </eAnnotations>
    </eOperations>
    <eOperations xmi:id="_PSu4oIUxEDKz3rUYpsz0XQ" name="giveHistory">
      <eAnnotations xmi:id="_PSu4oIUxEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_PSu4oIUxEDKz3rUYpsz0XQ00" key="uuid" value="_PSu4oIUxEDKz3rUYpsz0XQ"/>
      </eAnnotations>
    </eOperations>
    <eOperations xmi:id="_WWZIoIUxEDKz3rUYpsz0XQ" name="isIll">
      <eAnnotations xmi:id="_WWZIoIUxEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_WWZIoIUxEDKz3rUYpsz0XQ00" key="uuid" value="_WWZIoIUxEDKz3rUYpsz0XQ"/>
      </eAnnotations>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_2u7ysIUwEDKz3rUYpsz0XQ" name="NHS Number" ordered="false" changeable="false" defaultValueLiteral="" iD="true">
      <eAnnotations xmi:id="_2u7ysIUwEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_2u7ysIUwEDKz3rUYpsz0XQ00" key="uuid" value="_2u7ysIUwEDKz3rUYpsz0XQ"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_Dmn20IUxEDKz3rUYpsz0XQ" name="Conditions" defaultValueLiteral="">
      <eAnnotations xmi:id="_Dmn20IUxEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_Dmn20IUxEDKz3rUYpsz0XQ00" key="uuid" value="_Dmn20IUxEDKz3rUYpsz0XQ"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EResourceSet"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_MrqIsIUxEDKz3rUYpsz0XQ" name="Medication" defaultValueLiteral="">
      <eAnnotations xmi:id="_MrqIsIUxEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_MrqIsIUxEDKz3rUYpsz0XQ00" key="uuid" value="_MrqIsIUxEDKz3rUYpsz0XQ"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EResourceSet"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_GogeAIUyEDKz3rUYpsz0XQ" name="COPD Severity" defaultValueLiteral="">
      <eAnnotations xmi:id="_GogeAIUyEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_GogeAIUyEDKz3rUYpsz0XQ00" key="uuid" value="_GogeAIUyEDKz3rUYpsz0XQ"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EEnumerator"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_KBjdcIUyEDKz3rUYpsz0XQ" name="isAtRiskOfCOPD" defaultValueLiteral="">
      <eAnnotations xmi:id="_KBjdcIUyEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_KBjdcIUyEDKz3rUYpsz0XQ00" key="uuid" value="_KBjdcIUyEDKz3rUYpsz0XQ"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_LyeBcIUyEDKz3rUYpsz0XQ" name="hasBeenScreenedForCOPD" defaultValueLiteral="">
      <eAnnotations xmi:id="_LyeBcIUyEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_LyeBcIUyEDKz3rUYpsz0XQ00" key="uuid" value="_LyeBcIUyEDKz3rUYpsz0XQ"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_N_1Q4IUyEDKz3rUYpsz0XQ" name="COPDScreeningResult" defaultValueLiteral="">
      <eAnnotations xmi:id="_N_1Q4IUyEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_N_1Q4IUyEDKz3rUYpsz0XQ00" key="uuid" value="_N_1Q4IUyEDKz3rUYpsz0XQ"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_bjZZAIUxEDKz3rUYpsz0XQ" name="Clinician" eSuperTypes="_viC4wIUxEDKz3rUYpsz0XQ _gVen8IUxEDKz3rUYpsz0XQ">
    <eAnnotations xmi:id="_bjZZAIUxEDKz3rUYpsz0XQ0" source="genmymodel">
      <details xmi:id="_bjZZAIUxEDKz3rUYpsz0XQ00" key="uuid" value="_bjZZAIUxEDKz3rUYpsz0XQ"/>
    </eAnnotations>
    <eOperations xmi:id="_ho9pEIUxEDKz3rUYpsz0XQ" name="examinePatient">
      <eAnnotations xmi:id="_ho9pEIUxEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_ho9pEIUxEDKz3rUYpsz0XQ00" key="uuid" value="_ho9pEIUxEDKz3rUYpsz0XQ"/>
      </eAnnotations>
    </eOperations>
    <eOperations xmi:id="_oa0-cIUxEDKz3rUYpsz0XQ" name="requestHistory">
      <eAnnotations xmi:id="_oa0-cIUxEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_oa0-cIUxEDKz3rUYpsz0XQ00" key="uuid" value="_oa0-cIUxEDKz3rUYpsz0XQ"/>
      </eAnnotations>
    </eOperations>
    <eOperations xmi:id="_qV9OYIUxEDKz3rUYpsz0XQ" name="formulateDiagnosis">
      <eAnnotations xmi:id="_qV9OYIUxEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_qV9OYIUxEDKz3rUYpsz0XQ00" key="uuid" value="_qV9OYIUxEDKz3rUYpsz0XQ"/>
      </eAnnotations>
    </eOperations>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_gVen8IUxEDKz3rUYpsz0XQ" name="Doctor">
    <eAnnotations xmi:id="_gVen8IUxEDKz3rUYpsz0XQ0" source="genmymodel">
      <details xmi:id="_gVen8IUxEDKz3rUYpsz0XQ00" key="uuid" value="_gVen8IUxEDKz3rUYpsz0XQ"/>
    </eAnnotations>
    <eOperations xmi:id="_tffLIIUxEDKz3rUYpsz0XQ" name="prescribeMedication">
      <eAnnotations xmi:id="_tffLIIUxEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_tffLIIUxEDKz3rUYpsz0XQ00" key="uuid" value="_tffLIIUxEDKz3rUYpsz0XQ"/>
      </eAnnotations>
    </eOperations>
    <eOperations xmi:id="_0J3YcIUxEDKz3rUYpsz0XQ" name="refer">
      <eAnnotations xmi:id="_0J3YcIUxEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_0J3YcIUxEDKz3rUYpsz0XQ00" key="uuid" value="_0J3YcIUxEDKz3rUYpsz0XQ"/>
      </eAnnotations>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_gVen8oUxEDKz3rUYpsz0XQ" name="Speciality" defaultValueLiteral="">
      <eAnnotations xmi:id="_gVen8oUxEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_gVen8oUxEDKz3rUYpsz0XQ00" key="uuid" value="_gVen8oUxEDKz3rUYpsz0XQ"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EEnumerator"/>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_viC4wIUxEDKz3rUYpsz0XQ" name="Nurse">
    <eAnnotations xmi:id="_viC4wIUxEDKz3rUYpsz0XQ0" source="genmymodel">
      <details xmi:id="_viC4wIUxEDKz3rUYpsz0XQ00" key="uuid" value="_viC4wIUxEDKz3rUYpsz0XQ"/>
    </eAnnotations>
    <eOperations xmi:id="_xbREMIUxEDKz3rUYpsz0XQ" name="performSpirometry">
      <eAnnotations xmi:id="_xbREMIUxEDKz3rUYpsz0XQ0" source="genmymodel">
        <details xmi:id="_xbREMIUxEDKz3rUYpsz0XQ00" key="uuid" value="_xbREMIUxEDKz3rUYpsz0XQ"/>
      </eAnnotations>
    </eOperations>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_hQhXUYcHEDKqt45e9lw-KQ" name="Spirometer">
    <eAnnotations xmi:id="_hQhXUYcHEDKqt45e9lw-KQ0" source="genmymodel">
      <details xmi:id="_hQhXUYcHEDKqt45e9lw-KQ00" key="uuid" value="_hQhXUYcHEDKqt45e9lw-KQ"/>
    </eAnnotations>
    <eOperations xmi:id="_mSAUMIcHEDKqt45e9lw-KQ" name="doSpirometry">
      <eAnnotations xmi:id="_mSAUMIcHEDKqt45e9lw-KQ0" source="genmymodel">
        <details xmi:id="_mSAUMIcHEDKqt45e9lw-KQ00" key="uuid" value="_mSAUMIcHEDKqt45e9lw-KQ"/>
      </eAnnotations>
    </eOperations>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_jgw7oIcHEDKqt45e9lw-KQ" name="Medical Record">
    <eAnnotations xmi:id="_jgw7oIcHEDKqt45e9lw-KQ0" source="genmymodel">
      <details xmi:id="_jgw7oIcHEDKqt45e9lw-KQ00" key="uuid" value="_jgw7oIcHEDKqt45e9lw-KQ"/>
    </eAnnotations>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":null,"nsURI":null,"name":"model","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Patient","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Clinician","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Doctor","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Nurse","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Spirometer","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Medical Record","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"ordered":true,"upperBound":1,"unique":true,"name":"bookAppointment","lowerBound":0,"id":7,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"giveHistory","lowerBound":0,"id":8,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"isIll","lowerBound":0,"id":9,"many":false,"required":false,"eClass":"EOperation"},{"ordered":false,"upperBound":1,"defaultValue":"","volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"","unsettable":false,"transient":false,"unique":true,"name":"NHS Number","changeable":false,"lowerBound":0,"iD":true,"id":10,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"","unsettable":false,"transient":false,"unique":true,"name":"Conditions","changeable":true,"lowerBound":0,"iD":false,"id":11,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"","unsettable":false,"transient":false,"unique":true,"name":"Medication","changeable":true,"lowerBound":0,"iD":false,"id":12,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"","unsettable":false,"transient":false,"unique":true,"name":"COPD Severity","changeable":true,"lowerBound":0,"iD":false,"id":13,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"","unsettable":false,"transient":false,"unique":true,"name":"isAtRiskOfCOPD","changeable":true,"lowerBound":0,"iD":false,"id":14,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"","unsettable":false,"transient":false,"unique":true,"name":"hasBeenScreenedForCOPD","changeable":true,"lowerBound":0,"iD":false,"id":15,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"","unsettable":false,"transient":false,"unique":true,"name":"COPDScreeningResult","changeable":true,"lowerBound":0,"iD":false,"id":16,"derived":false},{"id":17,"eClass":"EGenericType"},{"id":18,"eClass":"EGenericType"},{"id":19,"eClass":"EGenericType"},{"id":20,"eClass":"EGenericType"},{"id":21,"eClass":"EGenericType"},{"id":22,"eClass":"EGenericType"},{"id":23,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"examinePatient","lowerBound":0,"id":24,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"requestHistory","lowerBound":0,"id":25,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"formulateDiagnosis","lowerBound":0,"id":26,"many":false,"required":false,"eClass":"EOperation"},{"id":27,"eClass":"EGenericType"},{"id":28,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"prescribeMedication","lowerBound":0,"id":29,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"refer","lowerBound":0,"id":30,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"","unsettable":false,"transient":false,"unique":true,"name":"Speciality","changeable":true,"lowerBound":0,"iD":false,"id":31,"derived":false},{"id":32,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"performSpirometry","lowerBound":0,"id":33,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"doSpirometry","lowerBound":0,"id":34,"many":false,"required":false,"eClass":"EOperation"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":0,"target":4},{"source":0,"target":5},{"source":0,"target":6},{"source":1,"target":0},{"source":1,"target":7},{"source":1,"target":8},{"source":1,"target":9},{"source":1,"target":10},{"source":1,"target":11},{"source":1,"target":12},{"source":1,"target":13},{"source":1,"target":14},{"source":1,"target":15},{"source":1,"target":16},{"source":7,"target":1},{"source":8,"target":1},{"source":9,"target":1},{"source":10,"target":17},{"source":10,"target":1},{"source":11,"target":18},{"source":11,"target":1},{"source":12,"target":19},{"source":12,"target":1},{"source":13,"target":20},{"source":13,"target":1},{"source":14,"target":21},{"source":14,"target":1},{"source":15,"target":22},{"source":15,"target":1},{"source":16,"target":23},{"source":16,"target":1},{"source":2,"target":0},{"source":2,"target":4},{"source":2,"target":3},{"source":2,"target":24},{"source":2,"target":25},{"source":2,"target":26},{"source":2,"target":27},{"source":2,"target":28},{"source":24,"target":2},{"source":25,"target":2},{"source":26,"target":2},{"source":27,"target":4},{"source":28,"target":3},{"source":3,"target":0},{"source":3,"target":29},{"source":3,"target":30},{"source":3,"target":31},{"source":29,"target":3},{"source":30,"target":3},{"source":31,"target":32},{"source":31,"target":3},{"source":4,"target":0},{"source":4,"target":33},{"source":33,"target":4},{"source":5,"target":0},{"source":5,"target":34},{"source":34,"target":5},{"source":6,"target":0}],"multigraph":true}
model
Patient
bookAppointment
giveHistory
isIll
NHS Number

Conditions

Medication

COPD Severity

isAtRiskOfCOPD

hasBeenScreenedForCOPD

COPDScreeningResult

Clinician
examinePatient
requestHistory
formulateDiagnosis
Doctor
prescribeMedication
refer
Speciality

Nurse
performSpirometry
Spirometer
doSpirometry
Medical Record