eHealth Infrastructure
2021.3.0 - build

eHealth Infrastructure - Local Development build (v2021.3.0). See the Directory of published versions

Extension: Answer condition

Defines the Answer condition for an answer option in the questionnaire.

The official URL for this extension is:

http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-answer-Condition

Status: active
Extension maintained by: Systematic | Trifork

Context of Use

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

  • Element

Usage info

Usage:

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: 3 elements
Fixed Value: 3 elements
Prohibited: 3 elements

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionAn Answer condition for an answer
... extension 2..*ExtensionExtension
... extension:value 1..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"value"
.... value[x] 1..1Value of extension
..... valueBooleanboolean
..... valueDecimaldecimal
..... valueIntegerinteger
..... valueStringstring
..... valueCodingCoding
... extension:operator 1..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"operator"
.... valueCode 0..1codeValue of extension
Binding: QuestionnaireItemOperator (required)
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionAn Answer condition for an answer
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:value 1..1ExtensionExtension
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"value"
.... value[x] 1..1Value of extension
..... valueBooleanboolean
..... valueDecimaldecimal
..... valueIntegerinteger
..... valueStringstring
..... valueCodingCoding
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"operator"
.... Slices for value[x] 0..1codeValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueCode 0..1codeValue of extension
Binding: QuestionnaireItemOperator (required)
... url 1..1uri"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-answer-Condition"

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 3 elements
Fixed Value: 3 elements
Prohibited: 3 elements

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionAn Answer condition for an answer
... extension 2..*ExtensionExtension
... extension:value 1..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"value"
.... value[x] 1..1Value of extension
..... valueBooleanboolean
..... valueDecimaldecimal
..... valueIntegerinteger
..... valueStringstring
..... valueCodingCoding
... extension:operator 1..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"operator"
.... valueCode 0..1codeValue of extension
Binding: QuestionnaireItemOperator (required)
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionAn Answer condition for an answer
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:value 1..1ExtensionExtension
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"value"
.... value[x] 1..1Value of extension
..... valueBooleanboolean
..... valueDecimaldecimal
..... valueIntegerinteger
..... valueStringstring
..... valueCodingCoding
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"operator"
.... Slices for value[x] 0..1codeValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueCode 0..1codeValue of extension
Binding: QuestionnaireItemOperator (required)
... url 1..1uri"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-answer-Condition"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Extension.extension:operator.value[x]:valueCoderequiredQuestionnaireItemOperator

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()
ele-1Extension.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Extension.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Extension.extension:valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Extension.extension:valueMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Extension.extension:value.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.extension:operatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Extension.extension:operatorMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Extension.extension:operator.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.extension:operator.value[x]:valueCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())