Assessment
Class ResponseItem

"A group or question item from the original questionnaire for which answers are provided." - HL7 FHIR, QuestionnaireResponse.item
Note that in FHIR, this construct appears to duplicate the Item construct in the Questionnaire resource (in FHIM called the QuestionnaireItem), apparently in order to convey a minimal amount of information for when the QuestionnaireItem is not available. Ordinarily, we would have just pointed directly to the QuestionnaireItem, but the usage is subtely different between ResponseItem and QuestionnaireItem, so for now, we've modeled this as two separate classes.

Attributes
Answer answer answer

"The respondent's answer(s) to the question." - HL7 FHIR, QuestionnaireResponse.item.answer

String definition definition

"A reference to an ElementDefinition that provides the details for the item. There is no need for this element if the item pointed to by the linkId has a definition listed." - HL7 FHIR, QuestionnaireResponse.item.definition

ResponseItem item item

"Questions or sub-groups nested beneath a question or group." - HL7 FHIR, QQuestionnaireResponse.item.item

String linkId linkId

"The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." - HL7 FHIR, QuestionnaireResponse.item.linkId

Note that this is a required field in FHIR that is used to link a Questionnaire Response to its corresponding question. In the FHIM, this is handled through a pointer from the QuestionnaireResponse to the AssessmentInstrumentQuestion instance, and would ordinarily not be modeled further, as the FHIM is a logical model and is not concerned with implementation details. Nevertheless, this field is included for compatibility with FHIR, but we made it optional. [In a database, this would hold the primary key of the AssessmentInstrumentQuestion record, while the QuestionnaireResponse record would have a foreign key pointing to this record.]

String text text

"Text that is displayed above the contents of the group or as the text of the question being answered." - HL7 FHIR, QuestionnaireResponse.item.text


Properties:

Alias
Classifier Behavior
Is Abstractfalse
Is Activefalse
Is Leaffalse
Keywords
NameResponseItem
Name Expression
NamespaceAssessment
Owned Template Signature
OwnerAssessment
Owning Template Parameter
PackageAssessment
Qualified NameFHIM::Assessment::ResponseItem
Representation
Stereotype
Template Parameter
VisibilityPublic

Attribute Details

 answer
Public Answer answer

"The respondent's answer(s) to the question." - HL7 FHIR, QuestionnaireResponse.item.answer

Constraints:
Properties:

AggregationNone
Alias
AssociationresponseItem_answer
Association End
ClassResponseItem
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower0
Lower Value(0)
Multiplicity*
Nameanswer
Name Expression
NamespaceResponseItem
Opposite
OwnerResponseItem
Owning Association
Owning Template Parameter
Qualified NameFHIM::Assessment::ResponseItem::answer
Stereotype
Template Parameter
TypeAnswer
Upper*
Upper Value(*)
VisibilityPublic


 definition
Public String definition

"A reference to an ElementDefinition that provides the details for the item. There is no need for this element if the item pointed to by the linkId has a definition listed." - HL7 FHIR, QuestionnaireResponse.item.definition

Constraints:
Properties:

AggregationNone
Alias
Association
Association End
ClassResponseItem
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower0
Lower Value(0)
Multiplicity0..1
Namedefinition
Name Expression
NamespaceResponseItem
Opposite
OwnerResponseItem
Owning Association
Owning Template Parameter
Qualified NameFHIM::Assessment::ResponseItem::definition
Stereotype
Template Parameter
TypeString
Upper1
Upper Value(1)
VisibilityPublic


 item
Public ResponseItem item

"Questions or sub-groups nested beneath a question or group." - HL7 FHIR, QQuestionnaireResponse.item.item

Constraints:
Properties:

AggregationNone
Alias
AssociationresponseItem_responseItem
Association End
ClassResponseItem
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower0
Lower Value(0)
Multiplicity*
Nameitem
Name Expression
NamespaceResponseItem
Opposite
OwnerResponseItem
Owning Association
Owning Template Parameter
Qualified NameFHIM::Assessment::ResponseItem::item
Stereotype
Template Parameter
TypeResponseItem
Upper*
Upper Value(*)
VisibilityPublic


 linkId
Public String linkId

"The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource." - HL7 FHIR, QuestionnaireResponse.item.linkId

Note that this is a required field in FHIR that is used to link a Questionnaire Response to its corresponding question. In the FHIM, this is handled through a pointer from the QuestionnaireResponse to the AssessmentInstrumentQuestion instance, and would ordinarily not be modeled further, as the FHIM is a logical model and is not concerned with implementation details. Nevertheless, this field is included for compatibility with FHIR, but we made it optional. [In a database, this would hold the primary key of the AssessmentInstrumentQuestion record, while the QuestionnaireResponse record would have a foreign key pointing to this record.]

Constraints:
Properties:

AggregationNone
Alias
Association
Association End
ClassResponseItem
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower0
Lower Value(0)
Multiplicity0..1
NamelinkId
Name Expression
NamespaceResponseItem
Opposite
OwnerResponseItem
Owning Association
Owning Template Parameter
Qualified NameFHIM::Assessment::ResponseItem::linkId
Stereotype
Template Parameter
TypeString
Upper1
Upper Value(1)
VisibilityPublic


 text
Public String text

"Text that is displayed above the contents of the group or as the text of the question being answered." - HL7 FHIR, QuestionnaireResponse.item.text

Constraints:
Properties:

AggregationNone
Alias
Association
Association End
ClassResponseItem
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower0
Lower Value(0)
Multiplicity0..1
Nametext
Name Expression
NamespaceResponseItem
Opposite
OwnerResponseItem
Owning Association
Owning Template Parameter
Qualified NameFHIM::Assessment::ResponseItem::text
Stereotype
Template Parameter
TypeString
Upper1
Upper Value(1)
VisibilityPublic