c

cqrs.writemodel

GeneralPractitionerCRUD

class GeneralPractitionerCRUD extends AnyRef

This class represent the implementation of CRUD (Create, Read, Update, Delete) for general practitioner.

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

Instance Constructors

  1. new GeneralPractitionerCRUD()

Value Members

  1. def insertGeneralPractitionerInfo(generalpractitionerinfo: GeneralPractitionerInfo): String

    This method is used to insert a new general practitioner info in the database.

    This method is used to insert a new general practitioner info in the database.

    generalpractitionerinfo

    general practitioner info to insert

    returns

    string representing the result

  2. def updateGeneralPractitionerInfo(patientID: PatientID, generalpractitionerinfo: GeneralPractitionerInfo): String

    This method is used to update an existing general practitioner info in the database.

    This method is used to update an existing general practitioner info in the database.

    patientID

    patient's id

    generalpractitionerinfo

    medical practitioner info updated

    returns

    string representing the result

  3. def updatePredictions(doctorID: DoctorID): String

    This method is used to update an existing predictions in the database.

    This method is used to update an existing predictions in the database.

    doctorID

    doctor's id

    returns

    string representing the result