SEImpairedAlveolarExchange.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3#pragma once
4#include "cdm/patient/conditions/SEPatientCondition.h"
5
7{
8 friend class PBPatientCondition;//friend the serialization class
9public:
10
11 SEImpairedAlveolarExchange(Logger* logger=nullptr);
13
14 static constexpr char const* Name = "Impaired Alveolar Exchange";
15 std::string GetName() const override { return Name; }
16
17 void Clear() override;
18 void Copy(const SEImpairedAlveolarExchange& src);
19
20 bool IsValid() const override;
21 bool IsActive() const override;
22
23 virtual bool HasImpairedSurfaceArea() const;
24 virtual SEScalarArea& GetImpairedSurfaceArea();
25 virtual double GetImpairedSurfaceArea(const AreaUnit& unit) const;
26
27 virtual bool HasImpairedFraction() const;
28 virtual SEScalar0To1& GetImpairedFraction();
29 virtual double GetImpairedFraction() const;
30
31 virtual bool HasSeverity() const;
32 virtual SEScalar0To1& GetSeverity();
33 virtual double GetSeverity() const;
34
35protected:
36
40};
Definition: SEScalarArea.h:8
Definition: Logger.h:71
Definition: PBPatientConditions.h:24
static void Copy(const SEAcuteRespiratoryDistressSyndrome &src, SEAcuteRespiratoryDistressSyndrome &dst)
Definition: PBPatientConditions.cpp:67
Definition: SEImpairedAlveolarExchange.h:7
std::string GetName() const override
Definition: SEImpairedAlveolarExchange.h:15
SEScalar0To1 * m_Severity
Definition: SEImpairedAlveolarExchange.h:39
SEScalar0To1 * m_ImpairedFraction
Definition: SEImpairedAlveolarExchange.h:38
SEScalarArea * m_ImpairedSurfaceArea
Definition: SEImpairedAlveolarExchange.h:37
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
Definition: SEScalarArea.h:25

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.