Class: FHIR::MedicationKnowledge::Regulatory

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

Defined Under Namespace

Classes: MaxDispense, Schedule, Substitution

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Regulatory.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Regulatory.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Regulatory.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'regulatoryAuthority' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Regulatory.regulatoryAuthority', 'min'=>1, 'max'=>1},
  'substitution' => {'type'=>'MedicationKnowledge::Regulatory::Substitution', 'path'=>'Regulatory.substitution', 'min'=>0, 'max'=>Float::INFINITY},
  'schedule' => {'type'=>'MedicationKnowledge::Regulatory::Schedule', 'path'=>'Regulatory.schedule', 'min'=>0, 'max'=>Float::INFINITY},
  'maxDispense' => {'type'=>'MedicationKnowledge::Regulatory::MaxDispense', 'path'=>'Regulatory.maxDispense', 'min'=>0, 'max'=>1}
}

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

#extensionObject

0-* [ Extension ]



365
366
367
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 365

def extension
  @extension
end

#idObject

0-1 string



364
365
366
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 364

def id
  @id
end

#maxDispenseObject

0-1 MedicationKnowledge::Regulatory::MaxDispense



370
371
372
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 370

def maxDispense
  @maxDispense
end

#modifierExtensionObject

0-* [ Extension ]



366
367
368
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 366

def modifierExtension
  @modifierExtension
end

#regulatoryAuthorityObject

1-1 Reference(Organization)



367
368
369
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 367

def regulatoryAuthority
  @regulatoryAuthority
end

#scheduleObject

0-* [ MedicationKnowledge::Regulatory::Schedule ]



369
370
371
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 369

def schedule
  @schedule
end

#substitutionObject

0-* [ MedicationKnowledge::Regulatory::Substitution ]



368
369
370
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 368

def substitution
  @substitution
end