SEDehydration.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 SEDehydration : public SEPatientCondition
8{
9 friend class PBPatientCondition;//friend the serialization class
10public:
11
12 SEDehydration(Logger* logger=nullptr);
13 virtual ~SEDehydration();
14
15 static constexpr char const* Name = "Dehydration";
16 std::string GetName() const override { return Name; }
17
18 void Clear() override;
19 void Copy(const SEDehydration& src);
20
21 bool IsValid() const override;
22 bool IsActive() const override;
23
24 virtual bool HasSeverity() const;
25 virtual SEScalar0To1& GetSeverity();
26 virtual double GetSeverity() 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: SEDehydration.h:8
std::string GetName() const override
Definition: SEDehydration.h:16
SEScalar0To1 * m_Severity
Definition: SEDehydration.h:29
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.