CH Core (R4)
2.0.0 - STU 2

This page is part of the CH Core (R4) (v2.0.0: STU 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Extension: eCH-0007 municipalityId – BFS Gemeindenummer

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

The official URL for this extension is:

http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid

Status: active
Extension maintained by: HL7 Switzerland

Context of Use

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

  • Address.city

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

Fixed Value: 1 element
Prohibited: 1 element

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionExtension
... extension 0..0
... url 1..1uri"http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid"
... valueString 0..1stringValue of extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionExtension
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid"
.... value[x]:valueString 0..1stringValue of extension

doco Documentation for this format

This structure is derived from Extension

Summary

Fixed Value: 1 element
Prohibited: 1 element

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionExtension
... extension 0..0
... url 1..1uri"http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid"
... valueString 0..1stringValue of extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionExtension
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid"
.... value[x]:valueString 0..1stringValue of extension

doco Documentation for this format

 

Other representations of extension: Schematron

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.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x]:valueStringAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())