Connectathon 11 Snapshot

This page is part of the FHIR Specification (v1.2.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

K.19 StructureDefinition: GAO Questionnaire

The official URL for this profile is:

http://hl7.org/fhir/StructureDefinition/gao-questionnaire

The Questionnaire resource is used to support an interactive question/answer implementation driven by the client. This interaction may result in a more favorable evaluation of the proposed order.

This profile was published on [no date] with unknown status '" by .

K.19.1 Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Questionnaire.

Summary

Mandatory: 0 element (+1 nested mandatory element)

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire I0..*QuestionnaireA structured set of questions
que-2: The link ids for groups and questions must be unique within the questionnaire
... meta 0..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierExternal identifiers for this questionnaire
... version 0..1stringLogical identifier for this version of Questionnaire
... status ?! 1..1codedraft | published | retired
Binding: QuestionnaireStatus (required)
... date 0..1dateTimeDate this version was authored
... publisher 0..1stringOrganization/individual who designed the questionnaire
... telecom 0..*ContactPointContact information of the publisher
... title 0..1stringName for the questionnaire
... concept 0..*CodingConcept that represents the overall questionnaire
Binding: Questionnaire Question Codes (example)
... subjectType 0..*codeResource that can be subject of QuestionnaireResponse
Binding: ResourceType (required)
... item I0..*BackboneElementQuestions and sections within the Questionnaire
que-1: Group items must have nested items, display items cannot have nested items
que-3: Display items cannot have a "concept" asserted
que-5: Only 'choice' items can have options
que-4: A question cannot have both option and options
que-6: Required and repeat aren't permitted for display items
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... linkId 0..1stringTo link questionnaire with questionnaire response
.... concept I0..*CodingConcept that represents this item within in a questionnaire
Binding: Questionnaire Question Codes (example)
.... text 0..1stringPrimary text for the item
.... type 1..1codegroup | display | boolean | decimal | integer | date | dateTime +
Binding: QuestionnaireItemType (required)
.... required I0..1booleanWhether the group must be included in data results
.... repeats I0..1booleanWhether the group may repeat
.... options I0..1Reference(ValueSet)Valueset containing permitted answers
.... option I0..*CodingPermitted answer
Binding: Questionnaire Answer Codes (example)
.... item I0..*See Questionnaire.itemNested questionnaire items

doco Documentation for this format

todo

This structure is derived from Questionnaire.

Summary

Mandatory: 0 element (+1 nested mandatory element)

Differential View

This structure is derived from Questionnaire.

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire I0..*QuestionnaireA structured set of questions
que-2: The link ids for groups and questions must be unique within the questionnaire
... meta 0..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierExternal identifiers for this questionnaire
... version 0..1stringLogical identifier for this version of Questionnaire
... status ?! 1..1codedraft | published | retired
Binding: QuestionnaireStatus (required)
... date 0..1dateTimeDate this version was authored
... publisher 0..1stringOrganization/individual who designed the questionnaire
... telecom 0..*ContactPointContact information of the publisher
... title 0..1stringName for the questionnaire
... concept 0..*CodingConcept that represents the overall questionnaire
Binding: Questionnaire Question Codes (example)
... subjectType 0..*codeResource that can be subject of QuestionnaireResponse
Binding: ResourceType (required)
... item I0..*BackboneElementQuestions and sections within the Questionnaire
que-1: Group items must have nested items, display items cannot have nested items
que-3: Display items cannot have a "concept" asserted
que-5: Only 'choice' items can have options
que-4: A question cannot have both option and options
que-6: Required and repeat aren't permitted for display items
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... linkId 0..1stringTo link questionnaire with questionnaire response
.... concept I0..*CodingConcept that represents this item within in a questionnaire
Binding: Questionnaire Question Codes (example)
.... text 0..1stringPrimary text for the item
.... type 1..1codegroup | display | boolean | decimal | integer | date | dateTime +
Binding: QuestionnaireItemType (required)
.... required I0..1booleanWhether the group must be included in data results
.... repeats I0..1booleanWhether the group may repeat
.... options I0..1Reference(ValueSet)Valueset containing permitted answers
.... option I0..*CodingPermitted answer
Binding: Questionnaire Answer Codes (example)
.... item I0..*See Questionnaire.itemNested questionnaire items

doco Documentation for this format

XML Template

JSON Template

todo

 

Other representations of profile: Schematron

K.19.2 Terminology Bindings

PathNameConformanceValueSet
Questionnaire.language?extrequiredhttp://tools.ietf.org/html/bcp47
Questionnaire.statusQuestionnaireStatusrequiredQuestionnaireStatus
Questionnaire.conceptQuestionnaire Question CodesexampleQuestionnaire Question Codes
Questionnaire.subjectTypeResourceTyperequiredResourceType
Questionnaire.item.conceptQuestionnaire Question CodesexampleQuestionnaire Question Codes
Questionnaire.item.typeQuestionnaireItemTyperequiredQuestionnaireItemType
Questionnaire.item.optionQuestionnaire Answer CodesexampleQuestionnaire Answer Codes

K.19.3 Constraints

IdPathDetailsRequirements
que-2QuestionnaireThe link ids for groups and questions must be unique within the questionnaire
XPath: count(descendant::f:linkId/@value)=count(distinct-values(descendant::f:linkId/@value))
que-1Questionnaire.itemGroup items must have nested items, display items cannot have nested items
XPath: not((f:type/@value='group' and not(f:item)) or (f:type/@value='display' and f:item))
que-3Questionnaire.itemDisplay items cannot have a "concept" asserted
XPath: not(f:type/@value='display' and f:concept)
que-5Questionnaire.itemOnly 'choice' items can have options
XPath: f:type/@value=('choice','open-choice') or not(f:option or f:options)
que-4Questionnaire.itemA question cannot have both option and options
XPath: not(f:options and f:option)
que-6Questionnaire.itemRequired and repeat aren't permitted for display items
XPath: not(f:type/@value='display' and (f:required or f:repeats))
.