5#include "cdm/patient/actions/SEPatientAction.h"
9enum class eSupplementalOxygen_Device { None = 0, NasalCannula, SimpleMask, NonRebreatherMask };
10extern CDM_DECL
const std::string& eSupplementalOxygen_Device_Name(eSupplementalOxygen_Device e);
20 static constexpr char const* Name =
"Supplemental Oxygen";
21 std::string
GetName()
const override {
return Name; }
23 void Clear()
override;
32 virtual eSupplementalOxygen_Device GetDevice()
const;
33 virtual void SetDevice(eSupplementalOxygen_Device name);
35 virtual bool HasFlow()
const;
39 virtual bool HasVolume()
const;
41 virtual double GetVolume(
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: 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: SEScalar.h:19
Definition: SEScalarVolume.h:28
Definition: SEScalarVolumePerTime.h:32
Definition: SESubstance.h:15
Definition: SESupplementalOxygen.h:13
SEScalarVolumePerTime * m_Flow
Definition: SESupplementalOxygen.h:45
SEScalarVolume * m_Volume
Definition: SESupplementalOxygen.h:46
eSupplementalOxygen_Device m_Device
Definition: SESupplementalOxygen.h:44
std::string GetName() const override
Definition: SESupplementalOxygen.h:21
Definition: SEScalarVolumePerTime.h:8
Definition: SEScalarVolume.h:8