Class: FHIR::Device::UdiCarrier

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir/resources/Device.rb

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'UdiCarrier.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'UdiCarrier.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'UdiCarrier.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'deviceIdentifier' => {'type'=>'string', 'path'=>'UdiCarrier.deviceIdentifier', 'min'=>0, 'max'=>1},
  'issuer' => {'type'=>'uri', 'path'=>'UdiCarrier.issuer', 'min'=>0, 'max'=>1},
  'jurisdiction' => {'type'=>'uri', 'path'=>'UdiCarrier.jurisdiction', 'min'=>0, 'max'=>1},
  'carrierAIDC' => {'type'=>'base64Binary', 'path'=>'UdiCarrier.carrierAIDC', 'min'=>0, 'max'=>1},
  'carrierHRF' => {'type'=>'string', 'path'=>'UdiCarrier.carrierHRF', 'min'=>0, 'max'=>1},
  'entryType' => {'valid_codes'=>{'http://hl7.org/fhir/udi-entry-type'=>['barcode', 'rfid', 'manual', 'card', 'self-reported', 'unknown']}, 'type'=>'code', 'path'=>'UdiCarrier.entryType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/udi-entry-type|4.0.0'}}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from FHIR::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::Model

Dynamic Method Handling

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

Instance Attribute Details

#carrierAIDCObject

0-1 base64Binary



68
69
70
# File 'lib/fhir_models/fhir/resources/Device.rb', line 68

def carrierAIDC
  @carrierAIDC
end

#carrierHRFObject

0-1 string



69
70
71
# File 'lib/fhir_models/fhir/resources/Device.rb', line 69

def carrierHRF
  @carrierHRF
end

#deviceIdentifierObject

0-1 string



65
66
67
# File 'lib/fhir_models/fhir/resources/Device.rb', line 65

def deviceIdentifier
  @deviceIdentifier
end

#entryTypeObject

0-1 code



70
71
72
# File 'lib/fhir_models/fhir/resources/Device.rb', line 70

def entryType
  @entryType
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#idObject

0-1 string



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

def id
  @id
end

#issuerObject

0-1 uri



66
67
68
# File 'lib/fhir_models/fhir/resources/Device.rb', line 66

def issuer
  @issuer
end

#jurisdictionObject

0-1 uri



67
68
69
# File 'lib/fhir_models/fhir/resources/Device.rb', line 67

def jurisdiction
  @jurisdiction
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end