<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ie-core-practitionerrole" />
  <url value="https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-practitionerrole" />
  <name value="IECorePractitionerRole" />
  <title value="IE Core PractitionerRole" />
  <status value="draft" />
  <description value="The IE Core PractitionerRole Profile is based upon the core FHIR PractitionerRole Resource and defines the minimum set of data required to query and retrieve practitioner role information within the Irish healthcare system. It constrains references to IE Core profiles and binds the role code to the IE Core Healthcare Provider Taxonomy." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="PractitionerRole" />
  <baseDefinition value="http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core" />
  <derivation value="constraint" />
  <differential>
    <element id="PractitionerRole.identifier">
      <path value="PractitionerRole.identifier" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.active">
      <path value="PractitionerRole.active" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.period">
      <path value="PractitionerRole.period" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.practitioner">
      <path value="PractitionerRole.practitioner" />
      <short value="Practitioner that is able to provide the defined services for the organization" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-practitioner" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.organization">
      <path value="PractitionerRole.organization" />
      <short value="Organization where the roles are available" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-organization" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.code">
      <path value="PractitionerRole.code" />
      <short value="Roles which this practitioner may perform" />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://hl7-ie.github.io/ie-core/fhir/ie/core/ValueSet/ie-core-healthcare-provider-taxonomy" />
      </binding>
    </element>
    <element id="PractitionerRole.specialty">
      <path value="PractitionerRole.specialty" />
      <short value="Specific specialty of the practitioner" />
      <mustSupport value="true" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://hl7.org/fhir/ValueSet/c80-practice-codes" />
      </binding>
    </element>
    <element id="PractitionerRole.location">
      <path value="PractitionerRole.location" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-location" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.healthcareService">
      <path value="PractitionerRole.healthcareService" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.telecom">
      <path value="PractitionerRole.telecom" />
      <short value="Contact details that are specific to the role/location/service" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.telecom.system">
      <path value="PractitionerRole.telecom.system" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.telecom.value">
      <path value="PractitionerRole.telecom.value" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.telecom.use">
      <path value="PractitionerRole.telecom.use" />
      <mustSupport value="true" />
    </element>
    <element id="PractitionerRole.endpoint">
      <path value="PractitionerRole.endpoint" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>