Class: FHIR::STU3::Claim::Accident
- Defined in:
- lib/fhir_stu3_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://hl7.org/fhir/v3/ActCode'=>['MVA', 'SCHOOL', 'SPT', 'WPA']}, 'type'=>'CodeableConcept', 'path'=>'Accident.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/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, #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
#date ⇒ Object
1-1 date
265 266 267 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 265 def date @date end |
#extension ⇒ Object
0-* [ Extension ]
263 264 265 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 263 def extension @extension end |
#id ⇒ Object
0-1 string
262 263 264 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 262 def id @id end |
#locationAddress ⇒ Object
0-1 Address
267 268 269 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 267 def locationAddress @locationAddress end |
#locationReference ⇒ Object
0-1 Reference(Location)
268 269 270 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 268 def locationReference @locationReference end |
#modifierExtension ⇒ Object
0-* [ Extension ]
264 265 266 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 264 def modifierExtension @modifierExtension end |
#type ⇒ Object
0-1 CodeableConcept
266 267 268 |
# File 'lib/fhir_stu3_models/fhir/resources/Claim.rb', line 266 def type @type end |