CH Core (R4)
6.0.0-ci-build - ci-build
CH Core (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 6.0.0-ci-build 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
| Official URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-address-ech-11-placeoforigin | Version: 6.0.0-ci-build | |||
| Active as of 2025-11-05 | Computable Name: CHCoreAddressECH11PlaceOfOrigin | |||
Copyright/Legal: CC0-1.0 |
||||
Place of Origin for eCH-0011
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 | 0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) Constraints: ch-addr-2 |
![]() ![]() |
Σ | 0..1 | string | Name of place of origin (municipality) Example General: Erewhon |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | string | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid | |
![]() ![]() |
Σ | 1..1 | string | Canton Binding: eCH-0007 Canton Abbreviation (example): Use these values for a Swiss or Liechtenstein address |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Address.line.extension:addressLine1.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.line.extension:addressLine2.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.line.extension:street.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.line.extension:postOfficeBoxText.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.state | Base | example | eCH-0007 Canton Abbreviation | 📦3.2.0 | CH Term v3.2 |
| Id | Grade | Path(s) | Description | Expression |
| ch-addr-1 | warning | Address.country.extension:countrycode | ISO Country Alpha-2 or ISO Country Alpha-3 code |
((value.code.length()=2) and value.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((value.code.length() = 3) and value.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))
|
| ch-addr-2 | error | Address | 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').empty() or
(country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString').value.code.startsWith('CH') = false) or
(country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString').value.code.startsWith('CH').exists() and
(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 CHCoreAddress
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
![]() ![]() |
0..0 | home | work | temp | old | billing - purpose of this address | ||
![]() ![]() |
0..0 | postal | physical | both | ||
![]() ![]() |
0..0 | Text representation of the address | ||
![]() ![]() |
0..0 | Street name, number, direction & P.O. Box etc. | ||
![]() ![]() |
0..1 | string | Name of place of origin (municipality) | |
![]() ![]() |
0..0 | District name (aka county) | ||
![]() ![]() |
1..1 | string | Canton | |
![]() ![]() |
0..0 | Postal code for area | ||
![]() ![]() |
0..0 | Country if place of orgin is not Switzerland | ||
![]() ![]() |
0..0 | Time period when address was/is in use | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) Constraints: ch-addr-2 |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
Σ | 0..1 | string | Name of place of origin (municipality) Example General: Erewhon |
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | string | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid | |
![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |
![]() ![]() |
Σ | 1..1 | string | Canton Binding: eCH-0007 Canton Abbreviation (example): Use these values for a Swiss or Liechtenstein address |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Address.line.extension:addressLine1.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.line.extension:addressLine2.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.line.extension:street.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.line.extension:postOfficeBoxText.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.state | Base | example | eCH-0007 Canton Abbreviation | 📦3.2.0 | CH Term v3.2 |
| Id | Grade | Path(s) | Description | Expression |
| ch-addr-1 | warning | Address.country.extension:countrycode | ISO Country Alpha-2 or ISO Country Alpha-3 code |
((value.code.length()=2) and value.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((value.code.length() = 3) and value.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))
|
| ch-addr-2 | error | Address | 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').empty() or
(country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString').value.code.startsWith('CH') = false) or
(country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString').value.code.startsWith('CH').exists() and
(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 CHCoreAddress
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) Constraints: ch-addr-2 |
![]() ![]() |
Σ | 0..1 | string | Name of place of origin (municipality) Example General: Erewhon |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | string | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid | |
![]() ![]() |
Σ | 1..1 | string | Canton Binding: eCH-0007 Canton Abbreviation (example): Use these values for a Swiss or Liechtenstein address |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Address.line.extension:addressLine1.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.line.extension:addressLine2.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.line.extension:street.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.line.extension:postOfficeBoxText.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.state | Base | example | eCH-0007 Canton Abbreviation | 📦3.2.0 | CH Term v3.2 |
| Id | Grade | Path(s) | Description | Expression |
| ch-addr-1 | warning | Address.country.extension:countrycode | ISO Country Alpha-2 or ISO Country Alpha-3 code |
((value.code.length()=2) and value.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((value.code.length() = 3) and value.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))
|
| ch-addr-2 | error | Address | 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').empty() or
(country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString').value.code.startsWith('CH') = false) or
(country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString').value.code.startsWith('CH').exists() and
(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()
|
Differential View
This structure is derived from CHCoreAddress
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
![]() ![]() |
0..0 | home | work | temp | old | billing - purpose of this address | ||
![]() ![]() |
0..0 | postal | physical | both | ||
![]() ![]() |
0..0 | Text representation of the address | ||
![]() ![]() |
0..0 | Street name, number, direction & P.O. Box etc. | ||
![]() ![]() |
0..1 | string | Name of place of origin (municipality) | |
![]() ![]() |
0..0 | District name (aka county) | ||
![]() ![]() |
1..1 | string | Canton | |
![]() ![]() |
0..0 | Postal code for area | ||
![]() ![]() |
0..0 | Country if place of orgin is not Switzerland | ||
![]() ![]() |
0..0 | Time period when address was/is in use | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CHCoreAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) Constraints: ch-addr-2 |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
Σ | 0..1 | string | Name of place of origin (municipality) Example General: Erewhon |
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | string | Extension URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid | |
![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |
![]() ![]() |
Σ | 1..1 | string | Canton Binding: eCH-0007 Canton Abbreviation (example): Use these values for a Swiss or Liechtenstein address |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Address.line.extension:addressLine1.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.line.extension:addressLine2.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.line.extension:street.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.line.extension:postOfficeBoxText.value[x]:valueCode | Base | extensible | eCH-010 Address Line Type | 📦3.2.0 | CH Term v3.2 |
| Address.state | Base | example | eCH-0007 Canton Abbreviation | 📦3.2.0 | CH Term v3.2 |
| Id | Grade | Path(s) | Description | Expression |
| ch-addr-1 | warning | Address.country.extension:countrycode | ISO Country Alpha-2 or ISO Country Alpha-3 code |
((value.code.length()=2) and value.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((value.code.length() = 3) and value.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))
|
| ch-addr-2 | error | Address | 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').empty() or
(country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString').value.code.startsWith('CH') = false) or
(country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString').value.code.startsWith('CH').exists() and
(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 CHCoreAddress
Other representations of profile: CSV, Excel, Schematron