Class: FHIR::DSTU2::Questionnaire::Group::Question
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb
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 }, 'concept' => { 'valid_codes' => { 'http://loinc.org' => [] }, 'type' => 'Coding', 'path' => 'Question.concept', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/questionnaire-questions' } }, 'text' => { 'type' => 'string', 'path' => 'Question.text', 'min' => 0, 'max' => 1 }, 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/answer-format' => ['boolean', 'decimal', 'integer', 'date', 'dateTime', 'instant', 'time', 'string', 'text', 'url', 'choice', 'open-choice', 'attachment', 'reference', 'quantity'] }, 'type' => 'code', 'path' => 'Question.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/answer-format' } }, 'required' => { 'type' => 'boolean', 'path' => 'Question.required', 'min' => 0, 'max' => 1 }, 'repeats' => { 'type' => 'boolean', 'path' => 'Question.repeats', 'min' => 0, 'max' => 1 }, 'options' => { 'type' => 'Reference', 'path' => 'Question.options', 'min' => 0, 'max' => 1 }, 'option' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'Coding', 'path' => 'Question.option', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/questionnaire-answers' } }, 'group' => { 'type' => 'Questionnaire::Group', 'path' => 'Question.group', 'min' => 0, 'max' => Float::INFINITY } }
Instance Attribute Summary collapse
-
#concept ⇒ Object
0-* [ Coding ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#group ⇒ Object
0-* [ Questionnaire::Group ].
-
#id ⇒ Object
0-1 id.
-
#linkId ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#option ⇒ Object
0-* [ Coding ].
-
#options ⇒ Object
0-1 Reference().
-
#repeats ⇒ Object
0-1 boolean.
-
#required ⇒ Object
0-1 boolean.
-
#text ⇒ Object
0-1 string.
-
#type ⇒ Object
0-1 code.
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, #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
#concept ⇒ Object
0-* [ Coding ]
71 72 73 |
# File 'lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb', line 71 def concept @concept end |
#extension ⇒ Object
0-* [ Extension ]
68 69 70 |
# File 'lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb', line 68 def extension @extension end |
#group ⇒ Object
0-* [ Questionnaire::Group ]
78 79 80 |
# File 'lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb', line 78 def group @group end |
#id ⇒ Object
0-1 id
67 68 69 |
# File 'lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb', line 67 def id @id end |
#linkId ⇒ Object
0-1 string
70 71 72 |
# File 'lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb', line 70 def linkId @linkId end |
#modifierExtension ⇒ Object
0-* [ Extension ]
69 70 71 |
# File 'lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb', line 69 def modifierExtension @modifierExtension end |
#option ⇒ Object
0-* [ Coding ]
77 78 79 |
# File 'lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb', line 77 def option @option end |
#options ⇒ Object
0-1 Reference()
76 77 78 |
# File 'lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb', line 76 def @options end |
#repeats ⇒ Object
0-1 boolean
75 76 77 |
# File 'lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb', line 75 def repeats @repeats end |
#required ⇒ Object
0-1 boolean
74 75 76 |
# File 'lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb', line 74 def required @required end |
#text ⇒ Object
0-1 string
72 73 74 |
# File 'lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb', line 72 def text @text end |
#type ⇒ Object
0-1 code
73 74 75 |
# File 'lib/fhir_dstu2_models/fhir/resources/Questionnaire.rb', line 73 def type @type end |