CH Core (R4)
5.0.0-ci-build - ci-build Switzerland flag

CH Core (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 5.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

Data Type Profile: Address for Place of Birth

Official URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-address-ech-11-placeofbirth Version: 5.0.0-ci-build
Active as of 2024-03-22 Computable Name: CHCoreAddressEch11PlaceOfBirth

Copyright/Legal: CC0-1.0

PlaceOfBirth for ech-11

Usage:

Formal Views of Profile Content

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

This structure is derived from CHCoreAddress

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*CHCoreAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... use 0..0
... type 0..0
... text 0..0
... city 0..1stringPlace of Birth (municipality)
.... extension:bfs 0..1ECH007MunicipalityIdExtension
... district 0..0
... state 0..1stringCanton
... postalCode 0..0
... country 0..1stringCountry if place of Birth is not Switzerland
... period 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address C0..*CHCoreAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
ch-addr-2: For a Swiss address, a canton abbreviation from the value set 'eCH-0007 Canton Abbreviation' must be used.
... city Σ0..1stringPlace of Birth (municipality)
Example General: Erewhon
.... bfs 0..1stringExtension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid
... state Σ0..1stringCanton
Binding: eCH-0007 Canton Abbreviation incl. FL (Fürstentum Liechtenstein) (example): Use these values for a Swiss or Liechtenstein address

... country Σ0..1stringCountry if place of Birth is not Switzerland
.... countrycode C0..1CodingISO Country Alpha-2 or ISO Country Alpha-3 code
URL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding
Binding: (unbound) (example): A coded representation for a string. Could be codes for country in a country address part, codes for prefixes in a name part, etc.


ch-addr-1: ISO Country Alpha-2 or ISO Country Alpha-3 code

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Address.line.extension:addressLine1.value[x]:valueCodeextensibleFixed Value: addressLine1
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.line.extension:addressLine2.value[x]:valueCodeextensibleFixed Value: addressLine2
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.line.extension:street.value[x]:valueCodeextensibleFixed Value: street
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.line.extension:postOfficeBoxText.value[x]:valueCodeextensibleFixed Value: postOfficeBoxText
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.stateexampleECH007CantonFLAbbreviation
http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonflabbreviation

Constraints

IdGradePath(s)DetailsRequirements
ch-addr-1errorAddress.country.extension:countrycodeISO 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-2errorAddressFor 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-SC-coding').empty() or (country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding').value.code.startsWith('CH') = false) or (country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding').value.code.startsWith('CH').exists() and (state.empty() or state.memberOf('http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonabbreviation')))
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address C0..*CHCoreAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
ch-addr-2: For a Swiss address, a canton abbreviation from the value set 'eCH-0007 Canton Abbreviation' must be used.
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... city Σ0..1stringPlace of Birth (municipality)
Example General: Erewhon
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... bfs 0..1stringExtension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid
.... value 0..1stringPrimitive value for string
Max Length: 1048576
... country Σ0..1stringCountry if place of Birth is not Switzerland
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... countrycode C0..1CodingISO Country Alpha-2 or ISO Country Alpha-3 code
URL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding
Binding: (unbound) (example): A coded representation for a string. Could be codes for country in a country address part, codes for prefixes in a name part, etc.


ch-addr-1: ISO Country Alpha-2 or ISO Country Alpha-3 code
.... value 0..1stringPrimitive value for string
Max Length: 1048576

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Address.line.extension:addressLine1.value[x]:valueCodeextensibleFixed Value: addressLine1
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.line.extension:addressLine2.value[x]:valueCodeextensibleFixed Value: addressLine2
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.line.extension:street.value[x]:valueCodeextensibleFixed Value: street
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.line.extension:postOfficeBoxText.value[x]:valueCodeextensibleFixed Value: postOfficeBoxText
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.stateexampleECH007CantonFLAbbreviation
http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonflabbreviation

Constraints

IdGradePath(s)DetailsRequirements
ch-addr-1errorAddress.country.extension:countrycodeISO 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-2errorAddressFor 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-SC-coding').empty() or (country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding').value.code.startsWith('CH') = false) or (country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding').value.code.startsWith('CH').exists() and (state.empty() or state.memberOf('http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonabbreviation')))
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from CHCoreAddress

Summary

Prohibited: 7 elements

Differential View

This structure is derived from CHCoreAddress

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*CHCoreAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... use 0..0
... type 0..0
... text 0..0
... city 0..1stringPlace of Birth (municipality)
.... extension:bfs 0..1ECH007MunicipalityIdExtension
... district 0..0
... state 0..1stringCanton
... postalCode 0..0
... country 0..1stringCountry if place of Birth is not Switzerland
... period 0..0

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address C0..*CHCoreAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
ch-addr-2: For a Swiss address, a canton abbreviation from the value set 'eCH-0007 Canton Abbreviation' must be used.
... city Σ0..1stringPlace of Birth (municipality)
Example General: Erewhon
.... bfs 0..1stringExtension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid
... state Σ0..1stringCanton
Binding: eCH-0007 Canton Abbreviation incl. FL (Fürstentum Liechtenstein) (example): Use these values for a Swiss or Liechtenstein address

... country Σ0..1stringCountry if place of Birth is not Switzerland
.... countrycode C0..1CodingISO Country Alpha-2 or ISO Country Alpha-3 code
URL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding
Binding: (unbound) (example): A coded representation for a string. Could be codes for country in a country address part, codes for prefixes in a name part, etc.


ch-addr-1: ISO Country Alpha-2 or ISO Country Alpha-3 code

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Address.line.extension:addressLine1.value[x]:valueCodeextensibleFixed Value: addressLine1
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.line.extension:addressLine2.value[x]:valueCodeextensibleFixed Value: addressLine2
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.line.extension:street.value[x]:valueCodeextensibleFixed Value: street
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.line.extension:postOfficeBoxText.value[x]:valueCodeextensibleFixed Value: postOfficeBoxText
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.stateexampleECH007CantonFLAbbreviation
http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonflabbreviation

Constraints

IdGradePath(s)DetailsRequirements
ch-addr-1errorAddress.country.extension:countrycodeISO 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-2errorAddressFor 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-SC-coding').empty() or (country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding').value.code.startsWith('CH') = false) or (country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding').value.code.startsWith('CH').exists() and (state.empty() or state.memberOf('http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonabbreviation')))
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address C0..*CHCoreAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
ch-addr-2: For a Swiss address, a canton abbreviation from the value set 'eCH-0007 Canton Abbreviation' must be used.
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... city Σ0..1stringPlace of Birth (municipality)
Example General: Erewhon
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... bfs 0..1stringExtension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-7-municipalityid
.... value 0..1stringPrimitive value for string
Max Length: 1048576
... country Σ0..1stringCountry if place of Birth is not Switzerland
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... countrycode C0..1CodingISO Country Alpha-2 or ISO Country Alpha-3 code
URL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding
Binding: (unbound) (example): A coded representation for a string. Could be codes for country in a country address part, codes for prefixes in a name part, etc.


ch-addr-1: ISO Country Alpha-2 or ISO Country Alpha-3 code
.... value 0..1stringPrimitive value for string
Max Length: 1048576

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Address.line.extension:addressLine1.value[x]:valueCodeextensibleFixed Value: addressLine1
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.line.extension:addressLine2.value[x]:valueCodeextensibleFixed Value: addressLine2
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.line.extension:street.value[x]:valueCodeextensibleFixed Value: street
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.line.extension:postOfficeBoxText.value[x]:valueCodeextensibleFixed Value: postOfficeBoxText
http://fhir.ch/ig/ch-core/ValueSet/ech-10-linetype
Address.stateexampleECH007CantonFLAbbreviation
http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonflabbreviation

Constraints

IdGradePath(s)DetailsRequirements
ch-addr-1errorAddress.country.extension:countrycodeISO 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-2errorAddressFor 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-SC-coding').empty() or (country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding').value.code.startsWith('CH') = false) or (country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding').value.code.startsWith('CH').exists() and (state.empty() or state.memberOf('http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonabbreviation')))
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from CHCoreAddress

Summary

Prohibited: 7 elements

 

Other representations of profile: CSV, Excel, Schematron