HAALCENTRAAL English translation
BRP API / Personen / Features / fields-gba

requesting the adressering aanhef, aanschrijfwijze and/or gebruikInLopendeTekst fields with fields

#language: en

@gba
Feature: requesting the adressering aanhef, aanschrijfwijze and/or gebruikInLopendeTekst fields with fields

Rule: where the aanhef, aanschrijfwijze and/or gebruikInLopendeTekst fields of adressering are requested for a person and the category persoon (01) has data under investigation, that data is supplied as well

  Scenario Outline: '<type>' is under investigation and the aanhef, aanschrijfwijze and gebruikInLopendeTekst fields are requested
    Given the person with citizen service number '000000152' has the following data
    | geslachtsnaam (02.40) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) |
    | .                     | <aanduiding in onderzoek>       | 20020701                       |
    When gba persons are searched with the following parameters
    | naam                | waarde                                                                           |
    | type                | RaadpleegMetBurgerservicenummer                                                  |
    | burgerservicenummer | 000000152                                                                        |
    | fields              | adressering.aanhef,adressering.aanschrijfwijze,adressering.gebruikInLopendeTekst |
    Then the response has a person with the following data
    | naam                                             | waarde                    |
    | persoonInOnderzoek.aanduidingGegevensInOnderzoek | <aanduiding in onderzoek> |
    | persoonInOnderzoek.datumIngangOnderzoek          | 20020701                  |
    | naam.geslachtsnaam                               | .                         |
    And the person has no 'partner' data

    Examples:
    | aanduiding in onderzoek | type                         |
    | 010000                  | hele categorie persoon       |
    | 010200                  | hele groep naam              |
    | 010210                  | voornamen                    |
    | 010220                  | adellijke titel of predicaat |
    | 010230                  | voorvoegsel geslachtsnaam    |
    | 010240                  | geslachtsnaam                |
    | 010400                  | hele groep geslacht          |
    | 010410                  | geslachtsaanduiding          |
    | 016100                  | hele groep naamgebruik       |
    | 016110                  | aanduiding naamgebruik       |

Rule: where the aanhef, aanschrijfwijze and/or gebruikInLopendeTekst fields of adressering are requested for a person and the category partner (05) has data under investigation, that data is supplied as well

  Scenario Outline: '<type>' is under investigation and the aanhef, aanschrijfwijze and gebruikInLopendeTekst fields are requested
    Given the person with citizen service number '000000152' has a 'partner' with the following data
    | geslachtsnaam (02.40) | aanduiding in onderzoek (83.10) | datum ingang onderzoek (83.20) |
    | .                     | <aanduiding in onderzoek>       | 20020701                       |
    When gba persons are searched with the following parameters
    | naam                | waarde                                                                           |
    | type                | RaadpleegMetBurgerservicenummer                                                  |
    | burgerservicenummer | 000000152                                                                        |
    | fields              | adressering.aanhef,adressering.aanschrijfwijze,adressering.gebruikInLopendeTekst |
    Then the response has a person with a 'partner' with the following data
    | naam                                      | waarde                    |
    | inOnderzoek.aanduidingGegevensInOnderzoek | <aanduiding in onderzoek> |
    | inOnderzoek.datumIngangOnderzoek          | 20020701                  |
    | naam.geslachtsnaam                        | .                         |

    Examples:
    | aanduiding in onderzoek | type                                                            |
    | 050000                  | hele categorie partner                                          |
    | 050100                  | hele groep identificatinummers partner                          |
    | 050120                  | burgerservicenummer partner                                     |
    | 050200                  | hele groep naam partner                                         |
    | 050210                  | voornamen partner                                               |
    | 050220                  | adellijke titel of predicaat partner                            |
    | 050230                  | voorvoegsel geslachtsnaam partner                               |
    | 050240                  | geslachtsnaam partner                                           |
    | 050300                  | hele groep geboorte partner                                     |
    | 050310                  | geboortedatum partner                                           |
    | 050320                  | geboorteplaats partner                                          |
    | 050330                  | geboorteland partner                                            |
    | 050400                  | hele groep geslacht partner                                     |
    | 050410                  | geslachtsaanduiding partner                                     |
    | 051500                  | hele groep soort verbintenis                                    |
    | 051510                  | soort verbintenis                                               |
    | 050600                  | hele groep huwelijkssluiting/aangaan geregistreerd partnerschap |
    | 050610                  | datum huwelijkssluiting/aangaan geregistreerd partnerschap      |
    | 050620                  | plaats huwelijkssluiting/aangaan geregistreerd partnerschap     |
    | 050630                  | land huwelijkssluiting/aangaan geregistreerd partnerschap       |
    | 050700                  | hele groep ontbinding huwelijk/geregistreerd partnerschap       |
    | 050710                  | datum ontbinding huwelijk/geregistreerd partnerschap            |