Sha256: 8cef2be4a816f527ba8f68648b781bfde56636fc99baf8065af9b98b41441003

Contents?: true

Size: 1.48 KB

Versions: 6

Compression:

Stored size: 1.48 KB

Contents

module FHIR
  module STU3
    class SampledData < FHIR::STU3::Model
      include FHIR::STU3::Hashable
      include FHIR::STU3::Json
      include FHIR::STU3::Xml

      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'=>1, 'max'=>1}
      }

      attr_accessor :id         # 0-1 string
      attr_accessor :extension  # 0-* [ Extension ]
      attr_accessor :origin     # 1-1 Quantity
      attr_accessor :period     # 1-1 decimal
      attr_accessor :factor     # 0-1 decimal
      attr_accessor :lowerLimit # 0-1 decimal
      attr_accessor :upperLimit # 0-1 decimal
      attr_accessor :dimensions # 1-1 positiveInt
      attr_accessor :data       # 1-1 string
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fhir_stu3_models-3.2.0 lib/fhir_stu3_models/fhir/types/SampledData.rb
fhir_stu3_models-3.1.1 lib/fhir_stu3_models/fhir/types/SampledData.rb
fhir_stu3_models-3.1.0 lib/fhir_stu3_models/fhir/types/SampledData.rb
fhir_stu3_models-3.0.2 lib/fhir_stu3_models/fhir/types/SampledData.rb
fhir_stu3_models-3.0.1 lib/fhir_stu3_models/fhir/types/SampledData.rb
fhir_stu3_models-3.0.0 lib/fhir_stu3_models/fhir/types/SampledData.rb