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: Place of Origin according to eCH-0011

Official URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeoforigin Version: 7.0.0-ballot
Active as of 2026-10-21 Computable Name: ChCorePatientEch11PlaceOfOrigin

Copyright/Legal: CC0-1.0

The place of origin of the patient.

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 Place of origin for patient according to eCH-0011
Extension.extension 0..0 Extension
Extension.url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeoforigin"
Extension.Slices for value[x] 1..1 Address 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]:valueAddress 1..1 CHCoreAddressECH11PlaceOfOrigin Value of extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Place of origin for patient according to eCH-0011
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-core-patient-ech-11-placeoforigin"
Extension.Slices for value[x] 1..1 Address 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]:valueAddress C 1..1 CHCoreAddressECH11PlaceOfOrigin Value of extension
Constraints: ch-addr-2

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ch-addr-2 error Extension.value[x]:valueAddress For a Swiss address, a canton abbreviation from the value set 'eCH-0007 Canton Abbreviation' must be used. country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString' and (value.code = 'CH' or value.code = 'CHE')).empty() or state.empty() or state.memberOf('http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonabbreviation')
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 Address: The place of origin of the patient.

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Place of origin for patient according to eCH-0011
Extension.extension 0..0 Extension
Extension.url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeoforigin"
Extension.Slices for value[x] 1..1 Address 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]:valueAddress 1..1 CHCoreAddressECH11PlaceOfOrigin Value of extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Place of origin for patient according to eCH-0011
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-core-patient-ech-11-placeoforigin"
Extension.Slices for value[x] 1..1 Address 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]:valueAddress C 1..1 CHCoreAddressECH11PlaceOfOrigin Value of extension
Constraints: ch-addr-2

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ch-addr-2 error Extension.value[x]:valueAddress For a Swiss address, a canton abbreviation from the value set 'eCH-0007 Canton Abbreviation' must be used. country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString' and (value.code = 'CH' or value.code = 'CHE')).empty() or state.empty() or state.memberOf('http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonabbreviation')
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 Address: The place of origin of the patient.

 

Other representations of profile: CSV, Excel, Schematron