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

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

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'Request.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Request.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'Request.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'method' => { 'local_name' => 'local_method', 'valid_codes' => { 'http://hl7.org/fhir/http-verb' => ['GET', 'POST', 'PUT', 'DELETE'] }, 'type' => 'code', 'path' => 'Request.method', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/http-verb' } },
  'url' => { 'type' => 'uri', 'path' => 'Request.url', 'min' => 1, 'max' => 1 },
  'ifNoneMatch' => { 'type' => 'string', 'path' => 'Request.ifNoneMatch', 'min' => 0, 'max' => 1 },
  'ifModifiedSince' => { 'type' => 'instant', 'path' => 'Request.ifModifiedSince', 'min' => 0, 'max' => 1 },
  'ifMatch' => { 'type' => 'string', 'path' => 'Request.ifMatch', 'min' => 0, 'max' => 1 },
  'ifNoneExist' => { 'type' => 'string', 'path' => 'Request.ifNoneExist', '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 ]



96
97
98
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 96

def extension
  @extension
end

#idObject

0-1 id



95
96
97
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 95

def id
  @id
end

#ifMatchObject

0-1 string



102
103
104
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 102

def ifMatch
  @ifMatch
end

#ifModifiedSinceObject

0-1 instant



101
102
103
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 101

def ifModifiedSince
  @ifModifiedSince
end

#ifNoneExistObject

0-1 string



103
104
105
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 103

def ifNoneExist
  @ifNoneExist
end

#ifNoneMatchObject

0-1 string



100
101
102
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 100

def ifNoneMatch
  @ifNoneMatch
end

#local_methodObject

1-1 code



98
99
100
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 98

def local_method
  @local_method
end

#modifierExtensionObject

0-* [ Extension ]



97
98
99
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 97

def modifierExtension
  @modifierExtension
end

#urlObject

1-1 uri



99
100
101
# File 'lib/fhir_dstu2_models/fhir/resources/Bundle.rb', line 99

def url
  @url
end