CH Core (R4)
0.1.0 - STU Ballot

This page is part of the CH Core (R4) (v0.1.0: STU 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 6.0.0. For a full list of available versions, see the Directory of published versions

StructureDefinition: CHCoreAddressECH10

Postal address according to eCH-0010

The official URL for this profile is:

http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-address-ech-10

Formal Views of Profile Content

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

This structure is derived from Address

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... type 0..1codepostal
Fixed Value: postal
... line 0..*stringStreet name, number, direction & P.O. Box etc.
.... extension 0..*ExtensionSlice: Unordered, Open by value:url
.... ch-ext-ech-10-line 0..1codeExtension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-line
.... iso21090-ADXP-houseNumber 0..1stringhouseNumber
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber
.... iso21090-ADXP-unitID 0..1stringunitID
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID
.... iso21090-ADXP-postBox 0..1stringpostBox
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox
... city Σ1..1string
... state 0..1string
... postalCode 1..1stringPostal code for area
... country 1..1string
... period 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address I0..*AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... id 0..1stringUnique id for inter-element referencing
... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... use ?!ΣI0..1codehome | work | temp | old | billing - purpose of this address
Binding: AddressUse (required)
Example General: home
... text ΣI0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
... line ΣI0..*stringStreet name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension I0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... ch-ext-ech-10-line I0..1codeExtension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-line
.... iso21090-ADXP-houseNumber I0..1stringhouseNumber
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber
.... iso21090-ADXP-unitID I0..1stringunitID
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID
.... iso21090-ADXP-postBox I0..1stringpostBox
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox
.... value 0..1stringPrimitive value for string
Max Length: 1048576
... city ΣI1..1stringName of city, town etc.
Example General: Erewhon
... district ΣI0..1stringDistrict name (aka county)
Example General: Madison
... state ΣI0..1stringSub-unit of country (abbreviations ok)
... postalCode ΣI1..1stringPostal code for area
Example General: 9132
... country ΣI1..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)

doco Documentation for this format

Differential View

This structure is derived from Address

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... type 0..1codepostal
Fixed Value: postal
... line 0..*stringStreet name, number, direction & P.O. Box etc.
.... extension 0..*ExtensionSlice: Unordered, Open by value:url
.... ch-ext-ech-10-line 0..1codeExtension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-line
.... iso21090-ADXP-houseNumber 0..1stringhouseNumber
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber
.... iso21090-ADXP-unitID 0..1stringunitID
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID
.... iso21090-ADXP-postBox 0..1stringpostBox
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox
... city Σ1..1string
... state 0..1string
... postalCode 1..1stringPostal code for area
... country 1..1string
... period 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address I0..*AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... id 0..1stringUnique id for inter-element referencing
... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... use ?!ΣI0..1codehome | work | temp | old | billing - purpose of this address
Binding: AddressUse (required)
Example General: home
... text ΣI0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
... line ΣI0..*stringStreet name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension I0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... ch-ext-ech-10-line I0..1codeExtension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-10-line
.... iso21090-ADXP-houseNumber I0..1stringhouseNumber
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber
.... iso21090-ADXP-unitID I0..1stringunitID
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID
.... iso21090-ADXP-postBox I0..1stringpostBox
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox
.... value 0..1stringPrimitive value for string
Max Length: 1048576
... city ΣI1..1stringName of city, town etc.
Example General: Erewhon
... district ΣI0..1stringDistrict name (aka county)
Example General: Madison
... state ΣI0..1stringSub-unit of country (abbreviations ok)
... postalCode ΣI1..1stringPostal code for area
Example General: 9132
... country ΣI1..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

Terminology Bindings

PathConformanceValueSet / Code
Address.userequiredAddressUse
Address.typerequiredFixed Value: postal

Constraints

Constraints

IdPathDetailsRequirements
ele-1AddressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.lineAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.line.extension:ech10lineAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extension:ech10lineMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.line.extension:houseNumberAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extension:houseNumberMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.line.extension:unitIDAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extension:unitIDMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.line.extension:postBoxAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extension:postBoxMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.cityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.districtAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.stateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.postalCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.countryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())