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

GezagPersoonBeperkt: geboorte fields under investigation

#language: en

Feature: GezagPersoonBeperkt: geboorte fields under investigation

    Scenario Outline: '<type>' is under investigation and geboorte is requested
      Given an address has the following data
      | gemeentecode (92.10) | identificatiecode verblijfplaats (11.80) |
      | 0518                 | 0599010051001502                         |
      And the person with citizen service number '000000152' has the following data
      | naam                            | waarde                    |
      | geboortedatum (03.10)           | 19830526                  |
      | aanduiding in onderzoek (83.10) | <aanduiding in onderzoek> |
      | datum ingang onderzoek (83.20)  | 20020701                  |
      And the person is registered at the address with the following data
      | gemeente van inschrijving (09.10) |
      | 0518                              |
      When persons are searched with the following parameters
      | naam                             | waarde                                  |
      | type                             | ZoekMetAdresseerbaarObjectIdentificatie |
      | adresseerbaarObjectIdentificatie | 0599010051001502                        |
      | 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 an address has the following data
      | gemeentecode (92.10) | identificatiecode verblijfplaats (11.80) |
      | 0518                 | 0599010051001502                         |
      And the person with citizen service number '000000152' has the following data
      | naam                            | waarde                    |
      | geboortedatum (03.10)           | 19830526                  |
      | aanduiding in onderzoek (83.10) | <aanduiding in onderzoek> |
      | datum ingang onderzoek (83.20)  | 20020701                  |
      And the person is registered at the address with the following data
      | gemeente van inschrijving (09.10) |
      | 0518                              |
      When persons are searched with the following parameters
      | naam                             | waarde                                  |
      | type                             | ZoekMetAdresseerbaarObjectIdentificatie |
      | adresseerbaarObjectIdentificatie | 0599010051001502                        |
      | 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          |