p

domainmodel

generalinfo

package generalinfo

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class Allergy(allergyClass: AllergyClass.AllergyClass, description: AllergyDescription) extends Product with Serializable

    Class that models an allergy.

    Class that models an allergy.

    allergyClass

    the kind of allergy.

    description

    a brief allergy description.

  2. case class AllergyDescription(value: String) extends Product with Serializable

    A brief allergy description.

    A brief allergy description.

    value

    the allergy description.

  3. case class BloodGroup(bloodType: BloodType.BloodType, rh: Rh.Rh) extends Product with Serializable

    Class that models the blood group.

    Class that models the blood group.

    bloodType

    the type of the blood.

    rh

    the RH of the blood.

  4. case class Exam(examDate: ExamDate, examReport: ExamReport, examInfo: ExamInfo) extends Product with Serializable

    Class that models a medical exam.

    Class that models a medical exam.

    examDate

    the date of the exam.

    examReport

    the report of the exam.

    examInfo

    the description of the exam.

  5. case class ExamDate(value: LocalDate = LocalDate.now()) extends Product with Serializable

    Class that models the date of an exam.

    Class that models the date of an exam.

    value

    the exam data.

  6. case class ExamInfo(value: String) extends Product with Serializable

    Class that models the information of an exam.

    Class that models the information of an exam.

    value

    a brief description about the exam.

  7. case class ExamReport(value: String) extends Product with Serializable

    Class that models the report of an exam.

    Class that models the report of an exam.

    value

    a brief report about the exam.

  8. case class GeneralInfo(bloodGroup: BloodGroup, weight: Weight, height: Height, allergies: Option[Allergies.Allergies], previousPathologies: Option[PreviousPathologies.PreviousPathologies], prescriptionHistory: Option[PrescriptionHistory.PrescriptionHistory], examHistory: Option[ExamHistory.ExamHistory]) extends Product with Serializable

    Class that models the general info of a patient.

    Class that models the general info of a patient.

    bloodGroup

    the blood group.

    weight

    the weight.

    height

    the height.

    allergies

    the allergies.

    previousPathologies

    the previous pathologies.

    prescriptionHistory

    the prescriptions history.

    examHistory

    the exams history.

  9. case class Height(value: Int) extends Product with Serializable

    Class that models the height of a patient.

    Class that models the height of a patient.

    value

    the height in centimeters.

  10. case class Prescription(prescriptionDate: PrescriptionDate, prescriptionInfo: PrescriptionInfo) extends Product with Serializable

    Class that models a prescription.

    Class that models a prescription.

    prescriptionDate

    the date of the prescription.

    prescriptionInfo

    the information of the prescription.

  11. case class PrescriptionDate(value: LocalDate = LocalDate.now()) extends Product with Serializable

    Class that models the date of a prescription.

    Class that models the date of a prescription.

    value

    the date.

  12. case class PrescriptionInfo(value: String) extends Product with Serializable

    Class that models the information about the prescription.

    Class that models the information about the prescription.

    value

    the information.

  13. case class Weight(value: Double) extends Product with Serializable

    Class that models the weight of a patient.

    Class that models the weight of a patient.

    value

    the weight in kilograms.

Value Members

  1. object Allergies

    Companion object for a set of allergies.

  2. object AllergyClass extends Enumeration

    Different kinds of allergies.

  3. object BloodType extends Enumeration

    Different blood types.

  4. object ExamHistory

    The set of exams done by a patient.

  5. object PrescriptionHistory

    The set of prescriptions of the patient.

  6. object Rh extends Enumeration

    Different RH bloods.

Ungrouped