Packages

o

server.models

Protocol

object Protocol

This object contains all query and all commands that can be executed.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Protocol
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Accepted(description: String) extends Confirmation with Product with Serializable
  2. sealed trait CQRSAction extends AnyRef

    Basilar actions.

  3. sealed trait Command extends CQRSAction
  4. sealed trait Confirmation extends AnyRef
  5. sealed trait Event extends AnyRef
  6. final case class GetAllMedicalRecordsForDoctor(doctorID: DoctorID, replyTo: ActorRef[Set[MedicalRecord]]) extends Query with Product with Serializable
  7. final case class GetAllergies(replyTo: ActorRef[Set[AllergyClass]]) extends Query with Product with Serializable
  8. final case class GetAnesthetist(id: String, replyTo: ActorRef[Option[Anesthetist]]) extends Query with Product with Serializable
  9. final case class GetAnesthetists(replyTo: ActorRef[Set[Anesthetist]]) extends Query with Product with Serializable
  10. final case class GetBloodTypes(replyTo: ActorRef[Set[BloodType]]) extends Query with Product with Serializable
  11. final case class GetCardiologist(id: String, replyTo: ActorRef[Option[Patient]]) extends Command with Product with Serializable
  12. final case class GetCardiologyPredictions(id: DoctorID, replyTo: ActorRef[Seq[CardiologyPrediction]]) extends Query with Product with Serializable
  13. final case class GetCardiologyVisits(id: DoctorID, replyTo: ActorRef[Set[CardiologyVisit]]) extends Query with Product with Serializable
  14. final case class GetChestPainTypes(replyTo: ActorRef[Set[ChestPainType]]) extends Query with Product with Serializable
  15. final case class GetGenders(replyTo: ActorRef[Set[Gender]]) extends Query with Product with Serializable
  16. final case class GetGeneralPractitioner(id: String, replyTo: ActorRef[Option[GeneralPractitioner]]) extends Query with Product with Serializable
  17. final case class GetGeneralPractitionerInfo(id: DoctorID, replyTo: ActorRef[Set[GeneralPractitionerInfo]]) extends Query with Product with Serializable
  18. final case class GetGeneralPractitioners(replyTo: ActorRef[Set[GeneralPractitioner]]) extends Query with Product with Serializable
  19. final case class GetInstrumentalist(id: String, replyTo: ActorRef[Option[Instrumentalist]]) extends Query with Product with Serializable
  20. final case class GetInstrumentalists(replyTo: ActorRef[Set[Instrumentalist]]) extends Query with Product with Serializable
  21. final case class GetKinshipDegrees(replyTo: ActorRef[Set[KinshipDegree]]) extends Query with Product with Serializable
  22. final case class GetPatient(id: String, replyTo: ActorRef[Option[Patient]]) extends Query with Product with Serializable
  23. final case class GetRescuer(id: String, replyTo: ActorRef[Option[Rescuer]]) extends Query with Product with Serializable
  24. final case class GetRescuers(replyTo: ActorRef[Set[Rescuer]]) extends Query with Product with Serializable
  25. final case class GetRestingECG(replyTo: ActorRef[Set[RestingElectrocardiographic]]) extends Query with Product with Serializable
  26. final case class GetRh(replyTo: ActorRef[Set[Rh]]) extends Query with Product with Serializable
  27. final case class GetRoles(replyTo: ActorRef[Set[Role]]) extends Query with Product with Serializable
  28. final case class GetSlopeST(replyTo: ActorRef[Set[SlopeST]]) extends Query with Product with Serializable
  29. final case class GetSpecializations(replyTo: ActorRef[Set[Specialization]]) extends Query with Product with Serializable
  30. final case class GetSurgeon(id: String, replyTo: ActorRef[Option[Surgeon]]) extends Query with Product with Serializable
  31. final case class GetSurgeons(replyTo: ActorRef[Set[Surgeon]]) extends Query with Product with Serializable
  32. final case class GetThals(replyTo: ActorRef[Set[Thal]]) extends Query with Product with Serializable
  33. final case class GetWardNurse(id: String, replyTo: ActorRef[Option[WardNurse]]) extends Query with Product with Serializable
  34. final case class GetWardNurses(replyTo: ActorRef[Set[WardNurse]]) extends Query with Product with Serializable
  35. final case class InsertAnesthetist(anesthetist: Anesthetist, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  36. final case class InsertCardiologist(cardiologist: Cardiologist, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  37. final case class InsertCardiologyVisit(cardiologyVisit: CardiologyVisit, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  38. final case class InsertDrugAdministered(medicalRecordID: MedicalRecordsID, drugAdministered: DrugsAdministered, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  39. final case class InsertGeneralInfo(generalInfo: GeneralInfo, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  40. final case class InsertGeneralPractitioner(generalPractitioner: GeneralPractitioner, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  41. final case class InsertGeneralPractitionerInfo(generalPractitionerInfo: GeneralPractitionerInfo, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  42. final case class InsertInstrumentalist(instrumentalist: Instrumentalist, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  43. final case class InsertMedicalRecord(medicalRecord: MedicalRecord, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  44. final case class InsertPatient(patient: Patient, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  45. final case class InsertRescuer(rescuer: Rescuer, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  46. final case class InsertSurgeon(surgeon: Surgeon, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  47. final case class InsertVisit(patientId: String, visit: Visit, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  48. final case class InsertWardNurse(wardNurse: WardNurse, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  49. final case class Login(user: User, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  50. final case class LoginAccepted(role: Role, description: String, token: String) extends Confirmation with Product with Serializable
  51. final case class Logout(token: String, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  52. sealed trait Query extends CQRSAction
  53. final case class Rejected(reason: String) extends Confirmation with Product with Serializable
  54. final case class RemoveSurgeon(surgeon: Surgeon, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  55. final case class SurgeonAdded(surgeon: Surgeon) extends Event with Product with Serializable
  56. final case class SurgeonRemoved(surgeon: Surgeon) extends Event with Product with Serializable
  57. final case class SurgeonUpdated(id: DoctorID, surgeon: Surgeon) extends Event with Product with Serializable
  58. final case class UpdateAnesthetist(id: String, anesthetist: Anesthetist, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  59. final case class UpdateCardiologist(id: String, cardiologist: Cardiologist, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  60. final case class UpdateCardiologyPredictions(id: DoctorID, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  61. final case class UpdateClinicalDiary(medicalRecordID: MedicalRecordsID, clinicalDiary: ClinicalDiary, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  62. final case class UpdateDrugAdministered(medicalRecordID: MedicalRecordsID, drugsAdministered: DrugsAdministered, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  63. final case class UpdateGeneralInfo(patientID: PatientID, generalInfo: GeneralInfo, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  64. final case class UpdateGeneralPractitioner(id: String, generalPractitioner: GeneralPractitioner, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  65. final case class UpdateGeneralPractitionerInfo(patientID: PatientID, generalPractitionerInfo: GeneralPractitionerInfo, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  66. final case class UpdateInstrumentalist(id: String, instrumentalist: Instrumentalist, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  67. final case class UpdateMedicalRecord(medicalRecordID: MedicalRecordsID, medicalRecord: MedicalRecord, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  68. final case class UpdatePatient(id: String, patient: Patient, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  69. final case class UpdateRescuer(id: String, rescuer: Rescuer, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  70. final case class UpdateSurgeon(id: String, surgeon: Surgeon, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  71. final case class UpdateVisit(patientId: String, visit: Visit, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable
  72. final case class UpdateWardNurse(id: String, wardNurse: WardNurse, replyTo: ActorRef[Confirmation]) extends Command with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped