5#include "cdm/patient/actions/SEPatientAction.h"
8enum class eBrainInjury_Type { Diffuse = 0, LeftFocal, RightFocal };
9extern CDM_DECL
const std::string& eBrainInjury_Type_Name(eBrainInjury_Type m);
19 static constexpr char const* Name =
"Brain Injury";
20 std::string
GetName()
const override {
return Name; }
22 void Clear()
override;
31 virtual bool HasSeverity()
const;
33 virtual double GetSeverity()
const;
35 virtual eBrainInjury_Type GetType()
const;
36 virtual void SetType(eBrainInjury_Type t);
Definition: PBPatientActions.h:52
virtual const SEScalar * GetScalar(const std::string &name)=0
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:53
Definition: SEBrainInjury.h:12
eBrainInjury_Type m_Type
Definition: SEBrainInjury.h:40
SEScalar0To1 * m_Severity
Definition: SEBrainInjury.h:39
std::string GetName() const override
Definition: SEBrainInjury.h:20
Definition: SEPatientAction.h:8
void Deactivate() override
Definition: SEPatientAction.h:23
void Clear() override
Definition: SEPatientAction.h:18
bool IsValid() const override
Definition: SEPatientAction.h:19
bool IsActive() const override
Definition: SEPatientAction.h:22
Definition: SEScalar0To1.h:8
Definition: SEScalar.h:19