Class: FHIR::CapabilityStatement::Document

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Document.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Document.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Document.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'mode' => {'valid_codes'=>{'http://hl7.org/fhir/document-mode'=>['producer', 'consumer']}, 'type'=>'code', 'path'=>'Document.mode', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/document-mode|4.0.0'}},
  'documentation' => {'type'=>'markdown', 'path'=>'Document.documentation', 'min'=>0, 'max'=>1},
  'profile' => {'type'=>'canonical', 'path'=>'Document.profile', '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, #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

#documentationObject

0-1 markdown



361
362
363
# File 'lib/fhir_models/fhir/resources/CapabilityStatement.rb', line 361

def documentation
  @documentation
end

#extensionObject

0-* [ Extension ]



358
359
360
# File 'lib/fhir_models/fhir/resources/CapabilityStatement.rb', line 358

def extension
  @extension
end

#idObject

0-1 string



357
358
359
# File 'lib/fhir_models/fhir/resources/CapabilityStatement.rb', line 357

def id
  @id
end

#modeObject

1-1 code



360
361
362
# File 'lib/fhir_models/fhir/resources/CapabilityStatement.rb', line 360

def mode
  @mode
end

#modifierExtensionObject

0-* [ Extension ]



359
360
361
# File 'lib/fhir_models/fhir/resources/CapabilityStatement.rb', line 359

def modifierExtension
  @modifierExtension
end

#profileObject

1-1 canonical



362
363
364
# File 'lib/fhir_models/fhir/resources/CapabilityStatement.rb', line 362

def profile
  @profile
end