requesting adressering (address line) fields with fields (PersoonBeperkt)
#language: en @gba Feature: requesting adressering (address line) fields with fields (PersoonBeperkt) Rule: where the adresregel1 and/or adresregel2 fields of the adressering group are requested for a person with an address, the value of 'straatnaam (11.10)' and 'huisnummer (11.20)' is always supplied Scenario: the person has an address with only a street name and house number as verblijfplaats and adresregel1 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | functie adres (10.10) | | W | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | straatnaam (11.10) | huisnummer (11.20) | | 0518 | Jonkheer van Riemsdijkln | 88 | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel1 | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | straat | Jonkheer van Riemsdijkln | | huisnummer | 88 | Scenario: the person has an address with a street name, house number and house letter as verblijfplaats and adresregel1 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | functie adres (10.10) | | W | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | straatnaam (11.10) | huisnummer (11.20) | huisletter (11.30) | | 0518 | Borgesiusstraat | 103 | c | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel1 | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | straat | Borgesiusstraat | | huisnummer | 103 | | huisletter | c | Scenario Outline: the person has an address with a street name, house number and house number addition as verblijfplaats and adresregel1 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | functie adres (10.10) | | W | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | straatnaam (11.10) | huisnummer (11.20) | huisnummertoevoeging (11.40) | | 0518 | Daniël Stalpertstraat | 35 | <huisnummertoevoeging> | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel1 | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | straat | Daniël Stalpertstraat | | huisnummer | 35 | | huisnummertoevoeging | <huisnummertoevoeging> | Examples: | huisnummertoevoeging | | III | | 2 | Scenario Outline: the person has an address with a street name, house number and designation with the house number as verblijfplaats and adresregel1 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | functie adres (10.10) | | W | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | straatnaam (11.10) | huisnummer (11.20) | aanduiding bij huisnummer (11.50) | | 0518 | Graan voor Visch | 15201 | <aanduiding bij huisnummer> | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel1 | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | straat | Graan voor Visch | | huisnummer | 15201 | | aanduidingBijHuisnummer.code | <aanduiding bij huisnummer> | | aanduidingBijHuisnummer.omschrijving | <omschrijving aanduiding bij huisnummer> | Examples: | aanduiding bij huisnummer | omschrijving aanduiding bij huisnummer | | by | bij | | to | tegenover | Scenario: the person has an address with a postal code and place of residence as verblijfplaats and adresregel2 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | gemeente van inschrijving (09.10) | functie adres (10.10) | | 0518 | W | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | straatnaam (11.10) | huisnummer (11.20) | postcode (11.60) | woonplaats (11.70) | | 0518 | een straat | 1 | 2583XL | Scheveningen | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel2 | Then the response has a person with the following data | naam | waarde | | gemeenteVanInschrijving.code | 0518 | | gemeenteVanInschrijving.omschrijving | 's-Gravenhage | And the person has the following 'verblijfplaats' data | naam | waarde | | straat | een straat | | huisnummer | 1 | | postcode | 2583XL | | woonplaats | Scheveningen | Scenario: the person has an address with a postal code and without a place of residence as verblijfplaats and adresregel2 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | gemeente van inschrijving (09.10) | functie adres (10.10) | | 0518 | W | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | straatnaam (11.10) | huisnummer (11.20) | postcode (11.60) | | 0518 | een straat | 1 | 2584BZ | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel2 | Then the response has a person with the following data | naam | waarde | | gemeenteVanInschrijving.code | 0518 | | gemeenteVanInschrijving.omschrijving | 's-Gravenhage | And the person has the following 'verblijfplaats' data | naam | waarde | | straat | een straat | | huisnummer | 1 | | postcode | 2584BZ | Scenario Outline: the person has an address with <omschrijving> Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | functie adres (10.10) | | W | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | straatnaam (11.10) | huisnummer (11.20) | | 0518 | <straatnaam> | <huisnummer> | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel1,adressering.adresregel2 | Then the response has a person with the following 'verblijfplaats' data | naam | waarde | | straat | <straatnaam> | | huisnummer | <huisnummer> | Examples: | straatnaam | huisnummer | omschrijving | | . | 88 | een straatnaam met standaardwaarde | | Jonkheer van Riemsdijkln | 0 | een huisnummer met standaardwaarde | Rule: where the adresregel3 and/or land field of the adressering group is requested for a person with an address, no verblijfplaats data is supplied Scenario Outline: the person has an address as verblijfplaats and <veld> is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | functie adres (10.10) | | W | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | straatnaam (11.10) | huisnummer (11.20) | | 0518 | Jonkheer van Riemsdijkln | 88 | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.<veld> | Then the response has a person without 'verblijfplaats' data Examples: | veld | | adresregel3 | | land | Rule: where the adresregel1 and/or adresregel2 fields of the adressering group are requested for a person with a location, the value of 'locatiebeschrijving (12.10)' is supplied as well Scenario: the person has a location as verblijfplaats and adresregel1 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | gemeente van inschrijving (09.10) | functie adres (10.10) | | 0518 | W | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | locatiebeschrijving (12.10) | | 0518 | Woonboot tegenover de Grote Sloot | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel1 | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | locatiebeschrijving | Woonboot tegenover de Grote Sloot | Scenario: the person has a location as verblijfplaats and adresregel2 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | gemeente van inschrijving (09.10) | functie adres (10.10) | | 0518 | W | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | locatiebeschrijving (12.10) | | 0518 | Woonboot tegenover de Grote Sloot | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel2 | Then the response has a person with only the following data | naam | waarde | | gemeenteVanInschrijving.code | 0518 | | gemeenteVanInschrijving.omschrijving | 's-Gravenhage | And the person has the following 'verblijfplaats' data | naam | waarde | | locatiebeschrijving | Woonboot tegenover de Grote Sloot | Rule: where the adresregel3 and/or land field of the adressering group is requested for a person with a location, no verblijfplaats data is supplied Scenario Outline: the person has a location as verblijfplaats and <veld> is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | gemeente van inschrijving (09.10) | functie adres (10.10) | | 0518 | W | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | locatiebeschrijving (12.10) | | 0518 | Woonboot tegenover de Grote Sloot | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.<veld> | Then the response has a person without 'verblijfplaats' data Examples: | veld | | adresregel3 | | land | Rule: where the adresregel1, adresregel2 and/or adresregel3 fields are requested for a person with a residence abroad, the value of 'land (13.10)' is supplied as well Scenario Outline: the person has a verblijfplaats buitenland and adresregel1 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | land (13.10) | regel 1 adres buitenland (13.30) | regel 2 adres buitenland (13.40) | regel 3 adres buitenland (13.50) | | <land code> | Rue du pomme 26 | Bruxelles | postcode 1000 | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel1 | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | land.code | <land code> | | land.omschrijving | <land omschrijving> | | regel1 | Rue du pomme 26 | Examples: | land code | land omschrijving | | 5010 | België | | 0000 | Onbekend | Scenario Outline: the person has a verblijfplaats buitenland, 'regel 1 adres buitenland (13.30)' has no value and adresregel1 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | land (13.10) | regel 2 adres buitenland (13.40) | regel 3 adres buitenland (13.50) | | <land code> | Bruxelles | postcode 1000 | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel1 | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | land.code | <land code> | | land.omschrijving | <land omschrijving> | Examples: | land code | land omschrijving | | 5010 | België | | 0000 | Onbekend | Scenario Outline: the person has a verblijfplaats buitenland and adresregel2 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | land (13.10) | regel 1 adres buitenland (13.30) | regel 2 adres buitenland (13.40) | regel 3 adres buitenland (13.50) | | <land code> | Rue du pomme 26 | Bruxelles | postcode 1000 | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel2 | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | land.code | <land code> | | land.omschrijving | <land omschrijving> | | regel2 | Bruxelles | Examples: | land code | land omschrijving | | 5010 | België | | 0000 | Onbekend | Scenario Outline: the person has a verblijfplaats buitenland, ' regel 2 adres buitenland (13.40)' has no value and adresregel2 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | land (13.10) | regel 1 adres buitenland (13.30) | regel 3 adres buitenland (13.50) | | <land code> | Rue du pomme 26 | postcode 1000 | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel2 | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | land.code | <land code> | | land.omschrijving | <land omschrijving> | Examples: | land code | land omschrijving | | 5010 | België | | 0000 | Onbekend | Scenario Outline: the person has a verblijfplaats buitenland and adresregel3 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | land (13.10) | regel 1 adres buitenland (13.30) | regel 2 adres buitenland (13.40) | regel 3 adres buitenland (13.50) | | <land code> | Rue du pomme 26 | Bruxelles | postcode 1000 | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel3 | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | land.code | <land code> | | land.omschrijving | <land omschrijving> | | regel3 | postcode 1000 | Examples: | land code | land omschrijving | | 5010 | België | | 0000 | Onbekend | Scenario Outline: the person has a verblijfplaats buitenland, 'regel 3 adres buitenland (13.50)' has no value and adresregel3 is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | land (13.10) | regel 1 adres buitenland (13.30) | regel 2 adres buitenland (13.40) | | <land code> | Rue du pomme 26 | Bruxelles | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.adresregel3 | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | land.code | <land code> | | land.omschrijving | <land omschrijving> | Examples: | land code | land omschrijving | | 5010 | België | | 0000 | Onbekend | Rule: where the land field of the adressering group is requested for a person with a residence abroad, the regel fields of the verblijfplaats are supplied as well Scenario Outline: the person has a verblijfplaats buitenland and land is requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | land (13.10) | regel 1 adres buitenland (13.30) | regel 2 adres buitenland (13.40) | regel 3 adres buitenland (13.50) | | <land code> | Rue du pomme 26 | Bruxelles | postcode 1000 | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | adressering.land | Then the response has a person with only the following 'verblijfplaats' data | naam | waarde | | land.code | <land code> | | land.omschrijving | <land omschrijving> | | regel1 | Rue du pomme 26 | | regel2 | Bruxelles | | regel3 | postcode 1000 | Examples: | land code | land omschrijving | | 5010 | België | | 0000 | Onbekend | Rule: where one or more address line fields are requested for a person and the category verblijfplaats (08) has data under investigation, that data is supplied as well Scenario Outline: '<type>' is under investigation and one or more address line fields are requested Given the person with citizen service number '000000188' has the following data | geslachtsnaam (02.40) | geboortedatum (03.10) | | Maassen | 19830526 | And the person has the following 'verblijfplaats' data | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | <aanduiding in onderzoek> | 20020701 | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | <fields> | Then the response has a person with the following 'verblijfplaats' data | naam | waarde | | inOnderzoek.aanduidingGegevensInOnderzoek | <aanduiding in onderzoek> | | inOnderzoek.datumIngangOnderzoek | 20020701 | Examples: | aanduiding in onderzoek | type | fields | | 080000 | hele categorie verblijfplaats | adressering.adresregel1,adressering.adresregel2,adressering.adresregel3,adressering.land | | 080000 | hele categorie verblijfplaats | adressering.adresregel1 | | 080000 | hele categorie verblijfplaats | adressering | | 080900 | hele groep gemeente | adressering.adresregel1 | | 080910 | gemeente van inschrijving | adressering.adresregel2 | | 080920 | datum inschrijving | adressering.adresregel2 | | 081000 | hele groep adreshouding | adressering.adresregel3 | | 081010 | functie adres | adressering.land | | 081030 | datum aanvang adreshouding | adressering.adresregel1,adressering.adresregel2 | | 081100 | hele groep adres | adressering.adresregel1,adressering.adresregel3 | | 081110 | straatnaam | adressering.adresregel1,adressering.land | | 081115 | naam openbare ruimte | adressering.adresregel2,adressering.adresregel3 | | 081120 | huisnummer | adressering.adresregel2,adressering.land | | 081130 | huisletter | adressering.adresregel3,adressering.land | | 081140 | huinummertoevoeging | adressering.adresregel1,adressering.adresregel2,adressering.adresregel3,adressering.land | | 081150 | aanduiding bij huisnummer | adressering.adresregel2 | | 081160 | postcode | adressering.adresregel3 | | 081170 | woonplaatsnaam | adressering.land | | 081180 | identificatiecode verblijfplaats | adressering.adresregel1,adressering.adresregel2 | | 081190 | identificatiecode nummeraanduiding | adressering.adresregel1,adressering.adresregel3 | | 081200 | hele groep locatie | adressering.adresregel1,adressering.adresregel3 | | 081210 | locatiebeschrijving | adressering.adresregel1,adressering.land | | 081300 | hele groep adres buitenland | adressering.adresregel1 | | 081310 | land adres buitenland | adressering.adresregel1,adressering.adresregel2,adressering.adresregel3,adressering.land | | 081320 | datum aanvang adres buitenland | adressering.adresregel3 | | 081330 | regel 1 adres buitenland | adressering.land | | 081340 | regel 2 adres buitenland | adressering.adresregel1,adressering.adresregel2 | | 081350 | regel 3 adres buitenland | adressering.adresregel1,adressering.adresregel3 | | 081400 | hele groep immigratie | adressering.adresregel2,adressering.adresregel3 | | 081410 | land vanwaar ingeschreven | adressering.adresregel2,adressering.land | | 081420 | datum vestiging in Nederland | adressering.adresregel3,adressering.land | | 088500 | hele groep geldigheid | adressering.adresregel1,adressering.land | | 088510 | datum ingang geldigheid | adressering.adresregel1,adressering.adresregel2 | Rule: where the adressering group is requested when searching, the address data is supplied and not naam or partner Scenario: adressering has been requested Given the person with citizen service number '000000139' has the following data | naam | waarde | | geslachtsaanduiding (04.10) | M | | voornamen (02.10) | Jan Peter | | adellijke titel of predicaat (02.20) | JH | | voorvoegsel (02.30) | te | | geslachtsnaam (02.40) | Hoogh | | aanduiding naamgebruik (61.10) | E | | geboortedatum (03.10) | 19830526 | And the person has a 'partner' with the following data | naam | waarde | | voornamen (02.10) | Anna Catharina | | adellijke titel of predicaat (02.20) | BS | | voorvoegsel (02.30) | van den | | geslachtsnaam (02.40) | Aedel | | datum huwelijkssluiting/aangaan geregistreerd partnerschap (06.10) | 20010809 | And the 'partner' has been changed to the following data | naam | waarde | | voornamen (02.10) | Anna Catharina | | adellijke titel of predicaat (02.20) | BS | | voorvoegsel (02.30) | van den | | geslachtsnaam (02.40) | Aedel | | datum ontbinding huwelijk/geregistreerd partnerschap (07.10) | 20211109 | And the person has the following 'verblijfplaats' data | gemeente van inschrijving (09.10) | | 0518 | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | straatnaam (11.10) | huisnummer (11.20) | postcode (11.60) | | 0518 | Jonkheer van Riemsdijkln | 88 | 2583XL | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Hoogh | | geboortedatum | 1983-05-26 | | fields | adressering | Then the response has a person with the following data | naam | waarde | | gemeenteVanInschrijving.code | 0518 | | gemeenteVanInschrijving.omschrijving | 's-Gravenhage | And the person has the following 'verblijfplaats' data | naam | waarde | | straat | Jonkheer van Riemsdijkln | | huisnummer | 88 | | postcode | 2583XL |