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