Class: FHIR::Conformance::Rest

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

Defined Under Namespace

Classes: Interaction, Operation, Resource, Security

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', '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', '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'=>0, 'max'=>Float::INFINITY},
  'interaction' => {'type'=>'Conformance::Rest::Interaction', 'path'=>'Rest.interaction', 'min'=>0, 'max'=>Float::INFINITY},
  '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, 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

#compartmentObject

0-* [ uri ]



311
312
313
# File 'lib/fhir/resources/Conformance.rb', line 311

def compartment
  @compartment
end

#documentationObject

0-1 string



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

def documentation
  @documentation
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#idObject

0-1 string



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

def id
  @id
end

#interactionObject

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



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

def interaction
  @interaction
end

#modeObject

1-1 code



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

def mode
  @mode
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end

#operationObject

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



310
311
312
# File 'lib/fhir/resources/Conformance.rb', line 310

def operation
  @operation
end

#resourceObject

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



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

def resource
  @resource
end

#searchParamObject

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



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

def searchParam
  @searchParam
end

#securityObject

0-1 Conformance::Rest::Security



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

def security
  @security
end