<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="profile-practitioner" />
  <meta>
    <lastUpdated value="2024-10-16T17:34:28.7393971+00:00" />
  </meta>
  <url value="https://simplifier.net/omd-cdss/practitionerprofile" />
  <version value="0.0.1" />
  <name value="PractitionerProfile" />
  <title value="Practitioner Profile" />
  <status value="draft" />
  <date value="2021-08-28T15:43:11.7838089+00:00" />
  <publisher value="OMD" />
  <description value="Proposed constraints and extensions on the Practitioner Resource for general use." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="CDSS5.1" />
    <uri value="www.ontariomd.com" />
    <name value="CDS-S 5.1" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Practitioner" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
  <derivation value="constraint" />
  <differential>
    <element id="Practitioner">
      <path value="Practitioner" />
      <short value="Practitioner Profile" />
      <definition value="The Practitioner Profile is based upon the core FHIR Practitioner Resource" />
    </element>
    <element id="Practitioner.identifier">
      <path value="Practitioner.identifier" />
      <mustSupport value="true" />
    </element>
    <element id="Practitioner.identifier.system">
      <path value="Practitioner.identifier.system" />
      <min value="1" />
      <mapping>
        <identity value="CDSS5.2" />
        <map value="DE04.007" />
        <comment value="Licensing Body" />
      </mapping>
    </element>
    <element id="Practitioner.identifier.value">
      <path value="Practitioner.identifier.value" />
      <definition value="BASE RESOURCE DEFINITION:&#xD;&#xA;The portion of the identifier typically relevant to the user and which is unique within the context of the system.&#xD;&#xA;&#xD;&#xA;CDS-S PROFILE DEFINITION (OHIP Billing Number): &#xD;&#xA;The unique number assigned to a physician by the MOH that allows the Ministry to calculate and direct payment for claims submitted under the number. &#xD;&#xA;&#xD;&#xA;CDS-S PROFILE DEFINITION (CPSO Number): &#xD;&#xA;The five- or six digit unique identifier number assigned by CPSO to physicians, allowing them to practice medicine in Ontario. &#xD;&#xA;&#xD;&#xA;CDS-S PROFILE DEFINITION (CNO Number): &#xD;&#xA;The sever -or eight digit unique identifier number assigned by CNO to registered nurses (RNs) and registered practical nurses (RPNs) in Ontario." />
      <min value="1" />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-license-physician|https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-license-nurse|https:fhir/infoway-inforoute.ca/NamingSystem/ca-on-provider-upi" />
      </binding>
      <mapping>
        <identity value="CDSS5.1" />
        <map value="DE04.004" />
        <comment value="OHIP Billing Number" />
      </mapping>
      <mapping>
        <identity value="CDSS5.1" />
        <map value="DE04.005" />
        <comment value="CPSO Number" />
      </mapping>
      <mapping>
        <identity value="CDSS5.1" />
        <map value="DE04.006" />
        <comment value="CNO Number" />
      </mapping>
    </element>
    <element id="Practitioner.name">
      <path value="Practitioner.name" />
      <constraint>
        <key value="ca-baseline-name" />
        <severity value="error" />
        <human value="Practitioner.name.given or Practitioner.name.family or both SHALL be present" />
        <expression value="family.exists() or given.exists()" />
        <xpath value="f:given or f:family" />
        <source value="http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-practitioner" />
      </constraint>
      <mustSupport value="true" />
    </element>
    <element id="Practitioner.name.family">
      <path value="Practitioner.name.family" />
      <definition value="BASE RESOURCE DEFINITION:&#xD;&#xA;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.&#xD;&#xA;&#xD;&#xA;CDS-S PROFILE DEFINITION: &#xD;&#xA;The provider's surname or family name." />
      <mustSupport value="true" />
      <mapping>
        <identity value="CDSS5.1" />
        <map value="DE04.002" />
        <comment value="Provider Last Name" />
      </mapping>
    </element>
    <element id="Practitioner.name.given">
      <path value="Practitioner.name.given" />
      <definition value="BASE RESOURCE DEFINITION:&#xD;&#xA;Given name.&#xD;&#xA;&#xD;&#xA;CDS-S PROFILE DEFINITION: &#xD;&#xA;The provider's first given name." />
      <mustSupport value="true" />
      <mapping>
        <identity value="CDSS5.1" />
        <map value="DE04.001" />
        <comment value="Provider First Name" />
      </mapping>
    </element>
    <element id="Practitioner.telecom">
      <path value="Practitioner.telecom" />
      <mustSupport value="true" />
    </element>
    <element id="Practitioner.address.extension:preferred">
      <path value="Practitioner.address.extension" />
      <sliceName value="preferred" />
      <short value="HL7 Preferred Address Flag extension" />
      <definition value="Flag denoting whether parent address item is preferred" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/iso21090-preferred" />
      </type>
    </element>
    <element id="Practitioner.birthDate">
      <path value="Practitioner.birthDate" />
      <mustSupport value="true" />
    </element>
    <element id="Practitioner.qualification">
      <path value="Practitioner.qualification" />
      <definition value="BASE RESOURCE DEFINITION:&#xD;&#xA;The official certifications, training, and licenses that authorize or otherwise pertain to the provision of care by the practitioner.  For example, a medical license issued by a medical board authorizing the practitioner to practice medicine within a certian locality.&#xD;&#xA;&#xD;&#xA;CDS-S PROFILE DEFINITION:&#xD;&#xA;The Medical Discipline to which the provider belongs." />
      <comment value="CODE SET TABLE: &#xD;&#xA;CT-015: Healthcare Practitioner Type" />
      <mapping>
        <identity value="CDSS5.1" />
        <map value="DE04.003" />
        <comment value="Provider Role" />
      </mapping>
    </element>
    <element id="Practitioner.qualification.code.coding.system">
      <path value="Practitioner.qualification.code.coding.system" />
      <short value="QualifiedRoleType" />
      <definition value="A code system for the degree or educational rank that the credential specifies. May also apply to an Expertise type." />
      <comment value="The binding strength of this element is [Preferred](https://www.hl7.org/fhir/terminologies.html#strength), meaning that codes are encouraged to draw from the QualifiedRoleType code system for interoperability purposes but are not required to do so to be considered conformant." />
      <binding>
        <strength value="preferred" />
        <description value="A code system for the degree or educational rank that the credential specifies" />
        <valueSet value="http://fhir.infoway-inforoute.ca/CodeSystem/scpqual" />
      </binding>
    </element>
  </differential>
</StructureDefinition>