Class: FHIR::Task::Restriction
- Defined in:
- lib/fhir_models/fhir/resources/Task.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Restriction.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Restriction.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Restriction.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'repetitions' => {'type'=>'positiveInt', 'path'=>'Restriction.repetitions', 'min'=>0, 'max'=>1}, 'period' => {'type'=>'Period', 'path'=>'Restriction.period', 'min'=>0, 'max'=>1}, 'recipient' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Restriction.recipient', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#period ⇒ Object
0-1 Period.
-
#recipient ⇒ Object
0-* [ Reference(Patient|Practitioner|RelatedPerson|Group|Organization) ].
-
#repetitions ⇒ Object
0-1 positiveInt.
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 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 ]
85 86 87 |
# File 'lib/fhir_models/fhir/resources/Task.rb', line 85 def extension @extension end |
#id ⇒ Object
0-1 string
84 85 86 |
# File 'lib/fhir_models/fhir/resources/Task.rb', line 84 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
86 87 88 |
# File 'lib/fhir_models/fhir/resources/Task.rb', line 86 def modifierExtension @modifierExtension end |
#period ⇒ Object
0-1 Period
88 89 90 |
# File 'lib/fhir_models/fhir/resources/Task.rb', line 88 def period @period end |
#recipient ⇒ Object
0-* [ Reference(Patient|Practitioner|RelatedPerson|Group|Organization) ]
89 90 91 |
# File 'lib/fhir_models/fhir/resources/Task.rb', line 89 def recipient @recipient end |
#repetitions ⇒ Object
0-1 positiveInt
87 88 89 |
# File 'lib/fhir_models/fhir/resources/Task.rb', line 87 def repetitions @repetitions end |