Class: FHIR::Device::Udi
- Defined in:
- lib/fhir_models/fhir/resources/Device.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Udi.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Udi.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Udi.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'deviceIdentifier' => {'type'=>'string', 'path'=>'Udi.deviceIdentifier', 'min'=>0, 'max'=>1}, 'name' => {'type'=>'string', 'path'=>'Udi.name', 'min'=>0, 'max'=>1}, 'jurisdiction' => {'type'=>'uri', 'path'=>'Udi.jurisdiction', 'min'=>0, 'max'=>1}, 'carrierHRF' => {'type'=>'string', 'path'=>'Udi.carrierHRF', 'min'=>0, 'max'=>1}, 'carrierAIDC' => {'type'=>'base64Binary', 'path'=>'Udi.carrierAIDC', 'min'=>0, 'max'=>1}, 'issuer' => {'type'=>'uri', 'path'=>'Udi.issuer', 'min'=>0, 'max'=>1}, 'entryType' => {'valid_codes'=>{'http://hl7.org/fhir/udi-entry-type'=>['barcode', 'rfid', 'manual', 'card', 'self-reported', 'unknown']}, 'type'=>'code', 'path'=>'Udi.entryType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/udi-entry-type'}} }
Instance Attribute Summary collapse
-
#carrierAIDC ⇒ Object
0-1 base64Binary.
-
#carrierHRF ⇒ Object
0-1 string.
-
#deviceIdentifier ⇒ Object
0-1 string.
-
#entryType ⇒ Object
0-1 code.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#issuer ⇒ Object
0-1 uri.
-
#jurisdiction ⇒ Object
0-1 uri.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
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
#carrierAIDC ⇒ Object
0-1 base64Binary
61 62 63 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 61 def carrierAIDC @carrierAIDC end |
#carrierHRF ⇒ Object
0-1 string
60 61 62 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 60 def carrierHRF @carrierHRF end |
#deviceIdentifier ⇒ Object
0-1 string
57 58 59 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 57 def deviceIdentifier @deviceIdentifier end |
#entryType ⇒ Object
0-1 code
63 64 65 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 63 def entryType @entryType end |
#extension ⇒ Object
0-* [ Extension ]
55 56 57 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 55 def extension @extension end |
#id ⇒ Object
0-1 string
54 55 56 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 54 def id @id end |
#issuer ⇒ Object
0-1 uri
62 63 64 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 62 def issuer @issuer end |
#jurisdiction ⇒ Object
0-1 uri
59 60 61 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 59 def jurisdiction @jurisdiction end |
#modifierExtension ⇒ Object
0-* [ Extension ]
56 57 58 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 56 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
58 59 60 |
# File 'lib/fhir_models/fhir/resources/Device.rb', line 58 def name @name end |