Class: FHIR::SampledData

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

Constant Summary collapse

SEARCH_PARAMS =
[]
METADATA =
{
  'id' => {'type'=>'string', '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'=>0, '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, #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

#dataObject

0-1 string



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

def data
  @data
end

#dimensionsObject

1-1 positiveInt



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

def dimensions
  @dimensions
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#factorObject

0-1 decimal



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

def factor
  @factor
end

#idObject

0-1 string



20
21
22
# File 'lib/fhir_models/fhir/types/SampledData.rb', line 20

def id
  @id
end

#lowerLimitObject

0-1 decimal



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

def lowerLimit
  @lowerLimit
end

#originObject

1-1 Quantity



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

def origin
  @origin
end

#periodObject

1-1 decimal



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

def period
  @period
end

#upperLimitObject

0-1 decimal



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

def upperLimit
  @upperLimit
end