SEChronicObstructivePulmonaryDisease.h
1 /**************************************************************************************
2 Copyright 2015 Applied Research Associates, Inc.
3 Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4 this file except in compliance with the License. You may obtain a copy of the License
5 at:
6 http://www.apache.org/licenses/LICENSE-2.0
7 Unless required by applicable law or agreed to in writing, software distributed under
8 the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9 CONDITIONS OF ANY KIND, either express or implied. See the License for the
10 specific language governing permissions and limitations under the License.
11 **************************************************************************************/
12 
13 #pragma once
14 #include <string>
15 
16 #include <biogears/exports.h>
17 #include <biogears/cdm/patient/conditions/SEPatientCondition.h>
18 #include <biogears/schema/cdm/PatientConditions.hxx>
19 
20 namespace biogears {
21 class SEScalar0To1;
22 
24 public:
27 
28  virtual void Clear(); //clear memory
29 
30  virtual bool IsValid() const;
31 
32  virtual bool Load(const CDM::ChronicObstructivePulmonaryDiseaseData& in);
33  virtual CDM::ChronicObstructivePulmonaryDiseaseData* Unload() const;
34 
35 protected:
36  virtual void Unload(CDM::ChronicObstructivePulmonaryDiseaseData& data) const;
37 
38 public:
39  virtual std::string GetName() const { return "ChronicObstructivePulmonaryDisease"; }
40  virtual const char* GetName_cStr() const { return "ChronicObstructivePulmonaryDisease"; }
41 
42  virtual bool HasBronchitisSeverity() const;
43  virtual SEScalar0To1& GetBronchitisSeverity();
44 
45  virtual bool HasEmphysemaSeverity() const;
46  virtual SEScalar0To1& GetEmphysemaSeverity();
47 
48  virtual void ToString(std::ostream& str) const;
49 
50 protected:
53 };
54 }
Definition: SEChronicObstructivePulmonaryDisease.h:23
virtual const char * GetName_cStr() const
Definition: SEChronicObstructivePulmonaryDisease.h:40
virtual std::string GetName() const
Definition: SEChronicObstructivePulmonaryDisease.h:39
Class corresponding to the ChronicObstructivePulmonaryDiseaseData schema type.
Definition: PatientConditions.hxx:1070
Definition: SEPatientCondition.h:18
Definition: SEScalar0To1.h:17
SEScalar0To1 * m_BronchitisSeverity
Definition: SEChronicObstructivePulmonaryDisease.h:51
Definition: SEElectricalCircuit.h:18
SEScalar0To1 * m_EmphysemaSeverity
Definition: SEChronicObstructivePulmonaryDisease.h:52