{
  "resourceType": "StructureDefinition",
  "id": "nordic-middlename",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2018-06-13T12:23:00.348+00:00"
  },
  "text": {
    "status": "empty",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" />"
  },
  "url": "http://hl7.nordic/fhir/StructureDefinition/nordic-middlename",
  "version": "0.1.0",
  "name": "NordicMiddlename",
  "title": "Nordic middlename",
  "status": "draft",
  "date": "2019-09-10",
  "publisher": "Direktoratet for e-helse",
  "description": "The basis extension defines the Nordic middlename wich is called \"mellomnavn\", \"mellemnavn\" or \"Mellannamn\" and defined by legislation in each country.",
  "jurisdiction": [
    {
      "text": "Norway"
    },
    {
      "text": "Sweden"
    },
    {
      "text": "Denmark"
    }
  ],
  "purpose": "Specific usage of middle name as a specific part of official name standard where name order is important\r\n\r\nThe Nordic middlename is usually defined as a separate entity in the legislation of the Nordic countries. It is not considered a part of the given or family name but as a separate entity with specific use and definition. The legislation varies in the three countries where this concept is defined, but the main concept of the middlename is similar. The three countries where middlename is mentioned by legislation is Sweden, Denmark and Norway.",
  "fhirVersion": "4.0.0",
  "kind": "complex-type",
  "abstract": false,
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Defines a Nordic middle name",
        "definition": "The basis extension defines the Nordic middlename and defined by legislation.",
        "comment": "The Nordic middlename is usually defined as a separate entity in the legislation of the Nordic countries. It is not considered a part of the given or family name but as a separate entity with specific use and definition. The legislation varies in the three countries where this concept is defined, but the main concept of the middlename is similar. The three countries where middlename is mentioned by legislation is Sweden, Denmark and Norway.",
        "alias": [
          "mellomnavn",
          "mellannamn",
          "mellemnavn"
        ],
        "max": "1"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://hl7.nordic/fhir/StructureDefinition/nordic-middlename"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ]
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Extension.value[x]:valueString",
        "path": "Extension.value[x]",
        "sliceName": "valueString",
        "short": "The middlename",
        "definition": "The middle name of the person according to the country legislation.",
        "alias": [
          "mellomnavn",
          "mellemnavn",
          "mellannamn"
        ],
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Extension.uri",
        "path": "Extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://hl7.nordic/fhir/StructureDefinition/nordic-middlename"
      }
    ]
  }
}