<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="spark666" />
  <meta>
    <versionId value="spark705" />
    <lastUpdated value="2015-10-02T14:12:04.391+00:00" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
  </text>
  <url value="http://hl7.org/fhir/StructureDefinition/hspc-provpract" />
  <name value="HSPC ProviderPractitioner" />
  <status value="draft" />
  <publisher value="HSPC" />
  <contact>
    <telecom>
      <system value="other" />
      <value value="http://healthcaresoa.org" />
    </telecom>
  </contact>
  <date value="2015-05-13" />
  <description value="ProviderPractitioner captures the demographic and preofessional information of a health care provider/practitioner." />
  <kind value="resource" />
  <constrainedType value="Practitioner" />
  <abstract value="false" />
  <base value="http://hl7.org/fhir/StructureDefinition/qicore-practitioner" />
  <snapshot>
    <element>
      <path value="Practitioner" />
      <name value="hspc-provpract" />
      <short value="A person with a  formal responsibility in the provisioning of healthcare or related services" />
      <definition value="A person who is directly or indirectly involved in the provisioning of healthcare." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Practitioner" />
      </type>
      <mapping>
        <identity value="v2" />
        <map value="PRD (as one example)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Role" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Provider" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="administration" />
      </mapping>
      <mapping>
        <identity value="qdm" />
        <map value="Provider Characteristic" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.id" />
      <short value="Logical id of this artifact" />
      <definition value="The logical id of the resource, as used in the url for the resource. Once assigned, this value never changes." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="Practitioner.meta" />
      <short value="Metadata about the resource" />
      <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.meta" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Meta" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="Practitioner.implicitRules" />
      <short value="A set of rules under which this content was created" />
      <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.implicitRules" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <isModifier value="true" />
      <isSummary value="true" />
    </element>
    <element>
      <path value="Practitioner.language" />
      <short value="Language of the resource content" />
      <definition value="The base language in which the resource is written." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.language" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <binding>
        <strength value="required" />
        <description value="A human language" />
        <valueSetUri value="http://tools.ietf.org/html/bcp47" />
      </binding>
    </element>
    <element>
      <path value="Practitioner.text" />
      <short value="Text summary of the resource, for human interpretation" />
      <definition value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." />
      <alias value="narrative" />
      <alias value="html" />
      <alias value="xhtml" />
      <alias value="display" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Narrative" />
      </type>
      <condition value="dom-1" />
      <mapping>
        <identity value="rim" />
        <map value="Act.text?" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.contained" />
      <short value="Contained, inline Resources" />
      <definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." />
      <alias value="inline resources" />
      <alias value="anonymous resources" />
      <alias value="contained resources" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.contained" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Resource" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.extension" />
      <name value="Practitioner.classification" />
      <short value="Extension" />
      <definition value="An Extension" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/practitioner-classification" />
      </type>
    </element>
    <element>
      <path value="Practitioner.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <isModifier value="true" />
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.identifier" />
      <short value="A identifier for the person as this agent" />
      <definition value="An identifier that applies to this person in this role." />
      <requirements value="Often, specific identities are assigned for the agent." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.identifier" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="PRD-7 (or XCN.1 Person Identifier)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./id" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Identifiers" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="id" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.active" />
      <short value="Whether this practitioner's record is in active use" />
      <definition value="Whether this practitioner's record is in active use." />
      <requirements value="Need to be able to mark a practitioner record as not to be used because it was created in error." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.active" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <defaultValueBoolean value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="./StatusCode" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="status" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.name" />
      <short value="A name associated with the person" />
      <definition value="A name associated with the person." />
      <requirements value="Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that person." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.name" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="HumanName" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="XCN Components" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./name" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./PreferredName (GivenNames, FamilyName, TitleCode)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.telecom" />
      <short value="A contact detail for the practitioner" />
      <definition value="A contact detail for the practitioner, e.g. a telephone number or an email address." />
      <requirements value="Need to know how to reach a practitioner." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.telecom" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="ContactPoint" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="PRT-15, STF-10, ROL-12" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./telecom" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./ContactPoints" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.telecom.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ContactPoint.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.telecom.extension" />
      <name value="PreferenceIndicator" />
      <short value="Extension" />
      <definition value="An Extension" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="ContactPoint.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/iso21090-preferred" />
      </type>
    </element>
    <element>
      <path value="Practitioner.telecom.system" />
      <short value="phone | fax | email | pager | other" />
      <definition value="Telecommunications form for contact point - what communications system is required to make use of the contact." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ContactPoint.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="cpt-2" />
      <isSummary value="true" />
      <binding>
        <strength value="preferred" />
        <description value="A set of codes that describe the telecom system" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/hspc-practitioner-telecomSystem" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="XTN.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./scheme" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./ContactPointType" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.telecom.value" />
      <short value="The actual contact point details" />
      <definition value="The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)." />
      <requirements value="Need to support legacy numbers that are not in a tightly controlled format." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ContactPoint.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="XTN.1 (or XTN.12)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./url" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Value" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.telecom.use" />
      <short value="home | work | temp | old | mobile - purpose of this contact point" />
      <definition value="Identifies the purpose for the contact point." />
      <requirements value="Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ContactPoint.use" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <isModifier value="true" />
      <isSummary value="true" />
      <binding>
        <strength value="preferred" />
        <description value="A set of codes that describe what the given telecom value is used for" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/hspc-practitioner-telecomUse" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="XTN.2 - but often indicated by field" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="unique(./use)" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./ContactPointPurpose" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.telecom.rank" />
      <short value="Specify preferred order of use (1 = highest)" />
      <definition value="Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ContactPoint.rank" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="positiveInt" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.telecom.period" />
      <short value="Time period when the contact point was/is in use" />
      <definition value="Time period when the contact point was/is in use." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ContactPoint.period" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Period" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./useablePeriod[type=&quot;IVL&lt;TS&gt;&quot;]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./StartDate and ./EndDate" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.address" />
      <short value="Where practitioner can be found/visited" />
      <definition value="The postal address where the practitioner can be found or visited or to which mail can be delivered." />
      <requirements value="Need to keep track where the practitioner can found during work or for directing mail." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.address" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Address" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="ORC-24, STF-11, ROL-11, PRT-14" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./addr" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Addresses" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.address.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Address.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.address.extension" />
      <name value="PrimaryIndicator" />
      <short value="Extension" />
      <definition value="An Extension" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Address.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/practitioner-primaryInd" />
      </type>
    </element>
    <element>
      <path value="Practitioner.address.use" />
      <short value="home | work | temp | old - purpose of this address" />
      <definition value="The purpose of this address." />
      <requirements value="Allows an appropriate address to be chosen from a list of many." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Address.use" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <exampleCode value="home" />
      <isModifier value="true" />
      <isSummary value="true" />
      <binding>
        <strength value="preferred" />
        <description value="A set of codes that describe the manner in which an addressed is used." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/hspc-practitioner-addressUse" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="XAD.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="unique(./use)" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./AddressPurpose" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.address.type" />
      <short value="postal | physical | both" />
      <definition value="Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Address.type" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <exampleCode value="both" />
      <isSummary value="true" />
      <binding>
        <strength value="required" />
        <description value="The type of an address (physical / postal)" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/address-type" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="vcard" />
        <map value="address type parameter" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="XAD.18" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="unique(./use)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.address.text" />
      <short value="Text representation of the address" />
      <definition value="A full text representation of the address." />
      <requirements value="A renderable, unencoded form." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Address.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <exampleString value="137 Nowhere Street, Erewhon 9132" />
      <isSummary value="true" />
      <mapping>
        <identity value="vcard" />
        <map value="address label parameter" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./formatted" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.address.line" />
      <short value="Street name, number, direction &amp; P.O. Box etc" />
      <definition value="This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information." />
      <requirements value="home | work | temp | old - purpose of this address." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Address.line" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="string" />
      </type>
      <exampleString value="137 Nowhere Street" />
      <isSummary value="true" />
      <mapping>
        <identity value="vcard" />
        <map value="street" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="AD.part[parttype = AL]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./StreetAddress (newline delimitted)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.address.city" />
      <short value="Name of city, town etc." />
      <definition value="The name of the city, town, village or other community or delivery center." />
      <alias value="Muncipality" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Address.city" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <exampleString value="Erewhon" />
      <isSummary value="true" />
      <mapping>
        <identity value="vcard" />
        <map value="locality" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="XAD.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="AD.part[parttype = CTY]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Jurisdiction" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.address.district" />
      <short value="District name (aka county)" />
      <definition value="The name of the administrative area (county)." />
      <alias value="County" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Address.district" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <exampleString value="Madison" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="XAD.9" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="AD.part[parttype = CNT | CPA]" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.address.state" />
      <short value="Sub-unit of country (abreviations ok)" />
      <definition value="Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes)." />
      <alias value="Province" />
      <alias value="Territory" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Address.state" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="vcard" />
        <map value="region" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="XAD.4" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="AD.part[parttype = STA]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Region" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.address.postalCode" />
      <short value="Postal code for area" />
      <definition value="A postal code designating a region defined by the postal service." />
      <alias value="Zip" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Address.postalCode" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <exampleString value="9132" />
      <isSummary value="true" />
      <mapping>
        <identity value="vcard" />
        <map value="code" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="XAD.5" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="AD.part[parttype = ZIP]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./PostalIdentificationCode" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.address.country" />
      <short value="Country (can be ISO 3166 3 letter code)" />
      <definition value="Country - a nation as commonly understood or generally accepted." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Address.country" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="vcard" />
        <map value="country" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="XAD.6" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="AD.part[parttype = CNT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Country" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.address.period" />
      <short value="Time period when address was/is in use" />
      <definition value="Time period when address was/is in use." />
      <requirements value="Allows addresses to be placed in historical context." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Address.period" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Period" />
      </type>
      <examplePeriod>
        <start value="2010-03-23" />
        <end value="2010-07-01" />
      </examplePeriod>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="XAD.12 / XAD.13 + XAD.14" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./usablePeriod[type=&quot;IVL&lt;TS&gt;&quot;]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./StartDate and ./EndDate" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.gender" />
      <short value="male | female | other | unknown" />
      <definition value="Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes." />
      <requirements value="Needed to address the person correctly." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.gender" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <mustSupport value="true" />
      <isSummary value="true" />
      <binding>
        <strength value="required" />
        <description value="The gender of a person used for administrative purposes" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/administrative-gender" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="STF-5" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./administrativeGender" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./GenderCode" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.birthDate" />
      <short value="The date  on which the practitioner was born" />
      <definition value="The date of birth for the practitioner." />
      <requirements value="Needed for identification." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.birthDate" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="date" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="STF-6" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./birthTime" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="(not represented in ServD)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.photo" />
      <short value="Image of the person" />
      <definition value="Image of the person." />
      <requirements value="Many EHR systems have the capability to capture an image of patients and personnel. Fits with newer social media usage too." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.photo" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Attachment" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="./subjectOf/ObservationEvent[code=&quot;photo&quot;]/value" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./ImageURI (only supports the URI reference)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole" />
      <slicing>
        <discriminator value="Practitioner.practitionerRole.managingOrganization" />
        <discriminator value="Practitioner.practitionerRole.role|false|open" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <short value="The list of Roles/Organizations that the Practitioner is associated with" />
      <definition value="The list of Roles/Organizations that the Practitioner is associated with." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".(Role)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole" />
      <name value="PractitionerRole" />
      <short value="The list of Roles/Organizations that the Practitioner is associated with" />
      <definition value="The list of Roles/Organizations that the Practitioner is associated with." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".(Role)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.practitionerRole.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.extension" />
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <isModifier value="true" />
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.managingOrganization" />
      <short value="The Organization where the Practitioner performs the roles associated" />
      <definition value="The Organization where the Practitioner performs the roles associated." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.practitionerRole.managingOrganization" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/qicore-organization" />
      </type>
      <mustSupport value="true" />
      <mapping>
        <identity value="rim" />
        <map value="scopingOrganization" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.role" />
      <short value="Roles which this practitioner may perform" />
      <definition value="Roles which this practitioner is authorized to perform for the organization." />
      <requirements value="Need to know what authority the practitioner has - what can they do?" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.practitionerRole.role" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
      <isSummary value="true" />
      <binding>
        <strength value="preferred" />
        <description value="A set of codes that describe the general practice category for a provider." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/hspc-practitioner-providerPractitionerType" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="PRD-1 / STF-18-job title / PRA-3-practitioner category  / PRT-4-Participation / ROL-3-role-ROL / ORC-12-ordering provider / OBR-16-ordering provider / PV1-7-attending doctor / PV1-8-referring doctor / PV1-9-consulting doctor / PV1-17-admitting doctor" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty" />
      <short value="Specific specialty of the practitioner" />
      <definition value="Specific specialty of the practitioner." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.specialty" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
      <isSummary value="true" />
      <binding>
        <strength value="preferred" />
        <description value="A set of codes that describe the specific specialty in which a provider practices." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/hspc-practitioner-providerPractitionerSpecialty" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="PRA-5-specialty" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="indirectAuthority/QualifiedEntity[code &lt; Speciality]/code" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Specialty" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="CodeableConcept.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty.extension" />
      <name value="Practitioner.practitionerRole.specialty.primaryInd" />
      <short value="Extension" />
      <definition value="An Extension" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="CodeableConcept.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/practitioner-primaryInd" />
      </type>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty.coding" />
      <short value="Code defined by a terminology system" />
      <definition value="A reference to a code defined by a terminology system." />
      <requirements value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="CodeableConcept.coding" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1-8, C*E.10-22" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="union(., ./translation)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty.text" />
      <short value="Plain text representation of the concept" />
      <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
      <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="CodeableConcept.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.9. But note many systems use C*E.2 for this" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.period" />
      <short value="The period during which the practitioner is authorized to perform in these role(s)" />
      <definition value="The period during which the person is authorized to act as a practitioner in these role(s) for the organization." />
      <requirements value="Even after the agencies is revoked, the fact that it existed must still be recorded." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.practitionerRole.period" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Period" />
      </type>
      <mustSupport value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="PRD-8/9 / PRA-5.4-date of certification" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./effectiveTime" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="when.done" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.location" />
      <short value="The location(s) at which this practitioner provides care" />
      <definition value="The location(s) at which this practitioner provides care." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.location" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/qicore-location" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="./target[classCode=&quot;indirectAuthority].source[classCode=SDLOC]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="(ServD maps Practitioners and Organizations via another entity, so this concept is not available)&lt;br/&gt; However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="where" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.healthcareService" />
      <short value="The list of healthcare services that this worker provides for this role's Organization/Location(s)" />
      <definition value="The list of healthcare services that this worker provides for this role's Organization/Location(s)." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.healthcareService" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/HealthcareService" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="./target[classCode=&quot;indirectAuthority].id?" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole" />
      <name value="AdministrativeAffiliation" />
      <short value="The list of Roles/Organizations that the Practitioner is associated with" />
      <definition value="The list of Roles/Organizations that the Practitioner is associated with." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".(Role)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.practitionerRole.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.extension" />
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <isModifier value="true" />
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.managingOrganization" />
      <short value="The Organization where the Practitioner performs the roles associated" />
      <definition value="The Organization where the Practitioner performs the roles associated." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.practitionerRole.managingOrganization" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/qicore-organization" />
      </type>
      <mustSupport value="true" />
      <mapping>
        <identity value="rim" />
        <map value="scopingOrganization" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.role" />
      <short value="Roles which this practitioner may perform" />
      <definition value="Roles which this practitioner is authorized to perform for the organization." />
      <requirements value="Need to know what authority the practitioner has - what can they do?" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.practitionerRole.role" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
      <isSummary value="true" />
      <binding>
        <strength value="example" />
        <description value="The role a person plays representing an organization" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/practitioner-role" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="PRD-1 / STF-18-job title / PRA-3-practitioner category  / PRT-4-Participation / ROL-3-role-ROL / ORC-12-ordering provider / OBR-16-ordering provider / PV1-7-attending doctor / PV1-8-referring doctor / PV1-9-consulting doctor / PV1-17-admitting doctor" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty" />
      <short value="Specific specialty of the practitioner" />
      <definition value="Specific specialty of the practitioner." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.specialty" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
      <isSummary value="true" />
      <binding>
        <strength value="example" />
        <description value="Specific specialty associated with the agency" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/practitioner-specialty" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="PRA-5-specialty" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="indirectAuthority/QualifiedEntity[code &lt; Speciality]/code" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Specialty" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="CodeableConcept.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty.extension" />
      <name value="Practitioner.practitionerRole.specialty.primaryInd" />
      <short value="Extension" />
      <definition value="An Extension" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="CodeableConcept.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/practitioner-primaryInd" />
      </type>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty.coding" />
      <short value="Code defined by a terminology system" />
      <definition value="A reference to a code defined by a terminology system." />
      <requirements value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="CodeableConcept.coding" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1-8, C*E.10-22" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="union(., ./translation)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty.text" />
      <short value="Plain text representation of the concept" />
      <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
      <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="CodeableConcept.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.9. But note many systems use C*E.2 for this" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.period" />
      <short value="The period during which the practitioner is authorized to perform in these role(s)" />
      <definition value="The period during which the person is authorized to act as a practitioner in these role(s) for the organization." />
      <requirements value="Even after the agencies is revoked, the fact that it existed must still be recorded." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.practitionerRole.period" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Period" />
      </type>
      <mustSupport value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="PRD-8/9 / PRA-5.4-date of certification" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./effectiveTime" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="when.done" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.location" />
      <short value="The location(s) at which this practitioner provides care" />
      <definition value="The location(s) at which this practitioner provides care." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.location" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/qicore-location" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="./target[classCode=&quot;indirectAuthority].source[classCode=SDLOC]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="(ServD maps Practitioners and Organizations via another entity, so this concept is not available)&lt;br/&gt; However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="where" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.healthcareService" />
      <short value="The list of healthcare services that this worker provides for this role's Organization/Location(s)" />
      <definition value="The list of healthcare services that this worker provides for this role's Organization/Location(s)." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.healthcareService" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/HealthcareService" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="./target[classCode=&quot;indirectAuthority].id?" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole" />
      <name value="PracticeAffiliation" />
      <short value="The list of Roles/Organizations that the Practitioner is associated with" />
      <definition value="The list of Roles/Organizations that the Practitioner is associated with." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".(Role)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.practitionerRole.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.extension" />
      <slicing>
        <discriminator value="url" />
        <description value="PracticeAffiliationType" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <short value="Additional Content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.extension" />
      <name value="PracticeAffiliationType" />
      <short value="Extension" />
      <definition value="An Extension" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/hspc-practitioner-profilePracticeAffiliationType" />
      </type>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.extension" />
      <name value="PractitionerPrivilege" />
      <short value="Extension" />
      <definition value="An Extension" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/hspc-practitioner-profilePractitionerPrivilege" />
      </type>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <isModifier value="true" />
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.managingOrganization" />
      <short value="The Organization where the Practitioner performs the roles associated" />
      <definition value="The Organization where the Practitioner performs the roles associated." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.practitionerRole.managingOrganization" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/qicore-organization" />
      </type>
      <mustSupport value="true" />
      <mapping>
        <identity value="rim" />
        <map value="scopingOrganization" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.role" />
      <short value="Roles which this practitioner may perform" />
      <definition value="Roles which this practitioner is authorized to perform for the organization." />
      <requirements value="Need to know what authority the practitioner has - what can they do?" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.practitionerRole.role" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
      <isSummary value="true" />
      <binding>
        <strength value="example" />
        <description value="The role a person plays representing an organization" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/practitioner-role" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="PRD-1 / STF-18-job title / PRA-3-practitioner category  / PRT-4-Participation / ROL-3-role-ROL / ORC-12-ordering provider / OBR-16-ordering provider / PV1-7-attending doctor / PV1-8-referring doctor / PV1-9-consulting doctor / PV1-17-admitting doctor" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty" />
      <short value="Specific specialty of the practitioner" />
      <definition value="Specific specialty of the practitioner." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.specialty" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
      <isSummary value="true" />
      <binding>
        <strength value="example" />
        <description value="Specific specialty associated with the agency" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/practitioner-specialty" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="PRA-5-specialty" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="indirectAuthority/QualifiedEntity[code &lt; Speciality]/code" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Specialty" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="CodeableConcept.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty.extension" />
      <name value="Practitioner.practitionerRole.specialty.primaryInd" />
      <short value="Extension" />
      <definition value="An Extension" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="CodeableConcept.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/practitioner-primaryInd" />
      </type>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty.coding" />
      <short value="Code defined by a terminology system" />
      <definition value="A reference to a code defined by a terminology system." />
      <requirements value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="CodeableConcept.coding" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1-8, C*E.10-22" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="union(., ./translation)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty.text" />
      <short value="Plain text representation of the concept" />
      <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
      <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="CodeableConcept.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.9. But note many systems use C*E.2 for this" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.period" />
      <short value="The period during which the practitioner is authorized to perform in these role(s)" />
      <definition value="The period during which the person is authorized to act as a practitioner in these role(s) for the organization." />
      <requirements value="Even after the agencies is revoked, the fact that it existed must still be recorded." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.practitionerRole.period" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Period" />
      </type>
      <mustSupport value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="PRD-8/9 / PRA-5.4-date of certification" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./effectiveTime" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="when.done" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.location" />
      <short value="The location(s) at which this practitioner provides care" />
      <definition value="The location(s) at which this practitioner provides care." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.location" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/qicore-location" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="./target[classCode=&quot;indirectAuthority].source[classCode=SDLOC]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="(ServD maps Practitioners and Organizations via another entity, so this concept is not available)&lt;br/&gt; However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="where" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.healthcareService" />
      <short value="The list of healthcare services that this worker provides for this role's Organization/Location(s)" />
      <definition value="The list of healthcare services that this worker provides for this role's Organization/Location(s)." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.practitionerRole.healthcareService" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/HealthcareService" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="./target[classCode=&quot;indirectAuthority].id?" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.qualification" />
      <short value="Qualifications obtained by training and certification" />
      <definition value="Qualifications obtained by training and certification." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.qualification" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="v2" />
        <map value="CER?" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./indirectAuthority/QualifiedEntity[code &lt; qualifiedEntity]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Qualifications" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.qualification.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.qualification.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.qualification.extension" />
      <name value="CredentialEligibiltyIndicator" />
      <short value="Extension" />
      <definition value="An Extension" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.qualification.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/hspc-practitioner-profileCredentialEligibilityInd" />
      </type>
    </element>
    <element>
      <path value="Practitioner.qualification.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.qualification.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <isModifier value="true" />
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.qualification.identifier" />
      <short value="An identifier for this qualification for the practitioner" />
      <definition value="An identifier that applies to this person's qualification in this role." />
      <requirements value="Often, specific identities are assigned for the qualification." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.qualification.identifier" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="./id" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.qualification.code" />
      <short value="Coded representation of the qualification" />
      <definition value="Coded representation of the qualification." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Practitioner.qualification.code" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="example" />
        <description value="Specific qualification the practitioner has to provide a service" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/anzsco-occupations" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Qualifications.Value" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.qualification.period" />
      <short value="Period during which the qualification is valid" />
      <definition value="Period during which the qualification is valid." />
      <requirements value="Qualifications are often for a limited period of time, and can be revoked." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.qualification.period" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Period" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="./effectiveTime" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Qualifications.StartDate and ./Qualifications.EndDate" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.qualification.issuer" />
      <short value="Organization that regulates and issues the qualification" />
      <definition value="Organization that regulates and issues the qualification." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Practitioner.qualification.issuer" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/qicore-organization" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="./scoper" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.communication" />
      <short value="A language the practitioner is able to use in patient communication" />
      <definition value="A language the practitioner is able to use in patient communication." />
      <requirements value="Knowing which language a practitioner speaks can help in facilitating communication with patients." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Practitioner.communication" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <description value="A human language" />
        <valueSetUri value="http://tools.ietf.org/html/bcp47" />
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="PID-15, NK1-20, LAN-2" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./languageCode" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Languages.LanguageSpokenCode" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.communication.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="CodeableConcept.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.communication.extension" />
      <name value="CommunicationMode" />
      <short value="Extension" />
      <definition value="An Extension" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="CodeableConcept.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/hspc-practitioner-profileCommunicationMode" />
      </type>
    </element>
    <element>
      <path value="Practitioner.communication.coding" />
      <short value="Code defined by a terminology system" />
      <definition value="A reference to a code defined by a terminology system." />
      <requirements value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="CodeableConcept.coding" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.1-8, C*E.10-22" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="union(., ./translation)" />
      </mapping>
    </element>
    <element>
      <path value="Practitioner.communication.text" />
      <short value="Plain text representation of the concept" />
      <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." />
      <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="CodeableConcept.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="C*E.9. But note many systems use C*E.2 for this" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element>
      <path value="Practitioner" />
      <name value="hspc-provpract" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Practitioner" />
      </type>
    </element>
    <element>
      <path value="Practitioner.classification" />
      <binding>
        <strength value="preferred" />
        <description value="A more specific service or occupation within the health care provider type of the practitioner at a specific organization unit. (Example: Counselor.)" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/hspc-practitioner-providerClassification" />
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="Practitioner.telecom" />
    </element>
    <element>
      <path value="Practitioner.telecom.extension" />
      <name value="PreferenceIndicator" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/iso21090-preferred" />
      </type>
    </element>
    <element>
      <path value="Practitioner.telecom.system" />
      <binding>
        <strength value="preferred" />
        <description value="A set of codes that describe the telecom system" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/hspc-practitioner-telecomSystem" />
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="Practitioner.telecom.use" />
      <binding>
        <strength value="preferred" />
        <description value="A set of codes that describe what the given telecom value is used for" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/hspc-practitioner-telecomUse" />
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="Practitioner.address" />
    </element>
    <element>
      <path value="Practitioner.address.extension" />
      <name value="PrimaryIndicator" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/practitioner-primaryInd" />
      </type>
    </element>
    <element>
      <path value="Practitioner.address.use" />
      <binding>
        <strength value="preferred" />
        <description value="A set of codes that describe the manner in which an addressed is used." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/hspc-practitioner-addressUse" />
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="Practitioner.practitionerRole" />
      <name value="PractitionerRole" />
      <slicing>
        <discriminator value="Practitioner.practitionerRole.managingOrganization" />
        <discriminator value="Practitioner.practitionerRole.role|false|open" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.role" />
      <binding>
        <strength value="preferred" />
        <description value="A set of codes that describe the general practice category for a provider." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/hspc-practitioner-providerPractitionerType" />
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.specialty" />
      <binding>
        <strength value="preferred" />
        <description value="A set of codes that describe the specific specialty in which a provider practices." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/hspc-practitioner-providerPractitionerSpecialty" />
        </valueSetReference>
      </binding>
    </element>
    <element>
      <path value="Practitioner.practitionerRole" />
      <name value="AdministrativeAffiliation" />
    </element>
    <element>
      <path value="Practitioner.practitionerRole" />
      <name value="PracticeAffiliation" />
    </element>
    <element>
      <path value="Practitioner.practitionerRole.extension" />
      <name value="PracticeAffiliationType" />
      <slicing>
        <discriminator value="url" />
        <description value="PracticeAffiliationType" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/hspc-practitioner-profilePracticeAffiliationType" />
      </type>
    </element>
    <element>
      <path value="Practitioner.practitionerRole.extension" />
      <name value="PractitionerPrivilege" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/hspc-practitioner-profilePractitionerPrivilege" />
      </type>
    </element>
    <element>
      <path value="Practitioner.qualification" />
    </element>
    <element>
      <path value="Practitioner.qualification.extension" />
      <name value="CredentialEligibiltyIndicator" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/hspc-practitioner-profileCredentialEligibilityInd" />
      </type>
    </element>
    <element>
      <path value="Practitioner.communication" />
    </element>
    <element>
      <path value="Practitioner.communication.extension" />
      <name value="CommunicationMode" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/hspc-practitioner-profileCommunicationMode" />
      </type>
    </element>
  </differential>
</StructureDefinition>