Skip to content

Commit e233dd5

Browse files
Merge pull request #87 from gematik/feature/86-country-codes
Lösungsansatz für Länder ohne ISO 3166-1 Codes
2 parents ff00ace + 0de6a41 commit e233dd5

17 files changed

Lines changed: 5416 additions & 10 deletions

src/fhir/fsh-generated/data/fsh-index.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,14 @@
183183
"startLine": 1,
184184
"endLine": 24
185185
},
186+
{
187+
"outputFile": "Bundle-019b0758-2d32-7576-99c7-f90818235c4f.json",
188+
"fshName": "VSDMBundle-GKV-P678901232",
189+
"fshType": "Instance",
190+
"fshFile": "examples/VSDMBundle-GKV-P678901232.fsh",
191+
"startLine": 1,
192+
"endLine": 21
193+
},
186194
{
187195
"outputFile": "CodeSystem-VSDMErrorcodeCS.json",
188196
"fshName": "VSDMErrorcodeCS",
@@ -191,6 +199,14 @@
191199
"startLine": 1,
192200
"endLine": 23
193201
},
202+
{
203+
"outputFile": "CodeSystem-VSDMISO3166ErgaenzungCS.json",
204+
"fshName": "VSDMISO3166ErgaenzungCS",
205+
"fshType": "CodeSystem",
206+
"fshFile": "codesystems/VSDMISO3166ErgaenzungCS.fsh",
207+
"startLine": 1,
208+
"endLine": 35
209+
},
194210
{
195211
"outputFile": "CodeSystem-VSDMKostentraegerRolleCS.json",
196212
"fshName": "VSDMKostentraegerRolleCS",
@@ -215,6 +231,14 @@
215231
"startLine": 1,
216232
"endLine": 21
217233
},
234+
{
235+
"outputFile": "ConceptMap-VSDMDEUEVAnlage8ISO3166.json",
236+
"fshName": "VSDMDEUEVAnlage8ISO3166",
237+
"fshType": "Instance",
238+
"fshFile": "mappings/VSDMDEUEVAnlage8ISO3166.fsh",
239+
"startLine": 1,
240+
"endLine": 2031
241+
},
218242
{
219243
"outputFile": "ConceptMap-VSDMErrorcodeIssueSeverity.json",
220244
"fshName": "VSDMErrorcodeIssueSeverity",
@@ -471,6 +495,14 @@
471495
"startLine": 1,
472496
"endLine": 8
473497
},
498+
{
499+
"outputFile": "ValueSet-VSDMISO3166ErgaenzungVS.json",
500+
"fshName": "VSDMISO3166ErgaenzungVS",
501+
"fshType": "ValueSet",
502+
"fshFile": "valuesets/VSDMISO3166ErgaenzungVS.fsh",
503+
"startLine": 1,
504+
"endLine": 7
505+
},
474506
{
475507
"outputFile": "ValueSet-VSDMKostentraegerRolleVS.json",
476508
"fshName": "VSDMKostentraegerRolleVS",

src/fhir/fsh-generated/fsh-index.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,13 @@ Bundle-019aa697-c1ff-73b0-a222-ca57e6f14a96.json VSDMBund
2222
Bundle-019aa697-d1e9-7c8b-a283-34cfeae9fc8e.json VSDMBundle-GKV-D456789013 Instance examples/VSDMBundle-GKV-D456789013.fsh 1 - 21
2323
Bundle-019aa697-e026-7735-b898-09ead32a7fa5.json VSDMBundle-GKV-C345678908 Instance examples/VSDMBundle-GKV-C345678908.fsh 1 - 21
2424
Bundle-019aa697-f160-72cd-b2eb-923d24dcce1a.json VSDMBundle-GKV-B234567895 Instance examples/VSDMBundle-GKV-B234567895.fsh 1 - 24
25+
Bundle-019b0758-2d32-7576-99c7-f90818235c4f.json VSDMBundle-GKV-P678901232 Instance examples/VSDMBundle-GKV-P678901232.fsh 1 - 21
2526
CodeSystem-VSDMErrorcodeCS.json VSDMErrorcodeCS CodeSystem codesystems/VSDMErrorcodeCS.fsh 1 - 23
27+
CodeSystem-VSDMISO3166ErgaenzungCS.json VSDMISO3166ErgaenzungCS CodeSystem codesystems/VSDMISO3166ErgaenzungCS.fsh 1 - 35
2628
CodeSystem-VSDMKostentraegerRolleCS.json VSDMKostentraegerRolleCS CodeSystem codesystems/VSDMKostentraegerRolleCS.fsh 1 - 13
2729
CodeSystem-VSDMRuhenderLeistungsanspruchArtCS.json VSDMRuhenderLeistungsanspruchArtCS CodeSystem codesystems/VSDMRuhenderLeistungsanspruchArtCS.fsh 1 - 23
2830
CodeSystem-VSDMVersichertenartPKVCS.json VSDMVersichertenartPKVCS CodeSystem codesystems/VSDMVersichertenartPKVCS.fsh 1 - 21
31+
ConceptMap-VSDMDEUEVAnlage8ISO3166.json VSDMDEUEVAnlage8ISO3166 Instance mappings/VSDMDEUEVAnlage8ISO3166.fsh 1 - 2031
2932
ConceptMap-VSDMErrorcodeIssueSeverity.json VSDMErrorcodeIssueSeverity Instance mappings/VSDMErrorcodeIssueSeverity.fsh 1 - 101
3033
ConceptMap-VSDMErrorcodeIssueType.json VSDMErrorcodeIssueType Instance mappings/VSDMErrorcodeIssueType.fsh 1 - 112
3134
OperationOutcome-VSDMOperationOutcome-InternalServerError.json VSDMOperationOutcome-InternalServerError Instance examples/VSDMOperationOutcome-InternalServerError.fsh 1 - 20
@@ -58,6 +61,7 @@ StructureDefinition-VSDMTarifartPKV.json VSDMTari
5861
StructureDefinition-VSDMVersichertenartPKV.json VSDMVersichertenartPKV Extension extensions/VSDMVersichertenartPKV.fsh 1 - 20
5962
ValueSet-VSDMDMPVS.json VSDMDMPVS ValueSet valuesets/VSDMDMPVS.fsh 1 - 69
6063
ValueSet-VSDMErrorcodeVS.json VSDMErrorcodeVS ValueSet valuesets/VSDMErrorcodeVS.fsh 1 - 8
64+
ValueSet-VSDMISO3166ErgaenzungVS.json VSDMISO3166ErgaenzungVS ValueSet valuesets/VSDMISO3166ErgaenzungVS.fsh 1 - 7
6165
ValueSet-VSDMKostentraegerRolleVS.json VSDMKostentraegerRolleVS ValueSet valuesets/VSDMKostentraegerRolleVS.fsh 1 - 7
6266
ValueSet-VSDMNamenszusatzVS.json VSDMNamenszusatzVS ValueSet valuesets/VSDMNamenszusatzVS.fsh 1 - 7
6367
ValueSet-VSDMRuhenderLeistungsanspruchArtVS.json VSDMRuhenderLeistungsanspruchArtVS ValueSet valuesets/VSDMRuhenderLeistungsanspruchArtVS.fsh 1 - 7
Lines changed: 233 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,233 @@
1+
{
2+
"resourceType": "Bundle",
3+
"id": "019b0758-2d32-7576-99c7-f90818235c4f",
4+
"meta": {
5+
"profile": [
6+
"https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMBundle|1.0.0"
7+
],
8+
"lastUpdated": "2025-07-14T15:16:17.890+01:00"
9+
},
10+
"type": "collection",
11+
"timestamp": "2025-07-14T15:16:17.890+01:00",
12+
"entry": [
13+
{
14+
"fullUrl": "https://gematik.de/fhir/Patient/019b0758-985e-7703-b4f7-c5064736aed2",
15+
"resource": {
16+
"resourceType": "Patient",
17+
"id": "019b0758-985e-7703-b4f7-c5064736aed2",
18+
"meta": {
19+
"profile": [
20+
"https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMPatient|1.0.0"
21+
]
22+
},
23+
"identifier": [
24+
{
25+
"system": "http://fhir.de/sid/gkv/kvid-10",
26+
"value": "P678901232"
27+
}
28+
],
29+
"name": [
30+
{
31+
"use": "official",
32+
"text": "Paula Pinguin",
33+
"family": "Pinguin",
34+
"_family": {
35+
"extension": [
36+
{
37+
"url": "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
38+
"valueString": "Pinguin"
39+
}
40+
]
41+
},
42+
"given": [
43+
"Paula"
44+
]
45+
}
46+
],
47+
"address": [
48+
{
49+
"type": "physical",
50+
"line": [
51+
"Rruga e UQK-se N:62"
52+
],
53+
"_line": [
54+
{
55+
"extension": [
56+
{
57+
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
58+
"valueString": "62"
59+
},
60+
{
61+
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
62+
"valueString": "Rruga e UQK-se"
63+
}
64+
]
65+
}
66+
],
67+
"city": "Prishtina",
68+
"postalCode": "10000",
69+
"country": "Kosovo",
70+
"_country": {
71+
"extension": [
72+
{
73+
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-codedString",
74+
"valueCoding": {
75+
"code": "XK",
76+
"system": "https://gematik.de/fhir/vsdm2/CodeSystem/VSDMISO3166ErgaenzungCS"
77+
}
78+
},
79+
{
80+
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-codedString",
81+
"valueCoding": {
82+
"code": "KOS",
83+
"system": "http://fhir.de/CodeSystem/deuev/anlage-8-laenderkennzeichen"
84+
}
85+
}
86+
]
87+
}
88+
}
89+
],
90+
"birthDate": "2009-06-08",
91+
"gender": "female"
92+
}
93+
},
94+
{
95+
"fullUrl": "https://gematik.de/fhir/Coverage/019b0758-5ce0-7711-a5da-cffbb256cffd",
96+
"resource": {
97+
"resourceType": "Coverage",
98+
"id": "019b0758-5ce0-7711-a5da-cffbb256cffd",
99+
"meta": {
100+
"profile": [
101+
"https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMCoverageGKV|1.0.0"
102+
]
103+
},
104+
"type": {
105+
"coding": [
106+
{
107+
"code": "GKV",
108+
"system": "http://fhir.de/CodeSystem/versicherungsart-de-basis"
109+
}
110+
]
111+
},
112+
"extension": [
113+
{
114+
"url": "http://fhir.de/StructureDefinition/gkv/wop",
115+
"valueCoding": {
116+
"system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP",
117+
"code": "52",
118+
"display": "Baden-Württemberg"
119+
}
120+
},
121+
{
122+
"url": "http://fhir.de/StructureDefinition/gkv/versichertenart",
123+
"valueCoding": {
124+
"code": "3",
125+
"system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS",
126+
"display": "Familienangehoerige"
127+
}
128+
},
129+
{
130+
"url": "http://fhir.de/StructureDefinition/gkv/zuzahlungsstatus",
131+
"extension": [
132+
{
133+
"url": "status",
134+
"valueBoolean": true
135+
},
136+
{
137+
"url": "gueltigBis",
138+
"valueDate": "2027-06-09"
139+
}
140+
]
141+
}
142+
],
143+
"payor": [
144+
{
145+
"extension": [
146+
{
147+
"valueCoding": {
148+
"system": "https://gematik.de/fhir/vsdm2/CodeSystem/VSDMKostentraegerRolleCS",
149+
"code": "H",
150+
"display": "Haupt-Kostenträger"
151+
},
152+
"url": "https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMKostentraegerRolle"
153+
}
154+
],
155+
"reference": "Organization/VSDMPayorOrganization-107668422"
156+
}
157+
],
158+
"status": "active",
159+
"beneficiary": {
160+
"reference": "https://gematik.de/fhir/Patient/019b0758-985e-7703-b4f7-c5064736aed2"
161+
},
162+
"period": {
163+
"start": "2009-06-08"
164+
}
165+
}
166+
},
167+
{
168+
"fullUrl": "https://gematik.de/fhir/Organization/019aa691-efa4-7cfc-8f83-82387d397bce",
169+
"resource": {
170+
"resourceType": "Organization",
171+
"id": "019aa691-efa4-7cfc-8f83-82387d397bce",
172+
"meta": {
173+
"profile": [
174+
"https://gematik.de/fhir/vsdm2/StructureDefinition/VSDMPayorOrganization|1.0.0"
175+
]
176+
},
177+
"identifier": [
178+
{
179+
"system": "http://fhir.de/sid/arge-ik/iknr",
180+
"value": "107668422"
181+
}
182+
],
183+
"address": [
184+
{
185+
"country": "Deutschland",
186+
"_country": {
187+
"extension": [
188+
{
189+
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-codedString",
190+
"valueCoding": {
191+
"code": "DE",
192+
"system": "urn:iso:std:iso:3166"
193+
}
194+
},
195+
{
196+
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-codedString",
197+
"valueCoding": {
198+
"code": "D",
199+
"system": "http://fhir.de/CodeSystem/deuev/anlage-8-laenderkennzeichen"
200+
}
201+
}
202+
]
203+
}
204+
}
205+
],
206+
"name": "Beispielkostenträger Offenburg",
207+
"contact": [
208+
{
209+
"purpose": {
210+
"coding": [
211+
{
212+
"code": "BILL",
213+
"system": "http://terminology.hl7.org/CodeSystem/contactentity-type"
214+
}
215+
],
216+
"text": "Kontakt für Abrechnungsfragen"
217+
},
218+
"telecom": [
219+
{
220+
"system": "phone",
221+
"value": "+4952116391643"
222+
},
223+
{
224+
"system": "email",
225+
"value": "contact@kostentraeger.invalid"
226+
}
227+
]
228+
}
229+
]
230+
}
231+
}
232+
]
233+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"resourceType": "CodeSystem",
3+
"status": "active",
4+
"content": "complete",
5+
"name": "VSDMISO3166ErgaenzungCS",
6+
"id": "VSDMISO3166ErgaenzungCS",
7+
"title": "ergänzende Ländercodes",
8+
"description": "ergänzende Ländercodes zu ISO 3166-1 im Versichertenstammdatenmanagement (VSDM) 2.0",
9+
"version": "1.0.0",
10+
"url": "https://gematik.de/fhir/vsdm2/CodeSystem/VSDMISO3166ErgaenzungCS",
11+
"concept": [
12+
{
13+
"code": "XK",
14+
"display": "Kosovo, Republic of",
15+
"definition": "Die Republik Kosovo ist völkerrechtlich umstritten. \n118 der 193 UNO-Mitglieder - darunter auch Deutschland - haben den Staat bisher anerkannt. \nDie formellen Kriterien für die Zuteilung eines Codes durch die ISO sind seit 2009 erfüllt; bisher ist allerdings kein Code zugeteilt worden.\nDer Code XK entspricht der To Level-Domain .xk und wird in verschiedenen Wirtschaftsbereichen bereits verwendet.\nDie mit X beginnenden Codes sind inoffizielle, behelfmäßige Zuweisungen; der Namensbereich wird von der ISO nicht vergeben.\nEine Kollision ist damit ausgeschlossen, allerdings wird der Code bei Vergabe eines offiziellen Codes ersetzt werden müssen.",
16+
"designation": [
17+
{
18+
"language": "de-DE",
19+
"value": "Kosovo, Republik"
20+
}
21+
]
22+
},
23+
{
24+
"code": "CP",
25+
"display": "Clipperton",
26+
"definition": "Clipperton hat seit 1. Januar 2008 den ISO-3166-2-Code FR-CP. \nAußerdem hat Clipperton einen ausnahmsweise reservierten Code ISO 3166-1:CP. \nDieser Code existiert nur aufgrund der Verwendung in anderen Standards und sollte nicht für eine Kodierung nach ISO 3166-1 verwendet werden.\nDa die Clipperton-Insel unbewohnt ist, ist die Praxisrelevanz für VSDM 2.0 gering; der Code dient lediglich der vollständigen Abdeckung durch die ConceptMap.",
27+
"designation": [
28+
{
29+
"language": "de-DE",
30+
"value": "Clipperton"
31+
}
32+
]
33+
}
34+
],
35+
"experimental": false,
36+
"publisher": "gematik GmbH",
37+
"date": "2023-12-31",
38+
"caseSensitive": true,
39+
"purpose": "Im VSDM 2.0 werden Länderkennungen in Adressdaten grundsätzlich nach ISO 3166-1 und für den GKV-Bereich zusätzlich nach DEÜV Anlage 8 kodiert.\nDie DEÜV spiegelt den Stand in den Quellsystemen, aus denen die VSDM 2.0-Fachdienste versorgt werden, wieder.\nIn der DEÜV gibt es Ländercodes, die sich nicht auf den zum Zeitpunkt der Veröffentlichung bestehenden Stand der ISO 3166-1 abbilden lassen.\nDieses CodeSystem enthält zusätzlichen Ländercodes, um eine verlustfreie Abbildung zu ermöglichen.",
40+
"count": 2
41+
}

0 commit comments

Comments
 (0)