persona step definitions
# language: en @stap-documentatie @integratie Feature: persona step definitions Scenario: the {leeftijd omschrijving} person {kind} with two parents {moeder} and {vader} who were not married to each other at the time when the minor was born Given the <leeftijd omschrijving> person 'Jan' with two parents 'Petra' and 'Piet' who were not married to each other at the time when the minor was born When the SQL statements generated from the Given steps have been executed Then person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Jan | 0 | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Jan | 0 | 0 | P | 000000103 | Jan | <geboortedatum> | 6030 | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Jan | 0 | 0 | 1 | <geboortedatum> | 000000101 | Petra | morgen - 37 jaar | V | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Jan | 0 | 0 | 2 | <geboortedatum> | 000000102 | Piet | morgen - 37 jaar | M | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | | Jan | 0 | 0518 | And person 'Petra' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Petra | 0 | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Petra | 0 | 0 | P | 000000101 | Petra | morgen - 37 jaar | V | 1_A____ | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Petra | 0 | 0 | K | 000000103 | Jan | <geboortedatum> | 6030 | 1_A____ | And person 'Piet' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Piet | 0 | And person 'Piet' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Piet | 0 | 0 | P | 000000102 | Piet | morgen - 37 jaar | M | 1_A____ | And person 'Piet' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Piet | 0 | 0 | K | 000000103 | Jan | <geboortedatum> | 6030 | 1_A____ | Examples: | leeftijd omschrijving | geboortedatum | | minderjarige | gisteren - 17 jaar | | meerderjarige | gisteren - 45 jaar | | 7 jaar geleden geboren | 7 jaar geleden | | 03-11-2024 geboren | 20241103 | | op 03-11-2024 geboren | 20241103 | | op 3 november 2024 geboren | 20241103 | | op een onbekende datum geboren | 00000000 | | gisteren geboren | gisteren | | vorige maand geboren | vorige maand | Scenario: the {leeftijd omschrijving} person {kind} with two unmarried parents {moeder} and {vader} Given the <leeftijd omschrijving> person 'Jan' with two unmarried parents 'Petra' and 'Piet' When the SQL statements generated from the Given steps have been executed Then person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Jan | 0 | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Jan | 0 | 0 | P | 000000103 | Jan | <geboortedatum> | 6030 | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Jan | 0 | 0 | 1 | <geboortedatum> | 000000101 | Petra | morgen - 37 jaar | V | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Jan | 0 | 0 | 2 | <geboortedatum> | 000000102 | Piet | morgen - 37 jaar | M | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | | Jan | 0 | 0518 | And person 'Petra' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Petra | 0 | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Petra | 0 | 0 | P | 000000101 | Petra | morgen - 37 jaar | V | 1_A____ | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Petra | 0 | 0 | K | 000000103 | Jan | <geboortedatum> | 6030 | 1_A____ | And person 'Piet' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Piet | 0 | And person 'Piet' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Piet | 0 | 0 | P | 000000102 | Piet | morgen - 37 jaar | M | 1_A____ | And person 'Piet' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Piet | 0 | 0 | K | 000000103 | Jan | <geboortedatum> | 6030 | 1_A____ | Examples: | leeftijd omschrijving | geboortedatum | | minderjarige | gisteren - 17 jaar | | meerderjarige | gisteren - 45 jaar | | 7 jaar geleden geboren | 7 jaar geleden | | 03-11-2024 geboren | 20241103 | | op 03-11-2024 geboren | 20241103 | | op 3 november 2024 geboren | 20241103 | | op een onbekende datum geboren | 00000000 | | gisteren geboren | gisteren | | vorige maand geboren | vorige maand | Scenario: the {leeftijd omschrijving} person {kind} with two parents {moeder} and {vader} who were not married to each other at the time when the minor was born - the parents were already defined Given the woman 'Paula', born on 14-10-2002 And the minor 'Jan' with two parents 'Petra' and 'Paula' who were not married to each other at the time when the minor was born When the SQL statements generated from the Given steps have been executed Then person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Jan | 0 | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Jan | 0 | 0 | P | 000000103 | Jan | gisteren - 17 jaar | 6030 | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Jan | 0 | 0 | 1 | gisteren - 17 jaar | 000000101 | Petra | morgen - 37 jaar | V | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Jan | 0 | 0 | 2 | gisteren - 17 jaar | 000000012 | Paula | 20021014 | V | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | | Jan | 0 | 0518 | And person 'Petra' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Petra | 0 | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Petra | 0 | 0 | P | 000000101 | Petra | morgen - 37 jaar | V | 1_A____ | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Petra | 0 | 0 | K | 000000103 | Jan | gisteren - 17 jaar | 6030 | 1_A____ | And person 'Paula' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Paula | 0 | And person 'Paula' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Paula | 0 | 0 | P | 000000012 | Paula | 20021014 | V | 1_A____ | And person 'Paula' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Paula | 0 | 0 | K | 000000103 | Jan | gisteren - 17 jaar | 6030 | 1_A____ | Scenario: the {leeftijd omschrijving} person {kind} with two married parents {moeder} and {vader} Given the <leeftijd omschrijving> person 'Jan' with two married parents 'Petra' and 'Piet' When the SQL statements generated from the Given steps have been executed Then person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Jan | 0 | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Jan | 0 | 0 | P | 000000103 | Jan | <geboortedatum> | 6030 | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | akte_nr | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | | Jan | 0 | 0 | 1 | <geboortedatum> | 1_A____ | 000000101 | Petra | morgen - 37 jaar | V | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | akte_nr | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | | Jan | 0 | 0 | 2 | <geboortedatum> | 1_A____ | 000000102 | Piet | morgen - 37 jaar | M | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | | Jan | 0 | 0518 | And person 'Petra' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Petra | 0 | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Petra | 0 | 0 | P | 000000101 | Petra | morgen - 37 jaar | V | 1_A____ | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Petra | 0 | 0 | K | 000000103 | Jan | <geboortedatum> | 6030 | 1_A____ | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | relatie_start_datum | relatie_start_plaats | relatie_start_land_code | verbintenis_soort | akte_nr | | Petra | 0 | 0 | R | 000000102 | Piet | morgen - 37 jaar | M | gisteren - 20 jaar | 0518 | 6030 | H | 3XA1224 | And person 'Piet' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Piet | 0 | And person 'Piet' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Piet | 0 | 0 | P | 000000102 | Piet | morgen - 37 jaar | M | 1_A____ | And person 'Piet' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Piet | 0 | 0 | K | 000000103 | Jan | <geboortedatum> | 6030 | 1_A____ | And person 'Piet' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | relatie_start_datum | relatie_start_plaats | relatie_start_land_code | verbintenis_soort | akte_nr | | Piet | 0 | 0 | R | 000000101 | Petra | morgen - 37 jaar | V | gisteren - 20 jaar | 0518 | 6030 | H | 3XA1224 | Examples: | leeftijd omschrijving | geboortedatum | | minderjarige | gisteren - 17 jaar | | meerderjarige | gisteren - 45 jaar | | 7 jaar geleden geboren | 7 jaar geleden | | 03-11-2024 geboren | 20241103 | | op 03-11-2024 geboren | 20241103 | | op 3 november 2024 geboren | 20241103 | | op een onbekende datum geboren | 00000000 | | gisteren geboren | gisteren | | vorige maand geboren | vorige maand | Scenario Outline: the {datum omschrijving} person {kind} with one parent {ouder} Given the <leeftijd omschrijving> person 'Jan' with one parent 'Petra' When the SQL statements generated from the Given steps have been executed Then person 'Petra' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Petra | 0 | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Petra | 0 | 0 | P | 000000101 | Petra | morgen - 37 jaar | V | 1_A____ | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Petra | 0 | 0 | K | 000000103 | Jan | <geboortedatum> | 6030 | 1_A____ | Then person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Jan | 0 | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Jan | 0 | 0 | P | 000000103 | Jan | <geboortedatum> | 6030 | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | | Jan | 0 | 0518 | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | akte_nr | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | | Jan | 0 | 0 | 1 | <geboortedatum> | 1_A____ | 000000101 | Petra | morgen - 37 jaar | V | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | akte_nr | geldigheid_start_datum | | Jan | 0 | 0 | 2 | 1_A____ | <geboortedatum> | Examples: | leeftijd omschrijving | geboortedatum | | minderjarige | gisteren - 17 jaar | | meerderjarige | gisteren - 45 jaar | | 7 jaar geleden geboren | 7 jaar geleden | | 03-11-2024 geboren | 20241103 | | op 03-11-2024 geboren | 20241103 | | op 3 november 2024 geboren | 20241103 | | op een onbekende datum geboren | 00000000 | | gisteren geboren | gisteren | | vorige maand geboren | vorige maand | Scenario: the minor {kind} with one parent {ouder} who is married to {partner} Given the minor 'Jan' with one parent 'Petra' who is married to 'Paula' When the SQL statements generated from the Given steps have been executed Then person 'Petra' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Petra | 0 | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Petra | 0 | 0 | P | 000000101 | Petra | morgen - 37 jaar | V | 1_A____ | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Petra | 0 | 0 | K | 000000103 | Jan | gisteren - 16 jaar | 6030 | 1_A____ | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | relatie_start_datum | relatie_start_plaats | relatie_start_land_code | verbintenis_soort | akte_nr | | Petra | 0 | 0 | R | 000000102 | Paula | morgen - 37 jaar | V | gisteren - 20 jaar | 0518 | 6030 | H | 3XA1224 | And person 'Paula' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Paula | 0 | And person 'Paula' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | akte_nr | | Paula | 0 | 0 | P | 000000102 | Paula | morgen - 37 jaar | V | 1_A____ | And person 'Paula' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | relatie_start_datum | relatie_start_plaats | relatie_start_land_code | verbintenis_soort | akte_nr | | Paula | 0 | 0 | R | 000000101 | Petra | morgen - 37 jaar | V | gisteren - 20 jaar | 0518 | 6030 | H | 3XA1224 | And person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Jan | 0 | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Jan | 0 | 0 | P | 000000103 | Jan | gisteren - 16 jaar | 6030 | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | | Jan | 0 | 0518 | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | akte_nr | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | | Jan | 0 | 0 | 1 | gisteren - 16 jaar | 1_A____ | 000000101 | Petra | morgen - 37 jaar | V | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | akte_nr | geldigheid_start_datum | | Jan | 0 | 0 | 2 | 1_A____ | gisteren - 16 jaar | Scenario: the minor {kind}, born abroad, with two married parents {moeder} and {vader} Given the minor 'Jan', born abroad, with two married parents 'Petra' and 'Piet' When the SQL statements generated from the Given steps have been executed Then person 'Petra' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Petra | 0 | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | doc_beschrijving | | Petra | 0 | 0 | P | 000000101 | Petra | morgen - 37 jaar | V | paspoort | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | doc_beschrijving | | Petra | 0 | 0 | K | 000000103 | Jan | gisteren - 16 jaar | 6029 | buitenlandse geboorteakte | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | relatie_start_datum | relatie_start_plaats | relatie_start_land_code | verbintenis_soort | doc_beschrijving | | Petra | 0 | 0 | R | 000000102 | Piet | morgen - 37 jaar | M | gisteren - 20 jaar | Teststadt | 6029 | H | buitenlandse huwelijkseakte | And person 'Piet' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Piet | 0 | And person 'Piet' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | doc_beschrijving | | Piet | 0 | 0 | P | 000000102 | Piet | morgen - 37 jaar | M | beëdigde verklaring | And person 'Piet' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | doc_beschrijving | | Piet | 0 | 0 | K | 000000103 | Jan | gisteren - 16 jaar | 6029 | buitenlandse geboorteakte | And person 'Piet' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | relatie_start_datum | relatie_start_plaats | relatie_start_land_code | verbintenis_soort | doc_beschrijving | | Piet | 0 | 0 | R | 000000101 | Petra | morgen - 37 jaar | V | gisteren - 20 jaar | Teststadt | 6029 | H | buitenlandse huwelijkseakte | And person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Jan | 0 | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | doc_beschrijving | | Jan | 0 | 0 | P | 000000103 | Jan | gisteren - 16 jaar | 6029 | buitenlandse geboorteakte | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | vestiging_land_code | vestiging_datum | | Jan | 0 | 0518 | 6029 | gisteren - 5 jaar | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | doc_beschrijving | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | | Jan | 0 | 0 | 1 | gisteren - 16 jaar | buitenlandse geboorteakte | 000000101 | Petra | morgen - 37 jaar | V | | Jan | 0 | 0 | 2 | gisteren - 16 jaar | buitenlandse geboorteakte | 000000102 | Piet | morgen - 37 jaar | M | Scenario: the minor {kind}, born abroad, with one parent {ouder} Given the minor 'Jan', born abroad, with one parent 'Petra' When the SQL statements generated from the Given steps have been executed Then person 'Petra' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Petra | 0 | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | doc_beschrijving | | Petra | 0 | 0 | P | 000000101 | Petra | morgen - 37 jaar | V | paspoort | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | doc_beschrijving | | Petra | 0 | 0 | K | 000000103 | Jan | gisteren - 16 jaar | 6029 | buitenlandse geboorteakte | And person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Jan | 0 | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | doc_beschrijving | | Jan | 0 | 0 | P | 000000103 | Jan | gisteren - 16 jaar | 6029 | buitenlandse geboorteakte | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | vestiging_land_code | vestiging_datum | | Jan | 0 | 0518 | 6029 | gisteren - 5 jaar | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | doc_beschrijving | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | | Jan | 0 | 0 | 1 | gisteren - 16 jaar | buitenlandse geboorteakte | 000000101 | Petra | morgen - 37 jaar | V | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | doc_beschrijving | geldigheid_start_datum | | Jan | 0 | 0 | 2 | buitenlandse geboorteakte | gisteren - 16 jaar | Scenario: the minor {kind}, born abroad, adopted by one parent {ouder} Given the minor 'Jan', born abroad, adopted by one parent 'Petra' When the SQL statements generated from the Given steps have been executed Then person 'Petra' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Petra | 0 | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | doc_beschrijving | | Petra | 0 | 0 | P | 000000104 | Petra | morgen - 37 jaar | V | paspoort | And person 'Petra' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Petra | 0 | 0 | K | 000000103 | Jan | gisteren - 16 jaar | 6029 | 1_Q____ | And person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Jan | 0 | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Jan | 0 | 0 | P | 000000103 | Jan | gisteren - 16 jaar | 6029 | 1_Q____ | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | vestiging_land_code | vestiging_datum | | Jan | 0 | 0518 | 6029 | gisteren - 5 jaar | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | akte_nr | burger_service_nr | geslachts_naam | geboorte_datum | geslachts_aand | | Jan | 0 | 0 | 1 | gisteren - 15 jaar | 1_Q____ | 000000104 | Petra | morgen - 37 jaar | V | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | doc_beschrijving | geldigheid_start_datum | | Jan | 0 | 0 | 2 | buitenlandse geboorteakte | gisteren - 16 jaar | Scenario: the minor {kind}, born abroad, with non-resident parents {moeder} and {vader} Given the minor 'Jan', born abroad, with non-resident parents 'Petra' and 'Piet' When the SQL statements generated from the Given steps have been executed Then person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Jan | 0 | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | doc_beschrijving | | Jan | 0 | 0 | P | 000000103 | Jan | gisteren - 16 jaar | 6029 | buitenlandse geboorteakte | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | vestiging_land_code | vestiging_datum | | Jan | 0 | 0518 | 6029 | gisteren - 5 jaar | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | familie_betrek_start_datum | doc_beschrijving | voor_naam | geslachts_naam | geboorte_datum | geslachts_aand | | Jan | 0 | 0 | 1 | gisteren - 16 jaar | buitenlandse geboorteakte | Jane | Petra | morgen - 37 jaar | V | | Jan | 0 | 0 | 2 | gisteren - 16 jaar | buitenlandse geboorteakte | John | Piet | morgen - 37 jaar | M | Scenario: the minor {string} who has never been a resident Given the minor 'Jan' who has never been a resident When the SQL statements generated from the Given steps have been executed Then person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | bijhouding_opschort_datum | bijhouding_opschort_reden | | Jan | 0 | gisteren - 1 jaar | R | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | doc_beschrijving | rni_deelnemer | | Jan | 0 | 0 | P | 000000103 | Jan | gisteren - 16 jaar | 6029 | buitenlandse geboorteakte | 201 | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | rni_deelnemer | | Jan | 0 | 1999 | 201 | Scenario: the {datum omschrijving} person {kind} who was born as a foundling Given the <leeftijd omschrijving> person 'Jan' who was born as a foundling When the SQL statements generated from the Given steps have been executed Then person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Jan | 0 | And person 'Petra' has the following rows in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | familie_betrek_start_datum | akte_nr | | Jan | 0 | 0 | P | 000000103 | Jan | <geboortedatum> | 6030 | | 1_A____ | | Jan | 0 | 0 | 1 | | . | | | <geboortedatum> | 1_A____ | | Jan | 0 | 0 | 2 | | | | | | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | | Jan | 0 | 0518 | Examples: | leeftijd omschrijving | geboortedatum | | minderjarige | gisteren - 17 jaar | | meerderjarige | gisteren - 45 jaar | | 7 jaar geleden geboren | 7 jaar geleden | | 03-11-2024 geboren | 20241103 | | op 03-11-2024 geboren | 20241103 | | op 3 november 2024 geboren | 20241103 | | op een onbekende datum geboren | 00000000 | Scenario: the person of full age {persoon} Given the adult 'Jan' When the SQL statements generated from the Given steps have been executed Then person 'Jan' has the following row in table 'lo3_pl' | pl_id | geheim_ind | | Jan | 0 | And person 'Jan' has the following row in table 'lo3_pl_persoon' | pl_id | stapel_nr | volg_nr | persoon_type | burger_service_nr | geslachts_naam | geboorte_datum | geboorte_land_code | akte_nr | | Jan | 0 | 0 | P | 000000106 | Jan | morgen - 37 jaar | 6030 | 1_A____ | And person 'Jan' has the following row in table 'lo3_pl_verblijfplaats' | pl_id | volg_nr | inschrijving_gemeente_code | | Jan | 0 | 0518 |