Sha256: 1ff9bf03a1849ba9105623f440f780d74922a92532f42a46ab91988028299287

Contents?: true

Size: 682 Bytes

Versions: 7

Compression:

Stored size: 682 Bytes

Contents

module FHIR
  class Range < FHIR::Model
    include FHIR::Hashable
    include FHIR::Json
    include FHIR::Xml

    SEARCH_PARAMS = 
    METADATA = {
      'id' => {'type'=>'string', 'path'=>'Range.id', 'min'=>0, 'max'=>1},
      'extension' => {'type'=>'Extension', 'path'=>'Range.extension', 'min'=>0, 'max'=>Float::INFINITY},
      'low' => {'type'=>'Quantity', 'path'=>'Range.low', 'min'=>0, 'max'=>1},
      'high' => {'type'=>'Quantity', 'path'=>'Range.high', 'min'=>0, 'max'=>1}
    }

    attr_accessor :id        # 0-1 string
    attr_accessor :extension # 0-* [ Extension ]
    attr_accessor :low       # 0-1 Quantity
    attr_accessor :high      # 0-1 Quantity
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fhir_models-3.0.4 lib/fhir_models/fhir/types/Range.rb
fhir_models-3.0.3 lib/fhir_models/fhir/types/Range.rb
fhir_models-3.0.2 lib/fhir_models/fhir/types/Range.rb
fhir_models-3.0.1 lib/fhir_models/fhir/types/Range.rb
fhir_models-1.8.3 lib/fhir_models/fhir/types/Range.rb
fhir_models-1.8.2 lib/fhir_models/fhir/types/Range.rb
fhir_models-1.8.1 lib/fhir_models/fhir/types/Range.rb