Class: FHIR::TestScript::Metadata

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

Defined Under Namespace

Classes: Capability, Link

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Metadata.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Metadata.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Metadata.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'link' => {'type'=>'TestScript::Metadata::Link', 'path'=>'Metadata.link', 'min'=>0, 'max'=>Float::INFINITY},
  'capability' => {'type'=>'TestScript::Metadata::Capability', 'path'=>'Metadata.capability', 'min'=>1, '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::Model

Dynamic Method Handling

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

Instance Attribute Details

#capabilityObject

1-* [ TestScript::Metadata::Capability ]



150
151
152
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 150

def capability
  @capability
end

#extensionObject

0-* [ Extension ]



147
148
149
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 147

def extension
  @extension
end

#idObject

0-1 string



146
147
148
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 146

def id
  @id
end

0-* [ TestScript::Metadata::Link ]



149
150
151
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 149

def link
  @link
end

#modifierExtensionObject

0-* [ Extension ]



148
149
150
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 148

def modifierExtension
  @modifierExtension
end