Class: FHIR::Device::DeviceName
- Defined in:
- lib/fhir_models/fhir/resources/Device.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'DeviceName.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'DeviceName.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'DeviceName.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'name' => {'type'=>'string', 'path'=>'DeviceName.name', 'min'=>1, 'max'=>1}, 'type' => {'valid_codes'=>{'http://hl7.org/fhir/device-nametype'=>['udi-label-name', 'user-friendly-name', 'patient-reported-name', 'manufacturer-name', 'model-name', 'other']}, 'type'=>'code', 'path'=>'DeviceName.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/device-nametype|4.0.0'}} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
1-1 string.
-
#type ⇒ Object
1-1 code.
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from FHIR::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
#extension ⇒ Object
0-* [ Extension ]
87 88 89 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 87 def extension @extension end |
#id ⇒ Object
0-1 string
86 87 88 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 86 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
88 89 90 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 88 def modifierExtension @modifierExtension end |
#name ⇒ Object
1-1 string
89 90 91 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 89 def name @name end |
#type ⇒ Object
1-1 code
90 91 92 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 90 def type @type end |