eHealth Infrastructure (v2020.8)

StructureDefinition: ehealth-municipalityCode

Formal Views of Profile Content

The official URL for this profile is:

http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-municipality-code

Danish municipality code (DK: "kommunekode")

This profile builds on Extension.

This profile was published on Thu Jan 07 13:26:31 UTC 2021 as a draft by ehealth.sundhed.dk.

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

This structure is derived from Extension

Summary

Mandatory: 0 element (1 nested mandatory element)
Fixed Value: 2 elements

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... url 1..1uri"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-municipality-code"
... valueCoding:valueCoding 0..1CodingValue of extension
Binding: MunicipalityCodes (extensible)
.... system 0..1uriIdentity of the terminology system
Fixed Value: http://danmarksadresser.dk/kommunekode
.... code 1..1codeSymbol in syntax defined by the system
Binding: MunicipalityCodes (required)

doco Documentation for this format

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... id 0..1stringxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1uri"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-municipality-code"
... value[x] 0..1(Slice Definition)Value of extension
Slice: Unordered, Closed by type:$this
.... value[x]:valueCoding 0..1CodingValue of extension
Binding: MunicipalityCodes (extensible)
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ0..1uriIdentity of the terminology system
Fixed Value: http://danmarksadresser.dk/kommunekode
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
Binding: MunicipalityCodes (required)
..... display Σ0..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 0 element (1 nested mandatory element)
Fixed Value: 2 elements

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... url 1..1uri"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-municipality-code"
... valueCoding:valueCoding 0..1CodingValue of extension
Binding: MunicipalityCodes (extensible)
.... system 0..1uriIdentity of the terminology system
Fixed Value: http://danmarksadresser.dk/kommunekode
.... code 1..1codeSymbol in syntax defined by the system
Binding: MunicipalityCodes (required)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... id 0..1stringxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1uri"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-municipality-code"
... value[x] 0..1(Slice Definition)Value of extension
Slice: Unordered, Closed by type:$this
.... value[x]:valueCoding 0..1CodingValue of extension
Binding: MunicipalityCodes (extensible)
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ0..1uriIdentity of the terminology system
Fixed Value: http://danmarksadresser.dk/kommunekode
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
Binding: MunicipalityCodes (required)
..... display Σ0..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user

doco Documentation for this format

 

Terminology Bindings

PathConformanceValueSet
Extension.value[x]:valueCodingextensibleMunicipalityCodes
Extension.value[x]:valueCoding.coderequiredMunicipalityCodes

Constraints

IdPathDetailsRequirements
ele-1ExtensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
.