Class: FHIR::DSTU2::Bundle::Entry

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

Defined Under Namespace

Classes: Request, Response, Search

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'Entry.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Entry.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'Entry.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'link' => { 'type' => 'Bundle::Link', 'path' => 'Entry.link', 'min' => 0, 'max' => Float::INFINITY },
  'fullUrl' => { 'type' => 'uri', 'path' => 'Entry.fullUrl', 'min' => 0, 'max' => 1 },
  'resource' => { 'type' => 'Resource', 'path' => 'Entry.resource', 'min' => 0, 'max' => 1 },
  'search' => { 'type' => 'Bundle::Entry::Search', 'path' => 'Entry.search', 'min' => 0, 'max' => 1 },
  'request' => { 'type' => 'Bundle::Entry::Request', 'path' => 'Entry.request', 'min' => 0, 'max' => 1 },
  'response' => { 'type' => 'Bundle::Entry::Response', 'path' => 'Entry.response', '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 Model

#==, #attribute_mismatch, #compare_attribute, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::DSTU2::Model

Dynamic Method Handling

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

Instance Attribute Details

#extensionObject

0-* [ Extension ]



131
132
133
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 131

def extension
  @extension
end

#fullUrlObject

0-1 uri



134
135
136
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 134

def fullUrl
  @fullUrl
end

#idObject

0-1 id



130
131
132
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 130

def id
  @id
end

0-* [ Bundle::Link ]



133
134
135
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 133

def link
  @link
end

#modifierExtensionObject

0-* [ Extension ]



132
133
134
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 132

def modifierExtension
  @modifierExtension
end

#requestObject

0-1 Bundle::Entry::Request



137
138
139
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 137

def request
  @request
end

#resourceObject

0-1 Resource



135
136
137
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 135

def resource
  @resource
end

#responseObject

0-1 Bundle::Entry::Response



138
139
140
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 138

def response
  @response
end

#searchObject

0-1 Bundle::Entry::Search



136
137
138
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 136

def search
  @search
end