Class MedicalSituation

All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>

public class MedicalSituation extends WorkSituation
A class representing the interaction of people around a common activity or conflict. Situations happen usually at dedicated places.
Since:
1.0
Version:
1.1
Author:
Silvere Martin-Michiellot
See Also:
  • Constructor Details

    • MedicalSituation

      public MedicalSituation(String name, String comments)
      Creates a new MedicalSituation object.
      Parameters:
      name - the name of the medical situation
      comments - additional comments or observations
  • Method Details

    • addDoctor

      public void addDoctor(Individual individual, Organization organization)
      Adds a doctor to the medical situation.
      Parameters:
      individual - the individual taking the doctor role
      organization - the organization the doctor belongs to
    • addPatient

      public void addPatient(Individual individual)
      Adds a patient to the medical situation.
      Parameters:
      individual - the individual taking the patient role