Class: FHIR::STU3::Device::Udi

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_stu3_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

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from FHIR::STU3::Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

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::STU3::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::STU3::Model

Instance Attribute Details

#carrierAIDCObject

0-1 base64Binary



62
63
64
# File 'lib/fhir_stu3_models/fhir/resources/Device.rb', line 62

def carrierAIDC
  @carrierAIDC
end

#carrierHRFObject

0-1 string



61
62
63
# File 'lib/fhir_stu3_models/fhir/resources/Device.rb', line 61

def carrierHRF
  @carrierHRF
end

#deviceIdentifierObject

0-1 string



58
59
60
# File 'lib/fhir_stu3_models/fhir/resources/Device.rb', line 58

def deviceIdentifier
  @deviceIdentifier
end

#entryTypeObject

0-1 code



64
65
66
# File 'lib/fhir_stu3_models/fhir/resources/Device.rb', line 64

def entryType
  @entryType
end

#extensionObject

0-* [ Extension ]



56
57
58
# File 'lib/fhir_stu3_models/fhir/resources/Device.rb', line 56

def extension
  @extension
end

#idObject

0-1 string



55
56
57
# File 'lib/fhir_stu3_models/fhir/resources/Device.rb', line 55

def id
  @id
end

#issuerObject

0-1 uri



63
64
65
# File 'lib/fhir_stu3_models/fhir/resources/Device.rb', line 63

def issuer
  @issuer
end

#jurisdictionObject

0-1 uri



60
61
62
# File 'lib/fhir_stu3_models/fhir/resources/Device.rb', line 60

def jurisdiction
  @jurisdiction
end

#modifierExtensionObject

0-* [ Extension ]



57
58
59
# File 'lib/fhir_stu3_models/fhir/resources/Device.rb', line 57

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



59
60
61
# File 'lib/fhir_stu3_models/fhir/resources/Device.rb', line 59

def name
  @name
end