Persoon: verblijfplaats onbekend fields are under investigation
# language: en Feature: Persoon: verblijfplaats onbekend 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 verblijfplaats onbekend fields are requested Given the person with citizen service number '000000152' has the following 'verblijfplaats' data | naam | waarde | | land adres buitenland (13.10) | 0000 | | aanduiding in onderzoek (83.10) | <aanduiding in onderzoek> | | datum ingang onderzoek (83.20) | 20020701 | When persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000152 | | fields | verblijfplaats.datumVan,verblijfplaats.datumIngangGeldigheid | Then the response has a person with the following 'verblijfplaats' data | naam | waarde | | type | VerblijfplaatsOnbekend | | inOnderzoek.type | <type io> | | inOnderzoek.datumVan | <datumVan io> | | inOnderzoek.datumIngangGeldigheid | <datumIngangGeldigheid 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 | type | | 080000 | true | true | true | hele categorie verblijfplaats | | 081300 | true | true | | hele groep adres buitenland | | 081310 | true | | | land adres buitenland | | 081320 | | true | | datum aanvang adres buitenland | | 088500 | | | true | hele groep geldigheid | | 088510 | | | true | datum ingang geldigheid | Scenario: 'datum aanvang adres buitenland' is under investigation but 'datumVan' is not requested Given the person with citizen service number '000000152' has the following 'verblijfplaats' data | naam | waarde | | land adres buitenland (13.10) | 0000 | | aanduiding in onderzoek (83.10) | 081320 | | datum ingang onderzoek (83.20) | 20020701 | 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 | VerblijfplaatsOnbekend | Scenario Outline: '<type>' is under investigation but 'datumIngangGeldigheid' is not requested Given the person with citizen service number '000000152' has the following 'verblijfplaats' data | naam | waarde | | land adres buitenland (13.10) | 0000 | | aanduiding in onderzoek (83.10) | <aanduiding in onderzoek> | | datum ingang onderzoek (83.20) | 20020701 | 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 | VerblijfplaatsOnbekend | Examples: | aanduiding in onderzoek | type | | 088500 | hele groep geldigheid | | 088510 | datum ingang geldigheid | Rule: the 'type' field of 'verblijfplaats onbekend' is under investigation where the identifying item of data of verblijfplaats onbekend ('land adres buitenland (13.10) met waarde 0000') is under investigation Scenario Outline: the '<type>' field is under investigation and datumVan is requested Given the person with citizen service number '000000152' has the following 'verblijfplaats' data | naam | waarde | | land adres buitenland (13.10) | 0000 | | aanduiding in onderzoek (83.10) | <aanduiding in onderzoek> | | datum ingang onderzoek (83.20) | 20020701 | 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 | VerblijfplaatsOnbekend | And the 'verblijfplaats' has the following 'inOnderzoek' data | naam | waarde | | type | true | | datumVan | <datumVan io> | | datumIngangOnderzoek.type | Datum | | datumIngangOnderzoek.datum | 2002-07-01 | | datumIngangOnderzoek.langFormaat | 1 juli 2002 | Examples: | aanduiding in onderzoek | datumVan io | type | | 080000 | true | hele categorie verblijfplaats | | 081300 | true | hele groep adres buitenland | | 081310 | | land adres buitenland |