Code Lists - danmarksmiljoeportal/DkJord GitHub Wiki

DKJord uses a number of code list when exchanging data via the REST service. When using code lists to describe data objects, it is important that these are in sync between DKJord and the external systems supplying data to DKJord. If code lists get out of sync, then validation will fail, when one system tries to send data with a code value to the other system that both do not understand.

There are two methods in which DKJord and the Regions (who supply data) are or are planning to ensure that code lists are in sync. The first method is manual, meaning that both parties will agree on changes to code lists and ensure updates for them in all systems at the same time. The second method is by ensuring that both parties get their official code lists automatically from the online repository called Stancode.

The second method is currently being considered and may be implemented in the coming period. We will update this page to show whether any code list has converted to automatically using Stancode lists.

For now, though, the only method used to update code lists is manual. The process for manual update entails that the Regions inform DKJord that they have decided to make changes to a specific code list in their systems. The parties agree to the change and its timeplan, and subsequently DKJord runs a change script on its database to apply the agreed upon changes.

Even if a code list is updated manually, it does not mean that the code list cannot or will not exist in the Stancode repository. Many of the code lists that are used are also officially maintained in Stancode, but DKJord does not use them automatically and there is thus no guarantee, that the Stancode exactly represent the lists that are used in DKJord.

Below, we will give an overview of all the code lists that are used in DKJord as well as the web service methods in which they are used.

CodeType Description No. of options Option example Method/Object
1 Status for forurenede arealer [00159] 19 07: V1 kortlagt08: V2 kortlagt12: Lokaliseret (uafklaret). Oprydning iværksat Location/[Location]Parcel/[Parcel]Location/[StatusDeclarationCode]
2 Arealets anvendelse [00115] 26 10: Sommerhuse17: Fyld- og losseplads04: Kontor- og erhverv Location/[Section8Authorization]
3 Baggrund for status for forurende arealer [00116] 11 00: Ikke oplyst01: Undersøgelse02: Afværgeforanstaltninger Location/[Section8Authorization]Location/[StatusDeclarationCode]
5 Aktivitetstype [Intern-1] 1298 00.01.50: Ubebygget29.22.20: Fremstilling af kraner samt talje- og hejseværker21.25.00: Fremstilling af andre papir- og papvarer i.a.n. Location/[PollutionCause]
6 Forureningskomponent [00019] 2023 9917: PID0006: Støv9186: E.coli Location/[PollutantComponent]
7 Forurenet medie [00158] 8 00: Ikke oplyst01: Jord02: Grundvand Location/[PollutantComponent]
9 Indsatsområde [00208] 14 01: Bolig02: Børneinstitution03: Offentlig legeplads Location/[CurrentTargetArea]Location/[ProjectCode]
10 Lovgrundlag [00113] 23 01: Depotlovens paragraf 703: Frivillig oprydning efter affaldsdepotloven.99: Andet Location/[ProjectCode]
11 Projektfaser [00149] 31 08: Afv. etabl., jord07: Afv. etabl., pumpning28: Historisk redegørelse Location/[ProjectPhase]
12 Pumpning [00150] 5 00: Ikke oplyst01: 0-5 år02: 5-10 år Location/[Treatment]
13 Deponering-Rensning [00152] 25 14: Bortkørt jord uden rensning06: Jord renset, ikke opgravet21: Slutdeponeret på ejendom (§19) Location/[Treatment]
14 Rensemetode [00153] 15 00: Ikke oplyst01: Ex site - biologisk02: Ex site - termisk Location/[Treatment]
15 Immobilisering [00154] 5 00: Ikke oplyst01: Befæstning med asfalt eller lign.02: Membran Location/[Treatment]
16 Foranstaltninger mod afdampning til indeklima [00155] 8 00: Ikke oplyst01: Aktiv ventilering02: Passiv ventilering Location/[Treatment]
17 Foranstaltninger mod lossepladsgas [00156] 9 00: Ikke oplyst01: Bygningsmæssige foranstaltninger02: Aktiv ventilering Location/[Treatment]
18 Monitering [00157] 9 00: Ikke oplyst01: Grundvandsforurening02: Recipient Location/[Treatment]
19 Betaler [00148] 9 00: Ikke oplyst01: Amt02: Stat Location/[ProjectCode]
20 Nuancering [00339] 4 00: Ikke oplyst01: F0 Nuanceret02: F1 Nuanceret Parcel/[Parcel]location/[StatusDeclarationCode]
22 Planlagt indsats [00341] 37 06: Tilsyn, kommune19: Monitering, naturlig nedbrydning02: Historisk redegørelse Location/[PlannedAction]
25 Branchekode [Intern-2] 123 95.00.00: Private husholdninger med ansat medhjælp34.00.00: Fremstilling af biler mv.52.00.00: Detailhandel undtagen med biler mv.; reparationsvirksomhed Location/[BranchGroupCode]
26 Aktivitetstype [00342] 102 085: Diffus forurening, trafik058: Metal, anden anvendelse af095: Uheld Location/[PollutionActivityCode]