SEPulmonaryFibrosis.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
8{
9 friend class PBPatientCondition;//friend the serialization class
10public:
11
12 SEPulmonaryFibrosis(Logger* logger=nullptr);
13 virtual ~SEPulmonaryFibrosis();
14
15 static constexpr char const* Name = "Pulmonary Fibrosis";
16 std::string GetName() const override { return Name; }
17
18 void Clear() override;
19 void Copy(const SEPulmonaryFibrosis& 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: SEPatientCondition.h:8
bool IsValid() const override=0
bool IsActive() const override=0
void Clear() override
Definition: SEPatientCondition.cpp:17
Definition: SEPulmonaryFibrosis.h:8
std::string GetName() const override
Definition: SEPulmonaryFibrosis.h:16
SEScalar0To1 * m_Severity
Definition: SEPulmonaryFibrosis.h:29
Definition: SEScalar0To1.h:8

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.