eHealth Infrastructure
latest - ci-build

eHealth Infrastructure - Local Development build (vlatest). See the Directory of published versions

Data Type Profile: ehealth-address

Defining URL:http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-address
Version:latest
Name:ehealth-address
Status:Active as of 2021-08-31T08:09:15+00:00
Publisher:Systematic | Trifork
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-address

Formal Views of Profile Content

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

This structure is derived from Address

Summary

Mandatory: 1 element
Fixed Value: 1 element
Prohibited: 2 elements

Extensions

This structure refers to these extensions:

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)
... ehealth-municipalitycode 0..1CodingDanish municipality code (DK: 'kommunekode')
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-municipalitycode
Binding: MunicipalityCodes (required)
... ehealth-regional-subdivision-code 0..1CodeableConceptDanish regional code
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-regional-subdivision-code
Binding: RegionalSubdivisionCodes (required)
... use 1..1codehome | work | temp | old | billing - purpose of this address
Fixed Value: home
... state 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... ehealth-municipalitycode 0..1CodingDanish municipality code (DK: 'kommunekode')
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-municipalitycode
Binding: MunicipalityCodes (required)
... use ?!Σ1..1codehome | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.


Fixed Value: home
... type Σ0..1codepostal | physical | both
Binding: AddressType (required): The type of an address (physical / postal).


Example General: both
... text Σ0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
... line Σ0..*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
... city Σ0..1stringName of city, town etc.
Example General: Erewhon
... postalCode Σ0..1stringPostal code for area
Example General: 9132
... country Σ0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
... period Σ0..1PeriodTime period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)

doco Documentation for this format

This structure is derived from Address

Summary

Mandatory: 1 element
Fixed Value: 1 element
Prohibited: 2 elements

Extensions

This structure refers to these extensions:

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)
... ehealth-municipalitycode 0..1CodingDanish municipality code (DK: 'kommunekode')
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-municipalitycode
Binding: MunicipalityCodes (required)
... ehealth-regional-subdivision-code 0..1CodeableConceptDanish regional code
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-regional-subdivision-code
Binding: RegionalSubdivisionCodes (required)
... use 1..1codehome | work | temp | old | billing - purpose of this address
Fixed Value: home
... state 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... ehealth-municipalitycode 0..1CodingDanish municipality code (DK: 'kommunekode')
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-municipalitycode
Binding: MunicipalityCodes (required)
... use ?!Σ1..1codehome | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.


Fixed Value: home
... type Σ0..1codepostal | physical | both
Binding: AddressType (required): The type of an address (physical / postal).


Example General: both
... text Σ0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
... line Σ0..*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
... city Σ0..1stringName of city, town etc.
Example General: Erewhon
... postalCode Σ0..1stringPostal code for area
Example General: 9132
... country Σ0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
... period Σ0..1PeriodTime period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
Address.userequiredFixed Value: home
Address.typerequiredAddressType

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.extension:municipalityCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.extension:municipalityCodeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.extension:regionalSubdivisionCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.extension:regionalSubdivisionCodeMust 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.cityAll 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())
ele-1Address.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())