Class: FHIR::MedicinalProductIngredient::SpecifiedSubstance::Strength::ReferenceStrength

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'ReferenceStrength.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'ReferenceStrength.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'ReferenceStrength.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'substance' => {'type'=>'CodeableConcept', 'path'=>'ReferenceStrength.substance', 'min'=>0, 'max'=>1},
  'strength' => {'type'=>'Ratio', 'path'=>'ReferenceStrength.strength', 'min'=>1, 'max'=>1},
  'strengthLowLimit' => {'type'=>'Ratio', 'path'=>'ReferenceStrength.strengthLowLimit', 'min'=>0, 'max'=>1},
  'measurementPoint' => {'type'=>'string', 'path'=>'ReferenceStrength.measurementPoint', 'min'=>0, 'max'=>1},
  'country' => {'type'=>'CodeableConcept', 'path'=>'ReferenceStrength.country', 'min'=>0, 'max'=>Float::INFINITY}
}

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 FHIR::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

#countryObject

0-* [ CodeableConcept ]



81
82
83
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 81

def country
  @country
end

#extensionObject

0-* [ Extension ]



75
76
77
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 75

def extension
  @extension
end

#idObject

0-1 string



74
75
76
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 74

def id
  @id
end

#measurementPointObject

0-1 string



80
81
82
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 80

def measurementPoint
  @measurementPoint
end

#modifierExtensionObject

0-* [ Extension ]



76
77
78
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 76

def modifierExtension
  @modifierExtension
end

#strengthObject

1-1 Ratio



78
79
80
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 78

def strength
  @strength
end

#strengthLowLimitObject

0-1 Ratio



79
80
81
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 79

def strengthLowLimit
  @strengthLowLimit
end

#substanceObject

0-1 CodeableConcept



77
78
79
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 77

def substance
  @substance
end