SEPulmonaryShunt.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 SEPulmonaryShunt : public SEPatientCondition
8{
9 friend class PBPatientCondition;//friend the serialization class
10public:
11
12 SEPulmonaryShunt(Logger* logger=nullptr);
13 virtual ~SEPulmonaryShunt();
14
15 static constexpr char const* Name = "Pulmonary Shunt";
16 virtual std::string GetName() const { return Name; }
17
18 virtual void Clear(); //clear memory
19 virtual void Copy(const SEPulmonaryShunt& src);
20
21 virtual bool IsValid() const;
22 virtual bool IsActive() const;
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:23
static void Copy(const SEAcuteRespiratoryDistressSyndrome &src, SEAcuteRespiratoryDistressSyndrome &dst)
Definition: PBPatientConditions.cpp:67
Definition: SEPatientCondition.h:8
virtual bool IsValid() const =0
virtual bool IsActive() const =0
virtual void Clear()
Definition: SEPatientCondition.cpp:17
Definition: SEPulmonaryShunt.h:8
virtual std::string GetName() const
Definition: SEPulmonaryShunt.h:16
SEScalar0To1 * m_Severity
Definition: SEPulmonaryShunt.h:29
Definition: SEScalar0To1.h:8

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.