Class: FHIR::ImplementationGuide::Definition::Page

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

Constant Summary collapse

MULTIPLE_TYPES =
{
  'name' => ['url', 'Reference']
}
METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Page.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Page.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Page.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'nameUrl' => {'type'=>'url', 'path'=>'Page.name[x]', 'min'=>1, 'max'=>1},
  'nameReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Binary'], 'type'=>'Reference', 'path'=>'Page.name[x]', 'min'=>1, 'max'=>1},
  'title' => {'type'=>'string', 'path'=>'Page.title', 'min'=>1, 'max'=>1},
  'generation' => {'valid_codes'=>{'http://hl7.org/fhir/guide-page-generation'=>['html', 'markdown', 'xml', 'generated']}, 'type'=>'code', 'path'=>'Page.generation', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/guide-page-generation|4.0.0'}},
  'page' => {'type'=>'ImplementationGuide::Definition::Page', 'path'=>'Page.page', '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::Model

Dynamic Method Handling

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

Instance Attribute Details

#extensionObject

0-* [ Extension ]



170
171
172
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 170

def extension
  @extension
end

#generationObject

1-1 code



175
176
177
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 175

def generation
  @generation
end

#idObject

0-1 string



169
170
171
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 169

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



171
172
173
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 171

def modifierExtension
  @modifierExtension
end

#nameReferenceObject

1-1 Reference(Binary)



173
174
175
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 173

def nameReference
  @nameReference
end

#nameUrlObject

1-1 url



172
173
174
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 172

def nameUrl
  @nameUrl
end

#pageObject

0-* [ ImplementationGuide::Definition::Page ]



176
177
178
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 176

def page
  @page
end

#titleObject

1-1 string



174
175
176
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 174

def title
  @title
end