Class: FHIR::ExplanationOfBenefit::Diagnosis
- Defined in:
- lib/fhir/resources/ExplanationOfBenefit.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Diagnosis.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Diagnosis.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Diagnosis.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'sequence' => {'type'=>'positiveInt', 'path'=>'Diagnosis.sequence', 'min'=>1, 'max'=>1}, 'diagnosis' => {'type'=>'Coding', 'path'=>'Diagnosis.diagnosis', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/icd-10'}}, 'type' => {'valid_codes'=>{'http://hl7.org/fhir/ex-diagnosistype'=>['admitting', 'clinical', 'differential', 'discharge', 'laboratory', 'nursing', 'prenatal', 'principal', 'radiology', 'remote', 'retrospective', 'self', 'admitting', 'clinical', 'differential', 'discharge', 'laboratory', 'nursing', 'prenatal', 'principal', 'radiology', 'remote', 'retrospective', 'self']}, 'type'=>'Coding', 'path'=>'Diagnosis.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-diagnosistype'}}, 'drg' => {'valid_codes'=>{'http://hl7.org/fhir/ex-diagnosisrelatedgroup'=>['100', '101', '300', '100', '101', '300']}, 'type'=>'Coding', 'path'=>'Diagnosis.drg', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup'}} }
Instance Attribute Summary collapse
-
#diagnosis ⇒ Object
1-1 Coding.
-
#drg ⇒ Object
0-1 Coding.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#sequence ⇒ Object
1-1 positiveInt.
-
#type ⇒ Object
0-* [ Coding ].
Method Summary
Methods included from Xml
from_xml, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#attribute_mismatch, #compare_attribute, #equals?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::Model
Instance Attribute Details
#diagnosis ⇒ Object
1-1 Coding
186 187 188 |
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 186 def diagnosis @diagnosis end |
#drg ⇒ Object
0-1 Coding
188 189 190 |
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 188 def drg @drg end |
#extension ⇒ Object
0-* [ Extension ]
183 184 185 |
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 183 def extension @extension end |
#id ⇒ Object
0-1 string
182 183 184 |
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 182 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
184 185 186 |
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 184 def modifierExtension @modifierExtension end |
#sequence ⇒ Object
1-1 positiveInt
185 186 187 |
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 185 def sequence @sequence end |
#type ⇒ Object
0-* [ Coding ]
187 188 189 |
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 187 def type @type end |