Class: FHIR::Claim::Accident
- Defined in:
- lib/fhir_models/fhir/resources/Claim.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'=>1, '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
1-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
1-1 date
269 270 271 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 269 def date @date end |
#extension ⇒ Object
0-* [ Extension ]
267 268 269 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 267 def extension @extension end |
#id ⇒ Object
0-1 string
266 267 268 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 266 def id @id end |
#locationAddress ⇒ Object
0-1 Address
271 272 273 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 271 def locationAddress @locationAddress end |
#locationReference ⇒ Object
0-1 Reference(Location)
272 273 274 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 272 def locationReference @locationReference end |
#modifierExtension ⇒ Object
0-* [ Extension ]
268 269 270 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 268 def modifierExtension @modifierExtension end |
#type ⇒ Object
0-1 CodeableConcept
270 271 272 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 270 def type @type end |