HL7 Czech Base and Core Implementation Guide
0.2.1 - ci-build Czechia flag

HL7 Czech Base and Core Implementation Guide, published by HL7 Czech Republic. This guide is not an authorized publication; it is the continuous build for version 0.2.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7-cz/cz-core/ and changes regularly. See the Directory of published versions

Data Type Profile: Address (CZ)

Official URL: https://hl7.cz/fhir/core/StructureDefinition/cz-address Version: 0.2.1
Standards status: Draft Maturity Level: 1 Computable Name: CZ_Address

Czech national profile on address, to provide the possibility in the 'line' element to provide a seperate streetname, housenumber and postal box. It is always RECOMMENDED to give these elements seperately. The national specification also includes the option of entering the address location according to the RUIAN register and marking the address as the permanent residence address.

This profile constrains the representation of address in the context of the Czech national interoperability project.

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address C 0..* AddressEu Address according to Czech postal conventions
ele-1: All FHIR elements must have a @value or children
text-or-ctry: Address must contain at least text or country element
POB-and-PCS: If P.O.Box extension is present, Postal code must be present too
street-and-city: If streetName extension is present, Postal code or city must be present too
POB-only-postal: Address with P.O.Box cannot be "physical" or "both"
POB-ext-only: If the extension 'P.O.Box' is used, the extensions 'Street' and 'House number' must not be used.
... Slices for extension Content/Rules for all slices
.... addressPoint 0..1 Identifier Address location code according to the system RÚIAN (ČÚZK)
URL: https://hl7.cz/fhir/core/StructureDefinition/address-point-cz
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... permanentResidence 0..1 CodeableConcept Address permanent residence
URL: https://hl7.cz/fhir/core/StructureDefinition/permanent-residencer-address-cz
Binding: Iso3166-1-2 (preferred)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... use ?!Σ 0..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.


ele-1: All FHIR elements must have a @value or children
Example General: home

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
POB-and-PCSerrorAddressIf P.O.Box extension is present, Postal code must be present too
: line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox').empty()) or (postalCode.exists())
POB-ext-onlywarningAddressIf the extension 'P.O.Box' is used, the extensions 'Street' and 'House number' must not be used.
: line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox').empty() or ($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').empty() and $this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber').empty()))
POB-only-postalwarningAddressAddress with P.O.Box cannot be "physical" or "both"
: line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox').empty()) or type='postal' or type.empty()
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()
street-and-cityerrorAddressIf streetName extension is present, Postal code or city must be present too
: line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').empty()) or postalCode.exists() or city.exists()
text-or-ctryerrorAddressAddress must contain at least text or country element
: ( line.all($this.empty()) and city.empty() ) implies (text.exists() or country.exists())

 

Other representations of profile: CSV, Excel, Schematron