eHealth Infrastructure - Local Development build (v3.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion | Version: 3.1.0 | |||
Active as of 2024-05-27 | Computable Name: ehealth-definedquestion |
The ehealth-definedquestion profile of StructureDefinition represents the concept of a DefinedQuestion. A DefinedQuestion is a standalone representation of a question and possibly its answer options that can be used in one or more Questionnaire resources. Although a Questionnaire can be constructed without being based on any DefinedQuestion, it is expected that a catalogue of DefinedQuestion will emerge over time and the particular DefinedQuestion will be reused in multiple Questionnaire.
The DefinedQuestion concept is based on ideas described in https://www.hl7.org/fhir/stu3/questionnaire.html#2.38.5.4
. Whether a DefinedQuestion is referenced in a Questionnaire or not, it is the Questionnaire’s own definition which takes precedence.
In the eHealth Infrastructure, a reference to a DefinedQuestion by url
in a Questionnaire question is used to enable robust extraction in automated processing rule(s) of answer(s) to that question from corresponding QuestionnaireResponse. An answer in a QuestionnaireResponse is already unambiguously related to a question in a Questionnaire through the question’s linkId
. If the same question is used in another Questionnaire it will likely end up with a different linkId
in that Questionnaire. By referencing a DefinedQuestion by its url
in Questionnaire.item.definition
, the same question can be referenced unambiguously in multiple Questionnaire.
Multiple DefinedQuestion with identical url
can coexist as long as they have differing business versions in version
. This way, different versions of the same question can have different answer options.
When using a DefinedQuestion in a Questionnaire, the Questionnaire.item.definition
element must contain the url
followed by a pipe and the business version thereby referencing a versioned DefinedQuestion.
An automated processing rule captured in a Library resource can, when extracting answer(s) to the question in a QuestionnaireResponse, choose to search for either the versioned reference or the version-less reference to a DefinedQuestion. The latter can be obtained by disregarding the pipe and business version in the rule logic.
The actual details of the DefinedQuestion’s question and possible answers are described in the ElementDefinition
found in either snapshot.element
or differential.element
.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from StructureDefinition
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | StructureDefinition | Structural Definition | |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | C | 0..* | StructureDefinition | Structural Definition |
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | Σ | 1..1 | uri | Canonical identifier for this structure definition, represented as a URI (globally unique) |
![]() ![]() ![]() | ΣC | 1..1 | string | Name for this structure definition (computer friendly) |
![]() ![]() ![]() | ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() ![]() | Σ | 1..1 | code | primitive-type | complex-type | resource | logical Binding: StructureDefinitionKind (required): Defines the type of structure that a definition is describing. |
![]() ![]() ![]() | Σ | 1..1 | boolean | Whether the structure is abstract |
![]() ![]() ![]() | ΣC | 1..1 | uri | Type defined or constrained by this structure Binding: FHIRDefinedType (extensible): Either a resource or a data type, including logical model types. |
![]() |
Path | Conformance | ValueSet | URI |
StructureDefinition.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|4.0.1 from the FHIR Standard | |
StructureDefinition.kind | required | StructureDefinitionKindhttp://hl7.org/fhir/ValueSet/structure-definition-kind|4.0.1 from the FHIR Standard | |
StructureDefinition.type | extensible | FHIRDefinedTypehttp://hl7.org/fhir/ValueSet/defined-types from the FHIR Standard |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | C | 0..* | StructureDefinition | Structural Definition | ||||
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() | Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() | Σ | 1..1 | uri | Canonical identifier for this structure definition, represented as a URI (globally unique) | ||||
![]() ![]() ![]() | Σ | 0..* | Identifier | Additional identifier for the structure definition | ||||
![]() ![]() ![]() | Σ | 0..1 | string | Business version of the structure definition | ||||
![]() ![]() ![]() | ΣC | 1..1 | string | Name for this structure definition (computer friendly) | ||||
![]() ![]() ![]() | Σ | 0..1 | string | Name for this structure definition (human friendly) | ||||
![]() ![]() ![]() | ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
![]() ![]() ![]() | Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() ![]() | Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]() ![]() | Σ | 0..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]() ![]() | Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() | 0..1 | markdown | Natural language description of the structure definition | |||||
![]() ![]() ![]() | Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]() ![]() | Σ | 0..* | CodeableConcept | Intended jurisdiction for structure definition (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
![]() ![]() ![]() | 0..1 | markdown | Why this structure definition is defined | |||||
![]() ![]() ![]() | 0..1 | markdown | Use and/or publishing restrictions | |||||
![]() ![]() ![]() | Σ | 0..* | Coding | Assist with indexing and finding Binding: DefinitionUseCodes (extensible): Codes for the meaning of the defined structure (SNOMED CT and LOINC codes, as an example). | ||||
![]() ![]() ![]() | Σ | 0..1 | code | FHIR Version this StructureDefinition targets Binding: FHIRVersion (required): All published FHIR Versions. | ||||
![]() ![]() ![]() | C | 0..* | BackboneElement | External specification that the content is mapped to | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..1 | id | Internal id when this mapping is used | |||||
![]() ![]() ![]() ![]() | C | 0..1 | uri | Identifies what this mapping refers to | ||||
![]() ![]() ![]() ![]() | C | 0..1 | string | Names what this mapping refers to | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Versions, Issues, Scope limitations etc. | |||||
![]() ![]() ![]() | Σ | 1..1 | code | primitive-type | complex-type | resource | logical Binding: StructureDefinitionKind (required): Defines the type of structure that a definition is describing. | ||||
![]() ![]() ![]() | Σ | 1..1 | boolean | Whether the structure is abstract | ||||
![]() ![]() ![]() | ΣC | 0..* | BackboneElement | If an extension, where it can be used in instances | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | Σ | 1..1 | code | fhirpath | element | extension Binding: ExtensionContextType (required): How an extension context is interpreted. | ||||
![]() ![]() ![]() ![]() | Σ | 1..1 | string | Where the extension can be used in instances | ||||
![]() ![]() ![]() | ΣC | 0..* | string | FHIRPath invariants - when the extension can be used | ||||
![]() ![]() ![]() | ΣC | 1..1 | uri | Type defined or constrained by this structure Binding: FHIRDefinedType (extensible): Either a resource or a data type, including logical model types. | ||||
![]() ![]() ![]() | ΣC | 0..1 | canonical(StructureDefinition) | Definition that this type is constrained/specialized from | ||||
![]() ![]() ![]() | Σ | 0..1 | code | specialization | constraint - How relates to base definition Binding: TypeDerivationRule (required): How a type relates to its baseDefinition. | ||||
![]() ![]() ![]() | C | 0..1 | BackboneElement | Snapshot view of the structure | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | C | 1..* | ElementDefinition | Definition of elements in the resource (if no StructureDefinition) | ||||
![]() ![]() ![]() | C | 0..1 | BackboneElement | Differential view of the structure | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..* | ElementDefinition | Definition of elements in the resource (if no StructureDefinition) | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
StructureDefinition.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
StructureDefinition.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|4.0.1 from the FHIR Standard | ||||
StructureDefinition.jurisdiction | extensible | Jurisdiction ValueSethttp://hl7.org/fhir/ValueSet/jurisdiction from the FHIR Standard | ||||
StructureDefinition.keyword | extensible | DefinitionUseCodeshttp://hl7.org/fhir/ValueSet/definition-use from the FHIR Standard | ||||
StructureDefinition.fhirVersion | required | FHIRVersionhttp://hl7.org/fhir/ValueSet/FHIR-version|4.0.1 from the FHIR Standard | ||||
StructureDefinition.kind | required | StructureDefinitionKindhttp://hl7.org/fhir/ValueSet/structure-definition-kind|4.0.1 from the FHIR Standard | ||||
StructureDefinition.context.type | required | ExtensionContextTypehttp://hl7.org/fhir/ValueSet/extension-context-type|4.0.1 from the FHIR Standard | ||||
StructureDefinition.type | extensible | FHIRDefinedTypehttp://hl7.org/fhir/ValueSet/defined-types from the FHIR Standard | ||||
StructureDefinition.derivation | required | TypeDerivationRulehttp://hl7.org/fhir/ValueSet/type-derivation-rule|4.0.1 from the FHIR Standard |
This structure is derived from StructureDefinition
Differential View
This structure is derived from StructureDefinition
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | StructureDefinition | Structural Definition | |
![]() |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | C | 0..* | StructureDefinition | Structural Definition |
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | Σ | 1..1 | uri | Canonical identifier for this structure definition, represented as a URI (globally unique) |
![]() ![]() ![]() | ΣC | 1..1 | string | Name for this structure definition (computer friendly) |
![]() ![]() ![]() | ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() ![]() | Σ | 1..1 | code | primitive-type | complex-type | resource | logical Binding: StructureDefinitionKind (required): Defines the type of structure that a definition is describing. |
![]() ![]() ![]() | Σ | 1..1 | boolean | Whether the structure is abstract |
![]() ![]() ![]() | ΣC | 1..1 | uri | Type defined or constrained by this structure Binding: FHIRDefinedType (extensible): Either a resource or a data type, including logical model types. |
![]() |
Path | Conformance | ValueSet | URI |
StructureDefinition.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|4.0.1 from the FHIR Standard | |
StructureDefinition.kind | required | StructureDefinitionKindhttp://hl7.org/fhir/ValueSet/structure-definition-kind|4.0.1 from the FHIR Standard | |
StructureDefinition.type | extensible | FHIRDefinedTypehttp://hl7.org/fhir/ValueSet/defined-types from the FHIR Standard |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | C | 0..* | StructureDefinition | Structural Definition | ||||
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() | Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() | Σ | 1..1 | uri | Canonical identifier for this structure definition, represented as a URI (globally unique) | ||||
![]() ![]() ![]() | Σ | 0..* | Identifier | Additional identifier for the structure definition | ||||
![]() ![]() ![]() | Σ | 0..1 | string | Business version of the structure definition | ||||
![]() ![]() ![]() | ΣC | 1..1 | string | Name for this structure definition (computer friendly) | ||||
![]() ![]() ![]() | Σ | 0..1 | string | Name for this structure definition (human friendly) | ||||
![]() ![]() ![]() | ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
![]() ![]() ![]() | Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() ![]() | Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]() ![]() | Σ | 0..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]() ![]() | Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() | 0..1 | markdown | Natural language description of the structure definition | |||||
![]() ![]() ![]() | Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]() ![]() | Σ | 0..* | CodeableConcept | Intended jurisdiction for structure definition (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
![]() ![]() ![]() | 0..1 | markdown | Why this structure definition is defined | |||||
![]() ![]() ![]() | 0..1 | markdown | Use and/or publishing restrictions | |||||
![]() ![]() ![]() | Σ | 0..* | Coding | Assist with indexing and finding Binding: DefinitionUseCodes (extensible): Codes for the meaning of the defined structure (SNOMED CT and LOINC codes, as an example). | ||||
![]() ![]() ![]() | Σ | 0..1 | code | FHIR Version this StructureDefinition targets Binding: FHIRVersion (required): All published FHIR Versions. | ||||
![]() ![]() ![]() | C | 0..* | BackboneElement | External specification that the content is mapped to | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..1 | id | Internal id when this mapping is used | |||||
![]() ![]() ![]() ![]() | C | 0..1 | uri | Identifies what this mapping refers to | ||||
![]() ![]() ![]() ![]() | C | 0..1 | string | Names what this mapping refers to | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Versions, Issues, Scope limitations etc. | |||||
![]() ![]() ![]() | Σ | 1..1 | code | primitive-type | complex-type | resource | logical Binding: StructureDefinitionKind (required): Defines the type of structure that a definition is describing. | ||||
![]() ![]() ![]() | Σ | 1..1 | boolean | Whether the structure is abstract | ||||
![]() ![]() ![]() | ΣC | 0..* | BackboneElement | If an extension, where it can be used in instances | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | Σ | 1..1 | code | fhirpath | element | extension Binding: ExtensionContextType (required): How an extension context is interpreted. | ||||
![]() ![]() ![]() ![]() | Σ | 1..1 | string | Where the extension can be used in instances | ||||
![]() ![]() ![]() | ΣC | 0..* | string | FHIRPath invariants - when the extension can be used | ||||
![]() ![]() ![]() | ΣC | 1..1 | uri | Type defined or constrained by this structure Binding: FHIRDefinedType (extensible): Either a resource or a data type, including logical model types. | ||||
![]() ![]() ![]() | ΣC | 0..1 | canonical(StructureDefinition) | Definition that this type is constrained/specialized from | ||||
![]() ![]() ![]() | Σ | 0..1 | code | specialization | constraint - How relates to base definition Binding: TypeDerivationRule (required): How a type relates to its baseDefinition. | ||||
![]() ![]() ![]() | C | 0..1 | BackboneElement | Snapshot view of the structure | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | C | 1..* | ElementDefinition | Definition of elements in the resource (if no StructureDefinition) | ||||
![]() ![]() ![]() | C | 0..1 | BackboneElement | Differential view of the structure | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..* | ElementDefinition | Definition of elements in the resource (if no StructureDefinition) | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
StructureDefinition.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
StructureDefinition.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|4.0.1 from the FHIR Standard | ||||
StructureDefinition.jurisdiction | extensible | Jurisdiction ValueSethttp://hl7.org/fhir/ValueSet/jurisdiction from the FHIR Standard | ||||
StructureDefinition.keyword | extensible | DefinitionUseCodeshttp://hl7.org/fhir/ValueSet/definition-use from the FHIR Standard | ||||
StructureDefinition.fhirVersion | required | FHIRVersionhttp://hl7.org/fhir/ValueSet/FHIR-version|4.0.1 from the FHIR Standard | ||||
StructureDefinition.kind | required | StructureDefinitionKindhttp://hl7.org/fhir/ValueSet/structure-definition-kind|4.0.1 from the FHIR Standard | ||||
StructureDefinition.context.type | required | ExtensionContextTypehttp://hl7.org/fhir/ValueSet/extension-context-type|4.0.1 from the FHIR Standard | ||||
StructureDefinition.type | extensible | FHIRDefinedTypehttp://hl7.org/fhir/ValueSet/defined-types from the FHIR Standard | ||||
StructureDefinition.derivation | required | TypeDerivationRulehttp://hl7.org/fhir/ValueSet/type-derivation-rule|4.0.1 from the FHIR Standard |
This structure is derived from StructureDefinition
Other representations of profile: CSV, Excel, Schematron