Class: FHIR::DSTU2::QuestionnaireResponse::Group

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

Defined Under Namespace

Classes: Question

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'Group.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Group.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'Group.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'linkId' => { 'type' => 'string', 'path' => 'Group.linkId', 'min' => 0, 'max' => 1 },
  'title' => { 'type' => 'string', 'path' => 'Group.title', 'min' => 0, 'max' => 1 },
  'text' => { 'type' => 'string', 'path' => 'Group.text', 'min' => 0, 'max' => 1 },
  'subject' => { 'type' => 'Reference', 'path' => 'Group.subject', 'min' => 0, 'max' => 1 },
  'group' => { 'type' => 'QuestionnaireResponse::Group', 'path' => 'Group.group', 'min' => 0, 'max' => Float::INFINITY },
  'question' => { 'type' => 'QuestionnaireResponse::Group::Question', 'path' => 'Group.question', '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, #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

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#groupObject

0-* [ QuestionnaireResponse::Group ]



122
123
124
# File 'lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb', line 122

def group
  @group
end

#idObject

0-1 id



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

def id
  @id
end

#linkIdObject

0-1 string



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

def linkId
  @linkId
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end

#questionObject

0-* [ QuestionnaireResponse::Group::Question ]



123
124
125
# File 'lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb', line 123

def question
  @question
end

#subjectObject

0-1 Reference()



121
122
123
# File 'lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb', line 121

def subject
  @subject
end

#textObject

0-1 string



120
121
122
# File 'lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb', line 120

def text
  @text
end

#titleObject

0-1 string



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

def title
  @title
end