Class: FHIR::ExplanationOfBenefit::Accident
- Defined in:
- lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'location' => ['Address', 'Reference'] }
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Accident.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Accident.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Accident.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'date' => {'type'=>'date', 'path'=>'Accident.date', 'min'=>0, 'max'=>1}, 'type' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-ActCode'=>['MVA', 'SCHOOL', 'SPT', 'WPA']}, 'type'=>'CodeableConcept', 'path'=>'Accident.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://terminology.hl7.org/ValueSet/v3-ActIncidentCode'}}, 'locationAddress' => {'type'=>'Address', 'path'=>'Accident.location[x]', 'min'=>0, 'max'=>1}, 'locationReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Location'], 'type'=>'Reference', 'path'=>'Accident.location[x]', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#date ⇒ Object
0-1 date.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#locationAddress ⇒ Object
0-1 Address.
-
#locationReference ⇒ Object
0-1 Reference(Location).
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#type ⇒ Object
0-1 CodeableConcept.
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
#date ⇒ Object
0-1 date
277 278 279 |
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 277 def date @date end |
#extension ⇒ Object
0-* [ Extension ]
275 276 277 |
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 275 def extension @extension end |
#id ⇒ Object
0-1 string
274 275 276 |
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 274 def id @id end |
#locationAddress ⇒ Object
0-1 Address
279 280 281 |
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 279 def locationAddress @locationAddress end |
#locationReference ⇒ Object
0-1 Reference(Location)
280 281 282 |
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 280 def locationReference @locationReference end |
#modifierExtension ⇒ Object
0-* [ Extension ]
276 277 278 |
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 276 def modifierExtension @modifierExtension end |
#type ⇒ Object
0-1 CodeableConcept
278 279 280 |
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 278 def type @type end |