Estonian Terminology Services Implementation Guide
1.0.0 - draft
Estonian Terminology Services Implementation Guide, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/TerminologyServices/ and changes regularly. See the Directory of published versions
Official URL: https://fhir.ee/StructureDefinition/tehikcodesystem | Version: 1.0.0 | |||
Draft as of 2025-08-07 | Computable Name: TehikCodeSystem |
Profile for the basic code system in TEHIK terminology server. The code system may be contained in a value set if it has no independent meaning
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 1..1 | ShareableCodeSystem | Declares the existence of and describes a code system or code system supplement Constraints: cnl-0, csd-1, csd-2, csd-3, csd-4, scs-1, scs-2 |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 0..* | code | narrative | semi-structured | structured | executable URL: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel Binding: KnowledgeRepresentationLevel (required) |
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of change management: change requests, release cycles, etc URL: https://fhir.ee/StructureDefinition/guidance-material | |
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of coding principles: structure of codes, hierarchy, etc. URL: https://fhir.ee/StructureDefinition/guidance-material | |
![]() ![]() ![]() ![]() |
0..* | (Complex) | Other human-readable title for the code system URL: http://hl7.org/fhir/StructureDefinition/codesystem-otherName profiled by https://fhir.ee/StructureDefinition/other-name-localized | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
SΣC | 1..1 | uri | Canonical identifier for this code system, represented as a URI (globally unique) (Coding.system) Constraints: cnl-1 |
![]() ![]() ![]() |
Σ | 0..* | Identifier | A non-FHIR identifier for the code system (e.g ISO OID) Slice: Unordered, Open by pattern:system |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | ISO OID identifier represented as URN |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: urn:ietf:rfc:3986 |
![]() ![]() ![]() |
SΣ | 1..1 | string | Business version of the code system (Coding.version) |
![]() ![]() ![]() |
SΣ | 0..1 | How to compare versions Binding: VersionAlgorithm (extensible) | |
![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() |
SΣC | 1..1 | string | Computer-friendly name/identifier to be used for machine-processing |
![]() ![]() ![]() |
SΣ | 1..1 | string | Name of the code system, a human-readable well understood name |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() ![]() |
SΣ | 1..1 | boolean | For testing purposes, not real usage |
![]() ![]() ![]() |
SΣ | 1..1 | string | The maintainer/publisher of the code system. For international code systems, the publisher might be the national release maintainer. |
![]() ![]() ![]() |
Σ | 1..* | ContactDetail | Contact details for the publisher |
![]() ![]() ![]() |
S | 1..1 | markdown | Short description of the code system |
![]() ![]() ![]() |
Σ | 0..* | UsageContext | Usage context: health, social care, work |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. |
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Value that defines the context Slice: Unordered, Closed by type:$this Binding: ContextOfUseValueSet (example): A code that defines the specific value for the context being specified. |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Value that defines the context Binding: ContextOfUseValueSet (example): A code that defines the specific value for the context being specified. |
![]() ![]() ![]() |
0..1 | markdown | Overview of the purpose, content, and usage of the code system | |
![]() ![]() ![]() |
0..1 | ContactDetail | Owner of the code system. Organisation/group who is responsible for the content of the code system. For international code systems, the owner might be the national release owner. | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Name of the organisation/group. |
![]() ![]() ![]() |
SΣ | 1..1 | boolean | If code comparison is case sensitive |
![]() ![]() ![]() |
SΣC | 0..1 | code | grouped-by | is-a | part-of | classified-with Binding: CodeSystemHierarchyMeaning (required): The meaning of the hierarchy of concepts in a code system. |
![]() ![]() ![]() |
SΣC | 1..1 | code | not-present | example | fragment | complete | supplement Binding: CodeSystemContentMode (required): The extent of the content of the code system (the concepts and codes it defines) are represented in a code system resource. |
![]() ![]() ![]() |
SC | 0..* | BackboneElement | Concepts in the code system |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
SC | 1..1 | code | Code that identifies concept |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Text to display to the user |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Formal definition |
![]() ![]() ![]() ![]() |
SC | 0..* | See concept (CodeSystem) | Child Concepts (is-a/contains/categorizes) |
![]() |
Path | Conformance | ValueSet | URI |
CodeSystem.identifier:oid.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
CodeSystem.versionAlgorithm[x] | extensible | VersionAlgorithmhttp://hl7.org/fhir/ValueSet/version-algorithm From the FHIR Standard | |
CodeSystem.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|5.0.0 From the FHIR Standard | |
CodeSystem.useContext.code | extensible | UsageContextTypehttp://terminology.hl7.org/ValueSet/usage-context-type | |
CodeSystem.useContext.value[x] | example | ContextOfUseValueSethttp://hl7.org/fhir/ValueSet/use-context From the FHIR Standard | |
CodeSystem.useContext.value[x]:valueCodeableConcept | example | ContextOfUseValueSethttp://hl7.org/fhir/ValueSet/use-context From the FHIR Standard | |
CodeSystem.hierarchyMeaning | required | CodeSystemHierarchyMeaninghttp://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning|5.0.0 From the FHIR Standard | |
CodeSystem.content | required | CodeSystemContentModehttp://hl7.org/fhir/ValueSet/codesystem-content-mode|5.0.0 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cnl-0 | warning | CodeSystem | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$') | |
cnl-1 | warning | CodeSystem.url | URL should not contain | or # - these characters make processing canonical references problematic : exists() implies matches('^[^|# ]+$') | |
csd-1 | error | CodeSystem | Within a code system definition, all the codes SHALL be unique : concept.exists() implies concept.code.combine(%resource.concept.descendants().concept.code).isDistinct() | |
csd-2 | warning | CodeSystem | If there is an explicit hierarchy, a hierarchyMeaning should be provided : concept.concept.exists() implies hierarchyMeaning.exists() | |
csd-3 | warning | CodeSystem | If there is an implicit hierarchy, a hierarchyMeaning should be provided : concept.where(property.code = 'parent' or property.code = 'child').exists() implies hierarchyMeaning.exists() | |
csd-4 | error | CodeSystem | If the code system content = supplement, it must nominate what it's a supplement for : CodeSystem.content = 'supplement' implies CodeSystem.supplements.exists() | |
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() | |
scs-1 | error | CodeSystem | If a codesystem contains nested concepts, it must specify hierarchyMeaning : concept.concept.exists() implies hierarchyMeaning.exists() | |
scs-2 | error | CodeSystem | If a codesystem contains example, fragment, or complete content, it must have at least one concept : content in ( 'example' | 'fragment' | 'complete' ) implies concept.exists() |
This structure is derived from ShareableCodeSystem
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
1..1 | ShareableCodeSystem | Declares the existence of and describes a code system or code system supplement | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of change management: change requests, release cycles, etc URL: https://fhir.ee/StructureDefinition/guidance-material | |
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of coding principles: structure of codes, hierarchy, etc. URL: https://fhir.ee/StructureDefinition/guidance-material | |
![]() ![]() ![]() ![]() |
0..* | (Complex) | Other human-readable title for the code system URL: http://hl7.org/fhir/StructureDefinition/codesystem-otherName profiled by https://fhir.ee/StructureDefinition/other-name-localized | |
![]() ![]() ![]() |
1..1 | uri | Canonical identifier for this code system, represented as a URI (globally unique) (Coding.system) | |
![]() ![]() ![]() |
0..* | Identifier | A non-FHIR identifier for the code system (e.g ISO OID) Slice: Unordered, Open by pattern:system | |
![]() ![]() ![]() ![]() |
0..1 | Identifier | ISO OID identifier represented as URN | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: urn:ietf:rfc:3986 | |
![]() ![]() ![]() |
1..1 | string | Computer-friendly name/identifier to be used for machine-processing | |
![]() ![]() ![]() |
1..1 | string | Name of the code system, a human-readable well understood name | |
![]() ![]() ![]() |
1..1 | boolean | For testing purposes, not real usage | |
![]() ![]() ![]() |
1..1 | string | The maintainer/publisher of the code system. For international code systems, the publisher might be the national release maintainer. | |
![]() ![]() ![]() |
1..* | ContactDetail | Contact details for the publisher | |
![]() ![]() ![]() |
1..1 | markdown | Short description of the code system | |
![]() ![]() ![]() |
0..* | UsageContext | Usage context: health, social care, work | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value that defines the context Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value that defines the context | |
![]() ![]() ![]() |
0..1 | markdown | Overview of the purpose, content, and usage of the code system | |
![]() ![]() ![]() |
0..1 | ContactDetail | Owner of the code system. Organisation/group who is responsible for the content of the code system. For international code systems, the owner might be the national release owner. | |
![]() ![]() ![]() ![]() |
1..1 | string | Name of the organisation/group. | |
![]() |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 1..1 | ShareableCodeSystem | Declares the existence of and describes a code system or code system supplement Constraints: cnl-0, csd-1, csd-2, csd-3, csd-4, scs-1, scs-2 | ||||
![]() ![]() ![]() |
Σ | 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: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
S | 0..* | code | narrative | semi-structured | structured | executable URL: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel Binding: KnowledgeRepresentationLevel (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of change management: change requests, release cycles, etc URL: https://fhir.ee/StructureDefinition/guidance-material | |||||
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of coding principles: structure of codes, hierarchy, etc. URL: https://fhir.ee/StructureDefinition/guidance-material | |||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | Other human-readable title for the code system URL: http://hl7.org/fhir/StructureDefinition/codesystem-otherName profiled by https://fhir.ee/StructureDefinition/other-name-localized | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣC | 1..1 | uri | Canonical identifier for this code system, represented as a URI (globally unique) (Coding.system) Constraints: cnl-1 | ||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | A non-FHIR identifier for the code system (e.g ISO OID) Slice: Unordered, Open by pattern:system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | ISO OID identifier represented as URN | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: urn:ietf:rfc:3986 | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Business version of the code system (Coding.version) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | How to compare versions Binding: VersionAlgorithm (extensible) | |||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() |
SΣC | 1..1 | string | Computer-friendly name/identifier to be used for machine-processing | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Name of the code system, a human-readable well understood name | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | The maintainer/publisher of the code system. For international code systems, the publisher might be the national release maintainer. | ||||
![]() ![]() ![]() |
Σ | 1..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
S | 1..1 | markdown | Short description of the code system | ||||
![]() ![]() ![]() |
Σ | 0..* | UsageContext | Usage context: health, social care, work | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Value that defines the context Slice: Unordered, Closed by type:$this Binding: ContextOfUseValueSet (example): A code that defines the specific value for the context being specified. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Value that defines the context Binding: ContextOfUseValueSet (example): A code that defines the specific value for the context being specified. | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Intended jurisdiction for code system (if applicable) Binding: JurisdictionValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
![]() ![]() ![]() |
0..1 | markdown | Overview of the purpose, content, and usage of the code system | |||||
![]() ![]() ![]() |
0..1 | markdown | Use and/or publishing restrictions | |||||
![]() ![]() ![]() |
0..1 | string | Copyright holder and year(s) | |||||
![]() ![]() ![]() |
0..1 | date | When the CodeSystem was approved by publisher | |||||
![]() ![]() ![]() |
0..1 | date | When the CodeSystem was last reviewed by the publisher | |||||
![]() ![]() ![]() |
Σ | 0..1 | Period | When the CodeSystem is expected to be used | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | E.g. Education, Treatment, Assessment, etc Binding: DefinitionTopic (example) | |||||
![]() ![]() ![]() |
0..1 | ContactDetail | Owner of the code system. Organisation/group who is responsible for the content of the code system. For international code systems, the owner might be the national release owner. | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Name of the organisation/group. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | ContactPoint | Contact details for individual or organization | ||||
![]() ![]() ![]() |
0..* | ContactDetail | Who edited the CodeSystem | |||||
![]() ![]() ![]() |
0..* | ContactDetail | Who reviewed the CodeSystem | |||||
![]() ![]() ![]() |
0..* | ContactDetail | Who endorsed the CodeSystem | |||||
![]() ![]() ![]() |
0..* | RelatedArtifact | Additional documentation, citations, etc | |||||
![]() ![]() ![]() |
SΣ | 1..1 | boolean | If code comparison is case sensitive | ||||
![]() ![]() ![]() |
Σ | 0..1 | canonical(ValueSet) | Canonical reference to the value set with entire code system | ||||
![]() ![]() ![]() |
SΣC | 0..1 | code | grouped-by | is-a | part-of | classified-with Binding: CodeSystemHierarchyMeaning (required): The meaning of the hierarchy of concepts in a code system. | ||||
![]() ![]() ![]() |
Σ | 0..1 | boolean | If code system defines a compositional grammar | ||||
![]() ![]() ![]() |
Σ | 0..1 | boolean | If definitions are not stable | ||||
![]() ![]() ![]() |
SΣC | 1..1 | code | not-present | example | fragment | complete | supplement Binding: CodeSystemContentMode (required): The extent of the content of the code system (the concepts and codes it defines) are represented in a code system resource. | ||||
![]() ![]() ![]() |
ΣC | 0..1 | canonical(CodeSystem) | Canonical URL of Code System this adds designations and properties to | ||||
![]() ![]() ![]() |
Σ | 0..1 | unsignedInt | Total concepts in the code system | ||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Filter that can be used in a value set | ||||
![]() ![]() ![]() ![]() |
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 | Code that identifies the filter | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | How or why the filter is used | ||||
![]() ![]() ![]() ![]() |
Σ | 1..* | code | = | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | child-of | descendent-leaf | exists Binding: FilterOperator (required): The kind of operation to perform as a part of a property based filter. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | What to use for the value | ||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Additional information supplied about each concept | ||||
![]() ![]() ![]() ![]() |
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 | Identifies the property on the concepts, and when referred to in operations | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Formal identifier for the property | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Why the property is defined, and/or what it conveys | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | code | Coding | string | integer | boolean | dateTime | decimal Binding: PropertyType (required): The type of a property value. | ||||
![]() ![]() ![]() |
SC | 0..* | BackboneElement | Concepts in the code system | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
SC | 1..1 | code | Code that identifies concept | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Text to display to the user | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Formal definition | ||||
![]() ![]() ![]() ![]() |
C | 0..* | BackboneElement | Additional representations for the concept Constraints: csd-5 | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Human language of the designation Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Coding | Details how this designation would be used Binding: DesignationUse (extensible): Details of how a designation would be used. | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..* | Coding | Additional ways how this designation would be used Binding: DesignationUse (extensible): Details of how a designation would be used. | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | The text value for this designation | |||||
![]() ![]() ![]() ![]() |
0..* | BackboneElement | Property value for the concept | |||||
![]() ![]() ![]() ![]() ![]() |
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..1 | code | Reference to CodeSystem.property.code | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Value of the property for this concept | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
SC | 0..* | See concept (CodeSystem) | Child Concepts (is-a/contains/categorizes) | ||||
![]() |
Path | Conformance | ValueSet | URI |
CodeSystem.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 From the FHIR Standard | |
CodeSystem.identifier:oid.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
CodeSystem.identifier:oid.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard | |
CodeSystem.versionAlgorithm[x] | extensible | VersionAlgorithmhttp://hl7.org/fhir/ValueSet/version-algorithm From the FHIR Standard | |
CodeSystem.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|5.0.0 From the FHIR Standard | |
CodeSystem.useContext.code | extensible | UsageContextTypehttp://terminology.hl7.org/ValueSet/usage-context-type | |
CodeSystem.useContext.value[x] | example | ContextOfUseValueSethttp://hl7.org/fhir/ValueSet/use-context From the FHIR Standard | |
CodeSystem.useContext.value[x]:valueCodeableConcept | example | ContextOfUseValueSethttp://hl7.org/fhir/ValueSet/use-context From the FHIR Standard | |
CodeSystem.jurisdiction | extensible | JurisdictionValueSethttp://hl7.org/fhir/ValueSet/jurisdiction From the FHIR Standard | |
CodeSystem.topic | example | DefinitionTopichttp://hl7.org/fhir/ValueSet/definition-topic From the FHIR Standard | |
CodeSystem.hierarchyMeaning | required | CodeSystemHierarchyMeaninghttp://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning|5.0.0 From the FHIR Standard | |
CodeSystem.content | required | CodeSystemContentModehttp://hl7.org/fhir/ValueSet/codesystem-content-mode|5.0.0 From the FHIR Standard | |
CodeSystem.filter.operator | required | FilterOperatorhttp://hl7.org/fhir/ValueSet/filter-operator|5.0.0 From the FHIR Standard | |
CodeSystem.property.type | required | PropertyTypehttp://hl7.org/fhir/ValueSet/concept-property-type|5.0.0 From the FHIR Standard | |
CodeSystem.concept.designation.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 From the FHIR Standard | |
CodeSystem.concept.designation.use | extensible | DesignationUsehttp://hl7.org/fhir/ValueSet/designation-use From the FHIR Standard | |
CodeSystem.concept.designation.additionalUse | extensible | DesignationUsehttp://hl7.org/fhir/ValueSet/designation-use From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cnl-0 | warning | CodeSystem | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$') | |
cnl-1 | warning | CodeSystem.url | URL should not contain | or # - these characters make processing canonical references problematic : exists() implies matches('^[^|# ]+$') | |
csd-1 | error | CodeSystem | Within a code system definition, all the codes SHALL be unique : concept.exists() implies concept.code.combine(%resource.concept.descendants().concept.code).isDistinct() | |
csd-2 | warning | CodeSystem | If there is an explicit hierarchy, a hierarchyMeaning should be provided : concept.concept.exists() implies hierarchyMeaning.exists() | |
csd-3 | warning | CodeSystem | If there is an implicit hierarchy, a hierarchyMeaning should be provided : concept.where(property.code = 'parent' or property.code = 'child').exists() implies hierarchyMeaning.exists() | |
csd-4 | error | CodeSystem | If the code system content = supplement, it must nominate what it's a supplement for : CodeSystem.content = 'supplement' implies CodeSystem.supplements.exists() | |
csd-5 | error | CodeSystem.concept.designation | Must have a value for concept.designation.use if concept.designation.additionalUse is present : additionalUse.exists() implies use.exists() | |
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() | |
scs-1 | error | CodeSystem | If a codesystem contains nested concepts, it must specify hierarchyMeaning : concept.concept.exists() implies hierarchyMeaning.exists() | |
scs-2 | error | CodeSystem | If a codesystem contains example, fragment, or complete content, it must have at least one concept : content in ( 'example' | 'fragment' | 'complete' ) implies concept.exists() |
This structure is derived from ShareableCodeSystem
Summary
Mandatory: 3 elements(3 nested mandatory elements)
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 1..1 | ShareableCodeSystem | Declares the existence of and describes a code system or code system supplement Constraints: cnl-0, csd-1, csd-2, csd-3, csd-4, scs-1, scs-2 |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 0..* | code | narrative | semi-structured | structured | executable URL: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel Binding: KnowledgeRepresentationLevel (required) |
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of change management: change requests, release cycles, etc URL: https://fhir.ee/StructureDefinition/guidance-material | |
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of coding principles: structure of codes, hierarchy, etc. URL: https://fhir.ee/StructureDefinition/guidance-material | |
![]() ![]() ![]() ![]() |
0..* | (Complex) | Other human-readable title for the code system URL: http://hl7.org/fhir/StructureDefinition/codesystem-otherName profiled by https://fhir.ee/StructureDefinition/other-name-localized | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
SΣC | 1..1 | uri | Canonical identifier for this code system, represented as a URI (globally unique) (Coding.system) Constraints: cnl-1 |
![]() ![]() ![]() |
Σ | 0..* | Identifier | A non-FHIR identifier for the code system (e.g ISO OID) Slice: Unordered, Open by pattern:system |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | ISO OID identifier represented as URN |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: urn:ietf:rfc:3986 |
![]() ![]() ![]() |
SΣ | 1..1 | string | Business version of the code system (Coding.version) |
![]() ![]() ![]() |
SΣ | 0..1 | How to compare versions Binding: VersionAlgorithm (extensible) | |
![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() |
SΣC | 1..1 | string | Computer-friendly name/identifier to be used for machine-processing |
![]() ![]() ![]() |
SΣ | 1..1 | string | Name of the code system, a human-readable well understood name |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() ![]() |
SΣ | 1..1 | boolean | For testing purposes, not real usage |
![]() ![]() ![]() |
SΣ | 1..1 | string | The maintainer/publisher of the code system. For international code systems, the publisher might be the national release maintainer. |
![]() ![]() ![]() |
Σ | 1..* | ContactDetail | Contact details for the publisher |
![]() ![]() ![]() |
S | 1..1 | markdown | Short description of the code system |
![]() ![]() ![]() |
Σ | 0..* | UsageContext | Usage context: health, social care, work |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. |
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Value that defines the context Slice: Unordered, Closed by type:$this Binding: ContextOfUseValueSet (example): A code that defines the specific value for the context being specified. |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Value that defines the context Binding: ContextOfUseValueSet (example): A code that defines the specific value for the context being specified. |
![]() ![]() ![]() |
0..1 | markdown | Overview of the purpose, content, and usage of the code system | |
![]() ![]() ![]() |
0..1 | ContactDetail | Owner of the code system. Organisation/group who is responsible for the content of the code system. For international code systems, the owner might be the national release owner. | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Name of the organisation/group. |
![]() ![]() ![]() |
SΣ | 1..1 | boolean | If code comparison is case sensitive |
![]() ![]() ![]() |
SΣC | 0..1 | code | grouped-by | is-a | part-of | classified-with Binding: CodeSystemHierarchyMeaning (required): The meaning of the hierarchy of concepts in a code system. |
![]() ![]() ![]() |
SΣC | 1..1 | code | not-present | example | fragment | complete | supplement Binding: CodeSystemContentMode (required): The extent of the content of the code system (the concepts and codes it defines) are represented in a code system resource. |
![]() ![]() ![]() |
SC | 0..* | BackboneElement | Concepts in the code system |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
SC | 1..1 | code | Code that identifies concept |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Text to display to the user |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Formal definition |
![]() ![]() ![]() ![]() |
SC | 0..* | See concept (CodeSystem) | Child Concepts (is-a/contains/categorizes) |
![]() |
Path | Conformance | ValueSet | URI |
CodeSystem.identifier:oid.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
CodeSystem.versionAlgorithm[x] | extensible | VersionAlgorithmhttp://hl7.org/fhir/ValueSet/version-algorithm From the FHIR Standard | |
CodeSystem.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|5.0.0 From the FHIR Standard | |
CodeSystem.useContext.code | extensible | UsageContextTypehttp://terminology.hl7.org/ValueSet/usage-context-type | |
CodeSystem.useContext.value[x] | example | ContextOfUseValueSethttp://hl7.org/fhir/ValueSet/use-context From the FHIR Standard | |
CodeSystem.useContext.value[x]:valueCodeableConcept | example | ContextOfUseValueSethttp://hl7.org/fhir/ValueSet/use-context From the FHIR Standard | |
CodeSystem.hierarchyMeaning | required | CodeSystemHierarchyMeaninghttp://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning|5.0.0 From the FHIR Standard | |
CodeSystem.content | required | CodeSystemContentModehttp://hl7.org/fhir/ValueSet/codesystem-content-mode|5.0.0 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cnl-0 | warning | CodeSystem | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$') | |
cnl-1 | warning | CodeSystem.url | URL should not contain | or # - these characters make processing canonical references problematic : exists() implies matches('^[^|# ]+$') | |
csd-1 | error | CodeSystem | Within a code system definition, all the codes SHALL be unique : concept.exists() implies concept.code.combine(%resource.concept.descendants().concept.code).isDistinct() | |
csd-2 | warning | CodeSystem | If there is an explicit hierarchy, a hierarchyMeaning should be provided : concept.concept.exists() implies hierarchyMeaning.exists() | |
csd-3 | warning | CodeSystem | If there is an implicit hierarchy, a hierarchyMeaning should be provided : concept.where(property.code = 'parent' or property.code = 'child').exists() implies hierarchyMeaning.exists() | |
csd-4 | error | CodeSystem | If the code system content = supplement, it must nominate what it's a supplement for : CodeSystem.content = 'supplement' implies CodeSystem.supplements.exists() | |
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() | |
scs-1 | error | CodeSystem | If a codesystem contains nested concepts, it must specify hierarchyMeaning : concept.concept.exists() implies hierarchyMeaning.exists() | |
scs-2 | error | CodeSystem | If a codesystem contains example, fragment, or complete content, it must have at least one concept : content in ( 'example' | 'fragment' | 'complete' ) implies concept.exists() |
Differential View
This structure is derived from ShareableCodeSystem
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
1..1 | ShareableCodeSystem | Declares the existence of and describes a code system or code system supplement | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of change management: change requests, release cycles, etc URL: https://fhir.ee/StructureDefinition/guidance-material | |
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of coding principles: structure of codes, hierarchy, etc. URL: https://fhir.ee/StructureDefinition/guidance-material | |
![]() ![]() ![]() ![]() |
0..* | (Complex) | Other human-readable title for the code system URL: http://hl7.org/fhir/StructureDefinition/codesystem-otherName profiled by https://fhir.ee/StructureDefinition/other-name-localized | |
![]() ![]() ![]() |
1..1 | uri | Canonical identifier for this code system, represented as a URI (globally unique) (Coding.system) | |
![]() ![]() ![]() |
0..* | Identifier | A non-FHIR identifier for the code system (e.g ISO OID) Slice: Unordered, Open by pattern:system | |
![]() ![]() ![]() ![]() |
0..1 | Identifier | ISO OID identifier represented as URN | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: urn:ietf:rfc:3986 | |
![]() ![]() ![]() |
1..1 | string | Computer-friendly name/identifier to be used for machine-processing | |
![]() ![]() ![]() |
1..1 | string | Name of the code system, a human-readable well understood name | |
![]() ![]() ![]() |
1..1 | boolean | For testing purposes, not real usage | |
![]() ![]() ![]() |
1..1 | string | The maintainer/publisher of the code system. For international code systems, the publisher might be the national release maintainer. | |
![]() ![]() ![]() |
1..* | ContactDetail | Contact details for the publisher | |
![]() ![]() ![]() |
1..1 | markdown | Short description of the code system | |
![]() ![]() ![]() |
0..* | UsageContext | Usage context: health, social care, work | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value that defines the context Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Value that defines the context | |
![]() ![]() ![]() |
0..1 | markdown | Overview of the purpose, content, and usage of the code system | |
![]() ![]() ![]() |
0..1 | ContactDetail | Owner of the code system. Organisation/group who is responsible for the content of the code system. For international code systems, the owner might be the national release owner. | |
![]() ![]() ![]() ![]() |
1..1 | string | Name of the organisation/group. | |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 1..1 | ShareableCodeSystem | Declares the existence of and describes a code system or code system supplement Constraints: cnl-0, csd-1, csd-2, csd-3, csd-4, scs-1, scs-2 | ||||
![]() ![]() ![]() |
Σ | 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: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
S | 0..* | code | narrative | semi-structured | structured | executable URL: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel Binding: KnowledgeRepresentationLevel (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of change management: change requests, release cycles, etc URL: https://fhir.ee/StructureDefinition/guidance-material | |||||
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of coding principles: structure of codes, hierarchy, etc. URL: https://fhir.ee/StructureDefinition/guidance-material | |||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | Other human-readable title for the code system URL: http://hl7.org/fhir/StructureDefinition/codesystem-otherName profiled by https://fhir.ee/StructureDefinition/other-name-localized | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣC | 1..1 | uri | Canonical identifier for this code system, represented as a URI (globally unique) (Coding.system) Constraints: cnl-1 | ||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | A non-FHIR identifier for the code system (e.g ISO OID) Slice: Unordered, Open by pattern:system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | ISO OID identifier represented as URN | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: urn:ietf:rfc:3986 | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Business version of the code system (Coding.version) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | How to compare versions Binding: VersionAlgorithm (extensible) | |||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() |
SΣC | 1..1 | string | Computer-friendly name/identifier to be used for machine-processing | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Name of the code system, a human-readable well understood name | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | The maintainer/publisher of the code system. For international code systems, the publisher might be the national release maintainer. | ||||
![]() ![]() ![]() |
Σ | 1..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
S | 1..1 | markdown | Short description of the code system | ||||
![]() ![]() ![]() |
Σ | 0..* | UsageContext | Usage context: health, social care, work | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Value that defines the context Slice: Unordered, Closed by type:$this Binding: ContextOfUseValueSet (example): A code that defines the specific value for the context being specified. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Value that defines the context Binding: ContextOfUseValueSet (example): A code that defines the specific value for the context being specified. | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Intended jurisdiction for code system (if applicable) Binding: JurisdictionValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
![]() ![]() ![]() |
0..1 | markdown | Overview of the purpose, content, and usage of the code system | |||||
![]() ![]() ![]() |
0..1 | markdown | Use and/or publishing restrictions | |||||
![]() ![]() ![]() |
0..1 | string | Copyright holder and year(s) | |||||
![]() ![]() ![]() |
0..1 | date | When the CodeSystem was approved by publisher | |||||
![]() ![]() ![]() |
0..1 | date | When the CodeSystem was last reviewed by the publisher | |||||
![]() ![]() ![]() |
Σ | 0..1 | Period | When the CodeSystem is expected to be used | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | E.g. Education, Treatment, Assessment, etc Binding: DefinitionTopic (example) | |||||
![]() ![]() ![]() |
0..1 | ContactDetail | Owner of the code system. Organisation/group who is responsible for the content of the code system. For international code systems, the owner might be the national release owner. | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Name of the organisation/group. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | ContactPoint | Contact details for individual or organization | ||||
![]() ![]() ![]() |
0..* | ContactDetail | Who edited the CodeSystem | |||||
![]() ![]() ![]() |
0..* | ContactDetail | Who reviewed the CodeSystem | |||||
![]() ![]() ![]() |
0..* | ContactDetail | Who endorsed the CodeSystem | |||||
![]() ![]() ![]() |
0..* | RelatedArtifact | Additional documentation, citations, etc | |||||
![]() ![]() ![]() |
SΣ | 1..1 | boolean | If code comparison is case sensitive | ||||
![]() ![]() ![]() |
Σ | 0..1 | canonical(ValueSet) | Canonical reference to the value set with entire code system | ||||
![]() ![]() ![]() |
SΣC | 0..1 | code | grouped-by | is-a | part-of | classified-with Binding: CodeSystemHierarchyMeaning (required): The meaning of the hierarchy of concepts in a code system. | ||||
![]() ![]() ![]() |
Σ | 0..1 | boolean | If code system defines a compositional grammar | ||||
![]() ![]() ![]() |
Σ | 0..1 | boolean | If definitions are not stable | ||||
![]() ![]() ![]() |
SΣC | 1..1 | code | not-present | example | fragment | complete | supplement Binding: CodeSystemContentMode (required): The extent of the content of the code system (the concepts and codes it defines) are represented in a code system resource. | ||||
![]() ![]() ![]() |
ΣC | 0..1 | canonical(CodeSystem) | Canonical URL of Code System this adds designations and properties to | ||||
![]() ![]() ![]() |
Σ | 0..1 | unsignedInt | Total concepts in the code system | ||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Filter that can be used in a value set | ||||
![]() ![]() ![]() ![]() |
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 | Code that identifies the filter | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | How or why the filter is used | ||||
![]() ![]() ![]() ![]() |
Σ | 1..* | code | = | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | child-of | descendent-leaf | exists Binding: FilterOperator (required): The kind of operation to perform as a part of a property based filter. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | What to use for the value | ||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Additional information supplied about each concept | ||||
![]() ![]() ![]() ![]() |
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 | Identifies the property on the concepts, and when referred to in operations | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Formal identifier for the property | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Why the property is defined, and/or what it conveys | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | code | Coding | string | integer | boolean | dateTime | decimal Binding: PropertyType (required): The type of a property value. | ||||
![]() ![]() ![]() |
SC | 0..* | BackboneElement | Concepts in the code system | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
SC | 1..1 | code | Code that identifies concept | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Text to display to the user | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Formal definition | ||||
![]() ![]() ![]() ![]() |
C | 0..* | BackboneElement | Additional representations for the concept Constraints: csd-5 | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Human language of the designation Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Coding | Details how this designation would be used Binding: DesignationUse (extensible): Details of how a designation would be used. | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..* | Coding | Additional ways how this designation would be used Binding: DesignationUse (extensible): Details of how a designation would be used. | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | The text value for this designation | |||||
![]() ![]() ![]() ![]() |
0..* | BackboneElement | Property value for the concept | |||||
![]() ![]() ![]() ![]() ![]() |
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..1 | code | Reference to CodeSystem.property.code | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Value of the property for this concept | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
SC | 0..* | See concept (CodeSystem) | Child Concepts (is-a/contains/categorizes) | ||||
![]() |
Path | Conformance | ValueSet | URI |
CodeSystem.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 From the FHIR Standard | |
CodeSystem.identifier:oid.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 From the FHIR Standard | |
CodeSystem.identifier:oid.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type From the FHIR Standard | |
CodeSystem.versionAlgorithm[x] | extensible | VersionAlgorithmhttp://hl7.org/fhir/ValueSet/version-algorithm From the FHIR Standard | |
CodeSystem.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|5.0.0 From the FHIR Standard | |
CodeSystem.useContext.code | extensible | UsageContextTypehttp://terminology.hl7.org/ValueSet/usage-context-type | |
CodeSystem.useContext.value[x] | example | ContextOfUseValueSethttp://hl7.org/fhir/ValueSet/use-context From the FHIR Standard | |
CodeSystem.useContext.value[x]:valueCodeableConcept | example | ContextOfUseValueSethttp://hl7.org/fhir/ValueSet/use-context From the FHIR Standard | |
CodeSystem.jurisdiction | extensible | JurisdictionValueSethttp://hl7.org/fhir/ValueSet/jurisdiction From the FHIR Standard | |
CodeSystem.topic | example | DefinitionTopichttp://hl7.org/fhir/ValueSet/definition-topic From the FHIR Standard | |
CodeSystem.hierarchyMeaning | required | CodeSystemHierarchyMeaninghttp://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning|5.0.0 From the FHIR Standard | |
CodeSystem.content | required | CodeSystemContentModehttp://hl7.org/fhir/ValueSet/codesystem-content-mode|5.0.0 From the FHIR Standard | |
CodeSystem.filter.operator | required | FilterOperatorhttp://hl7.org/fhir/ValueSet/filter-operator|5.0.0 From the FHIR Standard | |
CodeSystem.property.type | required | PropertyTypehttp://hl7.org/fhir/ValueSet/concept-property-type|5.0.0 From the FHIR Standard | |
CodeSystem.concept.designation.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 From the FHIR Standard | |
CodeSystem.concept.designation.use | extensible | DesignationUsehttp://hl7.org/fhir/ValueSet/designation-use From the FHIR Standard | |
CodeSystem.concept.designation.additionalUse | extensible | DesignationUsehttp://hl7.org/fhir/ValueSet/designation-use From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cnl-0 | warning | CodeSystem | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$') | |
cnl-1 | warning | CodeSystem.url | URL should not contain | or # - these characters make processing canonical references problematic : exists() implies matches('^[^|# ]+$') | |
csd-1 | error | CodeSystem | Within a code system definition, all the codes SHALL be unique : concept.exists() implies concept.code.combine(%resource.concept.descendants().concept.code).isDistinct() | |
csd-2 | warning | CodeSystem | If there is an explicit hierarchy, a hierarchyMeaning should be provided : concept.concept.exists() implies hierarchyMeaning.exists() | |
csd-3 | warning | CodeSystem | If there is an implicit hierarchy, a hierarchyMeaning should be provided : concept.where(property.code = 'parent' or property.code = 'child').exists() implies hierarchyMeaning.exists() | |
csd-4 | error | CodeSystem | If the code system content = supplement, it must nominate what it's a supplement for : CodeSystem.content = 'supplement' implies CodeSystem.supplements.exists() | |
csd-5 | error | CodeSystem.concept.designation | Must have a value for concept.designation.use if concept.designation.additionalUse is present : additionalUse.exists() implies use.exists() | |
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() | |
scs-1 | error | CodeSystem | If a codesystem contains nested concepts, it must specify hierarchyMeaning : concept.concept.exists() implies hierarchyMeaning.exists() | |
scs-2 | error | CodeSystem | If a codesystem contains example, fragment, or complete content, it must have at least one concept : content in ( 'example' | 'fragment' | 'complete' ) implies concept.exists() |
This structure is derived from ShareableCodeSystem
Summary
Mandatory: 3 elements(3 nested mandatory elements)
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron