PersoonBeperkt: Suspension of maintenance
#language: en Feature: PersoonBeperkt: Suspension of maintenance Background: Given the person with citizen service number '000000024' has the following data | voornamen (02.10) | voorvoegsel (02.30) | geslachtsnaam (02.40) | geboortedatum (03.10) | geslachtsaanduiding (04.10) | | William | de | Vries | 20040526 | M | And the person has the following 'verblijfplaats' data | gemeente van inschrijving (09.10) | | 0530 | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | identificatiecode nummeraanduiding (11.90) | postcode (11.60) | huisnummer (11.20) | straatnaam (11.10) | | 0530 | 0599200000219679 | 1628HJ | 31 | Haagse Reigerstraat | Rule: persons with a removed personal record are not found when searching Scenario Outline: a person suspended with reason "F" (error) is searched for by surname and date of birth <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | F | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Vries | | geboortedatum | 2004-05-26 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has 0 persons Examples: | inclusief overleden personen | zoek overleden personen type | | true | inclusief | | false | exclusief | Scenario Outline: a person suspended with reason "F" (error) is searched for by surname, given names and municipality of registration <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | F | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetNaamEnGemeenteVanInschrijving | | geslachtsnaam | Vries | | voornamen | William | | gemeenteVanInschrijving | 0530 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has 0 persons Examples: | inclusief overleden personen | zoek overleden personen type | | true | inclusief | | false | exclusief | Scenario Outline: a person suspended with reason "F" (error) is searched for by house number designation identification <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | F | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetNummeraanduidingIdentificatie | | nummeraanduidingIdentificatie | 0599200000219679 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has 0 persons Examples: | inclusief overleden personen | zoek overleden personen type | | true | inclusief | | false | exclusief | Scenario Outline: a person suspended with reason "F" (error) is searched for by postal code and house number <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | F | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetPostcodeEnHuisnummer | | postcode | 1628HJ | | huisnummer | 31 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has 0 persons Examples: | inclusief overleden personen | zoek overleden personen type | | true | inclusief | | false | exclusief | Scenario Outline: a person suspended with reason "F" (error) is searched for by street, house number and municipality of registration <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | F | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetStraatHuisnummerEnGemeenteVanInschrijving | | gemeenteVanInschrijving | 0530 | | straat | Haagse Reigerstraat | | huisnummer | 31 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has 0 persons Examples: | inclusief overleden personen | zoek overleden personen type | | true | inclusief | | false | exclusief | Rule: persons on a logically deleted personal record are not found when searching Scenario Outline: a person suspended with reason "W" (erasure) is searched for by surname and date of birth <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | W | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Vries | | geboortedatum | 2004-05-26 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has 0 persons Examples: | inclusief overleden personen | zoek overleden personen type | | true | inclusief | | false | exclusief | Scenario Outline: a person suspended with reason "W" (erasure) is searched for by surname, given names and municipality of registration <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | W | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetNaamEnGemeenteVanInschrijving | | geslachtsnaam | Vries | | voornamen | William | | gemeenteVanInschrijving | 0530 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has 0 persons Examples: | inclusief overleden personen | zoek overleden personen type | | true | inclusief | | false | exclusief | Scenario Outline: a person suspended with reason "W" (erasure) is searched for by house number designation identification <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | W | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetNummeraanduidingIdentificatie | | nummeraanduidingIdentificatie | 0599200000219679 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has 0 persons Examples: | inclusief overleden personen | zoek overleden personen type | | true | inclusief | | false | exclusief | Scenario Outline: a person suspended with reason "W" (erasure) is searched for by postal code and house number <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | W | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetPostcodeEnHuisnummer | | postcode | 1628HJ | | huisnummer | 31 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has 0 persons Examples: | inclusief overleden personen | zoek overleden personen type | | true | inclusief | | false | exclusief | Scenario Outline: a person suspended with reason "W" (erasure) is searched for by street, house number and municipality of registration <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | W | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetStraatHuisnummerEnGemeenteVanInschrijving | | gemeenteVanInschrijving | 0530 | | straat | Haagse Reigerstraat | | huisnummer | 31 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has 0 persons Examples: | inclusief overleden personen | zoek overleden personen type | | true | inclusief | | false | exclusief | Rule: The optional 'inclusiefOverledenPersonen' parameter must be supplied in order to find a deceased person Scenario: a person suspended with reason "O" (death) is searched for by surname and date of birth excluding deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | O | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Vries | | geboortedatum | 2004-05-26 | | fields | burgerservicenummer | Then the response has 0 persons Scenario: a person suspended with reason "O" (death) is searched for by surname and date of birth including deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | O | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Vries | | geboortedatum | 2004-05-26 | | inclusiefOverledenPersonen | true | | fields | burgerservicenummer | Then the response has a person with the following data | naam | waarde | | burgerservicenummer | 000000024 | | opschortingBijhouding.reden.code | O | | opschortingBijhouding.reden.omschrijving | overlijden | | opschortingBijhouding.datum.type | Datum | | opschortingBijhouding.datum.datum | 2022-08-29 | | opschortingBijhouding.datum.langFormaat | 29 augustus 2022 | Scenario Outline: a person suspended with reason "<reden opschorting bijhouding>" (<reden opschorting omschrijving>) is searched for by surname and date of birth <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | <reden opschorting bijhouding> | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Vries | | geboortedatum | 2004-05-26 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has a person with the following data | naam | waarde | | burgerservicenummer | 000000024 | | opschortingBijhouding.reden.code | <reden opschorting bijhouding> | | opschortingBijhouding.reden.omschrijving | <reden opschorting omschrijving> | | opschortingBijhouding.datum.type | Datum | | opschortingBijhouding.datum.datum | 2022-08-29 | | opschortingBijhouding.datum.langFormaat | 29 augustus 2022 | Examples: | reden opschorting bijhouding | reden opschorting omschrijving | inclusief overleden personen | zoek overleden personen type | | E | emigratie | true | inclusief | | M | ministerieel besluit | true | inclusief | | R | pl is aangelegd in de rni | true | inclusief | | . | onbekend | true | inclusief | | E | emigratie | false | exclusief | | M | ministerieel besluit | false | exclusief | | R | pl is aangelegd in de rni | false | exclusief | | . | onbekend | false | exclusief | Scenario: a person suspended with reason O" (death) is searched for by surname, given names and municipality of registration excluding deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | O | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetNaamEnGemeenteVanInschrijving | | geslachtsnaam | Vries | | voornamen | William | | gemeenteVanInschrijving | 0530 | | fields | burgerservicenummer | Then the response has 0 persons Scenario: a person suspended with reason O" (death) is searched for by surname, given names and municipality of registration including deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | O | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetNaamEnGemeenteVanInschrijving | | geslachtsnaam | Vries | | voornamen | William | | gemeenteVanInschrijving | 0530 | | inclusiefOverledenPersonen | true | | fields | burgerservicenummer | Then the response has a person with the following data | naam | waarde | | burgerservicenummer | 000000024 | | opschortingBijhouding.reden.code | O | | opschortingBijhouding.reden.omschrijving | overlijden | | opschortingBijhouding.datum.type | Datum | | opschortingBijhouding.datum.datum | 2022-08-29 | | opschortingBijhouding.datum.langFormaat | 29 augustus 2022 | Scenario Outline: a person suspended with reason "<reden opschorting bijhouding>" (<reden opschorting omschrijving>) is searched for by surname, given names and municipality of registration <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | <reden opschorting bijhouding> | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetNaamEnGemeenteVanInschrijving | | geslachtsnaam | Vries | | voornamen | William | | gemeenteVanInschrijving | 0530 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has a person with the following data | naam | waarde | | burgerservicenummer | 000000024 | | opschortingBijhouding.reden.code | <reden opschorting bijhouding> | | opschortingBijhouding.reden.omschrijving | <reden opschorting omschrijving> | | opschortingBijhouding.datum.type | Datum | | opschortingBijhouding.datum.datum | 2022-08-29 | | opschortingBijhouding.datum.langFormaat | 29 augustus 2022 | Examples: | reden opschorting bijhouding | reden opschorting omschrijving | inclusief overleden personen | zoek overleden personen type | | E | emigratie | true | inclusief | | M | ministerieel besluit | true | inclusief | | R | pl is aangelegd in de rni | true | inclusief | | . | onbekend | true | inclusief | | E | emigratie | false | exclusief | | M | ministerieel besluit | false | exclusief | | R | pl is aangelegd in de rni | false | exclusief | | . | onbekend | false | exclusief | Scenario: a person suspended with reason "O" (death) is searched for by house number designation identification excluding deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | O | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetNummeraanduidingIdentificatie | | nummeraanduidingIdentificatie | 0599200000219679 | | fields | burgerservicenummer | Then the response has 0 persons Scenario: a person suspended with reason "O" (death) is searched for by house number designation identification including deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | O | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetNummeraanduidingIdentificatie | | nummeraanduidingIdentificatie | 0599200000219679 | | inclusiefOverledenPersonen | true | | fields | burgerservicenummer | Then the response has a person with the following data | naam | waarde | | burgerservicenummer | 000000024 | | opschortingBijhouding.reden.code | O | | opschortingBijhouding.reden.omschrijving | overlijden | | opschortingBijhouding.datum.type | Datum | | opschortingBijhouding.datum.datum | 2022-08-29 | | opschortingBijhouding.datum.langFormaat | 29 augustus 2022 | Scenario Outline: a person suspended with reason "<reden opschorting bijhouding>" (<reden opschorting omschrijving>) is searched for by house number designation identification <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | <reden opschorting bijhouding> | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetNummeraanduidingIdentificatie | | nummeraanduidingIdentificatie | 0599200000219679 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has a person with the following data | naam | waarde | | burgerservicenummer | 000000024 | | opschortingBijhouding.reden.code | <reden opschorting bijhouding> | | opschortingBijhouding.reden.omschrijving | <reden opschorting omschrijving> | | opschortingBijhouding.datum.type | Datum | | opschortingBijhouding.datum.datum | 2022-08-29 | | opschortingBijhouding.datum.langFormaat | 29 augustus 2022 | Examples: | reden opschorting bijhouding | reden opschorting omschrijving | inclusief overleden personen | zoek overleden personen type | | E | emigratie | true | inclusief | | M | ministerieel besluit | true | inclusief | | R | pl is aangelegd in de rni | true | inclusief | | . | onbekend | true | inclusief | | E | emigratie | false | exclusief | | M | ministerieel besluit | false | exclusief | | R | pl is aangelegd in de rni | false | exclusief | | . | onbekend | false | exclusief | Scenario Outline: a person suspended with reason "O" (death) is searched for by postal code and house number excluding deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | O | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetPostcodeEnHuisnummer | | postcode | 1628HJ | | huisnummer | 31 | | fields | burgerservicenummer | Then the response has 0 persons Scenario Outline: a person suspended with reason "O" (death) is searched for by postal code and house number including deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | O | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetPostcodeEnHuisnummer | | postcode | 1628HJ | | huisnummer | 31 | | inclusiefOverledenPersonen | true | | fields | burgerservicenummer | Then the response has a person with the following data | naam | waarde | | burgerservicenummer | 000000024 | | opschortingBijhouding.reden.code | O | | opschortingBijhouding.reden.omschrijving | overlijden | | opschortingBijhouding.datum.type | Datum | | opschortingBijhouding.datum.datum | 2022-08-29 | | opschortingBijhouding.datum.langFormaat | 29 augustus 2022 | Scenario Outline: a person suspended with reason "<reden opschorting bijhouding>" (<reden opschorting omschrijving>) is searched for by postal code and house number <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | <reden opschorting bijhouding> | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetPostcodeEnHuisnummer | | postcode | 1628HJ | | huisnummer | 31 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has a person with the following data | naam | waarde | | burgerservicenummer | 000000024 | | opschortingBijhouding.reden.code | <reden opschorting bijhouding> | | opschortingBijhouding.reden.omschrijving | <reden opschorting omschrijving> | | opschortingBijhouding.datum.type | Datum | | opschortingBijhouding.datum.datum | 2022-08-29 | | opschortingBijhouding.datum.langFormaat | 29 augustus 2022 | Examples: | reden opschorting bijhouding | reden opschorting omschrijving | inclusief overleden personen | zoek overleden personen type | | E | emigratie | true | inclusief | | M | ministerieel besluit | true | inclusief | | R | pl is aangelegd in de rni | true | inclusief | | . | onbekend | true | inclusief | | E | emigratie | false | exclusief | | M | ministerieel besluit | false | exclusief | | R | pl is aangelegd in de rni | false | exclusief | | . | onbekend | false | exclusief | Scenario Outline: a person suspended with reason "O" (death) is searched for by street, house number and municipality of registration excluding deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | O | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetStraatHuisnummerEnGemeenteVanInschrijving | | gemeenteVanInschrijving | 0530 | | straat | Haagse Reigerstraat | | huisnummer | 31 | | fields | burgerservicenummer | Then the response has 0 persons Scenario Outline: a person suspended with reason "O" (death) is searched for by street, house number and municipality of registration including deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | O | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetStraatHuisnummerEnGemeenteVanInschrijving | | gemeenteVanInschrijving | 0530 | | straat | Haagse Reigerstraat | | huisnummer | 31 | | inclusiefOverledenPersonen | true | | fields | burgerservicenummer | Then the response has a person with the following data | naam | waarde | | burgerservicenummer | 000000024 | | opschortingBijhouding.reden.code | O | | opschortingBijhouding.reden.omschrijving | overlijden | | opschortingBijhouding.datum.type | Datum | | opschortingBijhouding.datum.datum | 2022-08-29 | | opschortingBijhouding.datum.langFormaat | 29 augustus 2022 | Scenario Outline: a person suspended with reason "<reden opschorting bijhouding>" (<reden opschorting omschrijving>) is searched for by street, house number and municipality of registration <zoek overleden personen type> deceased persons And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | <reden opschorting bijhouding> | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetStraatHuisnummerEnGemeenteVanInschrijving | | gemeenteVanInschrijving | 0530 | | straat | Haagse Reigerstraat | | huisnummer | 31 | | inclusiefOverledenPersonen | <inclusief overleden personen> | | fields | burgerservicenummer | Then the response has a person with the following data | naam | waarde | | burgerservicenummer | 000000024 | | opschortingBijhouding.reden.code | <reden opschorting bijhouding> | | opschortingBijhouding.reden.omschrijving | <reden opschorting omschrijving> | | opschortingBijhouding.datum.type | Datum | | opschortingBijhouding.datum.datum | 2022-08-29 | | opschortingBijhouding.datum.langFormaat | 29 augustus 2022 | Examples: | reden opschorting bijhouding | reden opschorting omschrijving | inclusief overleden personen | zoek overleden personen type | | E | emigratie | true | inclusief | | M | ministerieel besluit | true | inclusief | | R | pl is aangelegd in de rni | true | inclusief | | . | onbekend | true | inclusief | | E | emigratie | false | exclusief | | M | ministerieel besluit | false | exclusief | | R | pl is aangelegd in de rni | false | exclusief | | . | onbekend | false | exclusief |