Class: FHIR::DSTU2::Conformance::Rest

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

Defined Under Namespace

Classes: Interaction, Operation, Resource, Security

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'id', 'path'=>'Rest.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Rest.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Rest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'mode' => {'valid_codes'=>{'http://hl7.org/fhir/restful-conformance-mode'=>['client', 'server']}, 'type'=>'code', 'path'=>'Rest.mode', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/restful-conformance-mode'}},
  'documentation' => {'type'=>'string', 'path'=>'Rest.documentation', 'min'=>0, 'max'=>1},
  'security' => {'type'=>'Conformance::Rest::Security', 'path'=>'Rest.security', 'min'=>0, 'max'=>1},
  'resource' => {'type'=>'Conformance::Rest::Resource', 'path'=>'Rest.resource', 'min'=>1, 'max'=>Float::INFINITY},
  'interaction' => {'type'=>'Conformance::Rest::Interaction', 'path'=>'Rest.interaction', 'min'=>0, 'max'=>Float::INFINITY},
  'transactionMode' => {'valid_codes'=>{'http://hl7.org/fhir/transaction-mode'=>['not-supported', 'batch', 'transaction', 'both']}, 'type'=>'code', 'path'=>'Rest.transactionMode', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/transaction-mode'}},
  'searchParam' => {'type'=>'Conformance::Rest::Resource::SearchParam', 'path'=>'Rest.searchParam', 'min'=>0, 'max'=>Float::INFINITY},
  'operation' => {'type'=>'Conformance::Rest::Operation', 'path'=>'Rest.operation', 'min'=>0, 'max'=>Float::INFINITY},
  'compartment' => {'type'=>'uri', 'path'=>'Rest.compartment', 'min'=>0, 'max'=>Float::INFINITY}
}

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::DSTU2::Model

Dynamic Method Handling

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

Instance Attribute Details

#compartmentObject

0-* [ uri ]



308
309
310
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 308

def compartment
  @compartment
end

#documentationObject

0-1 string



301
302
303
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 301

def documentation
  @documentation
end

#extensionObject

0-* [ Extension ]



298
299
300
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 298

def extension
  @extension
end

#idObject

0-1 id



297
298
299
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 297

def id
  @id
end

#interactionObject

0-* [ Conformance::Rest::Interaction ]



304
305
306
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 304

def interaction
  @interaction
end

#modeObject

1-1 code



300
301
302
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 300

def mode
  @mode
end

#modifierExtensionObject

0-* [ Extension ]



299
300
301
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 299

def modifierExtension
  @modifierExtension
end

#operationObject

0-* [ Conformance::Rest::Operation ]



307
308
309
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 307

def operation
  @operation
end

#resourceObject

1-* [ Conformance::Rest::Resource ]



303
304
305
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 303

def resource
  @resource
end

#searchParamObject

0-* [ Conformance::Rest::Resource::SearchParam ]



306
307
308
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 306

def searchParam
  @searchParam
end

#securityObject

0-1 Conformance::Rest::Security



302
303
304
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 302

def security
  @security
end

#transactionModeObject

0-1 code



305
306
307
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 305

def transactionMode
  @transactionMode
end