Class: FHIR::DSTU2::QuestionnaireResponse::Group::Question
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb
Defined Under Namespace
Classes: Answer
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'Question.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Question.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Question.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'linkId' => {'type'=>'string', 'path'=>'Question.linkId', 'min'=>0, 'max'=>1}, 'text' => {'type'=>'string', 'path'=>'Question.text', 'min'=>0, 'max'=>1}, 'answer' => {'type'=>'QuestionnaireResponse::Group::Question::Answer', 'path'=>'Question.answer', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#answer ⇒ Object
0-* [ QuestionnaireResponse::Group::Question::Answer ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#linkId ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#text ⇒ Object
0-1 string.
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
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::DSTU2::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model
Instance Attribute Details
#answer ⇒ Object
0-* [ QuestionnaireResponse::Group::Question::Answer ]
112 113 114 |
# File 'lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb', line 112 def answer @answer end |
#extension ⇒ Object
0-* [ Extension ]
108 109 110 |
# File 'lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb', line 108 def extension @extension end |
#id ⇒ Object
0-1 id
107 108 109 |
# File 'lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb', line 107 def id @id end |
#linkId ⇒ Object
0-1 string
110 111 112 |
# File 'lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb', line 110 def linkId @linkId end |
#modifierExtension ⇒ Object
0-* [ Extension ]
109 110 111 |
# File 'lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb', line 109 def modifierExtension @modifierExtension end |
#text ⇒ Object
0-1 string
111 112 113 |
# File 'lib/fhir_dstu2_models/fhir/resources/QuestionnaireResponse.rb', line 111 def text @text end |