CH Core (R4)
7.0.0-ballot - ballot Switzerland flag

CH Core (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 7.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7ch/ch-core/ and changes regularly. See the Directory of published versions

Extension: eCH-0007 Municipality Id – BFS Gemeindenummer

Official URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid Version: 7.0.0-ballot
Active as of 2026-10-21 Computable Name: ECH007MunicipalityId

Copyright/Legal: CC0-1.0

eCH-0007: Extension to define a BFS Number for a municipality

Context of Use

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

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

Description Differentials, Snapshots, and other representations.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Extension
Extension.extension 0..0 Extension
Extension.url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid"
Extension.Slices for value[x] 1..1 string Value of extension
Slice: Unordered, Open by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Extension.Slices for value[x].value[x]:valueString 1..1 string Value of extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Extension
Extension.id 0..1 string Unique id for inter-element referencing
Extension.extension 0..0 Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Extension.url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid"
Extension.Slices for value[x] 1..1 string Value of extension
Slice: Unordered, Closed by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Extension.Slices for value[x].value[x]:valueString 1..1 string Value of extension

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
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 Extension

Summary

Simple Extension with the type string: eCH-0007: Extension to define a BFS Number for a municipality

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Extension
Extension.extension 0..0 Extension
Extension.url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid"
Extension.Slices for value[x] 1..1 string Value of extension
Slice: Unordered, Open by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Extension.Slices for value[x].value[x]:valueString 1..1 string Value of extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Extension
Extension.id 0..1 string Unique id for inter-element referencing
Extension.extension 0..0 Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Extension.url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid"
Extension.Slices for value[x] 1..1 string Value of extension
Slice: Unordered, Closed by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Extension.Slices for value[x].value[x]:valueString 1..1 string Value of extension

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
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 Extension

Summary

Simple Extension with the type string: eCH-0007: Extension to define a BFS Number for a municipality

 

Other representations of profile: CSV, Excel, Schematron