Class: FHIR::DSTU2::SampledData

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_dstu2_models/fhir/types/SampledData.rb

Constant Summary collapse

SEARCH_PARAMS =
METADATA = {
  'id' => { 'type' => 'id', 'path' => 'SampledData.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'SampledData.extension', 'min' => 0, 'max' => Float::INFINITY },
  'origin' => { 'type' => 'Quantity', 'path' => 'SampledData.origin', 'min' => 1, 'max' => 1 },
  'period' => { 'type' => 'decimal', 'path' => 'SampledData.period', 'min' => 1, 'max' => 1 },
  'factor' => { 'type' => 'decimal', 'path' => 'SampledData.factor', 'min' => 0, 'max' => 1 },
  'lowerLimit' => { 'type' => 'decimal', 'path' => 'SampledData.lowerLimit', 'min' => 0, 'max' => 1 },
  'upperLimit' => { 'type' => 'decimal', 'path' => 'SampledData.upperLimit', 'min' => 0, 'max' => 1 },
  'dimensions' => { 'type' => 'positiveInt', 'path' => 'SampledData.dimensions', 'min' => 1, 'max' => 1 },
  'data' => { 'type' => 'string', 'path' => 'SampledData.data', 'min' => 1, 'max' => 1 }
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

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

#dataObject

1-1 string



29
30
31
# File 'lib/fhir_dstu2_models/fhir/types/SampledData.rb', line 29

def data
  @data
end

#dimensionsObject

1-1 positiveInt



28
29
30
# File 'lib/fhir_dstu2_models/fhir/types/SampledData.rb', line 28

def dimensions
  @dimensions
end

#extensionObject

0-* [ Extension ]



22
23
24
# File 'lib/fhir_dstu2_models/fhir/types/SampledData.rb', line 22

def extension
  @extension
end

#factorObject

0-1 decimal



25
26
27
# File 'lib/fhir_dstu2_models/fhir/types/SampledData.rb', line 25

def factor
  @factor
end

#idObject

0-1 id



21
22
23
# File 'lib/fhir_dstu2_models/fhir/types/SampledData.rb', line 21

def id
  @id
end

#lowerLimitObject

0-1 decimal



26
27
28
# File 'lib/fhir_dstu2_models/fhir/types/SampledData.rb', line 26

def lowerLimit
  @lowerLimit
end

#originObject

1-1 Quantity



23
24
25
# File 'lib/fhir_dstu2_models/fhir/types/SampledData.rb', line 23

def origin
  @origin
end

#periodObject

1-1 decimal



24
25
26
# File 'lib/fhir_dstu2_models/fhir/types/SampledData.rb', line 24

def period
  @period
end

#upperLimitObject

0-1 decimal



27
28
29
# File 'lib/fhir_dstu2_models/fhir/types/SampledData.rb', line 27

def upperLimit
  @upperLimit
end