Sha256: cebeeb0a665ad080a2fc9e2a80942e4786bef0a74b4163740b3a3bd8a752252e

Contents?: true

Size: 716 Bytes

Versions: 7

Compression:

Stored size: 716 Bytes

Contents

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

    SEARCH_PARAMS = 
    METADATA = {
      'id' => {'type'=>'string', 'path'=>'Ratio.id', 'min'=>0, 'max'=>1},
      'extension' => {'type'=>'Extension', 'path'=>'Ratio.extension', 'min'=>0, 'max'=>Float::INFINITY},
      'numerator' => {'type'=>'Quantity', 'path'=>'Ratio.numerator', 'min'=>0, 'max'=>1},
      'denominator' => {'type'=>'Quantity', 'path'=>'Ratio.denominator', 'min'=>0, 'max'=>1}
    }

    attr_accessor :id          # 0-1 string
    attr_accessor :extension   # 0-* [ Extension ]
    attr_accessor :numerator   # 0-1 Quantity
    attr_accessor :denominator # 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/Ratio.rb
fhir_models-3.0.3 lib/fhir_models/fhir/types/Ratio.rb
fhir_models-3.0.2 lib/fhir_models/fhir/types/Ratio.rb
fhir_models-3.0.1 lib/fhir_models/fhir/types/Ratio.rb
fhir_models-1.8.3 lib/fhir_models/fhir/types/Ratio.rb
fhir_models-1.8.2 lib/fhir_models/fhir/types/Ratio.rb
fhir_models-1.8.1 lib/fhir_models/fhir/types/Ratio.rb