GezagPersoonBeperkt: leeftijd field under investigation
#language: en Feature: GezagPersoonBeperkt: leeftijd field under investigation Scenario Outline: '<type>' is under investigation and leeftijd is requested Given the person with citizen service number '000000152' has the following data | geboortedatum (03.10) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | vandaag - 10 jaar | <aanduiding in onderzoek> | 20020701 | And the person has the following 'verblijfplaats' data | gemeente van inschrijving (09.10) | | 0599 | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | identificatiecode verblijfplaats (11.80) | | 0599 | 0599010051001502 | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetAdresseerbaarObjectIdentificatie | | adresseerbaarObjectIdentificatie | 0599010051001502 | | fields | leeftijd | Then the response has a person with the following data | naam | waarde | | leeftijd | 10 | | inOnderzoek.leeftijd | true | | inOnderzoek.datumIngangOnderzoekPersoon.type | Datum | | inOnderzoek.datumIngangOnderzoekPersoon.datum | 2002-07-01 | | inOnderzoek.datumIngangOnderzoekPersoon.langFormaat | 1 juli 2002 | Examples: | aanduiding in onderzoek | type | | 010000 | hele categorie persoon | | 010300 | hele groep geboorte | | 010310 | geboortedatum | Scenario Outline: '<type>' is under investigation and leeftijd is requested Given the person with citizen service number '000000152' has the following data | geboortedatum (03.10) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | vandaag - 10 jaar | <aanduiding in onderzoek> | 20020701 | And the person has the following 'verblijfplaats' data | gemeente van inschrijving (09.10) | | 0599 | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | identificatiecode verblijfplaats (11.80) | | 0599 | 0599010051001502 | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetAdresseerbaarObjectIdentificatie | | adresseerbaarObjectIdentificatie | 0599010051001502 | | fields | leeftijd | Then the response has a person with the following data | naam | waarde | | leeftijd | 10 | Examples: | aanduiding in onderzoek | type | | 010320 | geboorteplaats | | 010330 | geboorteland | Scenario Outline: '<type>' is under investigation and leeftijd is not requested Given the person with citizen service number '000000152' has the following data | geboortedatum (03.10) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) | | vandaag - 10 jaar | <aanduiding in onderzoek> | 20020701 | And the person has the following 'verblijfplaats' data | gemeente van inschrijving (09.10) | | 0599 | And the 'verblijfplaats' has the following 'adres' data | gemeentecode (92.10) | identificatiecode verblijfplaats (11.80) | | 0599 | 0599010051001502 | When persons are searched with the following parameters | naam | waarde | | type | ZoekMetAdresseerbaarObjectIdentificatie | | adresseerbaarObjectIdentificatie | 0599010051001502 | | fields | adressering.adresregel1 | Then the response has a person without data Examples: | aanduiding in onderzoek | type | | 010000 | hele categorie persoon | | 010300 | hele groep geboorte | | 010310 | geboortedatum |