SEChronicAnemia.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/patient/conditions/SEPatientCondition.h"
6
7class CDM_DECL SEChronicAnemia : public SEPatientCondition
8{
9 friend class PBPatientCondition;//friend the serialization class
10public:
11
12 SEChronicAnemia(Logger* logger=nullptr);
13 virtual ~SEChronicAnemia();
14
15 static constexpr char const* Name = "Chronic Anemia";
16 std::string GetName() const override { return Name; }
17
18 void Clear() override;
19 void Copy(const SEChronicAnemia& src);
20
21 bool IsValid() const override;
22 bool IsActive() const override;
23
24 virtual bool HasReductionFactor() const;
25 virtual SEScalar0To1& GetReductionFactor();
26 virtual double GetReductionFactor() const;
27
28protected:
30};
Definition: Logger.h:71
Definition: PBPatientConditions.h:24
static void Copy(const SEAcuteRespiratoryDistressSyndrome &src, SEAcuteRespiratoryDistressSyndrome &dst)
Definition: PBPatientConditions.cpp:67
Definition: SEChronicAnemia.h:8
SEScalar0To1 * m_ReductionFactor
Definition: SEChronicAnemia.h:29
std::string GetName() const override
Definition: SEChronicAnemia.h:16
Definition: SEPatientCondition.h:8
bool IsValid() const override=0
bool IsActive() const override=0
void Clear() override
Definition: SEPatientCondition.cpp:17
Definition: SEScalar0To1.h:8

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.