Class: FHIR::STU3::Period
- Defined in:
- lib/fhir_stu3_models/fhir/types/Period.rb
Constant Summary collapse
- SEARCH_PARAMS =
METADATA = { 'id' => {'type'=>'string', 'path'=>'Period.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Period.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'start' => {'type'=>'dateTime', 'path'=>'Period.start', 'min'=>0, 'max'=>1}, 'end' => {'type'=>'dateTime', 'path'=>'Period.end', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#end ⇒ Object
0-1 dateTime.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#start ⇒ Object
0-1 dateTime.
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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::STU3::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::STU3::Model
Instance Attribute Details
#end ⇒ Object
0-1 dateTime
19 20 21 |
# File 'lib/fhir_stu3_models/fhir/types/Period.rb', line 19 def end @end end |
#extension ⇒ Object
0-* [ Extension ]
17 18 19 |
# File 'lib/fhir_stu3_models/fhir/types/Period.rb', line 17 def extension @extension end |
#id ⇒ Object
0-1 string
16 17 18 |
# File 'lib/fhir_stu3_models/fhir/types/Period.rb', line 16 def id @id end |
#start ⇒ Object
0-1 dateTime
18 19 20 |
# File 'lib/fhir_stu3_models/fhir/types/Period.rb', line 18 def start @start end |