Persoon: verblijfplaats binnenland (locatie) fields are under investigation
# language: en Feature: Persoon: verblijfplaats binnenland (locatie) fields are under investigation Rule: The fact that a field is under investigation, and the corresponding datumIngangOnderzoek, are supplied where that field is requested Scenario Outline: '<type>' is under investigation and all adres fields excluding the verblijfadres fields are requested Given the person with citizen service number '000000152' has the following 'verblijfplaats' data | naam | waarde | | aanduiding in onderzoek (83.10) | <aanduiding in onderzoek> | | datum ingang onderzoek (83.20) | 20020701 | And the 'verblijfplaats' has the following 'adres' data | naam | waarde | | gemeentecode (92.10) | 0518 | | locatiebeschrijving (12.10) | Woonboot bij de Grote Sloot | When persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000152 | | fields | verblijfplaats.datumVan,verblijfplaats.datumIngangGeldigheid,verblijfplaats.functieAdres | Then the response has a person with the following 'verblijfplaats' data | naam | waarde | | type | Locatie | | inOnderzoek.type | <type io> | | inOnderzoek.datumVan | <datumVan io> | | inOnderzoek.datumIngangGeldigheid | <datumIngangGeldigheid io> | | inOnderzoek.functieAdres | <functieAdres io> | | inOnderzoek.datumIngangOnderzoek.type | Datum | | inOnderzoek.datumIngangOnderzoek.datum | 2002-07-01 | | inOnderzoek.datumIngangOnderzoek.langFormaat | 1 juli 2002 | Examples: | aanduiding in onderzoek | type io | datumVan io | datumIngangGeldigheid io | functieAdres io | type | | 080000 | true | true | true | true | hele categorie verblijfplaats | | 081000 | | true | | true | hele groep adreshouding | | 081010 | | | | true | functie adres | | 081030 | | true | | | datum aanvang adreshouding | | 081200 | true | | | | hele groep locatie | | 081210 | true | | | | locatiebeschrijving | | 088500 | | | true | | hele groep geldigheid | | 088510 | | | true | | datum ingang geldigheid | Scenario Outline: 'datum aanvang adreshouding (10.30)' is under investigation and is requested Given the person with citizen service number '000000152' has the following 'verblijfplaats' data | naam | waarde | | aanduiding in onderzoek (83.10) | <aanduiding in onderzoek> | | datum ingang onderzoek (83.20) | 20020701 | And the 'verblijfplaats' has the following 'adres' data | naam | waarde | | gemeentecode (92.10) | 0518 | | locatiebeschrijving (12.10) | Woonboot bij de Grote Sloot | When persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000152 | | fields | verblijfplaats.datumVan | Then the response has a person with the following 'verblijfplaats' data | naam | waarde | | type | Locatie | | inOnderzoek.type | <type io> | | inOnderzoek.datumVan | true | | inOnderzoek.datumIngangOnderzoek.type | Datum | | inOnderzoek.datumIngangOnderzoek.datum | 2002-07-01 | | inOnderzoek.datumIngangOnderzoek.langFormaat | 1 juli 2002 | Examples: | aanduiding in onderzoek | type io | | 080000 | true | | 081000 | | | 081030 | | Scenario Outline: 'datum ingang geldigheid (85.10)' is under investigation and is requested Given the person with citizen service number '000000152' has the following 'verblijfplaats' data | naam | waarde | | aanduiding in onderzoek (83.10) | <aanduiding in onderzoek> | | datum ingang onderzoek (83.20) | 20020701 | And the 'verblijfplaats' has the following 'adres' data | naam | waarde | | gemeentecode (92.10) | 0518 | | locatiebeschrijving (12.10) | Woonboot bij de Grote Sloot | When persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000152 | | fields | verblijfplaats.datumIngangGeldigheid | Then the response has a person with the following 'verblijfplaats' data | naam | waarde | | type | Locatie | | inOnderzoek.type | <type io> | | inOnderzoek.datumIngangGeldigheid | true | | inOnderzoek.datumIngangOnderzoek.type | Datum | | inOnderzoek.datumIngangOnderzoek.datum | 2002-07-01 | | inOnderzoek.datumIngangOnderzoek.langFormaat | 1 juli 2002 | Examples: | aanduiding in onderzoek | type io | | 080000 | true | | 088500 | | | 088510 | | Scenario Outline: 'functie adres (10.10)' is under investigation and is requested Given the person with citizen service number '000000152' has the following 'verblijfplaats' data | naam | waarde | | aanduiding in onderzoek (83.10) | <aanduiding in onderzoek> | | datum ingang onderzoek (83.20) | 20020701 | And the 'verblijfplaats' has the following 'adres' data | naam | waarde | | gemeentecode (92.10) | 0518 | | locatiebeschrijving (12.10) | Woonboot bij de Grote Sloot | When persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000152 | | fields | verblijfplaats.functieAdres | Then the response has a person with the following 'verblijfplaats' data | naam | waarde | | type | Locatie | | inOnderzoek.type | <type io> | | inOnderzoek.functieAdres | true | | inOnderzoek.datumIngangOnderzoek.type | Datum | | inOnderzoek.datumIngangOnderzoek.datum | 2002-07-01 | | inOnderzoek.datumIngangOnderzoek.langFormaat | 1 juli 2002 | Examples: | aanduiding in onderzoek | type io | | 080000 | true | | 081000 | | | 081010 | | Scenario: 'datum aanvang adreshouding (10.30)' is under investigation but is not requested Given the person with citizen service number '000000152' has the following 'verblijfplaats' data | naam | waarde | | aanduiding in onderzoek (83.10) | 081030 | | datum ingang onderzoek (83.20) | 20020701 | And the 'verblijfplaats' has the following 'adres' data | naam | waarde | | gemeentecode (92.10) | 0518 | | locatiebeschrijving (12.10) | Woonboot bij de Grote Sloot | When persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000152 | | fields | verblijfplaats.datumIngangGeldigheid | Then the response has a person with the following 'verblijfplaats' data | naam | waarde | | type | Locatie | Scenario Outline: 'datum ingang geldigheid (85.10)' is under investigation but is not requested Given the person with citizen service number '000000152' has the following 'verblijfplaats' data | naam | waarde | | aanduiding in onderzoek (83.10) | <gba in onderzoek waarde> | | datum ingang onderzoek (83.20) | 20020701 | | datum ingang geldigheid (85.10) | 20220222 | And the 'verblijfplaats' has the following 'adres' data | naam | waarde | | gemeentecode (92.10) | 0518 | | locatiebeschrijving (12.10) | Woonboot bij de Grote Sloot | When persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000152 | | fields | verblijfplaats.functieAdres | Then the response has a person with the following 'verblijfplaats' data | naam | waarde | | type | Locatie | Examples: | gba in onderzoek waarde | | 088500 | | 088510 | Scenario Outline: 'functie adres (10.10)' is under investigation but is not requested Given the person with citizen service number '000000152' has the following 'verblijfplaats' data | naam | waarde | | aanduiding in onderzoek (83.10) | <gba in onderzoek waarde> | | datum ingang onderzoek (83.20) | 20020701 | | functie adres (10.10) | W | And the 'verblijfplaats' has the following 'adres' data | naam | waarde | | gemeentecode (92.10) | 0518 | | locatiebeschrijving (12.10) | Woonboot bij de Grote Sloot | When persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000152 | | fields | verblijfplaats.datumVan | Then the response has a person with the following 'verblijfplaats' data | naam | waarde | | type | Locatie | Examples: | gba in onderzoek waarde | | 081010 | Rule: the 'type' field of 'verblijfplaats binnenland (locatie)' is under investigation where the identifying item of data of locatie ('locatiebeschrijving (12.10)') is under investigation Scenario Outline: the '<type>' field is under investigation and functieAdres is requested Given the person with citizen service number '000000152' has the following 'verblijfplaats' data | naam | waarde | | aanduiding in onderzoek (83.10) | <aanduiding in onderzoek> | | datum ingang onderzoek (83.20) | 20020701 | And the 'verblijfplaats' has the following 'adres' data | naam | waarde | | gemeentecode (92.10) | 0518 | | locatiebeschrijving (12.10) | Woonboot bij de Grote Sloot | When persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000152 | | fields | verblijfplaats.functieAdres | Then the response has a person with the following 'verblijfplaats' data | naam | waarde | | type | Locatie | And the 'verblijfplaats' has the following 'inOnderzoek' data | naam | waarde | | type | true | | functieAdres | <functieAdres io> | | datumIngangOnderzoek.type | Datum | | datumIngangOnderzoek.datum | 2002-07-01 | | datumIngangOnderzoek.langFormaat | 1 juli 2002 | Examples: | aanduiding in onderzoek | functieAdres io | type | | 080000 | true | hele categorie verblijfplaats | | 081200 | | hele groep locatie | | 081210 | | locatiebeschrijving |