HAALCENTRAAL English translation
BRP API / Personen / Features / hoffelijkheidstitel

Use of the name in running text for a person with a partner with a title of nobility

# language: en

Feature: Use of the name in running text for a person with a partner with a title of nobility
  The gebruikInLopendeTekst for a person is filled by the provider, so that a person can be referred to unambiguously.

  The gebruikInLopendeTekst can be used, for example, in a sentence in a letter such as "In uw brief van 12 mei jongstleden, geeft u het overlijden van uw vader, de heer In het Veld, aan.", where "de heer In het Veld" has been taken from the attribute gebruikInLopendeTekst.

  # In the tables below the abbreviations mean:
  # GA = "mevrouw", "de heer" or the initials
  # VL = initials
  # VV = voorvoegselGeslachtsnaam (surname prefix)
  # GN = surname
  # VP = voorvoegselGeslachtsnaam of the partner
  # GP = surname of the partner
  # AT = title of nobility
  # PR = predicate
  # HT = courtesy title or 'titre de courtoisie'

Rule: a woman with a (former) partner with a title of nobility is given a courtesy title ('titre de courtoisie') in gebruikInLopendeTekst, whereby:
  - gebruikInLopendeTekst is composed from the name components of the person and of any (former) partner, on the basis of aanduidingNaamgebruik:
    | aanduidingNaamgebruik | gebruikinlopendetekst |
    | E                     | PR AT VV GN           |
    | P                     | HT VP GP              |
    | V                     | HT VP GP-PR AT VV GN  |
    | N                     | PR AT VV GN-HT VP GP  |
  - the courtesy title ('titre de courtoisie') is determined on the basis of the title of nobility of the (former) partner:
    | adellijkeTitelPredicaat partner | hoffelijkheidstitel |
    | G                               | gravin              |
    | B                               | barones             |
    | H                               | hertogin            |
    | M                               | markiezin           |
    | P                               | prinses             |
  - for including the own title of nobility of the person or predicate and the other name components, the same rules apply as if she had no partner with a title of nobility
  - the title of nobility of the (former) partner is used only under the following conditions:
    - the (former) partner has a title of nobility (not a predicate)
    - the gender of the person is "V"
    - the person uses the name of her (former) partner (aanduidingNaamgebruik is not equal to "E")
    - the title of nobility of the (former) partner has a courtesy title (occurs in the table above)

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

      Examples:
      | adellijkeTitelPredicaat partner | omschrijving | gebruikInLopendeTekst           |
      | B                               | Baron        | barones van den Aedel-de Boer   |
      | G                               | Graaf        | gravin van den Aedel-de Boer    |
      | H                               | Hertog       | hertogin van den Aedel-de Boer  |
      | M                               | Markies      | markiezin van den Aedel-de Boer |
      | P                               | Prins        | prinses van den Aedel-de Boer   |
      | R                               | Ridder       | mevrouw Van den Aedel-de Boer   |
      | JH                              | Jonkheer     | mevrouw Van den Aedel-de Boer   |
      | BS                              | Barones      | mevrouw Van den Aedel-de Boer   |

  Scenario Outline: a person with geslacht "<geslacht>" and a partner with title of nobility <titel partner>
    Given the person with citizen service number '000000255' has the following data
      | naam                                 | waarde     |
      | geslachtsaanduiding (04.10)          | <geslacht> |
      | voornamen (02.10)                    | Jo         |
      | adellijke titel of predicaat (02.20) |            |
      | voorvoegsel (02.30)                  | de         |
      | geslachtsnaam (02.40)                | Boer       |
      | aanduiding naamgebruik (61.10)       | P          |
      And the person has a 'partner' with the following data
      | naam                                 | waarde          |
      | adellijke titel of predicaat (02.20) | <titel partner> |
      | voorvoegsel (02.30)                  | van den         |
      | geslachtsnaam (02.40)                | Aedel           |
      When persons are searched with the following parameters
      | naam                | waarde                            |
      | type                | RaadpleegMetBurgerservicenummer   |
      | burgerservicenummer | 000000255                         |
      | fields              | adressering.gebruikInLopendeTekst |
      Then the response has a person with the following 'adressering' data
      | naam                  | waarde                  |
      | gebruikInLopendeTekst | <gebruikInLopendeTekst> |

      Examples:
      | geslacht | titel partner | gebruikInLopendeTekst |
      | V        | B             | barones van den Aedel |
      | V        | BS            | mevrouw Van den Aedel |
      | M        | B             | de heer Van den Aedel |
      | M        | BS            | de heer Van den Aedel |
      | O        | B             | J. van den Aedel      |
      | O        | BS            | J. van den Aedel      |

  Scenario Outline: title of nobility of the partner with aanduiding naamgebruik "<naamgebruik>"
    Given the person with citizen service number '000000267' has the following data
      | naam                                 | waarde        |
      | geslachtsaanduiding (04.10)          | V             |
      | voornamen (02.10)                    | Jo            |
      | 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) | B       |
      | voorvoegsel (02.30)                  | van den |
      | geslachtsnaam (02.40)                | Aedel   |
      When persons are searched with the following parameters
      | naam                | waarde                            |
      | type                | RaadpleegMetBurgerservicenummer   |
      | burgerservicenummer | 000000267                         |
      | fields              | adressering.gebruikInLopendeTekst |
      Then the response has a person with the following 'adressering' data
      | naam                  | waarde                  |
      | gebruikInLopendeTekst | <gebruikInLopendeTekst> |

      Examples:
      | naamgebruik | gebruikInLopendeTekst                 |
      | E           | mevrouw De Boer                       |
      | P           | barones van den Aedel                 |
      | V           | barones van den Aedel-de Boer         |
      | N           | mevrouw De Boer-barones van den Aedel |

  Scenario Outline: the person and the partner both have a title of nobility, with aanduiding naamgebruik "<naamgebruik>"
    Given the person with citizen service number '000000279' has the following data
      | naam                                 | waarde        |
      | geslachtsaanduiding (04.10)          | V             |
      | voornamen (02.10)                    | Jo            |
      | adellijke titel of predicaat (02.20) | BS            |
      | 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  |
      | geslachtsaanduiding (04.10)          | M       |
      | adellijke titel of predicaat (02.20) | G       |
      | voorvoegsel (02.30)                  | van den |
      | geslachtsnaam (02.40)                | Aedel   |
      When persons are searched with the following parameters
      | naam                | waarde                            |
      | type                | RaadpleegMetBurgerservicenummer   |
      | burgerservicenummer | 000000279                         |
      | fields              | adressering.gebruikInLopendeTekst |
      Then the response has a person with the following 'adressering' data
      | naam                  | waarde                  |
      | gebruikInLopendeTekst | <gebruikInLopendeTekst> |

      Examples:
      | naamgebruik | gebruikInLopendeTekst                |
      | E           | barones de Boer                      |
      | P           | gravin van den Aedel                 |
      | V           | gravin van den Aedel-barones de Boer |
      | N           | barones de Boer-gravin van den Aedel |