{
  "resourceType": "StructureDefinition",
  "id": "IspmHumanName",
  "meta": {
    "lastUpdated": "2023-02-05T17:38:59.0979594+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "normative"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
      "valueCode": "4.0.0"
    }
  ],
  "url": "http://com.philips.ispm.fhir.r4.profile/StructureDefinition/IspmHumanName",
  "version": "1.0.1",
  "name": "IspmHumanName",
  "title": "ISPM HumanName",
  "status": "draft",
  "date": "2023-02-09T00:02:53.8161514+00:00",
  "publisher": "Philips ISPM",
  "contact": [
    {
      "name": "alexey.novikov@philips.com",
      "telecom": [
        {
          "system": "email",
          "value": "alexey.novikov@philips.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Base StructureDefinition for ISPM HumanName Type: A human's name with the ability to identify parts and usage.",
  "purpose": "Need to be able to record names, along with notes about their use.",
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "http://com.philips.ispm.fhir.r4.profile/StructureDefinition/IspmHumanName",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "IspmHumanName",
        "path": "IspmHumanName",
        "short": "Name of a human - parts and usage",
        "definition": "A human's name with the ability to identify parts and usage.",
        "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.",
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ]
      },
      {
        "id": "IspmHumanName.use",
        "path": "IspmHumanName.use",
        "short": "usual | official | temp | nickname | anonymous | old | maiden",
        "definition": "Identifies the purpose for this name.",
        "comment": "Applications can assume that a name is current unless it explicitly says that it is temporary or old.",
        "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": true,
        "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,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "NameUse"
            }
          ],
          "strength": "required",
          "description": "The use of a human name.",
          "valueSet": "http://hl7.org/fhir/ValueSet/name-use|4.0.1"
        }
      },
      {
        "id": "IspmHumanName.text",
        "path": "IspmHumanName.text",
        "short": "Text representation of the full name",
        "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.",
        "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.",
        "requirements": "A renderable, unencoded form.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isSummary": true
      },
      {
        "id": "IspmHumanName.family",
        "path": "IspmHumanName.family",
        "short": "Family name (often called 'Surname')",
        "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.",
        "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).",
        "alias": [
          "surname"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "IspmHumanName.given",
        "path": "IspmHumanName.given",
        "short": "Given names (not always 'first'). Includes middle names",
        "definition": "Given name.",
        "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.",
        "alias": [
          "first name",
          "middle name"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string"
          }
        ],
        "orderMeaning": "Given Names appear in the correct order for presenting the name",
        "isSummary": true
      },
      {
        "id": "IspmHumanName.prefix",
        "path": "IspmHumanName.prefix",
        "short": "Parts that come before the name",
        "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.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string"
          }
        ],
        "orderMeaning": "Prefixes appear in the correct order for presenting the name",
        "isSummary": true
      },
      {
        "id": "IspmHumanName.suffix",
        "path": "IspmHumanName.suffix",
        "short": "Parts that come after the name",
        "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.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string"
          }
        ],
        "orderMeaning": "Suffixes appear in the correct order for presenting the name",
        "isSummary": true
      },
      {
        "id": "IspmHumanName.period",
        "path": "IspmHumanName.period",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Period"
            ]
          }
        ]
      }
    ]
  }
}