Class: FHIR::Device::Property
- Defined in:
- lib/fhir_models/fhir/resources/Device.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Property.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Property.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Property.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'type' => {'type'=>'CodeableConcept', 'path'=>'Property.type', 'min'=>1, 'max'=>1}, 'valueQuantity' => {'type'=>'Quantity', 'path'=>'Property.valueQuantity', 'min'=>0, 'max'=>Float::INFINITY}, 'valueCode' => {'type'=>'CodeableConcept', 'path'=>'Property.valueCode', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#type ⇒ Object
1-1 CodeableConcept.
-
#valueCode ⇒ Object
0-* [ CodeableConcept ].
-
#valueQuantity ⇒ Object
0-* [ Quantity ].
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from FHIR::Deprecate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#==, #attribute_mismatch, #compare_attribute, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #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
#extension ⇒ Object
0-* [ Extension ]
150 151 152 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 150 def extension @extension end |
#id ⇒ Object
0-1 string
149 150 151 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 149 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
151 152 153 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 151 def modifierExtension @modifierExtension end |
#type ⇒ Object
1-1 CodeableConcept
152 153 154 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 152 def type @type end |
#valueCode ⇒ Object
0-* [ CodeableConcept ]
154 155 156 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 154 def valueCode @valueCode end |
#valueQuantity ⇒ Object
0-* [ Quantity ]
153 154 155 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 153 def valueQuantity @valueQuantity end |