kind - birth
# language: en @gba Feature: kind - birth Scenario: The child has unknown geboorte data Given the person with citizen service number '000000152' has a 'kind' with the following data | naam | waarde | | geboortedatum (03.10) | 00000000 | | geboorteplaats (03.20) | 0000 | | geboorteland (03.30) | 0000 | When gba persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000152 | | fields | kinderen.geboorte | Then the response has a person with a 'kind' with the following 'geboorte' data | naam | waarde | | datum | 00000000 | | plaats.code | 0000 | | plaats.omschrijving | Onbekend | | land.code | 0000 | | land.omschrijving | Onbekend | Rule: where the place of birth (03.20) does not contain a valid municipality code, the place is supplied in the omschrijving field and the code field is not supplied - a valid municipality code consists of four digits and occurs in the national table Gemeenten - if the value in the place of birth (03.20) does not occur in the national table Gemeenten, the value is included only in the description. (Foreign place name or coordinates) Scenario: Plaats is a foreign place or location for the code of the birth of the child Given the person with citizen service number '000000309' has a 'kind' with the following data | geboorteplaats (03.20) | | Brussel | When gba persons are searched with the following parameters | naam | waarde | | type | RaadpleegMetBurgerservicenummer | | burgerservicenummer | 000000309 | | fields | kinderen.geboorte.plaats | Then the response has a person with a 'kind' with the following 'geboorte' data | naam | waarde | | plaats.omschrijving | Brussel |