2.7.0 - STU 3 (2nd ballot)

This page is part of the Structured Data Capture FHIR IG (v2.7.0: STU 3 Ballot 2) based on FHIR R4. The current version which supercedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions

Extension: ChoiceColumnExtension

The official URL for this extension is:

http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn

Status: draft
Extension maintained by: Health Level Seven International (Orders and Observations - Structured Data Capture)

Provides guidelines for rendering multi-column choices. I.e. when displaying a list of codes (for `choice` or `open-choice` items) or a list of resources (for `reference` items), this extension allows the drop-down to have multiple columns. For codes, the author can pick additional code system properties to display - such as alternate display names strength or form for drug codes, etc. For references, the author can choose particular columns from the resource (e.g. first name, last name, specialty, address).

Context of Use

This extension may be used on the following element(s):

  • {"type"=>"Questionnaire.item"}
  • {"type"=>"Questionnaire.item.item"}

Usage info

Yet to be done: xref

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Mandatory: 1 element
Fixed Value: 5 elements
Prohibited: 1 element

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*Guide for rendering multi-column choices
... extension 1..1ExtensionColumn path
.... url 1..1"path"
.... valueString 0..1string
... extension 0..1ExtensionColumn label
.... url 1..1"label"
.... valueString 0..1string
... extension 0..1ExtensionWidth of column
.... url 1..1"width"
.... valueQuantity 0..1Quantity
... extension 0..1ExtensionUse for display ?
.... url 1..1"forDisplay"
.... valueBoolean 0..1boolean
... url 1..1uri"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*Guide for rendering multi-column choices
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension 1..1ExtensionColumn path
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1"path"
.... valueString 0..1stringValue of extension
... extension 0..1ExtensionColumn label
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1"label"
.... valueString 0..1stringValue of extension
... extension 0..1ExtensionWidth of column
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1"width"
.... valueQuantity 0..1QuantityValue of extension
... extension 0..1ExtensionUse for display ?
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1"forDisplay"
.... valueBoolean 0..1booleanValue of extension
... url 1..1uri"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 1 element
Fixed Value: 5 elements
Prohibited: 1 element

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*Guide for rendering multi-column choices
... extension 1..1ExtensionColumn path
.... url 1..1"path"
.... valueString 0..1string
... extension 0..1ExtensionColumn label
.... url 1..1"label"
.... valueString 0..1string
... extension 0..1ExtensionWidth of column
.... url 1..1"width"
.... valueQuantity 0..1Quantity
... extension 0..1ExtensionUse for display ?
.... url 1..1"forDisplay"
.... valueBoolean 0..1boolean
... url 1..1uri"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*Guide for rendering multi-column choices
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension 1..1ExtensionColumn path
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1"path"
.... valueString 0..1stringValue of extension
... extension 0..1ExtensionColumn label
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1"label"
.... valueString 0..1stringValue of extension
... extension 0..1ExtensionWidth of column
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1"width"
.... valueQuantity 0..1QuantityValue of extension
... extension 0..1ExtensionUse for display ?
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1"forDisplay"
.... valueBoolean 0..1booleanValue of extension
... url 1..1uri"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"

doco Documentation for this format

 

Other representations of extension: Schematron

Terminology Bindings

Constraints

IdPathDetailsRequirements
ele-1ExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()