{
  "resourceType": "StructureDefinition",
  "id": "gd-HumanName",
  "url": "http://ehelse.no/fhir/StructureDefinition/gd-HumanName",
  "version": "2.0.2",
  "name": "GdHumanName",
  "status": "draft",
  "date": "2019-10-18",
  "description": "Grunndata personnavn. Contains information and metadata for human names defined in Norwegian Master Person Index and Norwegian Directorate of e-Health's health related Master Person Index.",
  "fhirVersion": "4.0.0",
  "kind": "complex-type",
  "abstract": false,
  "type": "HumanName",
  "baseDefinition": "http://hl7.no/fhir/StructureDefinition/no-basis-HumanName",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "HumanName",
        "path": "HumanName",
        "short": "Norwegian human name from FREG",
        "definition": "gd-HumanName Contains information and metadata for human names defined in Norwegian Master Person Index and Norwegian Directorate of e-Health's health related Master Person Index.&#xD;&#xA;&#xD;&#xA;Defines the format of norwegian human name according to norwegian regulation (lov om personnavn)."
      },
      {
        "id": "HumanName.extension:middlename",
        "path": "HumanName.extension",
        "sliceName": "middlename",
        "mustSupport": true
      },
      {
        "id": "HumanName.extension:fregMetadata",
        "path": "HumanName.extension",
        "sliceName": "fregMetadata",
        "short": "Registermetadata",
        "definition": "Registermetadata describes metadata about resources available from the norwegian person index (folkeregisteret), all resources containing metadata from folkeregisteret will include registermetadata",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata"
            ]
          }
        ]
      },
      {
        "id": "HumanName.extension:fregName",
        "path": "HumanName.extension",
        "sliceName": "fregName",
        "short": "additional metadata about human name from FREG",
        "definition": "additional metadata about human name defined by FREG (folkeregisterpersonnavn) describes metadata specific to the HumanName available from the norwegian person index (folkeregisteret, freg)",
        "alias": [
          "forkortetnavn",
          "originaltnavn"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ehelse.no/fhir/StructureDefinition/gd-additional-humanname"
            ]
          }
        ]
      },
      {
        "id": "HumanName.use",
        "path": "HumanName.use",
        "short": "use is not used in Norwegian names",
        "definition": "gd-HumanName don't use this element&#xD;&#xA;&#xD;&#xA;Identifies the purpose for this name.",
        "mustSupport": false
      },
      {
        "id": "HumanName.family",
        "path": "HumanName.family",
        "mustSupport": true
      },
      {
        "id": "HumanName.given",
        "path": "HumanName.given",
        "mustSupport": true
      },
      {
        "id": "HumanName.period",
        "path": "HumanName.period",
        "short": "Not used",
        "definition": "gd-HumanName: will not use this element for metadata about when a HumanName is/was in use. The information will be provided through metadata from the Master Person Index (FREG).&#xD;&#xA;&#xD;&#xA;Indicates the period of time when this name was valid for the named person.",
        "mustSupport": false
      }
    ]
  }
}