Class: FHIR::Claim::Onset
- Defined in:
- lib/fhir/resources/Claim.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'time' => ['date', 'Period'] }
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'Onset.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Onset.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Onset.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'timeDate' => {'type'=>'date', 'path'=>'Onset.time[x]', 'min'=>0, 'max'=>1}, 'timePeriod' => {'type'=>'Period', 'path'=>'Onset.time[x]', 'min'=>0, 'max'=>1}, 'type' => {'valid_codes'=>{'http://hl7.org/fhir/ex-onsettype'=>['LXM', 'SYM', 'LMN']}, 'type'=>'Coding', 'path'=>'Onset.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-onsettype'}} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#timeDate ⇒ Object
0-1 date.
-
#timePeriod ⇒ Object
0-1 Period.
-
#type ⇒ Object
0-1 Coding.
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
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 ]
232 233 234 |
# File 'lib/fhir/resources/Claim.rb', line 232 def extension @extension end |
#id ⇒ Object
0-1 id
231 232 233 |
# File 'lib/fhir/resources/Claim.rb', line 231 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
233 234 235 |
# File 'lib/fhir/resources/Claim.rb', line 233 def modifierExtension @modifierExtension end |
#timeDate ⇒ Object
0-1 date
234 235 236 |
# File 'lib/fhir/resources/Claim.rb', line 234 def timeDate @timeDate end |
#timePeriod ⇒ Object
0-1 Period
235 236 237 |
# File 'lib/fhir/resources/Claim.rb', line 235 def timePeriod @timePeriod end |
#type ⇒ Object
0-1 Coding
236 237 238 |
# File 'lib/fhir/resources/Claim.rb', line 236 def type @type end |