Class: FHIR::MedicationKnowledge::AdministrationGuidelines::PatientCharacteristics

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

Constant Summary collapse

MULTIPLE_TYPES =
{
  'characteristic' => ['CodeableConcept', 'Quantity']
}
METADATA =
{
  'id' => {'type'=>'string', 'path'=>'PatientCharacteristics.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'PatientCharacteristics.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'PatientCharacteristics.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'characteristicCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'PatientCharacteristics.characteristic[x]', 'min'=>1, 'max'=>1},
  'characteristicQuantity' => {'type'=>'Quantity', 'path'=>'PatientCharacteristics.characteristic[x]', 'min'=>1, 'max'=>1},
  'value' => {'type'=>'string', 'path'=>'PatientCharacteristics.value', '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

#characteristicCodeableConceptObject

1-1 CodeableConcept



208
209
210
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 208

def characteristicCodeableConcept
  @characteristicCodeableConcept
end

#characteristicQuantityObject

1-1 Quantity



209
210
211
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 209

def characteristicQuantity
  @characteristicQuantity
end

#extensionObject

0-* [ Extension ]



206
207
208
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 206

def extension
  @extension
end

#idObject

0-1 string



205
206
207
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 205

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



207
208
209
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 207

def modifierExtension
  @modifierExtension
end

#valueObject

0-* [ string ]



210
211
212
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 210

def value
  @value
end