Persoon: supplying inOnderzoek when requesting data of a category that cannot be under investigation
#language: en @gba Feature: Persoon: supplying inOnderzoek when requesting data of a category that cannot be under investigation Background: Given the person with citizen service number '000000024' has the following data | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | 010000 | 20230101 | And the person has a parent '1' with the following data | burgerservicenummer (01.20) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | 222222222 | 020000 | 20230102 | And the person has a 'nationaliteit' with the following data | nationaliteit (05.10) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | 0052 | 040000 | 20230104 | And the person has a 'partner' with the following data | burgerservicenummer (01.20) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | 555555555 | 050000 | 20230105 | And the person has the following 'overlijden' data | datum overlijden (08.10) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | 20020701 | 060000 | 20230106 | And the person has the following 'verblijfplaats' data | land adres buitenland (13.10) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | 0000 | 080000 | 20230108 | And the person has a 'kind' with the following data | burgerservicenummer (01.20) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | 999999999 | 090000 | 20230109 | And the person has the following 'verblijfstitel' data | aanduiding verblijfstitel (39.10) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | 37 | 100000 | 20230110 | And the person has the following 'gezagsverhouding' data | indicatie curateleregister (33.10) | indicatie gezag minderjarige (32.10) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | 1 | 12 | 110000 | 20230111 | Rule: onderzoek is supplied where at least one item of data from that category has been requested Scenario Outline: several categories are under investigation and <fields> from the category <categorie> is requested When gba persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000024 | | fields | <fields> | Then the response has a person without data Examples: | fields | categorie | | datumEersteInschrijvingGBA | Inschrijving | | europeesKiesrecht | Kiesrecht | | uitsluitingKiesrecht | Kiesrecht | | uitsluitingKiesrecht | Kiesrecht | | uitsluitingKiesrecht.uitgeslotenVanKiesrecht | Kiesrecht | | uitsluitingKiesrecht.einddatum | Kiesrecht |