Class: FHIR::DSTU2::Location::Position
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Location.rb
Constant Summary collapse
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Position.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Position.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Position.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'longitude' => { 'type' => 'decimal', 'path' => 'Position.longitude', 'min' => 1, 'max' => 1 }, 'latitude' => { 'type' => 'decimal', 'path' => 'Position.latitude', 'min' => 1, 'max' => 1 }, 'altitude' => { 'type' => 'decimal', 'path' => 'Position.altitude', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#altitude ⇒ Object
0-1 decimal.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#latitude ⇒ Object
1-1 decimal.
-
#longitude ⇒ Object
1-1 decimal.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#==, #attribute_mismatch, #compare_attribute, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::DSTU2::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model
Instance Attribute Details
#altitude ⇒ Object
0-1 decimal
51 52 53 |
# File 'lib/fhir_dstu2_models/fhir/resources/Location.rb', line 51 def altitude @altitude end |
#extension ⇒ Object
0-* [ Extension ]
47 48 49 |
# File 'lib/fhir_dstu2_models/fhir/resources/Location.rb', line 47 def extension @extension end |
#id ⇒ Object
0-1 id
46 47 48 |
# File 'lib/fhir_dstu2_models/fhir/resources/Location.rb', line 46 def id @id end |
#latitude ⇒ Object
1-1 decimal
50 51 52 |
# File 'lib/fhir_dstu2_models/fhir/resources/Location.rb', line 50 def latitude @latitude end |
#longitude ⇒ Object
1-1 decimal
49 50 51 |
# File 'lib/fhir_dstu2_models/fhir/resources/Location.rb', line 49 def longitude @longitude end |
#modifierExtension ⇒ Object
0-* [ Extension ]
48 49 50 |
# File 'lib/fhir_dstu2_models/fhir/resources/Location.rb', line 48 def modifierExtension @modifierExtension end |