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

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', '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', '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, is_valid?, #to_xml, validate

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?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#idObject

0-1 string



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

def id
  @id
end

#ifMatchObject

0-1 string



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

def ifMatch
  @ifMatch
end

#ifModifiedSinceObject

0-1 instant



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

def ifModifiedSince
  @ifModifiedSince
end

#ifNoneExistObject

0-1 string



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

def ifNoneExist
  @ifNoneExist
end

#ifNoneMatchObject

0-1 string



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

def ifNoneMatch
  @ifNoneMatch
end

#local_methodObject

1-1 code



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

def local_method
  @local_method
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end

#urlObject

1-1 uri



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

def url
  @url
end