class EnumerationRoutes extends AnyRef
This class contains the implementation of all the routes in order to get enumerations in the db.
- Alphabetic
- By Inheritance
- EnumerationRoutes
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
EnumerationRoutes(enumerationController: ActorRef[CQRSAction])(implicit system: ActorSystem[_])
- enumerationController
the enumeration controller
- system
represent the actor system
Value Members
- val enumerationRoutes: Route
-
def
getAllergies: Future[Set[AllergyClass]]
Method to get alle the allergies class.
Method to get alle the allergies class.
- returns
a set of allergy class.
-
def
getBloodTypes: Future[Set[BloodType]]
Method to get all the blood types.
Method to get all the blood types.
- returns
a set of blood type.
-
def
getChestPainType: Future[Set[ChestPainType]]
Method to get all the chest pain types.
Method to get all the chest pain types.
- returns
a set of chest pain type.
-
def
getGenders: Future[Set[Gender]]
Method to get all the genders.
Method to get all the genders.
- returns
a set of genders.
-
def
getKinshipDegrees: Future[Set[KinshipDegree]]
Method to get all the kinship degrees.
Method to get all the kinship degrees.
- returns
a set of kinship degree.
-
def
getRestingECG: Future[Set[RestingElectrocardiographic]]
Method to get all the resting electrocardiographic.
Method to get all the resting electrocardiographic.
- returns
a set of resting electrocardiographic.
-
def
getRh: Future[Set[Rh]]
Method to get all the rh.
Method to get all the rh.
- returns
a set of rh.
-
def
getRoles: Future[Set[Role]]
Method to get all the roles.
Method to get all the roles.
- returns
a set of roles.
-
def
getSlopeST: Future[Set[SlopeST]]
Method to get all the slope ST.
Method to get all the slope ST.
- returns
a set of slope ST.
-
def
getSpecializations: Future[Set[Specialization]]
Method to get all the specializations.
Method to get all the specializations.
- returns
a set of specialization.
-
def
getThal: Future[Set[Thal]]
Method to get all the thals.
Method to get all the thals.
- returns
a set of thal.
- implicit val system: ActorSystem[_]