<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="IDMS-PRACTITIONERROLE-REVIEWER" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2023-09-28T12:19:32.112+00:00" />
    <source value="#25HnKpLEHK8daWhc" />
  </meta>
  <url value="https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-PractitionerRole-Reviewer" />
  <version value="1.0.0" />
  <name value="IDMSPractitionerRoleReviewer" />
  <status value="active" />
  <fhirVersion value="5.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="PractitionerRole" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
  <derivation value="constraint" />
  <differential>
    <element id="PractitionerRole.extension">
      <path value="PractitionerRole.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="PractitionerRole.extension:JobTitle">
      <path value="PractitionerRole.extension" />
      <sliceName value="JobTitle" />
      <definition value="#### **_`IDMS:  The job title.`_**" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/Title" />
      </type>
    </element>
    <element id="PractitionerRole.extension:Comments">
      <path value="PractitionerRole.extension" />
      <sliceName value="Comments" />
      <definition value="#### **_`IDMS: Internal comments about the Reveiwer.`_**" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/Comments" />
      </type>
    </element>
    <element id="PractitionerRole.extension:searchableString">
      <path value="PractitionerRole.extension" />
      <sliceName value="SearchableString" />
      <definition value="#### **_`IDMS:  Allows for searching on a combination of elements.`_**" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/SearchableExtraString" />
      </type>
    </element>
    <element id="PractitionerRole.extension:CreatedDate">
      <path value="PractitionerRole.extension" />
      <sliceName value="CreatedDate" />
      <definition value="#### **_`IDMS:  This is the date and time the record was created.`_**" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedDate" />
      </type>
    </element>
    <element id="PractitionerRole.extension:CreatedUser">
      <path value="PractitionerRole.extension" />
      <sliceName value="CreatedUser" />
      <definition value="#### **_`IDMS:  This is the reference to the user that created the record.`_**" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedUser" />
      </type>
    </element>
    <element id="PractitionerRole.extension:UpdatedDate">
      <path value="PractitionerRole.extension" />
      <sliceName value="UpdatedDate" />
      <definition value="#### **_`IDMS:  This is the date and time the record was updated.`_**" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedDate" />
      </type>
    </element>
    <element id="PractitionerRole.extension:UpdatedUser">
      <path value="PractitionerRole.extension" />
      <sliceName value="UpdatedUser" />
      <definition value="#### **_`IDMS:  This is the reference to the user that updated the record.`_**" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedUser" />
      </type>
    </element>
    <element id="PractitionerRole.extension:migrationNotes">
      <path value="PractitionerRole.extension" />
      <sliceName value="migrationNotes" />
      <definition value="#### **_`IDMS:  Data that was migrated from DSTS that is no longer needed.`_**" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://health.gov.on.ca/idms/fhir/StructureDefinition/MigrationNotes" />
      </type>
    </element>
    <element id="PractitionerRole.identifier">
      <path value="PractitionerRole.identifier" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.period">
      <path value="PractitionerRole.period" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.practitioner">
      <path value="PractitionerRole.practitioner" />
      <definition value="#### **_`IDMS:  This is the person that has this role.`_**" />
      <min value="1" />
    </element>
    <element id="PractitionerRole.organization">
      <path value="PractitionerRole.organization" />
      <definition value="#### **_`IDMS:  This is the drug company that has this role.`_**" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.code">
      <path value="PractitionerRole.code" />
      <short value="Security Authorization Code" />
      <definition value="#### **_`IDMS:  This is the security Authorization Role code. Reviewers are AUTHORIZATION-ROLE-REVIEWER.  `_**" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="PractitionerRole.code.extension">
      <path value="PractitionerRole.code.extension" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.code.coding.extension">
      <path value="PractitionerRole.code.coding.extension" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.code.coding.system">
      <path value="PractitionerRole.code.coding.system" />
      <min value="1" />
      <fixedUri value="https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-Internal" />
    </element>
    <element id="PractitionerRole.code.coding.version">
      <path value="PractitionerRole.code.coding.version" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.code.coding.code">
      <path value="PractitionerRole.code.coding.code" />
      <short value="Security Authorization Role" />
      <min value="1" />
      <binding>
        <strength value="required" />
        <description value="Security Authorization Code" />
        <valueSet value="https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Authorization-Roles" />
      </binding>
    </element>
    <element id="PractitionerRole.code.coding.display">
      <path value="PractitionerRole.code.coding.display" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.code.coding.userSelected">
      <path value="PractitionerRole.code.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.code.text">
      <path value="PractitionerRole.code.text" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.specialty">
      <path value="PractitionerRole.specialty" />
    </element>
    <element id="PractitionerRole.specialty.extension">
      <path value="PractitionerRole.specialty.extension" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.specialty.coding">
      <path value="PractitionerRole.specialty.coding" />
      <min value="1" />
    </element>
    <element id="PractitionerRole.specialty.coding.extension">
      <path value="PractitionerRole.specialty.coding.extension" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.specialty.coding.system">
      <path value="PractitionerRole.specialty.coding.system" />
      <min value="1" />
      <fixedUri value="https://health.gov.on.ca/idms/fhir/CodeSystem/Specialties" />
    </element>
    <element id="PractitionerRole.specialty.coding.version">
      <path value="PractitionerRole.specialty.coding.version" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.specialty.coding.code">
      <path value="PractitionerRole.specialty.coding.code" />
      <min value="1" />
      <binding>
        <strength value="required" />
        <description value="Specialties" />
        <valueSet value="https://health.gov.on.ca/idms/fhir/ValueSet/Specialties" />
      </binding>
    </element>
    <element id="PractitionerRole.specialty.coding.display">
      <path value="PractitionerRole.specialty.coding.display" />
      <definition value="#### **_`IDMS:  Display value for the selected code. If OTHER is selected then this is the type-in value.`_**" />
      <min value="1" />
    </element>
    <element id="PractitionerRole.specialty.coding.userSelected">
      <path value="PractitionerRole.specialty.coding.userSelected" />
      <definition value="#### **_`IDMS:  This is the Primary Flag indicating this is the Reviewer's primary specialty`_**" />
    </element>
    <element id="PractitionerRole.specialty.text">
      <path value="PractitionerRole.specialty.text" />
      <definition value="#### **_`IDMS:  When 'Other' is the selected coding this is type in value.`_**" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.location">
      <path value="PractitionerRole.location" />
      <definition value="#### **_`IDMS:  The physical address of the work location.`_**" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.healthcareService">
      <path value="PractitionerRole.healthcareService" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.contact">
      <path value="PractitionerRole.contact" />
      <definition value="#### **_`IDMS:  The work phone number(s), fax number(s) and  email addresses .`_**" />
    </element>
    <element id="PractitionerRole.contact.extension">
      <path value="PractitionerRole.contact.extension" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.contact.purpose">
      <path value="PractitionerRole.contact.purpose" />
      <definition value="#### **_`IDMS:  Either main, primary assistant or secondary assistant.`_**" />
      <min value="1" />
    </element>
    <element id="PractitionerRole.contact.purpose.extension">
      <path value="PractitionerRole.contact.purpose.extension" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.contact.purpose.coding">
      <path value="PractitionerRole.contact.purpose.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="PractitionerRole.contact.purpose.coding.extension">
      <path value="PractitionerRole.contact.purpose.coding.extension" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.contact.purpose.coding.system">
      <path value="PractitionerRole.contact.purpose.coding.system" />
      <min value="1" />
      <fixedUri value="https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-Internal" />
    </element>
    <element id="PractitionerRole.contact.purpose.coding.version">
      <path value="PractitionerRole.contact.purpose.coding.version" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.contact.purpose.coding.code">
      <path value="PractitionerRole.contact.purpose.coding.code" />
      <min value="1" />
      <binding>
        <strength value="required" />
        <description value="Specialties" />
        <valueSet value="https://health.gov.on.ca/idms/fhir/ValueSet/Reviewer-Contact-Type" />
      </binding>
    </element>
    <element id="PractitionerRole.contact.purpose.coding.display">
      <path value="PractitionerRole.contact.purpose.coding.display" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.contact.purpose.coding.userSelected">
      <path value="PractitionerRole.contact.purpose.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.contact.purpose.text">
      <path value="PractitionerRole.contact.purpose.text" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.contact.name">
      <path value="PractitionerRole.contact.name" />
      <definition value="#### **_`IDMS:  Assisstant's name .`_**" />
    </element>
    <element id="PractitionerRole.contact.organization">
      <path value="PractitionerRole.contact.organization" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.contact.period">
      <path value="PractitionerRole.contact.period" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.characteristic">
      <path value="PractitionerRole.characteristic" />
      <definition value="#### **_`IDMS:  The reviewer type (Consultant, CED Member, etc..) .`_**" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="PractitionerRole.characteristic.extension">
      <path value="PractitionerRole.characteristic.extension" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.characteristic.coding">
      <path value="PractitionerRole.characteristic.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="PractitionerRole.characteristic.coding.extension">
      <path value="PractitionerRole.characteristic.coding.extension" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.characteristic.coding.system">
      <path value="PractitionerRole.characteristic.coding.system" />
      <min value="1" />
      <fixedUri value="https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-CODESYSTEM-REVIEWER-TYPE" />
    </element>
    <element id="PractitionerRole.characteristic.coding.version">
      <path value="PractitionerRole.characteristic.coding.version" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.characteristic.coding.code">
      <path value="PractitionerRole.characteristic.coding.code" />
      <min value="1" />
      <binding>
        <strength value="required" />
        <description value="Review Type" />
        <valueSet value="https://health.gov.on.ca/idms/fhir/ValueSet/REVIEWER-TYPE-ALL" />
      </binding>
    </element>
    <element id="PractitionerRole.characteristic.coding.display">
      <path value="PractitionerRole.characteristic.coding.display" />
      <max value="1" />
    </element>
    <element id="PractitionerRole.characteristic.coding.userSelected">
      <path value="PractitionerRole.characteristic.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.characteristic.text">
      <path value="PractitionerRole.characteristic.text" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.communication">
      <path value="PractitionerRole.communication" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.availability">
      <path value="PractitionerRole.availability" />
      <max value="0" />
    </element>
    <element id="PractitionerRole.endpoint">
      <path value="PractitionerRole.endpoint" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>