Class: FHIR::MedicationKnowledge::Regulatory
- Inherits:
-
FHIR::Model
- Object
- FHIR::Model
- FHIR::MedicationKnowledge::Regulatory
- 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
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#maxDispense ⇒ Object
0-1 MedicationKnowledge::Regulatory::MaxDispense.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#regulatoryAuthority ⇒ Object
1-1 Reference(Organization).
-
#schedule ⇒ Object
0-* [ MedicationKnowledge::Regulatory::Schedule ].
-
#substitution ⇒ Object
0-* [ MedicationKnowledge::Regulatory::Substitution ].
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
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
#extension ⇒ Object
0-* [ Extension ]
365 366 367 |
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 365 def extension @extension end |
#id ⇒ Object
0-1 string
364 365 366 |
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 364 def id @id end |
#maxDispense ⇒ Object
0-1 MedicationKnowledge::Regulatory::MaxDispense
370 371 372 |
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 370 def maxDispense @maxDispense end |
#modifierExtension ⇒ Object
0-* [ Extension ]
366 367 368 |
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 366 def modifierExtension @modifierExtension end |
#regulatoryAuthority ⇒ Object
1-1 Reference(Organization)
367 368 369 |
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 367 def regulatoryAuthority @regulatoryAuthority end |
#schedule ⇒ Object
0-* [ MedicationKnowledge::Regulatory::Schedule ]
369 370 371 |
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 369 def schedule @schedule end |
#substitution ⇒ Object
0-* [ MedicationKnowledge::Regulatory::Substitution ]
368 369 370 |
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 368 def substitution @substitution end |