Class: FHIR::DSTU2::TestScript::Metadata::Capability

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

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'Capability.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Capability.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'Capability.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'required' => { 'type' => 'boolean', 'path' => 'Capability.required', 'min' => 0, 'max' => 1 },
  'validated' => { 'type' => 'boolean', 'path' => 'Capability.validated', 'min' => 0, 'max' => 1 },
  'description' => { 'type' => 'string', 'path' => 'Capability.description', 'min' => 0, 'max' => 1 },
  'destination' => { 'type' => 'integer', 'path' => 'Capability.destination', 'min' => 0, 'max' => 1 },
  'link' => { 'type' => 'uri', 'path' => 'Capability.link', 'min' => 0, 'max' => Float::INFINITY },
  'conformance' => { 'type' => 'Reference', 'path' => 'Capability.conformance', 'min' => 1, '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

#conformanceObject

1-1 Reference()



119
120
121
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 119

def conformance
  @conformance
end

#descriptionObject

0-1 string



116
117
118
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 116

def description
  @description
end

#destinationObject

0-1 integer



117
118
119
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 117

def destination
  @destination
end

#extensionObject

0-* [ Extension ]



112
113
114
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 112

def extension
  @extension
end

#idObject

0-1 id



111
112
113
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 111

def id
  @id
end

0-* [ uri ]



118
119
120
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 118

def link
  @link
end

#modifierExtensionObject

0-* [ Extension ]



113
114
115
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 113

def modifierExtension
  @modifierExtension
end

#requiredObject

0-1 boolean



114
115
116
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 114

def required
  @required
end

#validatedObject

0-1 boolean



115
116
117
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 115

def validated
  @validated
end