SEChronicRenalStenosis.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 
23 class BIOGEARS_API SEChronicRenalStenosis : public SEPatientCondition {
24 public:
26  virtual ~SEChronicRenalStenosis();
27 
28  virtual void Clear(); //clear memory
29 
30  virtual bool IsValid() const;
31 
32  virtual bool Load(const CDM::ChronicRenalStenosisData& in);
33  virtual CDM::ChronicRenalStenosisData* Unload() const;
34 
35 protected:
36  virtual void Unload(CDM::ChronicRenalStenosisData& data) const;
37 
38 public:
39  virtual std::string GetName() const { return "ChronicRenalStenosis"; }
40  virtual const char* GetName_cStr() const { return "ChronicRenalStenosis"; }
41 
42  virtual bool HasLeftKidneySeverity() const;
43  virtual SEScalar0To1& GetLeftKidneySeverity();
44 
45  virtual bool HasRightKidneySeverity() const;
46  virtual SEScalar0To1& GetRightKidneySeverity();
47 
48  virtual void ToString(std::ostream& str) const;
49 
50 protected:
53 };
54 }
Definition: SEChronicRenalStenosis.h:23
virtual const char * GetName_cStr() const
Definition: SEChronicRenalStenosis.h:40
Definition: SEPatientCondition.h:18
virtual std::string GetName() const
Definition: SEChronicRenalStenosis.h:39
Definition: SEScalar0To1.h:17
SEScalar0To1 * m_LeftKidneySeverity
Definition: SEChronicRenalStenosis.h:51
Class corresponding to the ChronicRenalStenosisData schema type.
Definition: PatientConditions.hxx:1471
SEScalar0To1 * m_RightKidneySeverity
Definition: SEChronicRenalStenosis.h:52
Definition: SEElectricalCircuit.h:18