Class: FHIR::Timing
- Defined in:
- lib/fhir/types/Timing.rb
Defined Under Namespace
Classes: Repeat
Constant Summary collapse
- SEARCH_PARAMS =
[]
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Timing.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Timing.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'event' => {'type'=>'dateTime', 'path'=>'Timing.event', 'min'=>0, 'max'=>Float::INFINITY}, 'repeat' => {'type'=>'Timing::Repeat', 'path'=>'Timing.repeat', 'min'=>0, 'max'=>1}, 'code' => {'valid_codes'=>{'http://hl7.org/fhir/v3/GTSAbbreviation'=>['BID', 'TID', 'QID', 'AM', 'PM', 'QD', 'QOD', 'Q4H', 'Q6H']}, 'type'=>'CodeableConcept', 'path'=>'Timing.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/timing-abbreviation'}} }
Instance Attribute Summary collapse
-
#code ⇒ Object
0-1 CodeableConcept.
-
#event ⇒ Object
0-* [ dateTime ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#repeat ⇒ Object
0-1 Timing::Repeat.
Method Summary
Methods included from Xml
from_xml, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#attribute_mismatch, #compare_attribute, #equals?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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
#code ⇒ Object
0-1 CodeableConcept
67 68 69 |
# File 'lib/fhir/types/Timing.rb', line 67 def code @code end |
#event ⇒ Object
0-* [ dateTime ]
65 66 67 |
# File 'lib/fhir/types/Timing.rb', line 65 def event @event end |
#extension ⇒ Object
0-* [ Extension ]
64 65 66 |
# File 'lib/fhir/types/Timing.rb', line 64 def extension @extension end |
#id ⇒ Object
0-1 string
63 64 65 |
# File 'lib/fhir/types/Timing.rb', line 63 def id @id end |
#repeat ⇒ Object
0-1 Timing::Repeat
66 67 68 |
# File 'lib/fhir/types/Timing.rb', line 66 def repeat @repeat end |