dc0137b2a2
* keeps responsible data in compensation model for potential future purposes * refactors registration_office and conservation_office to map onto KonovaCodes instead of own Organization model * adds str_as_office property-method to KonovaCode to provide an easy way of rendering template data * adds missing highlighting in case of missing information about registration office and conservation office * extends KonovaCode command update_codelist.py for CODELIST_PROCESS_TYPE_ID * adds preselectors for konova codes in models of CompensationAction, Law and CompensationState
25 lines
967 B
Python
25 lines
967 B
Python
"""
|
|
Author: Michel Peltriaux
|
|
Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany
|
|
Contact: michel.peltriaux@sgdnord.rlp.de
|
|
Created on: 23.08.21
|
|
|
|
"""
|
|
|
|
# Codelist definitions
|
|
CODELIST_BASE_URL = "https://codelisten.naturschutz.rlp.de/repository/referenzliste"
|
|
|
|
# Identifier
|
|
CODELIST_INTERVENTION_HANDLER_ID = 903 # CLMassnahmeträger
|
|
CODELIST_CONSERVATION_OFFICE_ID = 907 # CLNaturschutzbehörden
|
|
CODELIST_REGISTRATION_OFFICE_ID = 1053 # CLZulassungsbehörden
|
|
CODELIST_BIOTOPES_ID = 974 # CL_EIV_Biotoptypen
|
|
CODELIST_LAW_ID = 1048 # CLVerfahrensrecht
|
|
CODELIST_PROCESS_TYPE_ID = 44382 # CLVerfahrenstyp
|
|
|
|
CODELIST_COMPENSATION_HANDLER_ID = 1052 # CLEingreifer
|
|
CODELIST_COMPENSATION_ACTION_ID = 1026 # CLMassnahmedetail
|
|
CODELIST_COMPENSATION_ACTION_CLASS_ID = 1034 # CLMassnahmeklasse
|
|
CODELIST_COMPENSATION_ADDITIONAL_TYPE_ID = 1028 # CLMassnahmetyp, CEF and stuff
|
|
CODELIST_COMPENSATION_COMBINATION_ID = 1049 # CLKombimassnahme
|