consult occupancy within a period
#language: en @gba Feature: consult occupancy within a period As a consumer of the Bewoning API I want to be able to request which persons stay or stayed at an addressable object within a period so that I can use this information in my process Background: Given address 'A1' has the following data | gemeentecode (92.10) | identificatiecode verblijfplaats (11.80) | | 0800 | 0800010000000001 | And address 'A2' has the following data | gemeentecode (92.10) | identificatiecode verblijfplaats (11.80) | | 0800 | 0800010000000002 | Rule: a person staying at the addressable object requested with an unknown start of the address occupancy and no previous or next address occupancy is, within a period, a possible occupant for that part of the period which falls within the period of uncertainty of the address occupancy requested Scenario Outline: the start of the address occupancy is partly or wholly unknown and the period falls within the period of uncertainty of the address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang adreshouding | datum van | datum tot | periode | opmerking | | 20100800 | 2010-08-01 | 2010-09-01 | 2010-08-01 tot 2010-09-01 | gevraagde periode overlapt de gehele onzekerheidsperiode | | 20100800 | 2010-08-10 | 2010-08-20 | 2010-08-10 tot 2010-08-20 | gevraagde periode overlapt een deel van de onzekerheidsperiode | | 20100000 | 2010-01-01 | 2011-01-01 | 2010-01-01 tot 2011-01-01 | gevraagde periode overlapt de gehele onzekerheidsperiode | | 20100000 | 2010-12-01 | 2010-12-31 | 2010-12-01 tot 2010-12-31 | gevraagde periode overlapt een deel van de onzekerheidsperiode | | 00000000 | 2000-01-01 | 2001-01-01 | 2000-01-01 tot 2001-01-01 | een willekeurig periode in de onzekerheidsperiode van een geheel onbekende aanvangsdatum | Scenario Outline: the person has given the addressable object requested as a correspondence address, the start of the address occupancy is partly or wholly unknown and the period falls within the period of uncertainty of the address occupancy Given the person with citizen service number '000000024' has given address 'A1' as a correspondence address with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has 0 occupancies Examples: | datum aanvang adreshouding | datum van | datum tot | periode | opmerking | | 20100800 | 2010-08-01 | 2010-09-01 | 2010-08-01 tot 2010-09-01 | gevraagde periode overlapt de gehele onzekerheidsperiode | | 20100800 | 2010-08-10 | 2010-08-20 | 2010-08-10 tot 2010-08-20 | gevraagde periode overlapt een deel van de onzekerheidsperiode | | 20100000 | 2010-01-01 | 2011-01-01 | 2010-01-01 tot 2011-01-01 | gevraagde periode overlapt de gehele onzekerheidsperiode | | 20100000 | 2010-12-01 | 2010-12-31 | 2010-12-01 tot 2010-12-31 | gevraagde periode overlapt een deel van de onzekerheidsperiode | | 00000000 | 2000-01-01 | 2001-01-01 | 2000-01-01 tot 2001-01-01 | een willekeurig periode in de onzekerheidsperiode van een geheel onbekende aanvangsdatum | Scenario Outline: the start of the address occupancy is partly unknown and the period requested overlaps part of the period of uncertainty Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <periode mogelijke bewoner> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | And the response has an occupancy with the following data | naam | waarde | | periode | <periode zeker bewoner> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has an occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang adreshouding | datum van | datum tot | periode mogelijke bewoner | periode zeker bewoner | | 20100000 | 2010-12-01 | 2011-12-31 | 2010-12-01 tot 2011-01-01 | 2011-01-01 tot 2011-12-31 | | 20100300 | 2010-03-06 | 2010-04-18 | 2010-03-06 tot 2010-04-01 | 2010-04-01 tot 2010-04-18 | Scenario Outline: the start of the address occupancy is partly unknown and the period partly or wholly overlaps the period of uncertainty and partly the period of certainty of the address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <periode 1> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | And the response has an occupancy with the following data | naam | waarde | | periode | <periode 2> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has an occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang adreshouding | datum van | datum tot | periode 1 | periode 2 | | 20100800 | 2010-08-01 | 2011-01-01 | 2010-08-01 tot 2010-09-01 | 2010-09-01 tot 2011-01-01 | | 20100000 | 2010-08-01 | 2012-01-01 | 2010-08-01 tot 2011-01-01 | 2011-01-01 tot 2012-01-01 | Rule: a person with an unknown start of the address occupancy and a known start date of the next address occupancy that falls after the period of uncertainty of the address occupancy requested is a possible occupant for that part of the period which falls within the period of uncertainty of the address occupancy requested Scenario Outline: the start date of the next address occupancy falls after the period of uncertainty of the partly unknown start of the address occupancy and the period falls entirely within the period of uncertainty Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2010-08-03 | | datumTot | 2010-08-31 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | 2010-08-03 tot 2010-08-31 | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang adreshouding | datum aanvang volgende adreshouding | | 20100800 | 20101001 | | 20100000 | 20110201 | Scenario Outline: the start date of the next address occupancy falls after the period of uncertainty of the partly unknown start of the address occupancy and the period begins on or after the start date of the next address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | 2011-03-31 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has 0 occupancies Examples: | datum aanvang adreshouding | datum aanvang volgende adreshouding | datum van | | 20100800 | 20101001 | 2010-10-01 | | 20100800 | 20101001 | 2010-11-01 | | 20100000 | 20110201 | 2011-02-01 | | 20100000 | 20110201 | 2011-03-01 | Scenario Outline: the start date of the next address occupancy falls after the period of uncertainty of the partly unknown start of the address occupancy and the period falls between the period of uncertainty and the start date of the next address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has an occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang adreshouding | datum aanvang volgende adreshouding | datum van | datum tot | | 20100800 | 20101001 | 2010-09-01 | 2010-09-30 | | 20100000 | 20110201 | 2011-01-01 | 2011-01-31 | Rule: a person with a known start of the next address occupancy that falls within the period of uncertainty of the unknown start of the address occupancy is a possible occupant for that part of the period which falls within the period of uncertainty, before the start date of the next address occupancy Scenario Outline: the start date of the next address occupancy falls within the period of uncertainty of the unknown address occupancy and the period falls before the start date of the next address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang adreshouding | datum aanvang volgende adreshouding | datum van | datum tot | | 20100800 | 20100821 | 2010-08-03 | 2010-08-17 | | 20100800 | 20100821 | 2010-08-01 | 2010-08-21 | | 20100000 | 20101001 | 2010-03-14 | 2010-09-06 | | 20100000 | 20101001 | 2010-01-01 | 2010-10-01 | | 00000000 | 20100101 | 2009-12-31 | 2010-01-01 | Scenario Outline: the start date of the next address occupancy falls within the period of uncertainty of the unknown address occupancy and the period begins before the start date of the next address occupancy, within the period of uncertainty, and ends after the start date of the next address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100821 | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2010-08-03 | | datumTot | 2011-08-03 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | 2010-08-03 tot 2010-08-21 | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang adreshouding | | 20100800 | | 20100000 | | 00000000 | Scenario Outline: the start date of the next address occupancy falls within the period of uncertainty of the unknown address occupancy and the period begins within the period of uncertainty, on or after the start date of the next address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | 2011-01-01 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has 0 occupancies Examples: | datum aanvang adreshouding | datum aanvang volgende adreshouding | datum van | | 20100800 | 20100821 | 2010-08-21 | | 20100800 | 20100821 | 2010-08-22 | | 20100000 | 20101001 | 2010-10-01 | | 20100000 | 20101001 | 2010-10-02 | | 00000000 | 20100101 | 2010-01-01 | | 00000000 | 20100101 | 2010-01-02 | Rule: a person with a known start of the address occupancy that does not fall within the period of uncertainty of the partly unknown start of the next address occupancy is a possible occupant for that part of the period which falls within the period of uncertainty of the next address occupancy Scenario Outline: the start date of the address occupancy does not fall within the period of uncertainty of the partly unknown start of the next address occupancy and the period falls within the period of uncertainty of the next address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang volgende adreshouding | datum van | datum tot | scenario | | 20160500 | 2016-05-01 | 2016-06-01 | gevraagde periode overlapt de gehele onzekerheidsperiode van volgende adreshouding (dag is onbekend) | | 20160500 | 2016-05-06 | 2016-05-18 | gevraagde periode overlapt een deel van de onzekerheidsperiode van de volgende adreshouding (dag is onbekend) | | 20160000 | 2016-01-01 | 2016-07-01 | gevraagde periode overlapt eerste deel van de onzekerheidsperiode van de volgende adreshouding (maand en dag zijn onbekend) | | 20160000 | 2016-05-18 | 2016-05-26 | gevraagde periode overlapt een deel van de onzekerheidsperiode van de volgende adreshouding (maand en dag zijn onbekend) | | 20160000 | 2016-07-01 | 2017-01-01 | gevraagde periode overlapt laatste deel van de onzekerheidsperiode van de volgende adreshouding (maand en dag zijn onbekend) | | 20160000 | 2016-12-31 | 2017-01-01 | periode begint is de laatste dag van de onzekerheidsperiode van de volgende adreshouding (maand en dag zijn onbekend) | Scenario Outline: the start date of the address occupancy does not fall within the period of uncertainty of the partly unknown start of the next address occupancy and the period falls after the period of uncertainty of the next address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | 2017-05-15 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has 0 occupancies Examples: | datum aanvang volgende adreshouding | datum van | | 20160500 | 2016-06-01 | | 20160000 | 2017-01-01 | Scenario Outline: the start date of the address occupancy does not fall within the period of uncertainty of the partly unknown start of the next address occupancy and the period falls before the period of uncertainty of the next address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has an occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang volgende adreshouding | datum van | datum tot | | 20160500 | 2016-04-01 | 2016-05-01 | | 20160000 | 2015-12-01 | 2016-01-01 | Rule: a person with a partly unknown start of the address occupancy, a partly unknown start of the next address occupancy and non-overlapping periods of uncertainty is a possible occupant for that part of the period which falls within one of the periods of uncertainty Scenario Outline: the period of uncertainty of the partly unknown start of the address occupancy does not overlap the period of uncertainty of the partly unknown start of the next address occupancy and <opmerking> Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang adreshouding | datum aanvang volgende adreshouding | datum van | datum tot | opmerking | | 20100800 | 20101000 | 2010-08-06 | 2010-08-21 | periode ligt in onzekerheidsperiode gevraagde adreshouding (dag is onbekend) | | 20100800 | 20101000 | 2010-10-04 | 2010-10-11 | periode ligt in onzekerheidsperiode volgende adreshouding (dag is onbekend) | | 20100000 | 20110000 | 2010-04-07 | 2010-11-30 | periode ligt in onzekerheidsperiode jaar gevraagde adreshouding (maand en dag zijn onbekend) | | 20100000 | 20110000 | 2011-10-15 | 2011-12-16 | periode ligt in onzekerheidsperiode jaar volgende adreshouding (maand en dag zijn onbekend) | Scenario Outline: the period of uncertainty of the partly unknown start of the address occupancy does not overlap the period of uncertainty of the partly unknown start of the next address occupancy and the period falls after the period of uncertainty of the next address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | 2012-08-03 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has 0 occupancies Examples: | datum aanvang adreshouding | datum aanvang volgende adreshouding | datum van | | 20100800 | 20101000 | 2010-11-01 | | 20100800 | 20110000 | 2012-01-01 | | 20100000 | 20110200 | 2011-03-01 | | 20100000 | 20110000 | 2012-01-01 | Scenario Outline: the period of uncertainty of the partly unknown start of the address occupancy does not overlap the period of uncertainty of the partly unknown start of the next address occupancy and the period falls between the periods of uncertainty Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has an occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang adreshouding | datum aanvang volgende adreshouding | datum van | datum tot | | 20100800 | 20101000 | 2010-09-01 | 2010-10-01 | | 20100800 | 20101000 | 2010-09-03 | 2010-09-21 | | 20100800 | 20110000 | 2010-09-01 | 2011-01-01 | | 20100800 | 20110000 | 2010-10-14 | 2010-12-15 | | 20100000 | 20111000 | 2011-03-27 | 2011-06-09 | | 20100000 | 20120000 | 2011-10-23 | 2011-11-16 | Rule: a person with a known start of the address occupancy that falls within the period of uncertainty of the partly or wholly unknown start of the next address occupancy is a possible occupant for that part of the period which falls within the period of uncertainty, after the start date of the address occupancy Scenario Outline: the start date of the address occupancy falls within the period of uncertainty of the partly or wholly unknown start of the next address occupancy and the period falls within the period of uncertainty, on or after the start date of the address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2010-08-19 | | datumTot | 2010-08-23 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | 2010-08-19 tot 2010-08-23 | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang volgende adreshouding | | 20100800 | | 20100000 | | 00000000 | Scenario Outline: the start date of the address occupancy falls within the period of uncertainty of the partly or wholly unknown start of the next address occupancy and the period falls within the period of uncertainty, up to the start date of the address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2010-08-03 | | datumTot | 2010-08-19 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | 2010-08-18 tot 2010-08-19 | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has an occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang volgende adreshouding | | 20100800 | | 20100000 | | 00000000 | Scenario Outline: the start date of the address occupancy falls within the period of uncertainty of the partly unknown start of the next address occupancy and the period falls after the period of uncertainty of the next address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | 2011-10-09 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has 0 occupancies Examples: | datum aanvang volgende adreshouding | datum van | | 20100800 | 2010-09-01 | | 20100000 | 2011-01-01 | Scenario Outline: the start date of the address occupancy falls within the period of uncertainty of the partly or wholly unknown start of the next address occupancy and the period falls within the period of uncertainty, before the start date of the address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2010-05-16 | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has 0 occupancies Examples: | datum aanvang volgende adreshouding | datum tot | | 20100800 | 2010-08-03 | | 20100800 | 2010-08-18 | | 20100000 | 2010-08-18 | | 00000000 | 2010-08-18 | Scenario Outline: the start date of the address occupancy falls within the period of uncertainty of the partly or wholly unknown start of the next address occupancy and the period begins within the period of uncertainty, after the start date of the address occupancy, and runs until after the period of uncertainty Given the person with citizen service number '000000024' is registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20080314 | And the person was subsequently registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2010-08-20 | | datumTot | 2011-08-20 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | 2010-08-20 tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang volgende adreshouding | datum tot | | 20100800 | 2010-09-01 | | 20100000 | 2011-01-01 | | 00000000 | 2011-08-20 | Scenario Outline: the start date of the address occupancy falls within the period of uncertainty of the partly or wholly unknown start of the next address occupancy and the period overlaps the period of uncertainty Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100818 | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2009-07-19 | | datumTot | 2011-08-23 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | 2010-08-18 tot 2010-08-19 | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has an occupant with the following data | burgerservicenummer | | 000000024 | And the response has an occupancy with the following data | naam | waarde | | periode | <periode mogelijke bewoner> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang volgende adreshouding | periode mogelijke bewoner | | 20100800 | 2010-08-19 tot 2010-09-01 | | 20100000 | 2010-08-19 tot 2011-01-01 | | 00000000 | 2010-08-19 tot 2011-08-23 | Rule: a person with an unknown start of the address occupancy, an unknown start of the next address occupancy and partly or wholly overlapping periods of uncertainty is a possible occupant for the period between the first day of the period of uncertainty of the address occupancy requested and the last day of the period of uncertainty of the next address occupancy. Scenario Outline: the person has an unknown start of the address occupancy and a partly or wholly overlapping unknown start of the next address occupancy and the period falls between the first day of the period of uncertainty of the address occupancy and the last day of the period of uncertainty of the next address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang adreshouding | datum aanvang volgende adreshouding | datum van | datum tot | opmerking | | 20100800 | 20100000 | 2010-08-01 | 2010-10-12 | periode begint op de eerste dag van de onzekerheidsperiode gevraagde adreshouding | | 20100800 | 20100000 | 2010-09-11 | 2011-01-01 | periode loopt tot de laatste dag van de onzekerheidsperiode volgende adreshouding | | 20100000 | 20100800 | 2010-01-01 | 2010-05-01 | periode begint op de eerste dag van de onzekerheidsperiode gevraagde adreshouding | | 20100000 | 20100800 | 2010-04-01 | 2010-09-01 | periode loopt tot de laatste dag van de onzekerheidsperiode volgende adreshouding | | 00000000 | 20100800 | 2008-07-30 | 2010-09-01 | periode loopt tot de laatste dag van de onzekerheidsperiode volgende adreshouding | | 00000000 | 20100000 | 2008-07-30 | 2011-01-01 | periode loopt tot de laatste dag van de onzekerheidsperiode volgende adreshouding | | 20100800 | 00000000 | 2010-08-01 | 2019-09-28 | periode begint op de eerste dag van de onzekerheidsperiode gevraagde adreshouding | | 20100000 | 00000000 | 2010-01-01 | 2019-09-28 | periode begint op de eerste dag van de onzekerheidsperiode gevraagde adreshouding | Scenario Outline: the person has an unknown start of the address occupancy and a partly or wholly overlapping unknown start of the next address occupancy and the period runs up to or before the period of uncertainty of the address occupancy requested, or runs after the period of uncertainty of the next address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has 0 occupancies Examples: | datum aanvang adreshouding | datum aanvang volgende adreshouding | datum van | datum tot | | 20100800 | 20100000 | 2009-10-04 | 2010-08-01 | | 20100800 | 20100000 | 2011-01-01 | 2012-01-01 | | 20100000 | 20100800 | 2009-01-01 | 2010-01-01 | | 20100000 | 20100800 | 2010-09-01 | 2010-11-03 | | 00000000 | 20100000 | 2011-01-01 | 2011-03-19 | | 20100000 | 00000000 | 2009-11-12 | 2010-01-01 | | 20100800 | 20100000 | 2009-10-04 | 2010-07-23 | | 20100800 | 20100000 | 2011-02-18 | 2012-02-19 | | 20100000 | 20100800 | 2009-01-01 | 2009-12-25 | | 20100000 | 20100800 | 2010-10-14 | 2010-11-03 | | 00000000 | 20100000 | 2011-01-03 | 2011-03-19 | | 20100000 | 00000000 | 2009-11-12 | 2009-12-27 | Scenario: the person has an unknown start of the address occupancy, a partly or wholly overlapping unknown start of the next address occupancy and a previous address occupancy within the period of uncertainty of the start of the address occupancy Given the person with citizen service number '000000024' is registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20080101 | And the person was subsequently registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 00000000 | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20100800 | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2009-11-12 | | datumTot | 2011-03-12 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | 2009-11-12 tot 2010-09-01 | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Scenario Outline: the person has an unknown start of the address occupancy and a partly or wholly overlapping unknown start of the next address occupancy and the period overlaps the periods of uncertainty Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2009-07-01 | | datumTot | 2011-07-01 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang adreshouding | datum aanvang volgende adreshouding | datum van | datum tot | | 20100800 | 20100800 | 2010-08-01 | 2010-09-01 | | 20100800 | 20100000 | 2010-08-01 | 2011-01-01 | | 20100800 | 00000000 | 2010-08-01 | 2011-07-01 | | 20100000 | 20100800 | 2010-01-01 | 2010-09-01 | | 20100000 | 20100000 | 2010-01-01 | 2011-01-01 | | 20100000 | 00000000 | 2010-01-01 | 2011-07-01 | | 00000000 | 20100800 | 2009-07-01 | 2010-09-01 | | 00000000 | 20100000 | 2009-07-01 | 2011-01-01 | | 00000000 | 00000000 | 2009-07-01 | 2011-07-01 | Rule: a person with a known start of the previous address occupancy that falls before the period of uncertainty of the partly unknown start of the address occupancy is a possible occupant for that part of the period which falls within the period of uncertainty of the address occupancy requested Scenario Outline: the start date of the previous address occupancy falls before the period of uncertainty of the partly unknown start of the address occupancy and the period falls within the period of uncertainty of the address occupancy requested Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum van | datum tot | | 20100101 | 20100800 | 2010-08-01 | 2010-09-01 | | 20100101 | 20100800 | 2010-08-03 | 2010-08-30 | | 20091001 | 20100000 | 2010-01-01 | 2011-01-01 | | 20091001 | 20100000 | 2010-04-06 | 2010-11-30 | Scenario Outline: the start date of the previous address occupancy falls before the period of uncertainty of the partly unknown start of the address occupancy and the period falls before the period of uncertainty of the address occupancy requested Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has 0 occupancies Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum van | datum tot | | 20100101 | 20100800 | 2010-07-16 | 2010-08-01 | | 20100101 | 20100800 | 2010-07-16 | 2010-07-23 | | 20091001 | 20100000 | 2009-12-06 | 2010-01-01 | | 20091001 | 20100000 | 2009-10-06 | 2009-10-14 | Rule: a person with a known start of the previous address occupancy that falls within the period of uncertainty of the unknown start of the address occupancy is a possible occupant for that part of the period within the period of uncertainty which falls after the start date of the previous address occupancy Scenario Outline: the start date of the previous address occupancy falls within the period of uncertainty of the unknown start of the address occupancy and the period falls within the period of uncertainty of the address occupancy requested, after the start date of the previous address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum van | datum tot | | 20100810 | 20100800 | 2010-08-17 | 2010-08-23 | | 20100810 | 20100800 | 2010-08-11 | 2010-09-01 | | 20100501 | 20100000 | 2010-07-12 | 2010-09-30 | | 20100501 | 20100000 | 2010-05-02 | 2011-01-01 | | 20101014 | 00000000 | 2010-10-15 | 2023-09-14 | | 20101014 | 00000000 | 2022-01-01 | 2023-01-01 | Scenario Outline: the start date of the previous address occupancy falls within the period of uncertainty of the unknown start of the address occupancy and the period falls within the period of uncertainty of the address occupancy requested, up to or before the start date of the previous address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has 0 occupancies Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum van | datum tot | | 20100810 | 20100800 | 2010-08-03 | 2010-08-09 | | 20100810 | 20100800 | 2010-08-01 | 2010-08-11 | | 20100501 | 20100000 | 2010-03-17 | 2010-05-01 | | 20100501 | 20100000 | 2010-01-01 | 2010-05-02 | | 20101014 | 00000000 | 2010-04-01 | 2010-10-01 | | 20101014 | 00000000 | 2010-10-13 | 2010-10-15 | Rule: a person with a known start of the previous address occupancy and a known start of the next address occupancy that both fall within the period of uncertainty of the unknown start of the address occupancy is a possible occupant for that part of the period which falls within the period of uncertainty, after the start date of the previous address occupancy and before the start date of the next address occupancy Scenario Outline: the start date of the previous address occupancy and the start date of the next address occupancy fall within the period of uncertainty of the unknown start of the address occupancy and the period falls within the period of uncertainty of the address occupancy requested Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2010-01-01 | | datumTot | 2011-01-01 | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has an occupancy with the following data | naam | waarde | | periode | <periode> | | adresseerbaarObjectIdentificatie | 0800010000000002 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum aanvang volgende adreshouding | periode | | 20100810 | 20100800 | 20100827 | 2010-08-11 tot 2010-08-27 | | 20100501 | 20100000 | 20101203 | 2010-05-02 tot 2010-12-03 | | 20100501 | 00000000 | 20101203 | 2010-05-02 tot 2010-12-03 | Scenario Outline: the start date of the previous address occupancy and the start date of the next address occupancy fall within the period of uncertainty of the unknown start of the address occupancy and the period falls within the period of uncertainty of the address occupancy requested <scenario> Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | And the person was subsequently registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang volgende adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has 0 occupancies Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum aanvang volgende adreshouding | datum van | datum tot | scenario | | 20100810 | 20100800 | 20100827 | 2010-07-01 | 2010-08-10 | tot datum aanvang vorige adreshouding | | 20100810 | 20100800 | 20100827 | 2010-07-01 | 2010-08-09 | vóór datum aanvang vorige adreshouding | | 20100501 | 20100000 | 20101203 | 2010-04-01 | 2010-05-01 | tot datum aanvang vorige adreshouding | | 20100501 | 20100000 | 20101203 | 2010-04-01 | 2010-04-30 | vóór datum aanvang vorige adreshouding | | 20101014 | 00000000 | 20160301 | 2010-04-01 | 2010-10-14 | tot datum aanvang vorige adreshouding | | 20101014 | 00000000 | 20160301 | 2010-04-01 | 2010-10-13 | vóór datum aanvang vorige adreshouding | | 20100810 | 20100800 | 20100827 | 2010-08-27 | 2010-11-30 | vanaf datum aanvang volgende adreshouding | | 20100810 | 20100800 | 20100827 | 2010-08-29 | 2010-11-30 | na datum aanvang volgende adreshouding | | 20100501 | 20100000 | 20101203 | 2010-12-03 | 2011-01-01 | vanaf datum aanvang volgende adreshouding | | 20100501 | 20100000 | 20101203 | 2010-12-17 | 2011-01-01 | na datum aanvang volgende adreshouding | | 20101014 | 00000000 | 20160301 | 2016-03-01 | 2016-05-01 | vanaf datum aanvang volgende adreshouding | | 20101014 | 00000000 | 20160301 | 2020-01-01 | 2021-01-01 | na datum aanvang volgende adreshouding | Rule: a person with a partly unknown start of the address occupancy, a partly unknown start of the previous address occupancy and non-overlapping periods of uncertainty is a possible occupant for that part of the period which falls within the period of uncertainty of the address occupancy requested Scenario Outline: the period of uncertainty of the partly unknown start of the address occupancy does not overlap the period of uncertainty of the partly unknown start of the previous address occupancy and the period falls within the period of uncertainty of the address occupancy requested Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum van | datum tot | | 20100800 | 20101000 | 2010-10-01 | 2010-11-01 | | 20100800 | 20110000 | 2011-01-01 | 2012-01-01 | | 20100000 | 20110200 | 2011-02-01 | 2011-03-01 | | 20100000 | 20110000 | 2011-01-01 | 2012-01-01 | Scenario Outline: the period of uncertainty of the partly unknown start of the address occupancy does not overlap the period of uncertainty of the partly unknown start of the previous address occupancy and the period falls before the period of uncertainty of the address occupancy requested Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has 0 occupancies Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum van | datum tot | | 20100800 | 20101000 | 2010-08-11 | 2010-09-12 | | 20100800 | 20101000 | 2010-08-02 | 2010-10-01 | | 20100800 | 20110000 | 2010-09-01 | 2010-12-01 | | 20100800 | 20110000 | 2010-12-31 | 2011-01-01 | | 20100000 | 20110200 | 2010-08-02 | 2011-01-19 | | 20100000 | 20110200 | 2010-08-02 | 2011-02-01 | | 20100000 | 20110000 | 2010-08-02 | 2010-12-31 | | 20100000 | 20110000 | 2010-12-31 | 2011-01-01 | | 20100000 | 20110200 | 2011-01-01 | 2011-01-19 | | 20100000 | 20110200 | 2011-01-01 | 2011-02-01 | Rule: a person with an unknown start of the address occupancy, an unknown start of the previous address occupancy and an identical period of uncertainty is a possible occupant for that part of the period which falls within the period of uncertainty Scenario Outline: the period of uncertainty of the address occupancy matches the period of uncertainty of the previous address occupancy and the period falls within the period of uncertainty Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum van | datum tot | | 00000000 | 00000000 | 2010-08-31 | 2023-05-26 | | 20100000 | 20100000 | 2010-05-26 | 2010-07-30 | | 20100000 | 20100000 | 2010-01-01 | 2011-01-01 | | 20100500 | 20100500 | 2010-05-06 | 2010-05-26 | | 20100500 | 20100500 | 2010-05-01 | 2010-06-01 | Scenario Outline: the period of uncertainty of the address occupancy matches the period of uncertainty of the previous address occupancy and the period falls before the period of uncertainty Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has 0 occupancies Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum van | datum tot | | 20100000 | 20100000 | 2009-12-31 | 2010-01-01 | | 20100500 | 20100500 | 2010-02-01 | 2010-04-27 | | 20100500 | 20100500 | 2010-04-30 | 2010-05-01 | Rule: a person with an unknown start of the address occupancy, an unknown start of the previous address occupancy and partly or wholly overlapping periods of uncertainty is a possible occupant for that part of the period which falls within the period of uncertainty of the address occupancy and on or after the first day of the period of uncertainty of the previous address occupancy Scenario Outline: the period of uncertainty of the address occupancy wholly overlaps the period of uncertainty of the previous address occupancy and the period falls on or after the first day of the period of uncertainty of the previous address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum van | datum tot | opmerking | | 20100000 | 00000000 | 2010-01-01 | 2012-11-17 | periode begint op de eerste dag in de onzekerheidsperiode van aanvang vorige adreshouding | | 20100000 | 00000000 | 2011-01-01 | 2012-01-01 | periode begint op de eerste dag na de onzekerheidsperiode van aanvang vorige adreshouding | | 20100500 | 00000000 | 2010-05-01 | 2012-05-26 | periode begint op de eerste dag in de onzekerheidsperiode van aanvang vorige adreshouding | | 20100500 | 20100000 | 2010-05-01 | 2010-07-01 | periode begint op de eerste dag in de onzekerheidsperiode van aanvang vorige adreshouding | | 20100500 | 20100000 | 2010-06-01 | 2010-07-01 | periode begint op de eerste dag na de onzekerheidsperiode van aanvang vorige adreshouding | Scenario Outline: the period of uncertainty of the address occupancy wholly overlaps the period of uncertainty of the previous address occupancy and the period falls before the period of uncertainty of the previous address occupancy Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has 0 occupancies Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum van | datum tot | | 20100000 | 00000000 | 2009-01-01 | 2009-11-30 | | 20100000 | 00000000 | 2009-01-01 | 2010-01-01 | | 20100500 | 00000000 | 2010-01-01 | 2010-05-01 | | 20100500 | 20100000 | 2010-04-01 | 2010-05-01 | Scenario Outline: the period of uncertainty of the address occupancy partly overlaps the period of uncertainty of the previous address occupancy and the period falls within the period of uncertainty of the address occupancy requested Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has an occupancy with the following data | naam | waarde | | periode | <datum van> tot <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000024 | Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum van | datum tot | | 00000000 | 20100000 | 2010-05-26 | 2010-10-14 | | 00000000 | 20100000 | 2010-01-01 | 2011-01-01 | | 00000000 | 20100500 | 2010-05-01 | 2010-06-01 | | 20100000 | 20100800 | 2010-08-01 | 2010-09-01 | Scenario Outline: the period of uncertainty of the address occupancy partly overlaps the period of uncertainty of the previous address occupancy and the period falls before the period of uncertainty of the address occupancy requested Given the person with citizen service number '000000024' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang vorige adreshouding> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang adreshouding> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | <datum van> | | datumTot | <datum tot> | | adresseerbaarObjectIdentificatie | 0800010000000002 | Then the response has 0 occupancies Examples: | datum aanvang vorige adreshouding | datum aanvang adreshouding | datum van | datum tot | | 00000000 | 20100000 | 2009-01-01 | 2010-01-01 | | 00000000 | 20100500 | 2010-03-17 | 2010-04-30 | | 00000000 | 20100500 | 2010-03-17 | 2010-05-01 | | 20100000 | 20100800 | 2010-07-30 | 2010-08-01 | Rule: a person with an unknown start of the address occupancy is an occupant for that part of the period which falls after the period of uncertainty of the address occupancy requested and before the start of the next stay Scenario Outline: the start of the address occupancy is partly unknown and there is no next stay Given the person with citizen service number '000000012' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang> | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2020-01-01 | | datumTot | 2023-01-01 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <periode mogelijke bewoner> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000012 | And the response has an occupancy with the following data | naam | waarde | | periode | <periode bewoner> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has an occupant with the following data | burgerservicenummer | | 000000012 | Examples: | datum aanvang | periode mogelijke bewoner | periode bewoner | | 20210500 | 2021-05-01 tot 2021-06-01 | 2021-06-01 tot 2023-01-01 | | 20210000 | 2021-01-01 tot 2022-01-01 | 2022-01-01 tot 2023-01-01 | Scenario Outline: the start of the address occupancy is partly unknown and the next verblijfplaats falls after the period of uncertainty and within the period requested Given the person with citizen service number '000000012' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20221014 | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2020-01-01 | | datumTot | 2023-01-01 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <periode mogelijke bewoner> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000012 | And the response has an occupancy with the following data | naam | waarde | | periode | <periode bewoner> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has an occupant with the following data | burgerservicenummer | | 000000012 | Examples: | datum aanvang | periode mogelijke bewoner | periode bewoner | | 20210500 | 2021-05-01 tot 2021-06-01 | 2021-06-01 tot 2022-10-14 | | 20210000 | 2021-01-01 tot 2022-01-01 | 2022-01-01 tot 2022-10-14 | Scenario Outline: the start of the address occupancy is partly unknown and the next verblijfplaats falls after the period of uncertainty and after the period requested Given the person with citizen service number '000000012' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20221014 | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2020-01-01 | | datumTot | 2023-01-01 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <periode mogelijke bewoner> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000012 | And the response has an occupancy with the following data | naam | waarde | | periode | <periode bewoner> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has an occupant with the following data | burgerservicenummer | | 000000012 | Examples: | datum aanvang | periode mogelijke bewoner | periode bewoner | | 20210500 | 2021-05-01 tot 2021-06-01 | 2021-06-01 tot 2022-10-14 | | 20210000 | 2021-01-01 tot 2022-01-01 | 2022-01-01 tot 2022-10-14 | Scenario Outline: the start of the address occupancy is partly or wholly unknown and the next verblijfplaats falls within the period of uncertainty and within the period requested Given the person with citizen service number '000000012' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20210526 | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2020-01-01 | | datumTot | 2022-01-01 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <periode mogelijke bewoner> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000012 | Examples: | datum aanvang | periode mogelijke bewoner | | 20210500 | 2021-05-01 tot 2021-05-26 | | 20210000 | 2021-01-01 tot 2021-05-26 | | 00000000 | 2020-01-01 tot 2021-05-26 | Scenario Outline: the start of the address occupancy is partly or wholly unknown and the next verblijfplaats falls within the period of uncertainty and after the period requested Given the person with citizen service number '000000012' is registered at address 'A1' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | <datum aanvang> | And the person was subsequently registered at address 'A2' with the following data | gemeente van inschrijving (09.10) | datum aanvang adreshouding (10.30) | | 0800 | 20210526 | When gba occupancy is searched with the following parameters | naam | waarde | | type | BewoningMetPeriode | | datumVan | 2020-01-01 | | datumTot | 2021-05-16 | | adresseerbaarObjectIdentificatie | 0800010000000001 | Then the response has an occupancy with the following data | naam | waarde | | periode | <periode mogelijke bewoner> | | adresseerbaarObjectIdentificatie | 0800010000000001 | And the occupancy has a possible occupant with the following data | burgerservicenummer | | 000000012 | Examples: | datum aanvang | periode mogelijke bewoner | | 20210500 | 2021-05-01 tot 2021-05-16 | | 20210000 | 2021-01-01 tot 2021-05-16 | | 00000000 | 2020-01-01 tot 2021-05-16 |