RaadpleegMetBurgerservicenummer of a personal record with suspension of maintenance
#language: en @gba Feature: RaadpleegMetBurgerservicenummer of a personal record with suspension of maintenance Rule: A personal record with reason for suspension of maintenance "W" (erasure) is not supplied Scenario: the personal record has suspension of maintenance with reason "W" Given the person with citizen service number '000000024' has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | W | When gba persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000024 | | fields | burgerservicenummer | Then the response has 0 persons Scenario: the personal record has suspension of maintenance with reason "W" and the same citizen service number has been used on another personal record Given the person with citizen service number '000000024' has the following data | geslachtsnaam (02.40) | | Maassen | And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | W | And the person with citizen service number '000000024' has the following data | geslachtsnaam (02.40) | | Rafi | When gba persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000024 | | fields | burgerservicenummer,naam.geslachtsnaam | Then the response has 1 person And the response has a person with the following data | naam | waarde | | burgerservicenummer | 000000024 | | naam.geslachtsnaam | Rafi | Rule: A personal record with reason for suspension of maintenance "F" (error - removed personal record) is not supplied Scenario: the personal record has suspension of maintenance with reason "F" Given the person with citizen service number '000000024' has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | F | When gba persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000024 | | fields | burgerservicenummer | Then the response has 0 persons Scenario: the personal record has suspension of maintenance with reason "F" and the same citizen service number has been used on another personal record Given the person with citizen service number '000000024' has the following data | geslachtsnaam (02.40) | | Maassen | And the person has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | F | And the person with citizen service number '000000024' has the following data | geslachtsnaam (02.40) | | Rafi | When gba persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000024 | | fields | burgerservicenummer,naam.geslachtsnaam | Then the response has 1 person And the response has a person with the following data | naam | waarde | | burgerservicenummer | 000000024 | | naam.geslachtsnaam | Rafi | Scenario Outline: the personal record has suspension of maintenance with reason "<opschorting>" Given the person with citizen service number '000000024' has the following 'inschrijving' data | datum opschorting bijhouding (67.10) | reden opschorting bijhouding (67.20) | | 20220829 | <opschorting> | When gba persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000024 | | fields | burgerservicenummer | Then the response has 1 person Examples: | opschorting | omschrijving | | O | overlijden | | E | emigratie | | M | ministerieel besluit | | R | pl is aangelegd in de rni | | . | onbekend |