HAAL✻CENTRAAL English translation
BRP API / Personen / Features / geslachtsnaam_partner_leeg_onbekend

Use of the name in running text where the surname of the partner is empty or unknown

# language: en

Feature: Use of the name in running text where the surname of the partner is empty or unknown


  Rule: Aanduiding naamgebruik "E" (own name) is applied for a person where the surname of the partner is empty or unknown and the name of the partner is used
    - the surname of the partner is empty or unknown (.)
    - aanduidingNaamgebruik is not equal to "E" (own)

    Scenario Outline: the name of the partner is '<partner geslachtsnaam>' with aanduiding naamgebruik "<naamgebruik>"
      Given the person with citizen service number '000000334' has the following data
        | naam                                 | waarde        |
        | geslachtsaanduiding (04.10)          | V             |
        | voornamen (02.10)                    |               |
        | adellijke titel of predicaat (02.20) |               |
        | voorvoegsel (02.30)                  | de            |
        | geslachtsnaam (02.40)                | Boer          |
        | aanduiding naamgebruik (61.10)       | <naamgebruik> |
        And the person has a 'partner' with the following data
        | naam                                 | waarde                  |
        | adellijke titel of predicaat (02.20) |                         |
        | voorvoegsel (02.30)                  |                         |
        | geslachtsnaam (02.40)                | <partner geslachtsnaam> |
        When persons are searched with the following parameters
        | naam                | waarde                            |
        | type                | RaadpleegMetBurgerservicenummer   |
        | burgerservicenummer | 000000334                         |
        | fields              | adressering.gebruikInLopendeTekst |
        Then the response has a person with the following 'adressering' data
        | naam                  | waarde                  |
        | gebruikInLopendeTekst | <gebruikinlopendetekst> |

        Examples:
        | partner geslachtsnaam | naamgebruik | gebruikinlopendetekst  |
        | .                     | E           | mevrouw De Boer        |
        | .                     | P           | mevrouw De Boer        |
        | .                     | V           | mevrouw De Boer        |
        | .                     | N           | mevrouw De Boer        |
        |                       | E           | mevrouw De Boer        |
        |                       | P           | mevrouw De Boer        |
        |                       | V           | mevrouw De Boer        |
        |                       | N           | mevrouw De Boer        |
        | Jansen                | E           | mevrouw De Boer        |
        | Jansen                | P           | mevrouw Jansen         |
        | Jansen                | V           | mevrouw Jansen-de Boer |
        | Jansen                | N           | mevrouw De Boer-Jansen |