<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="nxh-practitioner-role" />
  <url value="https://fhir.nxh.com/standards/fhir/StructureDefinition/NxhPractitionerRole" />
  <name value="NxhPractitionerRole" />
  <status value="active" />
  <description value="The nexuzhealth profile for a practitionerRole used during import and export procedures." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="PractitionerRole" />
  <baseDefinition value="https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitionerrole" />
  <derivation value="constraint" />
  <differential>
    <element id="PractitionerRole.identifier">
      <path value="PractitionerRole.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="PractitionerRole.identifier:userContextId">
      <path value="PractitionerRole.identifier" />
      <sliceName value="userContextId" />
      <short value="The CDM identifier for this user context" />
      <definition value="The identifier for this user context used in the Common Data Model of NxH Pro." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="PractitionerRole.identifier:userContextId.system">
      <path value="PractitionerRole.identifier.system" />
      <min value="1" />
      <fixedUri value="https://fhir.nxh.com/standards/fhir/NamingSystem/userContextId" />
    </element>
    <element id="PractitionerRole.identifier:userContextId.value">
      <path value="PractitionerRole.identifier.value" />
      <min value="1" />
    </element>
    <element id="PractitionerRole.code:userRole">
      <path value="PractitionerRole.code" />
      <sliceName value="userRole" />
    </element>
    <element id="PractitionerRole.code:userRole.coding.system">
      <path value="PractitionerRole.code.coding.system" />
      <min value="1" />
      <fixedUri value="https://fhir.nxh.com/standards/fhir/CodeSystem/UserRole" />
    </element>
    <element id="PractitionerRole.code:userRole.coding.code">
      <path value="PractitionerRole.code.coding.code" />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>