5#include "cdm/patient/actions/SEPatientAction.h"
15 static constexpr char const* Name =
"Hemothorax";
16 std::string
GetName()
const override {
return Name; }
18 void Clear()
override;
26 virtual eSide GetSide()
const;
27 virtual void SetSide(eSide name);
28 virtual bool HasSide()
const;
29 virtual void InvalidateSide();
31 virtual bool HasSeverity()
const;
33 virtual double GetSeverity()
const;
35 virtual bool HasFlowRate()
const;
39 virtual bool HasTotalBloodVolume()
const;
41 virtual double GetTotalBloodVolume(
const VolumeUnit& unit)
const;
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: SEHemothorax.h:8
SEScalarVolume * m_TotalBloodVolume
Definition: SEHemothorax.h:47
eSide m_Side
Definition: SEHemothorax.h:44
SEScalarVolumePerTime * m_FlowRate
Definition: SEHemothorax.h:46
std::string GetName() const override
Definition: SEHemothorax.h:16
SEScalar0To1 * m_Severity
Definition: SEHemothorax.h:45
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
Definition: SEScalarVolume.h:28
Definition: SEScalarVolumePerTime.h:32
Definition: SEScalarVolumePerTime.h:8
Definition: SEScalarVolume.h:8