Class: FHIR::AuditEvent::Agent::Network

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Network.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Network.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Network.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'address' => {'type'=>'string', 'path'=>'Network.address', 'min'=>0, 'max'=>1},
  'type' => {'valid_codes'=>{'http://hl7.org/fhir/network-type'=>['1', '2', '3', '4', '5']}, 'type'=>'code', 'path'=>'Network.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/network-type|4.0.0'}}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from 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

#addressObject

0-1 string



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

def address
  @address
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#idObject

0-1 string



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

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end

#typeObject

0-1 code



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

def type
  @type
end