From 7aa969c17b084ca1ba230d2071ecba507371859e Mon Sep 17 00:00:00 2001 From: Nordine Bittich Date: Thu, 20 Jan 2022 10:27:55 +0100 Subject: [PATCH] add new reason code --- .../20220120100418-remove-old-reasons.sparql | 11 ++++++ .../20220120101318-insert-new-reasons.sparql | 37 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 config/migrations/20220120100418-remove-old-reasons.sparql create mode 100644 config/migrations/20220120101318-insert-new-reasons.sparql diff --git a/config/migrations/20220120100418-remove-old-reasons.sparql b/config/migrations/20220120100418-remove-old-reasons.sparql new file mode 100644 index 0000000..82bbd9c --- /dev/null +++ b/config/migrations/20220120100418-remove-old-reasons.sparql @@ -0,0 +1,11 @@ +DELETE { + GRAPH { + ?s ?p ?o + } +} + WHERE { + GRAPH { + ?s a ; + ?p ?o. + } +} \ No newline at end of file diff --git a/config/migrations/20220120101318-insert-new-reasons.sparql b/config/migrations/20220120101318-insert-new-reasons.sparql new file mode 100644 index 0000000..988df06 --- /dev/null +++ b/config/migrations/20220120101318-insert-new-reasons.sparql @@ -0,0 +1,37 @@ +PREFIX skos: +PREFIX ext: +PREFIX mu: + + INSERT DATA { + GRAPH { + a ext:ReasonCode, + skos:Concept; + mu:uuid "3aeec145-acf3-4b6e-9c00-5b8e285736e0"; + skos:prefLabel "Aanmaken van een persoon". + + a ext:ReasonCode, + skos:Concept; + mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e1"; + skos:prefLabel "In het kader van administratief toezicht". + + a ext:ReasonCode, + skos:Concept; + mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e2"; + skos:prefLabel "In het kader van een screeningsdossier". + + a ext:ReasonCode, + skos:Concept; + mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e3"; + skos:prefLabel "In het kader van een erkenningsdossier". + + a ext:ReasonCode, + skos:Concept; + mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e4"; + skos:prefLabel "In het kader van een wijzigingsdossier". + + a ext:ReasonCode, + skos:Concept; + mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e5"; + skos:prefLabel "In het kader van een informatie-uitwisseling (cfr. protocol) met een overheidsinstelling". + } +} \ No newline at end of file