HAALCENTRAAL English translation
BRP API / Personen / Features / in-onderzoek

PersoonBeperkt: geboorte fields under investigation

#language: en

Feature: PersoonBeperkt: geboorte fields under investigation

  Scenario Outline: '<type>' is under investigation and geboorte is requested
    Given the person with citizen service number '000000152' has the following data
    | naam                            | waarde                    |
    | geslachtsnaam (02.40)           | Maassen                   |
    | geboortedatum (03.10)           | 19830526                  |
    | aanduiding in onderzoek (83.10) | <aanduiding in onderzoek> |
    | datum ingang onderzoek (83.20)  | 20020701                  |
    When persons are searched with the following parameters
    | naam          | waarde                              |
    | type          | ZoekMetGeslachtsnaamEnGeboortedatum |
    | geslachtsnaam | Maassen                             |
    | geboortedatum | 1983-05-26                          |
    | fields        | geboorte                            |
    Then the response has a person with the following 'geboorte' data
    | naam                                         | waarde      |
    | datum.type                                   | Datum       |
    | datum.datum                                  | 1983-05-26  |
    | datum.langFormaat                            | 26 mei 1983 |
    | inOnderzoek.datum                            | true        |
    | inOnderzoek.datumIngangOnderzoek.type        | Datum       |
    | inOnderzoek.datumIngangOnderzoek.datum       | 2002-07-01  |
    | inOnderzoek.datumIngangOnderzoek.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 geboortedatum is requested
    Given the person with citizen service number '000000152' has the following data
    | naam                            | waarde                    |
    | geslachtsnaam (02.40)           | Maassen                   |
    | geboortedatum (03.10)           | 19830526                  |
    | aanduiding in onderzoek (83.10) | <aanduiding in onderzoek> |
    | datum ingang onderzoek (83.20)  | 20020701                  |
    When persons are searched with the following parameters
    | naam          | waarde                              |
    | type          | ZoekMetGeslachtsnaamEnGeboortedatum |
    | geslachtsnaam | Maassen                             |
    | geboortedatum | 1983-05-26                          |
    | fields        | geboorte.datum                      |
    Then the response has a person with the following 'geboorte' data
    | naam                                         | waarde      |
    | datum.type                                   | Datum       |
    | datum.datum                                  | 1983-05-26  |
    | datum.langFormaat                            | 26 mei 1983 |
    | inOnderzoek.datum                            | true        |
    | inOnderzoek.datumIngangOnderzoek.type        | Datum       |
    | inOnderzoek.datumIngangOnderzoek.datum       | 2002-07-01  |
    | inOnderzoek.datumIngangOnderzoek.langFormaat | 1 juli 2002 |

    Examples:
    | aanduiding in onderzoek | type                   |
    | 010000                  | hele categorie persoon |
    | 010300                  | hele groep geboorte    |
    | 010310                  | geboortedatum          |