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/PractitionerRole', '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|PractitionerRole|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 ]
65 66 67 |
# File 'lib/fhir_models/fhir/resources/Task.rb', line 65 def extension @extension end |
#id ⇒ Object
0-1 string
64 65 66 |
# File 'lib/fhir_models/fhir/resources/Task.rb', line 64 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
66 67 68 |
# File 'lib/fhir_models/fhir/resources/Task.rb', line 66 def modifierExtension @modifierExtension end |
#period ⇒ Object
0-1 Period
68 69 70 |
# File 'lib/fhir_models/fhir/resources/Task.rb', line 68 def period @period end |
#recipient ⇒ Object
0-* [ Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Group|Organization) ]
69 70 71 |
# File 'lib/fhir_models/fhir/resources/Task.rb', line 69 def recipient @recipient end |
#repetitions ⇒ Object
0-1 positiveInt
67 68 69 |
# File 'lib/fhir_models/fhir/resources/Task.rb', line 67 def repetitions @repetitions end |