HL7Austria / HL7-AT-FHIR-Core-R5

This repository serves to host the HL7® FHIR® TC developed FHIR® profiles in R5 for the Austrian domain.
1 stars 0 forks source link

Add the Gemeindecode as an Extension to the AustrianAddress #17

Closed alackerbauer closed 2 weeks ago

alackerbauer commented 2 months ago

Real Submitter ELGA GmbH

Resource(s)/Profiles incl. Version https://fhir.hl7.at/r5-core-ballot_2024_stu2/StructureDefinition-at-core-address.html

Links https://github.com/HL7Austria/HL7-AT-FHIR-Core-R5/blob/main/input/fsh/at-core-address.fsh

Priority Major

Is your feature request related to a problem? Please describe. In Austria, in addition to the postal code, there is also a "Gemeindecode," a unique municipality code that differs from the postal code and does not correspond 1:1 with it. The Gemeindecode is assigned by Statistik Austria and is used for statistical and administrative purposes. A map with the names and codes of municipalities can be found via this link provided by Statistik Austria: Municipality List with Codes.

Describe the solution you'd like A new extension (datatype: string, 0..1) for the Gemeindecode should be created (context: address) with a cardinality of 0..1 and will be added to the AT-Core profile for Address.

Describe alternatives you've considered An additional slice on the 'line' element was considered but deemed incorrect, as the Gemeindecode is not used for generating address labels (the intended purpose of 'line' according to its description). Furthermore, the Gemeindecode corresponds to a higher level, similar to a postal code, and not to an address line. Therefore, it was decided that an extension at that level is the appropriate solution.

alackerbauer commented 2 months ago

Result from the Ballot Reconciliation: Municipality codes (Gemeindecodes) are essential for specific applications, particularly for billing purposes, and cannot be derived from other identifiers, such as postal codes. The new extension value is represented as a string, despite being numeric, due to the absence of a standardized structure for municipality codes. While all existing examples are numeric and none begin with a zero, we cannot assume this will always be the case in the future.

The following be changed: An extension to the top level of the Austrian Address will be added to represent the municipality code.

alackerbauer commented 2 months ago

Pull Request: #20