EHDS Logical Information Models
0.1.0 - ci-build

EHDS Logical Information Models, published by Xt-EHR. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Xt-EHR/xt-ehr-common/tree/stakeholder-consultation-D6-2 and changes regularly. See the Directory of published versions

## Data Type Profile: Coded

Official URL: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/Coded | Version: 0.1.0
Draft as of 2025-05-26 | Computable Name: Coded

Coded data element

Usage:

- This DataType Constraint is not used by any profiles in this Implementation Guide

### Formal Views of Profile Content

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

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
CodeableConcept |  | 0..* | CodeableConcept | Coded ele-1: All FHIR elements must have a @value or children
coding | Σ | 1..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Details | Requirements
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |

This structure is derived from CodeableConcept

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
CodeableConcept |  | 0..* | CodeableConcept | Coded
coding |  | 1..* | Coding | Code defined by a terminology system
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
CodeableConcept |  | 0..* | CodeableConcept | Coded
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 1..* | Coding | Code defined by a terminology system
text | Σ | 0..1 | string | Plain text representation of the concept
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Details | Requirements
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |

This structure is derived from CodeableConcept

Summary

Mandatory: 1 element

Key Elements View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
CodeableConcept |  | 0..* | CodeableConcept | Coded ele-1: All FHIR elements must have a @value or children
coding | Σ | 1..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Details | Requirements
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |

Differential View

This structure is derived from CodeableConcept

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
CodeableConcept |  | 0..* | CodeableConcept | Coded
coding |  | 1..* | Coding | Code defined by a terminology system
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
CodeableConcept |  | 0..* | CodeableConcept | Coded
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 1..* | Coding | Code defined by a terminology system
text | Σ | 0..1 | string | Plain text representation of the concept
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Details | Requirements
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |

This structure is derived from CodeableConcept

Summary

Mandatory: 1 element

Other representations of profile: CSV, Excel, Schematron