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

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

Defined Under Namespace

Classes: ReferenceStrength

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Strength.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Strength.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Strength.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'presentation' => {'type'=>'Ratio', 'path'=>'Strength.presentation', 'min'=>1, 'max'=>1},
  'presentationLowLimit' => {'type'=>'Ratio', 'path'=>'Strength.presentationLowLimit', 'min'=>0, 'max'=>1},
  'concentration' => {'type'=>'Ratio', 'path'=>'Strength.concentration', 'min'=>0, 'max'=>1},
  'concentrationLowLimit' => {'type'=>'Ratio', 'path'=>'Strength.concentrationLowLimit', 'min'=>0, 'max'=>1},
  'measurementPoint' => {'type'=>'string', 'path'=>'Strength.measurementPoint', 'min'=>0, 'max'=>1},
  'country' => {'type'=>'CodeableConcept', 'path'=>'Strength.country', 'min'=>0, 'max'=>Float::INFINITY},
  'referenceStrength' => {'type'=>'MedicinalProductIngredient::SpecifiedSubstance::Strength::ReferenceStrength', 'path'=>'Strength.referenceStrength', '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

#concentrationObject

0-1 Ratio



89
90
91
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 89

def concentration
  @concentration
end

#concentrationLowLimitObject

0-1 Ratio



90
91
92
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 90

def concentrationLowLimit
  @concentrationLowLimit
end

#countryObject

0-* [ CodeableConcept ]



92
93
94
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 92

def country
  @country
end

#extensionObject

0-* [ Extension ]



85
86
87
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 85

def extension
  @extension
end

#idObject

0-1 string



84
85
86
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 84

def id
  @id
end

#measurementPointObject

0-1 string



91
92
93
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 91

def measurementPoint
  @measurementPoint
end

#modifierExtensionObject

0-* [ Extension ]



86
87
88
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 86

def modifierExtension
  @modifierExtension
end

#presentationObject

1-1 Ratio



87
88
89
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 87

def presentation
  @presentation
end

#presentationLowLimitObject

0-1 Ratio



88
89
90
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 88

def presentationLowLimit
  @presentationLowLimit
end

#referenceStrengthObject

0-* [ MedicinalProductIngredient::SpecifiedSubstance::Strength::ReferenceStrength ]



93
94
95
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 93

def referenceStrength
  @referenceStrength
end