Sequence of actions using the Cristalise GUI

Cristalise GUI

Create Outcome Definition (Schema) and 4 Elementary Activities Definitions

For the sake of simplicity the same Schema is assigned to all Activities and all Activities will be executed manually by a User.

  1. Open /dev/SchemaFactory Item
  2. Excecute CreateNewSchema ObjectName:Synopsis SubFolder:tutorial
  3. Open /desc/OutcomeDesc/tutorial/Synopsis Item
    1. Execute EditDefinition and copy the content of Synopsis.xsd attached to the text
    2. Execute AssignNewSchemaVersionFromLast - this creates the version 0 of the Schema
    3. Check (last, 0) properites of Event 1 for Outcome Type Schema in Data Viewer

Cristalise GUI

  1. Open /dev/ElementaryActivityDefFactory Item
  2. Excecute CreateNewElementaryActivityDef ObjectName:ECG SubFolder:tutorial
  3. Excecute CreateNewElementaryActivityDef ObjectName:'Blood Biochemical Analysis' SubFolder:tutorial
  4. Excecute CreateNewElementaryActivityDef ObjectName:'Urinalysis' SubFolder:tutorial
  5. Excecute CreateNewElementaryActivityDef ObjectName:'Comprehensive Eye Examination' SubFolder:tutorial
  6. Check that there are 4 Activity Decription Items created in /desc/ActivityDesc/tutorial

  7. Open Elementary Activites listed bellow in /desc/ActivityDesc/tutorial and perform these steps for each of them

  8. activity - role pairs

    • Blood Biochemical Analysis - Hematologist
    • Urinalysis - Internist
    • ECG - Cardiologist
    • Comprehensive Eye Examination - Opthometrist
  9. Execute EditDefinition AgentRole:ROLENAME SchemaType:Synopsis SchemaVersion:0

  10. Execute AssignNewSchemaVersionFromLast

Create Compostie Activity Definition

  1. Open /dev/CompositeActivityDefFactory Item
  2. Excecute CreateNewCompositeActivityDef ObjectName:Protocol SubFolder:tutorial
  3. Check that there is a 5th Activity Decription Items (type=Composite) created in /desc/ActivityDesc/tutorial

  4. Open /desc/ActivityDesc/tutorial/Protocol Item

  5. Start EditDefinition
  6. Create the workflow schema shown bellow. Creating a Composite Activity layout is not trivial, but it can be imported from github file src/main/resources/boot/CA/Protocol.xml
  7. Finish EditDefinition
  8. Execute AssignNewSchemaVersionFromLast

Cristalise GUI

Create All Roles and Agents

  1. Open /server/localhost Item
  2. Excecute CreateNewRole ObjectName:Hematologist SubFolder:tutorial
  3. Excecute CreateNewAgent name:HemaLabor password:test Role:Hematologist

  4. Excecute CreateNewRole ObjectName:Internist SubFolder:tutorial

  5. Excecute CreateNewAgent name:UrinLabor password:test Role:Internist

  6. Excecute CreateNewRole ObjectName:Cardiologist SubFolder:tutorial

  7. Excecute CreateNewAgent name:Sam password:test Role:Cardiologist

  8. Excecute CreateNewRole ObjectName:Optometrist SubFolder:tutorial

  9. Excecute CreateNewAgent name:Steve password:test Role:Optometrist

Create Description Item called Patient

  1. Open /dev/DescriptionFactory Item
  2. Excecute CreateNewDescription ObjectName:Patient SubFolder:tutorial
  3. Open /tutorial/Patient Item if it was not opened automatically
  4. Execute SetPropertyDescription with 3 Properties:
  5. Name:Name IsMutable:true
  6. Name:Type DefaultValue:Patient
  7. Name:NationalInsuranceNumber IsMutable:true
  8. Execute SetInstanceWorkflow WorkflowDefinitionName:Protocol WorkflowDefinitionVersion:0

Instanciate Joe from Patient Description Item

  1. Open /tutorial/Patient Item
  2. Excecute CreateNewInstance ObjectName:Joe SubFolder:tutorial

Login as HermaLabor and execute the Urinalysis Activity of Joe

  1. Open /tutorial/Joe Item
  2. Excecute Urinalysis Synopsis:Perfect

Next: Modularization