PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-elm@1.3.1
    http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-humanname
{
  "description": "Name with extensions for data-absent-reason",
  "_filename": "StructureDefinition-ch-elm-humanname.json",
  "package_name": "ch.fhir.ig.ch-elm",
  "date": "2024-06-17T08:47:24+00:00",
  "derivation": "constraint",
  "publisher": "Federal Office of Public Health FOPH",
  "fhirVersion": "4.0.1",
  "jurisdiction": [ {
    "coding": [ {
      "code": "CHE",
      "system": "urn:iso:std:iso:3166"
    } ]
  } ],
  "name": "CHElmHumanName",
  "mapping": [ {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://www.omg.org/spec/ServD/1.0/",
    "name": "ServD",
    "identity": "servd"
  }, {
    "uri": "http://www.ech.ch/",
    "name": "eCH-Standards",
    "identity": "eCH"
  } ],
  "abstract": false,
  "copyright": "CC0-1.0",
  "type": "HumanName",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Human Name",
  "package_version": "1.3.1",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ch-core-hm-1",
        "human": "if officalName with eCH-011 Extension is specified, it can only be put on a name where use attribute is official",
        "source": "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-humanname",
        "severity": "error",
        "expression": "family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='officialName').empty() or (family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='officialName').exists() and use='official')"
      }, {
        "key": "ch-core-hm-2",
        "human": "if orginalName with eCH-011 Extension is specified, it can only be put on a name where use attribute is maiden",
        "source": "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-humanname",
        "severity": "error",
        "expression": "family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='originalName').empty() or ((family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='originalName').exists() and use='maiden'))"
      }, {
        "key": "ch-core-hm-3",
        "human": "ch-ext-ech-11-name can only be put on a family name",
        "source": "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-humanname",
        "severity": "error",
        "expression": "descendants().extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name').count()=family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name').count()"
      }, {
        "key": "ch-core-hm-4",
        "human": "ch-ext-ech-11-firstname can only be put on a given name",
        "source": "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-humanname",
        "severity": "error",
        "expression": "descendants().extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-firstname').count()=given.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-firstname').count()"
      } ],
      "path": "HumanName",
      "min": 0,
      "definition": "A human's name with the ability to identify parts and usage.",
      "isModifier": false,
      "short": "Name of a human - parts and usage",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "XPN",
        "identity": "v2"
      }, {
        "map": "EN (actually, PN)",
        "identity": "rim"
      }, {
        "map": "ProviderName",
        "identity": "servd"
      } ],
      "max": "*",
      "id": "HumanName",
      "condition": [ "ele-1" ],
      "comment": "Names may be changed, or repudiated, or people may have different names in different contexts. Names may be divided into parts of different type that have variable significance depending on context, though the division into parts does not always matter. With personal names, the different parts might or might not be imbued with some implicit meaning; various cultures associate different importance with the name parts and the degree to which systems must care about name parts around the world varies widely.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName"
      }
    }, {
      "path": "HumanName.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HumanName.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "HumanName.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HumanName.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "HumanName.extension",
      "min": 0,
      "definition": "This CH ELM extension enables to proivde the VCT Code.",
      "isModifier": false,
      "short": "CH ELM Extension: VCT Code",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-ext-vct-code" ]
      } ],
      "sliceName": "vctcode",
      "max": "1",
      "id": "HumanName.extension:vctcode",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "HumanName.extension",
      "min": 0,
      "definition": "This CH ELM extension enables to proivde the HIV Code.",
      "isModifier": false,
      "short": "CH ELM Extension: HIV Code",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-ext-hiv-code" ]
      } ],
      "sliceName": "hivcode",
      "max": "1",
      "id": "HumanName.extension:hivcode",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "HumanName.use",
      "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.",
      "min": 0,
      "definition": "Identifies the purpose for this name.",
      "isModifier": true,
      "short": "usual | official | temp | nickname | anonymous | old | maiden",
      "mapping": [ {
        "map": "XPN.7, but often indicated by which field contains the name",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "./NamePurpose",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/name-use|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NameUse"
        } ],
        "description": "The use of a human name."
      },
      "max": "1",
      "id": "HumanName.use",
      "comment": "Applications can assume that a name is current unless it explicitly says that it is temporary or old.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.use"
      },
      "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "HumanName.text",
      "requirements": "A renderable, unencoded form.",
      "min": 0,
      "definition": "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.",
      "isModifier": false,
      "short": "Text representation of the full name",
      "mapping": [ {
        "map": "implied by XPN.11",
        "identity": "v2"
      }, {
        "map": "./formatted",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HumanName.text",
      "comment": "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present,  no content is included in the text that isn't found in a part.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.text"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "HumanName.family",
      "min": 0,
      "definition": "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.",
      "isModifier": false,
      "short": "Family name (often called 'Surname')",
      "mapping": [ {
        "map": "XPN.1/FN.1",
        "identity": "v2"
      }, {
        "map": "./part[partType = FAM]",
        "identity": "rim"
      }, {
        "map": "./FamilyName",
        "identity": "servd"
      }, {
        "map": "eCH-0010: lastName",
        "identity": "eCH"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "surname" ],
      "max": "1",
      "id": "HumanName.family",
      "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.family"
      },
      "isSummary": true
    }, {
      "path": "HumanName.family.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references)",
      "isModifier": false,
      "short": "xml:id (or equivalent in JSON)",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HumanName.family.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "HumanName.family.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "HumanName.family.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "HumanName.family.extension",
      "min": 0,
      "definition": "Extension for eCH-0011 - namedatatype",
      "isModifier": false,
      "short": "Extension",
      "mapping": [ {
        "map": "eCH-0011: officialName, originalName, allianceName, nameOnForeignPassport, aliasName, otherName, declaredForeignName",
        "identity": "eCH"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name" ]
      } ],
      "sliceName": "ech11name",
      "max": "1",
      "id": "HumanName.family.extension:ech11name",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "HumanName.family.extension",
      "min": 0,
      "definition": "Provides a reason why the expected value or elements in the element that is extended are missing.",
      "isModifier": false,
      "short": "unknown | asked | temp | notasked | masked | unsupported | astext | error",
      "mapping": [ {
        "map": "ANY.nullFlavor",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
      } ],
      "sliceName": "dataabsentreason",
      "max": "1",
      "id": "HumanName.family.extension:dataabsentreason",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "HumanName.family.value",
      "min": 0,
      "definition": "The actual value",
      "isModifier": false,
      "short": "Primitive value for string",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/regex",
          "valueString": "[ \\r\\n\\t\\S]+"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HumanName.family.value",
      "maxLength": 1048576,
      "base": {
        "max": "1",
        "min": 0,
        "path": "string.value"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "HumanName.given",
      "min": 0,
      "definition": "Given name.",
      "isModifier": false,
      "short": "Given names (not always 'first'). Includes middle names",
      "mapping": [ {
        "map": "XPN.2 + XPN.3",
        "identity": "v2"
      }, {
        "map": "./part[partType = GIV]",
        "identity": "rim"
      }, {
        "map": "./GivenNames",
        "identity": "servd"
      }, {
        "map": "eCH-0010: firstName equivalent to callName of eCH-0011",
        "identity": "eCH"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "first name", "middle name" ],
      "max": "*",
      "id": "HumanName.given",
      "comment": "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations.  This element is not called \"first name\" since given names do not always come first.",
      "orderMeaning": "Given Names appear in the correct order for presenting the name",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName.given"
      },
      "isSummary": true
    }, {
      "path": "HumanName.given.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references)",
      "isModifier": false,
      "short": "xml:id (or equivalent in JSON)",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HumanName.given.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "HumanName.given.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "HumanName.given.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "HumanName.given.extension",
      "min": 0,
      "definition": "eCH-0011: Extension to define first name type",
      "isModifier": false,
      "short": "Extension",
      "mapping": [ {
        "map": "eCH-0011: officialFirstName, callName, allianceName, firstNameOnForeignPassport, declaredForeignFirstName",
        "identity": "eCH"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-firstname" ]
      } ],
      "sliceName": "ech11firstname",
      "max": "1",
      "id": "HumanName.given.extension:ech11firstname",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "HumanName.given.extension",
      "min": 0,
      "definition": "Provides a reason why the expected value or elements in the element that is extended are missing.",
      "isModifier": false,
      "short": "unknown | asked | temp | notasked | masked | unsupported | astext | error",
      "mapping": [ {
        "map": "ANY.nullFlavor",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
      } ],
      "sliceName": "dataabsentreason",
      "max": "1",
      "id": "HumanName.given.extension:dataabsentreason",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "HumanName.given.value",
      "min": 0,
      "definition": "The actual value",
      "isModifier": false,
      "short": "Primitive value for string",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/regex",
          "valueString": "[ \\r\\n\\t\\S]+"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HumanName.given.value",
      "maxLength": 1048576,
      "base": {
        "max": "1",
        "min": 0,
        "path": "string.value"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "HumanName.prefix",
      "min": 0,
      "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.",
      "isModifier": false,
      "short": "For a salutation use a prefix without the iso21090-EN-qualifier extension. For academical titles and legal status use the http://hl7.org/fhir/ExtensionDefinition/iso21090-EN-qualifier with the codes AC, LS.",
      "mapping": [ {
        "map": "XPN.5",
        "identity": "v2"
      }, {
        "map": "./part[partType = PFX]",
        "identity": "rim"
      }, {
        "map": "./TitleCode",
        "identity": "servd"
      }, {
        "map": "eCH-0010: mrMrs, title",
        "identity": "eCH"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "HumanName.prefix",
      "orderMeaning": "Prefixes appear in the correct order for presenting the name",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName.prefix"
      },
      "isSummary": true
    }, {
      "path": "HumanName.prefix.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references)",
      "isModifier": false,
      "short": "xml:id (or equivalent in JSON)",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HumanName.prefix.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "HumanName.prefix.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "HumanName.prefix.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "HumanName.prefix.extension",
      "min": 0,
      "definition": "A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.",
      "isModifier": false,
      "short": "For academical titles and legal status use the http://hl7.org/fhir/ExtensionDefinition/iso21090-EN-qualifier with the codes AC, LS.",
      "mapping": [ {
        "map": "ENXP.qualifier",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier" ]
      } ],
      "sliceName": "salutationandtitle",
      "max": "*",
      "id": "HumanName.prefix.extension:salutationandtitle",
      "condition": [ "ele-1" ],
      "comment": "Used to indicate additional information about the name part and how it should be used.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HumanName.prefix.value",
      "min": 0,
      "definition": "The actual value",
      "isModifier": false,
      "short": "Primitive value for string",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/regex",
          "valueString": "[ \\r\\n\\t\\S]+"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HumanName.prefix.value",
      "maxLength": 1048576,
      "base": {
        "max": "1",
        "min": 0,
        "path": "string.value"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "HumanName.suffix",
      "min": 0,
      "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.",
      "isModifier": false,
      "short": "Parts that come after the name",
      "mapping": [ {
        "map": "XPN/4",
        "identity": "v2"
      }, {
        "map": "./part[partType = SFX]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "HumanName.suffix",
      "orderMeaning": "Suffixes appear in the correct order for presenting the name",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName.suffix"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "HumanName.period",
      "requirements": "Allows names to be placed in historical context.",
      "min": 0,
      "definition": "Indicates the period of time when this name was valid for the named person.",
      "isModifier": false,
      "short": "Time period when name was/is in use",
      "mapping": [ {
        "map": "XPN.13 + XPN.14",
        "identity": "v2"
      }, {
        "map": "./usablePeriod[type=\"IVL\"]",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "HumanName.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.period"
      },
      "isSummary": true
    } ]
  },
  "status": "active",
  "id": "c0f0c494-593e-4d3e-ba96-440f50a64687",
  "kind": "complex-type",
  "url": "http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-humanname",
  "version": "1.3.1",
  "differential": {
    "element": [ {
      "id": "HumanName.extension:vctcode",
      "max": "1",
      "min": 0,
      "path": "HumanName.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-ext-vct-code" ]
      } ],
      "sliceName": "vctcode"
    }, {
      "id": "HumanName.extension:hivcode",
      "max": "1",
      "min": 0,
      "path": "HumanName.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-ext-hiv-code" ]
      } ],
      "sliceName": "hivcode"
    }, {
      "id": "HumanName.family.extension:dataabsentreason",
      "max": "1",
      "min": 0,
      "path": "HumanName.family.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
      } ],
      "sliceName": "dataabsentreason"
    }, {
      "id": "HumanName.given.extension:dataabsentreason",
      "max": "1",
      "min": 0,
      "path": "HumanName.given.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
      } ],
      "sliceName": "dataabsentreason"
    } ]
  },
  "contact": [ {
    "name": "Federal Office of Public Health FOPH",
    "telecom": [ {
      "value": "https://www.bag.admin.ch/bag/en/home/das-bag/kontakt-standort.html",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-humanname"
}