Class: FHIR::CapabilityStatement::Messaging::SupportedMessage

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'SupportedMessage.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'SupportedMessage.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'SupportedMessage.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'mode' => {'valid_codes'=>{'http://hl7.org/fhir/event-capability-mode'=>['sender', 'receiver']}, 'type'=>'code', 'path'=>'SupportedMessage.mode', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/event-capability-mode|4.0.0'}},
  'definition' => {'type'=>'canonical', 'path'=>'SupportedMessage.definition', 'min'=>1, 'max'=>1}
}

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

#definitionObject

1-1 canonical



331
332
333
# File 'lib/fhir_models/fhir/resources/CapabilityStatement.rb', line 331

def definition
  @definition
end

#extensionObject

0-* [ Extension ]



328
329
330
# File 'lib/fhir_models/fhir/resources/CapabilityStatement.rb', line 328

def extension
  @extension
end

#idObject

0-1 string



327
328
329
# File 'lib/fhir_models/fhir/resources/CapabilityStatement.rb', line 327

def id
  @id
end

#modeObject

1-1 code



330
331
332
# File 'lib/fhir_models/fhir/resources/CapabilityStatement.rb', line 330

def mode
  @mode
end

#modifierExtensionObject

0-* [ Extension ]



329
330
331
# File 'lib/fhir_models/fhir/resources/CapabilityStatement.rb', line 329

def modifierExtension
  @modifierExtension
end