<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASPractitioner" />
  <name value="UNICASPractitioner" />
  <title value="Practitioner Profesional Sanitario ÚNICAS" />
  <status value="draft" />
  <description value="Este profile define las restricciones del recurso Practitioner para representar el profesional sanitario en el contexto del caso de uso de ÚNICAS." />
  <fhirVersion value="5.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Practitioner" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
  <derivation value="constraint" />
  <differential>
    <element id="Practitioner.identifier">
      <path value="Practitioner.identifier" />
      <short value="Identificadores del profesional sanitario (DNI como dato mínimo. Adicionalmente, se puede informar el número colegiado del profesional)" />
      <definition value="An identifier for the person as this agent. An identifier that applies to this person in this role." />
      <min value="1" />
    </element>
    <element id="Practitioner.identifier.type">
      <path value="Practitioner.identifier.type" />
      <short value="Tipos de documentos de identificación para persona ÚNICAS" />
      <definition value="Description of identifier. A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." />
      <binding>
        <strength value="extensible" />
        <description value="Value set de Tipos de documentos de identificación para persona ÚNICAS" />
        <valueSet value="https://unicas-fhir.sanidad.gob.es/ValueSet/TiposDocumentosIdentificacionPersona" />
      </binding>
    </element>
    <element id="Practitioner.identifier.type.coding.system">
      <path value="Practitioner.identifier.type.coding.system" />
      <short value="URL del refset Tipos de documento para identificación personal de SNOMED CT. Extensión para España del SNS" />
      <definition value="Posible URL de terminología utilizada para indicar el tipo de documentos de identificación y su descripción correspondiente:&#xD;&#xA;&#xD;&#xA;- SNOMED CT. Extensión para España del SNS: http://snomed.info/sct/900000001000122104" />
    </element>
    <element id="Practitioner.identifier.type.coding.code">
      <path value="Practitioner.identifier.type.coding.code" />
      <short value="Código del identificador" />
    </element>
    <element id="Practitioner.identifier.type.coding.display">
      <path value="Practitioner.identifier.type.coding.display" />
      <short value="Decripción del identificador" />
      <definition value="Representation defined by the system. A representation of the meaning of the code in the system, following the rules of the system." />
    </element>
    <element id="Practitioner.identifier.system">
      <path value="Practitioner.identifier.system" />
      <short value="OID registro según el tipo de documento de identificación (documento nacional de identidad y/o número de colegiado)" />
      <definition value="Posibles OIDs para el documento de identificación y su descripción correspondiente:&#xA;&#xD;&#xA;- Documento Nacional de Identidad (DNI): urn:oid:1.3.6.1.4.1.19126.3&#xD;&#xA;- Número de colegiado (Colegio de Médicos): urn:oid:2.16.840.1.113883.2.19.10.8&#xA;- Número de colegiado (Colegio de Enfermeros): urn:oid:2.16.724.4.304&#xA;- Número de colegiado en Colegio de Podólogos: urn:oid:2.16.724.4.306&#xA;- Número de colegiado en Colegio de Odontólogos: urn:oid:2.16.724.4.307&#xA;- Número de colegiado en Colegio de Fisioterapeutas: urn:oid:2.16.724.4.308" />
      <min value="1" />
    </element>
    <element id="Practitioner.identifier.value">
      <path value="Practitioner.identifier.value" />
      <short value="Código según el tipo de documento de identificación (documento nacional de identidad y/o número de colegiado)" />
      <definition value="The value that is unique. The portion of the identifier typically relevant to the user and which is unique within the context of the system." />
      <min value="1" />
    </element>
    <element id="Practitioner.name">
      <path value="Practitioner.name" />
      <min value="1" />
    </element>
    <element id="Practitioner.name.text">
      <path value="Practitioner.name.text" />
      <short value="Nombre completo del profesional sanitario" />
      <definition value="Text representation of the full name. 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." />
    </element>
    <element id="Practitioner.name.family">
      <path value="Practitioner.name.family" />
      <short value="Apellidos del profesional sanitario" />
      <definition value="Family name (often called 'Surname'). 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." />
      <min value="1" />
    </element>
    <element id="Practitioner.name.family.extension">
      <path value="Practitioner.name.family.extension" />
      <min value="1" />
    </element>
    <element id="Practitioner.name.family.extension:primerApellido">
      <path value="Practitioner.name.family.extension" />
      <sliceName value="primerApellido" />
      <short value="Primer apellido del profesional sanitario" />
      <definition value="Portion of family name derived from father. The portion of the family name that is derived from the person's father." />
      <min value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/humanname-fathers-family" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="Practitioner.name.family.extension:segundoApellido">
      <path value="Practitioner.name.family.extension" />
      <sliceName value="segundoApellido" />
      <short value="Segundo apellido del profesional sanitario" />
      <definition value="Portion of family name derived from mother. The portion of the family name that is derived from the person's mother." />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/humanname-mothers-family" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="Practitioner.name.given">
      <path value="Practitioner.name.given" />
      <short value="Nombre del profesional sanitario" />
      <definition value="Given names (not always 'first'). Includes middle names" />
      <min value="1" />
    </element>
    <element id="Practitioner.telecom">
      <path value="Practitioner.telecom" />
      <short value="Teléfono" />
      <definition value="A contact detail for the practitioner (that apply to all roles). A contact detail for the practitioner, e.g. a telephone number or an email address." />
    </element>
    <element id="Practitioner.telecom.value">
      <path value="Practitioner.telecom.value" />
      <short value="Número de teléfono" />
    </element>
  </differential>
</StructureDefinition>