Adresse
Nach DIN 5008 (Schreib- und Gestaltungsregeln für die Text- und Informationsverarbeitung) besteht eine postalische Anschrift aus folgende Bestandteilen:
- Name
- Zustell- oder Abholangabe
- Postleitzahl
- Ort
- Land (Bei internationanlen Adressen)
Dies Address-bezogenen Bestandteilen der Anschrift lassen sich in FHIR wie folgt abbilden:
| DIN 5008 Element | FHIR-Repräsentation | 
| Name | Siehe Ressourcen - PatientIn (Patient) - Name oder Patient.contact.organization (z.B. bei der Anschrift eines Arbeitgebers) | 
| Zustell- oder Abholangabe | Address.line | 
| Postleitzahl | Address.postalCode | 
| Ort | Address.city | 
| Land | Address.country | 
Basisprofil für Adresse
Name: AddressDeBasis (Simplifier Projekt Link)
Canonical: http://fhir.de/StructureDefinition/address-de-basis
| Address |  |  | Address | Element IdShort description Eine Adresse gemäß postalischer KonventionenDefinition CommentsEine Adresse gemäß postalischer Konventionen (im Gegensatz zu bspw. GPS-Koordinaten). Die Adresse kann sowohl zur Zustellung von Postsendungen oder zum Aufsuchen von Orten, die keine gültige Postadresse haben, verwendet werden. Die verwendeten Extensions in diesem Profil bilden die Struktur der Adresse ab, wie sie im VSDM-Format der elektronischen Versichertenkarte verwendet wird. Insbesondere bei ausländischen Adresse oder Adressen, die nicht durch Einlesen einer elektronischen Versichertenkarte erfasst wurden, sind abweichende Strukturen möglich. Die Verwendung der Extensions ist nicht verpflichtend.Data TypeNote: address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates.  Postal addresses are often used as proxies for physical locations (also see the Location resource).AddressConstraints Examplesele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())add-1:Wenn die Extension 'Hausnummer' verwendet wird, muss auch Address.line gefüllt werden
 line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber').empty() or $this.hasValue())add-2:Wenn die Extension 'Strasse' verwendet wird, muss auch Address.line gefüllt werden
 line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').empty() or $this.hasValue())add-3:Wenn die Extension 'Postfach' verwendet wird, muss auch Address.line gefüllt werden
 line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox').empty() or $this.hasValue())add-4:Eine Postfach-Adresse darf nicht vom Type "physical" oder "both" sein.
 line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox').empty() or $this.hasValue()) or type='postal' or type.empty()add-5:Wenn die Extension 'Adresszusatz' verwendet wird, muss auch Address.line gefüllt werden
 line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator').empty() or $this.hasValue())add-6:Wenn die Extension 'Postfach' verwendet wird, dürfen die Extensions 'Strasse' und 'Hausnummer' nicht verwendet werden
 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()))add-7:Wenn die Extension 'Precinct' (Stadtteil) verwendet wird, dann muss diese Information auch als separates line-item abgebildet sein.
 extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct').empty() or line.where(extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct').valueString=$this).exists()
Beispiel für einfache Adresse{
  "use": "home",
  "type": "postal",
  "line": [
    "Musterweg 42"
  ],
  "city": "Musterhausen",
  "postalCode": "99999"
} Mappings
 rim:n/av2:XADrim:ADservd:Address
 | 
| extension |  | 0..* | Extension | Element IdShort description Additional content defined by implementationsAlternate names extensions, user contentDefinition CommentsMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.ExtensionSliced: Unordered, Open, by url(Value)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| Stadtteil |  | 0..1 | Extension(string) | Element Id Short descriptionAddress.extension:StadtteilStadt- oder OrtsteilAlternate names extensions, user contentDefinition CommentsA subsection of a municipality.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.Extension(string)Extension URL http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinctConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
rim:n/arim:N/Arim:ADXP[partType=PRE]
 | 
| use | Σ ?! | 0..1 | codeBinding | There are no (further) constraints on this elementElement IdShort description home | work | temp | old | billing - purpose of this addressDefinition RequirementsThe purpose of this address.CommentsAllows an appropriate address to be chosen from a list of many.Data TypeApplications can assume that an address is current unless it explicitly says that it is temporary or old.codeBinding AddressUse (required)Constraints Examplesele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
Mappings
 rim:n/av2:XAD.7rim:unique(./use)servd:./AddressPurpose
 | 
| type | Σ | 0..1 | codeBinding | Element IdShort description postal | physical | bothDefinition CommentsDistinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.Data TypeThe definition of Address states that "address is intended to describe postal addresses, not physical locations". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the Location resource).codeBinding AddressType (required)Constraints Examplesele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
Mappings
 rim:n/av2:XAD.18rim:unique(./use)vcard:address type parameterBDT:1202 (1=physical, 2=postal)
 | 
| text | Σ | 0..1 | string | There are no (further) constraints on this elementElement IdShort description Text representation of the addressDefinition RequirementsSpecifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.CommentsA renderable, unencoded form.Data TypeCan provide both a text representation and parts. Applications updating an address SHALL ensure that  when both text and parts are present,  no content is included in the text that isn't found in a part.stringConstraints Examplesele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
General137 Nowhere Street, Erewhon 9132 Mappings
 rim:n/av2:XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6rim:./formattedvcard:address label parameter
 | 
| line | Σ | 0..3 | string | Element IdShort description Straßenname mit Hausnummer oder Postfach sowie weitere Angaben zur ZustellungDefinition CommentsDiese Komponente kann Straßennamen, Hausnummer, Appartmentnummer, Postfach, c/o sowie weitere Zustellungshinweise enthalten. Die Informationen können in mehrere line-Komponenten aufgeteilt werden.
Bei Verwendung der Extensions, um Straße, Hausnnummer und Postleitzahl strukturiert zu übermitteln, müssen diese Informationen stets vollständig auch in der line-Komponente, die sie erweitern, enthalten sein, um es Systemen, die diese Extensions nicht verwenden zu ermöglichen, auf diese Informationen zugreifen zu können.Data TypeNote that FHIR strings SHALL NOT exceed 1MB in sizestringConstraints Examplesele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
General137 Nowhere Street 
 Beipiel für Adresszeile mit Extensions für Straße und HausnummerMusterweg 42 Mappings
 rim:n/av2:XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)rim:AD.part[parttype = AL]vcard:streetservd:./StreetAddress (newline delimitted)KVDT:3107 + 3109 + 3115 oder 3123BDT:3107 + 3109 + 3115 oder 3123
 | 
| extension |  | 0..* | Extension | Element IdShort description Additional content defined by implementationsAlternate names extensions, user contentDefinition CommentsMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.ExtensionSliced: Unordered, Open, by url(Value)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| Strasse |  | 0..1 | Extension(string) | Element Id Short descriptionAddress.line.extension:StrasseStrassenname (ohne Hausnummer)Alternate names extensions, user contentDefinition CommentsStrassenname (ohne Hausnummer)
Bei Angabe einer Strasse in dieser Extension muss diese auch in Address.line angegeben werden um die Interoperabilität mit Systemen zu gewährleisten, die diese Extension nicht verwenden.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.Extension(string)Extension URL http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
rim:n/arim:N/Arim:ADXP[partType=STR]KVDT:3107BDT:3107
 | 
| Hausnummer |  | 0..1 | Extension(string) | Element Id Short descriptionAddress.line.extension:HausnummerHausnummerAlternate names extensions, user contentDefinition CommentsHausnummer, sowie Zusätze (Appartmentnummer, Etage...)
Bei Angabe einer Hausnummer in dieser Extension muss diese auch in Address.line angegeben werden um die Interoperabilität mit Systemen zu gewährleisten, die diese Extension nicht verwenden.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.Extension(string)Extension URL http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
rim:n/arim:N/Arim:ADXP[partType=BNR]KVDT:3109BDT:3109
 | 
| Adresszusatz |  | 0..1 | Extension(string) | Element Id Short descriptionAddress.line.extension:AdresszusatzAdresszusatzAlternate names extensions, user contentDefinition CommentsZusätzliche Informationen, wie z.B. "3. Etage", "Appartment C"
Bei Angabe einer Zusatzinformation in dieser Extension muss diese auch in Address.line angegeben werden um die Interoperabilität mit Systemen zu gewährleisten, die diese Extension nicht verwenden.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.Extension(string)Extension URL http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocatorConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
rim:n/arim:N/Arim:ADXP[partType=ADL]KVDT:3115BDT:3115
 | 
| Postfach |  | 0..1 | Extension(string) | Element Id Short descriptionAddress.line.extension:PostfachPostfachAlternate names extensions, user contentDefinition CommentsPostfach-Adresse.
Bei Angabe eines Postfaches in dieser Extension muss das Postfach auch in Address.line angegeben werden um die Interoperabilität mit Systemen zu gewährleisten, die diese Extension nicht verwenden.
Eine Postfach-Adresse darf nicht in Verbindung mit Address.type "physical" oder "both" verwendet werden.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.Extension(string)Extension URL http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBoxConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
rim:n/arim:N/Arim:ADXP[partType=POB]KVDT:3123BDT:3123
 | 
| city | Σ | 0..1 | string | Element IdShort description Name of city, town etc.Alternate names MunicpalityDefinition CommentsThe name of the city, town, suburb, village or other community or delivery center.Data TypeNote that FHIR strings SHALL NOT exceed 1MB in sizestringConstraints Examplesele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
Mappings
 rim:n/av2:XAD.3rim:AD.part[parttype = CTY]vcard:localityservd:./JurisdictionBDT:3113 oder 3122 (Postfach)KVDT:3113 oder 3122 (Postfach)
 | 
| district | Σ | 0..0 | string | There are no (further) constraints on this elementElement IdShort description District name (aka county)Alternate names CountyDefinition CommentsThe name of the administrative area (county).Data TypeDistrict is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.stringConstraints Examplesele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
Mappings
 rim:n/av2:XAD.9rim:AD.part[parttype = CNT | CPA]
 | 
| state | Σ | 0..1 | stringBinding | Element IdShort description BundeslandAlternate names Province, TerritoryDefinition CommentsName (oder Kürzel) des Bundeslandes.Data TypeNote that FHIR strings SHALL NOT exceed 1MB in sizestringBinding ValueSetISO31662DE (preferred)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:XAD.4rim:AD.part[parttype = STA]vcard:regionservd:./Region
 | 
| postalCode | Σ | 0..1 | string | Element IdShort description PostleitzahlAlternate names ZipDefinition CommentsPostleitzahl gemäß der im jeweiligen Land gültigen KonventionenData TypeNote that FHIR strings SHALL NOT exceed 1MB in sizestringConstraints Examplesele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
Mappings
 rim:n/av2:XAD.5rim:AD.part[parttype = ZIP]vcard:codeservd:./PostalIdentificationCodeBDT:3112 oder 3121 (Postfach)KVDT:3112 oder 3121 (Postfach)
 | 
| country | Σ | 0..1 | stringBinding | Element IdShort description StaatDefinition CommentsStaat (vorzugsweise als 2-Stelliger ISO-Ländercode).
Es obliegt abgeleiteten Profilen, hier die Verwendung der ISO-Ländercodes verbindlich vorzuschreibenData TypeISO 3166 3 letter codes can be used in place of a human readable country name.stringBinding Iso3166-1-2 (preferred)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:XAD.6rim:AD.part[parttype = CNT]vcard:countryservd:./CountryBDT:3114 oder 3124 (Postfach), abweichendes CodeSystemKVDT:3114 oder 3124 (Postfach), abweichendes CodeSystem
 | 
| period | Σ | 0..1 | Period | There are no (further) constraints on this elementElement IdShort description Time period when address was/is in useDefinition RequirementsTime period when address was/is in use.CommentsAllows addresses to be placed in historical context.Data TypeA Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). Period is not used for a duration (a measure of elapsed time). See Duration.PeriodConstraints Examplesele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())per-1:If present, start SHALL have a lower value than end
 start.hasValue().not() or end.hasValue().not() or (start <= end)
General{
  "start": "2010-03-23",
  "end": "2010-07-01"
} Mappings
 rim:n/av2:DRrim:IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]v2:XAD.12 / XAD.13 + XAD.14rim:./usablePeriod[type="IVL<TS>"]servd:./StartDate and ./EndDate
 | 
| start | Σ | 0..1 | dateTime | Element IdShort description Starting time with inclusive boundaryDefinition CommentsThe start of the period. The boundary is inclusive.Data TypeIf the low element is missing, the meaning is that the low boundary is not known.dateTimeConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:DR.1rim:./lowBDT:8226
 | 
| end | Σ | 0..1 | dateTime | Element IdShort description End time with inclusive boundary, if not ongoingDefinition CommentsThe end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.Data TypeThe high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.dateTimeConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:DR.2rim:./highBDT:8227
 | 
Die Constraints add-1 bis add-7 zu beachten:
| key | severity | human | expression | 
|---|
| add-1 | error | Wenn die Extension 'Hausnummer' verwendet wird, muss auch Address.line gefüllt werden | line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber').empty() or $this.hasValue()) | 
| add-2 | error | Wenn die Extension 'Strasse' verwendet wird, muss auch Address.line gefüllt werden | line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').empty() or $this.hasValue()) | 
| add-3 | error | Wenn die Extension 'Postfach' verwendet wird, muss auch Address.line gefüllt werden | line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox').empty() or $this.hasValue()) | 
| add-4 | warning | Eine Postfach-Adresse darf nicht vom Type "physical" oder "both" sein. | line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox').empty() or $this.hasValue()) or type='postal' or type.empty() | 
| add-5 | error | Wenn die Extension 'Adresszusatz' verwendet wird, muss auch Address.line gefüllt werden | line.all($this.extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator').empty() or $this.hasValue()) | 
| add-6 | warning | Wenn die Extension 'Postfach' verwendet wird, dürfen die Extensions 'Strasse' und 'Hausnummer' nicht verwendet werden | 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())) | 
| add-7 | warning | Wenn die Extension 'Precinct' (Stadtteil) verwendet wird, dann muss diese Information auch als separates line-item abgebildet sein. | extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct').empty() or line.where(extension('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct').valueString=$this).exists() | 
Abbildung der Zustell- oder Abholangabe
Für Zustell- (z.B. Straße und Hausnummer) oder Abholangabe (z.B. Postfach mit Nummer) wird im FHIR-Standard bei der Adresse nicht zwischen Straße, Hausnummer, Postfach oder weiteren Zusätzen unterschieden. Sämtliche Angaben werden schlicht in ein oder mehrere line-Items geschrieben:
| Abbildung einer Zustellangabe | FHIR-Repräsentation (inkl. Index der Zeile) | 
| Zustellangabe (z.B. Straße und Hausnummer) | Address.line[0] | 
| Gebäudeteil, Stockwerk, Wohnungsnummer | Address.line[0] (offiziell abgetrennt durch "//" von der Straße, Hausnummer) | 
| Abbildung einer Zustellangabe ("c/o") | FHIR-Repräsentation (inkl. Index der Zeile) | 
| Name des Wohnungsinhabers | Address.line[0] | 
| Zustellangabe (z.B. Straße und Hausnummer) | Address.line[1] | 
| Gebäudeteil, Stockwerk, Wohnungsnummer | Address.line[1] (offiziell abgetrennt durch "//" von der Straße, Hausnummer ) | 
| Abbildung einer Abholangabe (Postfach) | FHIR-Repräsentation (inkl. Index der Zeile) | 
| Postfach | Address.line[0] | 
| Abbildung einer Abholangabe (Packstation) | FHIR-Repräsentation (inkl. Index der Zeile) | 
| Postnummer | Address.line[0] | 
| Packstationsnummer | Address.line[1] | 
Alle Adresse können zusätzlich einen Ortsteil enthalten. Weitere Infos siehe Abschnitt Stadtteil/Ortsteil.
In machen Fällen kann die explizite Differenzierung der Adressbestandteile in eigene Elemente erforderlich sein, sei es nur, um einen von der eGK eingelesenen Datensatz, in dem eine solche Differenzierung stattfindet, exakt reproduzieren zu können.
Für diesen Fall stehen diverse Extensions zur Verfügung.
Alle Extensions die innerhalb der Deutschen Basisprofile spezifiziert werden sind im Abschnitt Extension - Kontext Patient dokumentiert.
Es ist jedoch zu beachten, dass Address.line auch bei Verwendung der Extensions stets gefüllt sein muss, da nicht davon ausgegangen werden kann, dass alle Systeme die Extensions interpretieren können!
Im Allgemeinen wird der Code "both" zur Codierung von Address.type empfohlen. Ein Postfach inkl. Postfach Extension für Address.line muss mit "postal" als Type codiert werden.
Beispiele für Adressen ohne Extensions
<address>
    <line value="221B Baker Street"/>
    <city value="London"/>
</address>
<address>
    <use value="home" />
    <type value="both" />
    <line value="Milchstrasse 42" />
    <city value="Spöck" />
    <postalCode value="76297" />
    <country value="DE" />
 </address>
Beispiel für Addresse mit Straße-/Hausnummer-Extension
<address>
    <line value="Musterstraße 1">
        <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber">
            <valueString value="1" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName">
            <valueString value="Musterstraße" />
        </extension>
    </line>
    <city value="Musterstadt" />
    <postalCode value="77777" />
    <country value="DE" />
</address>
Beispiel für Postfach-Adresse
<address>
    <type value="postal" />
    <line value="Postfach 670525">
        <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox">
            <valueString value="Postfach 670525" />
        </extension>
    </line>
    <city value="Musterstadt" />
    <postalCode value="77777" />
    <country value="DE" />
</address>
Bei der Angabe einer Postfach-Adresse ist auf die Verwendung der entsprecheneden Angabe eines "type"-Elementes zu achten.
Stadtteil/Ortsteil
Nach § 21 KHEntgG muss beim Wohnort eines Patienten in Stadtstaaten zusätzlich in der Adresse der Stadtteil (oft auch "Ortsteil" genannt) angeben werden. Z.b. "Musterstraße 1a, 10409 Berlin, Kreuzberg". Es ist zu beachten, dass "Kreuzberg" hier ein eigenständiges Datenelement ist und nicht mit dem Wohnort (Address.city) vermischt werden sollte.
Der Ortsteil wird in FHIR als Address.line abgebildet. Zusätzlich kann die Extension iso21090-ADXP-precinct zur Differenzierung von anderen Adresskomponenten genutzt werden.
Beispiel:
<address>
  <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct">
      <valueString value="Kreuzberg"/>
  </extension>
  <line value="Erlanger Allee 112"/>
  <line value="Kreuzberg"/>
  <city value="Berlin"/>
</address>
Amtlicher Gemeindeschlüssel
Für Forschungsdatensätzen mit Bezug auf regionale Auswertungen kann zusätzlich zur PLZ der Amtliche Gemeindeschlüssel angegeben werden. Hierzu kann die Extension Extension-destatis-ags verwendet werden. Siehe Extension - Kontext Patient.