Class: FHIR::MessageHeader::Destination

Inherits:
FHIR::Model show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir/resources/MessageHeader.rb

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Destination.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Destination.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Destination.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'name' => {'type'=>'string', 'path'=>'Destination.name', 'min'=>0, 'max'=>1},
  'target' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Device'], 'type'=>'Reference', 'path'=>'Destination.target', 'min'=>0, 'max'=>1},
  'endpoint' => {'type'=>'url', 'path'=>'Destination.endpoint', 'min'=>1, 'max'=>1},
  'receiver' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Destination.receiver', 'min'=>0, '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 FHIR::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

#endpointObject

1-1 url



54
55
56
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 54

def endpoint
  @endpoint
end

#extensionObject

0-* [ Extension ]



50
51
52
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 50

def extension
  @extension
end

#idObject

0-1 string



49
50
51
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 49

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



51
52
53
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 51

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



52
53
54
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 52

def name
  @name
end

#receiverObject

0-1 Reference(Practitioner|PractitionerRole|Organization)



55
56
57
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 55

def receiver
  @receiver
end

#targetObject

0-1 Reference(Device)



53
54
55
# File 'lib/fhir_models/fhir/resources/MessageHeader.rb', line 53

def target
  @target
end