API Hub

Explore and Make use of Nationally Defined Messaging APIs

This is a HL7 FHIR server, and as you appear to be accessing this page from a web browser you are seeing a HTML version of the requested resource(s). You can also access this URL from a FHIR client as a ReSTful API call. For more details please see the HL7 FHIR specification.
<?xml version="1.0" encoding="UTF-8" standalone="no"?><StructureDefinition xmlns="http://hl7.org/fhir">
   <id value="spine-practitioner-1-0"/>
   <meta>
      <lastUpdated value="2016-05-04T09:50:37.423+01:00"/>
      <tag>
         <system value="urn:hscic:examples"/>
         <code value="Example-cr-4"/>
         <display value="Spine-RIS-Practitioner-1-0 Example"/>
      </tag>
      <tag>
         <system value="urn:hscic:publishOrder"/>
         <code value="04"/>
      </tag>
   </meta>
   <url value="https://fhir.nhs.uk/StructureDefinition/spine-practitioner-1-0"/>
   <version value="1.0.0"/>
   <name value="Spine-Practitioner-1-0"/>
   <display value="Spine-Practitioner-1-0"/>
   <status value="active"/>
   <publisher value="NHS Digital"/>
   <contact>
      <name value="Interoperability Team"/>
      <telecom>
         <system value="email"/>
         <value value="interoperabilityteam@nhs.net"/>
         <use value="work"/>
      </telecom>
   </contact>
   <date value="2015-04-02T14:21:09+02:00"/>
   <description value="This Practitioner Resource is constrained for FGM Create Request messaging requirements. "/>
   <copyright value="Copyright � 2016 Health and Social Care Information Centre"/>
   <mapping>
      <identity value="v2"/>
      <uri value="http://hl7.org/v2"/>
      <name value="HL7 v2"/>
   </mapping>
   <mapping>
      <identity value="rim"/>
      <uri value="http://hl7.org/v3"/>
      <name value="RIM"/>
   </mapping>
   <mapping>
      <identity value="servd"/>
      <uri value="http://www.omg.org/spec/ServD/1.0/"/>
      <name value="ServD"/>
   </mapping>
   <kind value="resource"/>
   <constrainedType value="Practitioner"/>
   <abstract value="false"/>
   <base value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
   <snapshot>
      <element>
         <path value="Practitioner"/>
         <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."/>
         <comments value="Note that a cab driver no longer fits the bill. You probably would be interested in the organization rather than the individual? Need to track doctors, staff, locums etc. for both healthcare practitioners, funders, etc."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Practitioner"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="DomainResource"/>
         </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>
      </element>
      <element>
         <path value="Practitioner.identifier"/>
         <slicing>
            <discriminator value="system"/>
            <ordered value="true"/>
            <rules value="closed"/>
         </slicing>
         <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="1"/>
         <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)"/>
         </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.identifier.use"/>
         <short value="usual | official | temp | secondary (If known)"/>
         <definition value="The purpose of this identifier."/>
         <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary."/>
         <requirements value="Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Identifier.use"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isModifier value="true"/>
         <isSummary value="true"/>
         <binding>
            <strength value="required"/>
            <description value="Identifies the purpose for this identifier, if known ."/>
            <valueSetReference>
               <reference value="http://hl7.org/fhir/ValueSet/identifier-use"/>
            </valueSetReference>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="N/A"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.code or implied by context"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type"/>
         <short value="Description of identifier"/>
         <definition value="A coded type for the identifier that can be used to determine which identifier to use for a specific purpose."/>
         <comments value="This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type."/>
         <requirements value="Allows users to make use of identifiers when the identifier system is not known."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Identifier.type"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <isSummary value="true"/>
         <binding>
            <strength value="extensible"/>
            <description value="A coded type for an identifier that can be used to determine which identifier to use for a specific purpose."/>
            <valueSetReference>
               <reference value="http://hl7.org/fhir/ValueSet/identifier-type"/>
            </valueSetReference>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="CX.5"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.code or implied by context"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding"/>
         <short value="Code defined by a terminology system"/>
         <definition value="A reference to a code defined by a terminology system."/>
         <comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true."/>
         <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>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.system"/>
         <short value="Identity of the terminology system"/>
         <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
         <comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
         <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.version"/>
         <short value="Version of the system - if relevant"/>
         <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
         <comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.code"/>
         <short value="Symbol in syntax defined by the system"/>
         <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
         <requirements value="Need to refer to a particular code in the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./code"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.display"/>
         <short value="Representation defined by the system"/>
         <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
         <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.userSelected"/>
         <short value="If this coding was chosen directly by the user"/>
         <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
         <comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
         <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="boolean"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source "true";     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.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."/>
         <comments value="Very often the text is the same as a displayName of one of the codings."/>
         <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>
         <isSummary value="true"/>
         <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="text/plain"]/data"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.system"/>
         <short value="The namespace for the identifier"/>
         <definition value="Establishes the namespace in which set of possible id values is unique."/>
         <requirements value="There are many sequences of identifiers.  To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or set of unique identifiers."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Identifier.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <exampleUri value="http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.4 / EI-2-4"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.root or Role.id.root"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./IdentifierType"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.value"/>
         <short value="The value that is unique"/>
         <definition value="The portion of the identifier typically displayed to the user and which is unique within the context of the system."/>
         <comments value="If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Identifier.value"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <exampleString value="123456"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.1 / EI.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./Value"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.period"/>
         <short value="Time period when id is/was valid for use"/>
         <definition value="Time period during which identifier is/was valid for use."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Identifier.period"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Period"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.7 + CX.8"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.effectiveTime or implied by context"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./StartDate and ./EndDate"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.period.start"/>
         <short value="Starting time with inclusive boundary"/>
         <definition value="The start of the period. The boundary is inclusive."/>
         <comments value="If the low element is missing, the meaning is that the low boundary is not known."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.start"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./low"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.period.end"/>
         <short value="End time with inclusive boundary, if not ongoing"/>
         <definition value="The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time."/>
         <comments value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.end"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing"/>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.2"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./high"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.assigner"/>
         <short value="Organization that issued id (may be just text)"/>
         <definition value="Organization that issued/manages the identifier."/>
         <comments value="The reference may be just a text description of the assigner."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Identifier.assigner"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Reference"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.4 / (CX.4,CX.9,CX.10)"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./IdentifierIssuingAuthority"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.assigner.reference"/>
         <short value="Relative, internal or absolute URL reference"/>
         <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
         <comments value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.reference"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ref-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.assigner.display"/>
         <short value="Text alternative for the resource"/>
         <definition value="Plain text narrative that identifies the resource in addition to the resource reference."/>
         <comments value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier"/>
         <name value="SDS User ID"/>
         <label value="SDS User ID"/>
         <short value="The SDS identifier that uniquely identifies 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="1"/>
         <max value="1"/>
         <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>
      </element>
      <element>
         <path value="Practitioner.identifier.use"/>
         <short value="usual | official | temp | secondary (If known)"/>
         <definition value="The purpose of this identifier."/>
         <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary."/>
         <requirements value="Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.use"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isModifier value="true"/>
         <isSummary value="true"/>
         <binding>
            <strength value="example"/>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="N/A"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.code or implied by context"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type"/>
         <short value="Description of identifier"/>
         <definition value="A coded type for the identifier that can be used to determine which identifier to use for a specific purpose."/>
         <comments value="Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type."/>
         <requirements value="Allows users to make use of identifiers when the identifier system is not known."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.type"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <isSummary value="true"/>
         <binding>
            <strength value="example"/>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="CX.5"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.code or implied by context"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding"/>
         <short value="Code defined by a terminology system"/>
         <definition value="A reference to a code defined by a terminology system."/>
         <comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true."/>
         <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>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.system"/>
         <short value="Identity of the terminology system"/>
         <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
         <comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
         <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.version"/>
         <short value="Version of the system - if relevant"/>
         <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
         <comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.code"/>
         <short value="Symbol in syntax defined by the system"/>
         <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
         <requirements value="Need to refer to a particular code in the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./code"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.display"/>
         <short value="Representation defined by the system"/>
         <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
         <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.userSelected"/>
         <short value="If this coding was chosen directly by the user"/>
         <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
         <comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
         <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="boolean"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source "true";     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.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."/>
         <comments value="Very often the text is the same as a displayName of one of the codings."/>
         <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>
         <isSummary value="true"/>
         <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="text/plain"]/data"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.system"/>
         <short value="The namespace for the identifier"/>
         <definition value="Establishes the namespace in which set of possible id values is unique."/>
         <comments value="https://fhir.nhs.uk/Id/sds-user-id"/>
         <requirements value="There are many sequences of identifiers.  To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or set of unique identifiers."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Identifier.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <fixedUri value="https://fhir.nhs.uk/Id/sds-user-id"/>
         <exampleUri value="  "/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.4 / EI-2-4"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.root or Role.id.root"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./IdentifierType"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.value"/>
         <short value="The value that is unique"/>
         <definition value="The portion of the identifier typically displayed to the user and which is unique within the context of the system."/>
         <comments value="If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Identifier.value"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <exampleString value="200009876204"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.1 / EI.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./Value"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.period"/>
         <short value="Time period when id is/was valid for use"/>
         <definition value="Time period during which identifier is/was valid for use."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.period"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Period"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.7 + CX.8"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.effectiveTime or implied by context"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./StartDate and ./EndDate"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.period.start"/>
         <short value="Starting time with inclusive boundary"/>
         <definition value="The start of the period. The boundary is inclusive."/>
         <comments value="If the low element is missing, the meaning is that the low boundary is not known."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.start"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./low"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.period.end"/>
         <short value="End time with inclusive boundary, if not ongoing"/>
         <definition value="The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time."/>
         <comments value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.end"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing"/>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.2"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./high"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.assigner"/>
         <short value="Organization that issued id (may be just text)"/>
         <definition value="Organization that issued/manages the identifier."/>
         <comments value="The reference may be just a text description of the assigner."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.assigner"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Reference"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.4 / (CX.4,CX.9,CX.10)"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./IdentifierIssuingAuthority"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.assigner.reference"/>
         <short value="Relative, internal or absolute URL reference"/>
         <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
         <comments value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.reference"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ref-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.assigner.display"/>
         <short value="Text alternative for the resource"/>
         <definition value="Plain text narrative that identifies the resource in addition to the resource reference."/>
         <comments value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier"/>
         <name value="SDS Role Profile ID"/>
         <label value="SDS Role Profile ID"/>
         <short value="The SDS identifier that uniquely identifies the role profile of 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="1"/>
         <max value="1"/>
         <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>
      </element>
      <element>
         <path value="Practitioner.identifier.use"/>
         <short value="usual | official | temp | secondary (If known)"/>
         <definition value="The purpose of this identifier."/>
         <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary."/>
         <requirements value="Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.use"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isModifier value="true"/>
         <isSummary value="true"/>
         <binding>
            <strength value="example"/>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="N/A"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.code or implied by context"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type"/>
         <short value="Description of identifier"/>
         <definition value="A coded type for the identifier that can be used to determine which identifier to use for a specific purpose."/>
         <comments value="Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type."/>
         <requirements value="Allows users to make use of identifiers when the identifier system is not known."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.type"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <isSummary value="true"/>
         <binding>
            <strength value="example"/>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="CX.5"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.code or implied by context"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding"/>
         <short value="Code defined by a terminology system"/>
         <definition value="A reference to a code defined by a terminology system."/>
         <comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true."/>
         <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>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.system"/>
         <short value="Identity of the terminology system"/>
         <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
         <comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
         <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.version"/>
         <short value="Version of the system - if relevant"/>
         <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
         <comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.code"/>
         <short value="Symbol in syntax defined by the system"/>
         <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
         <requirements value="Need to refer to a particular code in the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./code"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.display"/>
         <short value="Representation defined by the system"/>
         <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
         <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.coding.userSelected"/>
         <short value="If this coding was chosen directly by the user"/>
         <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
         <comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
         <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="boolean"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source "true";     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type.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."/>
         <comments value="Very often the text is the same as a displayName of one of the codings."/>
         <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>
         <isSummary value="true"/>
         <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="text/plain"]/data"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.system"/>
         <short value="The namespace for the identifier"/>
         <definition value="Establishes the namespace in which set of possible id values is unique."/>
         <comments value="https://fhir.nhs.uk/Id/sds-role-profile-id"/>
         <requirements value="There are many sequences of identifiers.  To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or set of unique identifiers."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Identifier.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <fixedUri value="https://fhir.nhs.uk/Id/sds-role-profile-id"/>
         <exampleUri value="http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.4 / EI-2-4"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.root or Role.id.root"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./IdentifierType"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.value"/>
         <short value="The value that is unique"/>
         <definition value="The portion of the identifier typically displayed to the user and which is unique within the context of the system."/>
         <comments value="If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Identifier.value"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <exampleString value="100077650987"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.1 / EI.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./Value"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.period"/>
         <short value="Time period when id is/was valid for use"/>
         <definition value="Time period during which identifier is/was valid for use."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.period"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Period"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.7 + CX.8"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.effectiveTime or implied by context"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./StartDate and ./EndDate"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.period.start"/>
         <short value="Starting time with inclusive boundary"/>
         <definition value="The start of the period. The boundary is inclusive."/>
         <comments value="If the low element is missing, the meaning is that the low boundary is not known."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.start"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./low"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.period.end"/>
         <short value="End time with inclusive boundary, if not ongoing"/>
         <definition value="The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time."/>
         <comments value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.end"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing"/>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.2"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./high"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.assigner"/>
         <short value="Organization that issued id (may be just text)"/>
         <definition value="Organization that issued/manages the identifier."/>
         <comments value="The reference may be just a text description of the assigner."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.assigner"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Reference"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.4 / (CX.4,CX.9,CX.10)"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./IdentifierIssuingAuthority"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.assigner.reference"/>
         <short value="Relative, internal or absolute URL reference"/>
         <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
         <comments value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.reference"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ref-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.assigner.display"/>
         <short value="Text alternative for the resource"/>
         <definition value="Plain text narrative that identifies the resource in addition to the resource reference."/>
         <comments value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </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."/>
         <comments value="Default is true.   If the practitioner is not in use by one organization, then it should mark the period on the PractitonerRole with an end date (even if they are active) as they may be active in another role."/>
         <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="0"/>
         <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."/>
         <comments value="attribute name provides a name associated with the author of the query."/>
         <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="0"/>
         <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.name.use"/>
         <short value="usual | official | temp | nickname | anonymous | old | maiden"/>
         <definition value="Identifies the purpose for this name."/>
         <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary or old name etc.for a current/permanent one. Applications can assume that a name is current unless it explicitly says that it is temporary or old."/>
         <requirements value="Allows the appropriate name for a particular context of use to be selected from among a set of names."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="HumanName.use"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isModifier value="true"/>
         <isSummary value="true"/>
         <binding>
            <strength value="required"/>
            <description value="The use of a human name"/>
            <valueSetReference>
               <reference value="http://hl7.org/fhir/DSTU2/valueset-name-use.html"/>
            </valueSetReference>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="XPN.7, but often indicated by which field contains the name"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="unique(./use)"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./NamePurpose"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.name.text"/>
         <short value="Text representation of the full name"/>
         <definition value="A full text representation of the name."/>
         <comments value="Can provide both a text representation and structured parts."/>
         <requirements value="A renderable, unencoded form."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="HumanName.text"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="implied by XPN.11"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./formatted"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.name.family"/>
         <short value="Family name (often called 'Surname')"/>
         <definition value="The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father."/>
         <comments value="For family name, hyphenated names such as "Smith-Jones" are a single name, but names with spaces such as "Smith Jones" are broken into multiple parts."/>
         <alias value="surname"/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="HumanName.family"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="XPN.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./part[partType = FAM]"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./FamilyName"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.name.given"/>
         <short value="Given names (not always 'first'). Includes middle names"/>
         <definition value="Given name."/>
         <comments value="If only initials are recorded, they may be used in place of the full name.  Not called "first name" since given names do not always come first."/>
         <alias value="first name"/>
         <alias value="middle name"/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="HumanName.given"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="XPN.2 + XPN.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./part[partType = GIV]"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./GivenNames"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.name.prefix"/>
         <short value="Parts that come before the name"/>
         <definition value="Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name."/>
         <min value="0"/>
         <max value="*"/>
         <base>
            <path value="HumanName.prefix"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="XPN.5"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./part[partType = PFX]"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./TitleCode"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.name.suffix"/>
         <short value="Parts that come after the name"/>
         <definition value="Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name."/>
         <min value="0"/>
         <max value="*"/>
         <base>
            <path value="HumanName.suffix"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="XPN/4"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./part[partType = SFX]"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.name.period"/>
         <short value="Time period when name was/is in use"/>
         <definition value="Indicates the period of time when this name was valid for the named person."/>
         <requirements value="Allows names to be placed in historical context."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="HumanName.period"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Period"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="XPN.13 + XPN.14"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./usablePeriod[type="IVL<TS>"]"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./StartDate and ./EndDate"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.name.period.start"/>
         <short value="Starting time with inclusive boundary"/>
         <definition value="The start of the period. The boundary is inclusive."/>
         <comments value="If the low element is missing, the meaning is that the low boundary is not known."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.start"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./low"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.name.period.end"/>
         <short value="End time with inclusive boundary, if not ongoing"/>
         <definition value="The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time."/>
         <comments value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.end"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing"/>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.2"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./high"/>
         </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."/>
         <comments value="Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently, and also to help with identification."/>
         <requirements value="Need to know how to reach a practitioner."/>
         <min value="0"/>
         <max value="0"/>
         <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.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="required"/>
            <description value="Telecommunications form for contact point"/>
            <valueSetReference>
               <reference value="http://hl7.org/fhir/ValueSet/contact-point-system"/>
            </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)."/>
         <comments value="Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value."/>
         <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."/>
         <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary or old contact etc.for a current/permanent one. Applications can assume that a contact is current unless it explicitly says that it is temporary or old."/>
         <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="required"/>
            <description value="Use of contact point"/>
            <valueSetReference>
               <reference value="http://hl7.org/fhir/ValueSet/contact-point-use"/>
            </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."/>
         <comments value="Note that rank does not necessarily follow the order in which the contacts are represented in the instance."/>
         <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="IVL<TS>"]"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./StartDate and ./EndDate"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.telecom.period.start"/>
         <short value="Starting time with inclusive boundary"/>
         <definition value="The start of the period. The boundary is inclusive."/>
         <comments value="If the low element is missing, the meaning is that the low boundary is not known."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.start"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./low"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.telecom.period.end"/>
         <short value="End time with inclusive boundary, if not ongoing"/>
         <definition value="The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time."/>
         <comments value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.end"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing"/>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.2"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./high"/>
         </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="0"/>
         <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.use"/>
         <short value="home | work | temp | old - purpose of this address"/>
         <definition value="The purpose of this address."/>
         <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary or old address etc.for a current/permanent one. Applications can assume that an address is current unless it explicitly says that it is temporary or old."/>
         <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="required"/>
            <description value="The use of an address"/>
            <valueSetReference>
               <reference value="http://hl7.org/fhir/ValueSet/address-use"/>
            </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="v2"/>
            <map value="XAD.18"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="unique(./use)"/>
         </mapping>
         <mapping>
            <identity value="vcard"/>
            <map value="address type parameter"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.address.text"/>
         <short value="Text representation of the address"/>
         <definition value="A full text representation of the address."/>
         <comments value="Can provide both a text representation and parts."/>
         <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="v2"/>
            <map value="XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./formatted"/>
         </mapping>
         <mapping>
            <identity value="vcard"/>
            <map value="address label parameter"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.address.line"/>
         <short value="Street name, number, direction & 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="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="vcard"/>
            <map value="street"/>
         </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="Municpality"/>
         <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="v2"/>
            <map value="XAD.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="AD.part[parttype = CTY]"/>
         </mapping>
         <mapping>
            <identity value="vcard"/>
            <map value="locality"/>
         </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)."/>
         <comments value="District is sometimes known as county, but in some regions 'county' in used in place of city (municipality), so county name should be conveyed in city instead."/>
         <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 (abbreviations 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="v2"/>
            <map value="XAD.4"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="AD.part[parttype = STA]"/>
         </mapping>
         <mapping>
            <identity value="vcard"/>
            <map value="region"/>
         </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="v2"/>
            <map value="XAD.5"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="AD.part[parttype = ZIP]"/>
         </mapping>
         <mapping>
            <identity value="vcard"/>
            <map value="code"/>
         </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."/>
         <comments value="ISO 3166 3 letter codes can be used in place of a full country name."/>
         <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="v2"/>
            <map value="XAD.6"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="AD.part[parttype = CNT]"/>
         </mapping>
         <mapping>
            <identity value="vcard"/>
            <map value="country"/>
         </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="IVL<TS>"]"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./StartDate and ./EndDate"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.address.period.start"/>
         <short value="Starting time with inclusive boundary"/>
         <definition value="The start of the period. The boundary is inclusive."/>
         <comments value="If the low element is missing, the meaning is that the low boundary is not known."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.start"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./low"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.address.period.end"/>
         <short value="End time with inclusive boundary, if not ongoing"/>
         <definition value="The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time."/>
         <comments value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.end"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing"/>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.2"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./high"/>
         </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="0"/>
         <base>
            <path value="Practitioner.gender"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isSummary value="true"/>
         <binding>
            <strength value="example"/>
         </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  of birth for the practitioner"/>
         <definition value="The date of birth for the practitioner."/>
         <requirements value="Needed for identification."/>
         <min value="0"/>
         <max value="0"/>
         <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="0"/>
         <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="photo"]/value"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./ImageURI (only supports the URI reference)"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.photo.contentType"/>
         <short value="Mime type of the content, with charset etc."/>
         <definition value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."/>
         <requirements value="Processors of the data need to be able to know how to interpret the data."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Attachment.contentType"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <exampleCode value="text/plain; charset=UTF-8, image/png"/>
         <isSummary value="true"/>
         <binding>
            <strength value="required"/>
            <description value="The mime type of an attachment. Any valid mime type is allowed."/>
            <valueSetUri value="http://www.rfc-editor.org/bcp/bcp13.txt"/>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./mediaType, ./charset"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.photo.language"/>
         <short value="Human language of the content (BCP-47)"/>
         <definition value="The human language of the content. The value can be any valid value according to BCP 47."/>
         <requirements value="Users need to be able to choose between the languages in a set of attachments."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Attachment.language"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <exampleCode value="en-AU"/>
         <isSummary value="true"/>
         <binding>
            <strength value="required"/>
            <description value="A human language."/>
            <valueSetUri value="http://tools.ietf.org/html/bcp47"/>
         </binding>
         <mapping>
            <identity value="rim"/>
            <map value="./language"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.photo.data"/>
         <short value="Data inline, base64ed"/>
         <definition value="The actual data of the attachment - a sequence of bytes. In XML, represented using base64."/>
         <comments value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
         <requirements value="The data needs to able to be transmitted inline."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Attachment.data"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="base64Binary"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="ED.5"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./data"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.photo.url"/>
         <short value="Uri where the data can be found"/>
         <definition value="An alternative location where the data can be accessed."/>
         <comments value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
         <requirements value="The data needs to be transmitted by reference."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Attachment.url"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <exampleUri value="http://www.acme.com/logo-small.png"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./reference/literal"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.photo.size"/>
         <short value="Number of bytes of content (if url provided)"/>
         <definition value="The number of bytes of data that make up this attachment."/>
         <comments value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
         <requirements value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Attachment.size"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="unsignedInt"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A (needs data type R3 proposal)"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.photo.hash"/>
         <short value="Hash of the data (sha-1, base64ed)"/>
         <definition value="The calculated hash of the data using SHA-1. Represented using base64."/>
         <requirements value="Included so that applications can verify that the contents of a location have not changed and so that a signature of the content can implicitly sign the content of an image without having to include the data in the instance or reference the url in the signature."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Attachment.hash"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="base64Binary"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm="SHA-1"]"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.photo.title"/>
         <short value="Label to display in place of the data"/>
         <definition value="A label or set of text to display in place of the data."/>
         <requirements value="Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Attachment.title"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <exampleString value="Official Corporate Logo"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="./title/data"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.photo.creation"/>
         <short value="Date attachment was first created"/>
         <definition value="The date that the attachment was first created."/>
         <requirements value="This is often tracked as an integrity issue for use of the attachment."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Attachment.creation"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A (needs data type R3 proposal)"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.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="1"/>
         <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.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."/>
         <comments value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
         <alias value="extensions"/>
         <alias value="user content"/>
         <alias value="modifiers"/>
         <min value="0"/>
         <max value="*"/>
         <base>
            <path value="BackboneElement.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="1"/>
         <max value="1"/>
         <base>
            <path value="Practitioner.practitionerRole.managingOrganization"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Reference"/>
            <profile value="https://fhir.nhs.uk/StructureDefinition/spine-organization-1-0"/>
            <aggregation value="bundled"/>
         </type>
         <mapping>
            <identity value="rim"/>
            <map value="scopingOrganization"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.managingOrganization.reference"/>
         <short value="Relative URL reference"/>
         <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
         <comments value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the url conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Reference.reference"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <exampleString value="Organization/13daadee-26e1-4d6a-9e6a-7f4af9b58878"/>
         <condition value="ref-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.managingOrganization.display"/>
         <short value="Text alternative for the resource"/>
         <definition value="Plain text narrative that identifies the resource in addition to the resource reference."/>
         <comments value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Reference.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </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."/>
         <comments value="A person may have more than one role. At least one role is required."/>
         <requirements value="Need to know what authority the practitioner has - what can they do?"/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Practitioner.practitionerRole.role"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <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.role.coding"/>
         <short value="a code from the RBAC list of codes."/>
         <definition value="A reference to a code defined by a terminology system."/>
         <comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the V3 Core Principles for more information.  Ordering of codings is undefined and SHALL not be used to infer meaning.  urn:oid: 2.16.840.1.113883.2.1.3.2.4.17.196"/>
         <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="1"/>
         <max value="1"/>
         <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="Coding"/>
         </type>
         <isSummary value="true"/>
         <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.role.coding.system"/>
         <short value="Identity of the terminology system"/>
         <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
         <comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
         <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <fixedUri value="https://fhir.nhs.uk/ValueSet/sds-job-role-name-1-0"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.role.coding.version"/>
         <short value="Version of the system - if relevant"/>
         <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
         <comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.role.coding.code"/>
         <short value="Symbol in syntax defined by the system"/>
         <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
         <requirements value="Need to refer to a particular code in the system."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <exampleCode value="R0090"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./code"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.role.coding.display"/>
         <short value="Representation defined by the system"/>
         <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
         <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.role.coding.userSelected"/>
         <short value="If this coding was chosen directly by the user"/>
         <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
         <comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
         <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="boolean"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source "true";     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.role.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."/>
         <comments value="Very often the text is the same as a displayName of one of the codings."/>
         <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="0"/>
         <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <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="text/plain"]/data"/>
         </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="0"/>
         <base>
            <path value="Practitioner.practitionerRole.specialty"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <isSummary value="true"/>
         <binding>
            <strength value="example"/>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="PRA-5-specialty"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="indirectAuthority/QualifiedEntity[code < Speciality]/code"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./Specialty"/>
         </mapping>
      </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."/>
         <comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true."/>
         <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>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.specialty.coding.system"/>
         <short value="Identity of the terminology system"/>
         <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
         <comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
         <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.specialty.coding.version"/>
         <short value="Version of the system - if relevant"/>
         <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
         <comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.specialty.coding.code"/>
         <short value="Symbol in syntax defined by the system"/>
         <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
         <requirements value="Need to refer to a particular code in the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./code"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.specialty.coding.display"/>
         <short value="Representation defined by the system"/>
         <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
         <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.specialty.coding.userSelected"/>
         <short value="If this coding was chosen directly by the user"/>
         <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
         <comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
         <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="boolean"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source "true";     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
         </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."/>
         <comments value="Very often the text is the same as a displayName of one of the codings."/>
         <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>
         <isSummary value="true"/>
         <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="text/plain"]/data"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
         </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="0"/>
         <base>
            <path value="Practitioner.practitionerRole.period"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Period"/>
         </type>
         <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>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.period.start"/>
         <short value="Starting time with inclusive boundary"/>
         <definition value="The start of the period. The boundary is inclusive."/>
         <comments value="If the low element is missing, the meaning is that the low boundary is not known."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.start"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./low"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.period.end"/>
         <short value="End time with inclusive boundary, if not ongoing"/>
         <definition value="The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time."/>
         <comments value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.end"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing"/>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.2"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./high"/>
         </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="0"/>
         <base>
            <path value="Practitioner.practitionerRole.location"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="Reference"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
         </type>
         <mapping>
            <identity value="rim"/>
            <map value="./target[classCode="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)<br/> However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.location.reference"/>
         <short value="Relative, internal or absolute URL reference"/>
         <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
         <comments value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.reference"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ref-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.location.display"/>
         <short value="Text alternative for the resource"/>
         <definition value="Plain text narrative that identifies the resource in addition to the resource reference."/>
         <comments value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </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="0"/>
         <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="indirectAuthority].id?"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.healthcareService.reference"/>
         <short value="Relative, internal or absolute URL reference"/>
         <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
         <comments value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.reference"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ref-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.healthcareService.display"/>
         <short value="Text alternative for the resource"/>
         <definition value="Plain text narrative that identifies the resource in addition to the resource reference."/>
         <comments value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </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="0"/>
         <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 < qualifiedEntity]"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./Qualifications"/>
         </mapping>
      </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."/>
         <comments value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
         <alias value="extensions"/>
         <alias value="user content"/>
         <alias value="modifiers"/>
         <min value="0"/>
         <max value="*"/>
         <base>
            <path value="BackboneElement.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.identifier.use"/>
         <short value="usual | official | temp | secondary (If known)"/>
         <definition value="The purpose of this identifier."/>
         <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary."/>
         <requirements value="Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Identifier.use"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isModifier value="true"/>
         <isSummary value="true"/>
         <binding>
            <strength value="required"/>
            <description value="Identifies the purpose for this identifier, if known ."/>
            <valueSetReference>
               <reference value="http://hl7.org/fhir/ValueSet/identifier-use"/>
            </valueSetReference>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="N/A"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.code or implied by context"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.type"/>
         <short value="Description of identifier"/>
         <definition value="A coded type for the identifier that can be used to determine which identifier to use for a specific purpose."/>
         <comments value="This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type."/>
         <requirements value="Allows users to make use of identifiers when the identifier system is not known."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Identifier.type"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <isSummary value="true"/>
         <binding>
            <strength value="extensible"/>
            <description value="A coded type for an identifier that can be used to determine which identifier to use for a specific purpose."/>
            <valueSetReference>
               <reference value="http://hl7.org/fhir/ValueSet/identifier-type"/>
            </valueSetReference>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="CX.5"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.code or implied by context"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.type.coding"/>
         <short value="Code defined by a terminology system"/>
         <definition value="A reference to a code defined by a terminology system."/>
         <comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true."/>
         <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>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.type.coding.system"/>
         <short value="Identity of the terminology system"/>
         <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
         <comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
         <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.type.coding.version"/>
         <short value="Version of the system - if relevant"/>
         <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
         <comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.type.coding.code"/>
         <short value="Symbol in syntax defined by the system"/>
         <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
         <requirements value="Need to refer to a particular code in the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./code"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.type.coding.display"/>
         <short value="Representation defined by the system"/>
         <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
         <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.type.coding.userSelected"/>
         <short value="If this coding was chosen directly by the user"/>
         <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
         <comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
         <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="boolean"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source "true";     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.type.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."/>
         <comments value="Very often the text is the same as a displayName of one of the codings."/>
         <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>
         <isSummary value="true"/>
         <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="text/plain"]/data"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.system"/>
         <short value="The namespace for the identifier"/>
         <definition value="Establishes the namespace in which set of possible id values is unique."/>
         <requirements value="There are many sequences of identifiers.  To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or set of unique identifiers."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Identifier.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <exampleUri value="http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.4 / EI-2-4"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.root or Role.id.root"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./IdentifierType"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.value"/>
         <short value="The value that is unique"/>
         <definition value="The portion of the identifier typically displayed to the user and which is unique within the context of the system."/>
         <comments value="If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Identifier.value"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <exampleString value="123456"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.1 / EI.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./Value"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.period"/>
         <short value="Time period when id is/was valid for use"/>
         <definition value="Time period during which identifier is/was valid for use."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Identifier.period"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Period"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.7 + CX.8"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.effectiveTime or implied by context"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./StartDate and ./EndDate"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.period.start"/>
         <short value="Starting time with inclusive boundary"/>
         <definition value="The start of the period. The boundary is inclusive."/>
         <comments value="If the low element is missing, the meaning is that the low boundary is not known."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.start"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./low"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.period.end"/>
         <short value="End time with inclusive boundary, if not ongoing"/>
         <definition value="The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time."/>
         <comments value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.end"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing"/>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.2"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./high"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.assigner"/>
         <short value="Organization that issued id (may be just text)"/>
         <definition value="Organization that issued/manages the identifier."/>
         <comments value="The reference may be just a text description of the assigner."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Identifier.assigner"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Reference"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.4 / (CX.4,CX.9,CX.10)"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./IdentifierIssuingAuthority"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.assigner.reference"/>
         <short value="Relative, internal or absolute URL reference"/>
         <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
         <comments value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.reference"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ref-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.identifier.assigner.display"/>
         <short value="Text alternative for the resource"/>
         <definition value="Plain text narrative that identifies the resource in addition to the resource reference."/>
         <comments value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </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.code.coding"/>
         <short value="Code defined by a terminology system"/>
         <definition value="A reference to a code defined by a terminology system."/>
         <comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true."/>
         <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>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.code.coding.system"/>
         <short value="Identity of the terminology system"/>
         <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
         <comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
         <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.code.coding.version"/>
         <short value="Version of the system - if relevant"/>
         <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
         <comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.code.coding.code"/>
         <short value="Symbol in syntax defined by the system"/>
         <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
         <requirements value="Need to refer to a particular code in the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./code"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.code.coding.display"/>
         <short value="Representation defined by the system"/>
         <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
         <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.code.coding.userSelected"/>
         <short value="If this coding was chosen directly by the user"/>
         <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
         <comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
         <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="boolean"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source "true";     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.code.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."/>
         <comments value="Very often the text is the same as a displayName of one of the codings."/>
         <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>
         <isSummary value="true"/>
         <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="text/plain"]/data"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
         </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.period.start"/>
         <short value="Starting time with inclusive boundary"/>
         <definition value="The start of the period. The boundary is inclusive."/>
         <comments value="If the low element is missing, the meaning is that the low boundary is not known."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.start"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./low"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.period.end"/>
         <short value="End time with inclusive boundary, if not ongoing"/>
         <definition value="The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time."/>
         <comments value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Period.end"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="dateTime"/>
         </type>
         <meaningWhenMissing value="If the end of the period is missing, it means that the period is ongoing"/>
         <condition value="per-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="DR.2"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./high"/>
         </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/Organization"/>
         </type>
         <mapping>
            <identity value="rim"/>
            <map value="./scoper"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.issuer.reference"/>
         <short value="Relative, internal or absolute URL reference"/>
         <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
         <comments value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.reference"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ref-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.qualification.issuer.display"/>
         <short value="Text alternative for the resource"/>
         <definition value="Plain text narrative that identifies the resource in addition to the resource reference."/>
         <comments value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Reference.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </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."/>
         <comments value="The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type."/>
         <requirements value="Knowing which language a practitioner speaks can help in facilitating communication with patients."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Practitioner.communication"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <binding>
            <strength value="example"/>
         </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.coding"/>
         <short value="Code defined by a terminology system"/>
         <definition value="A reference to a code defined by a terminology system."/>
         <comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true."/>
         <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>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.communication.coding.system"/>
         <short value="Identity of the terminology system"/>
         <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
         <comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
         <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.communication.coding.version"/>
         <short value="Version of the system - if relevant"/>
         <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
         <comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.communication.coding.code"/>
         <short value="Symbol in syntax defined by the system"/>
         <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
         <requirements value="Need to refer to a particular code in the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./code"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.communication.coding.display"/>
         <short value="Representation defined by the system"/>
         <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
         <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.communication.coding.userSelected"/>
         <short value="If this coding was chosen directly by the user"/>
         <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
         <comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
         <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="boolean"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source "true";     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
         </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."/>
         <comments value="Very often the text is the same as a displayName of one of the codings."/>
         <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>
         <isSummary value="true"/>
         <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="text/plain"]/data"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
         </mapping>
      </element>
   </snapshot>
   <differential>
      <element>
         <path value="Practitioner"/>
         <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."/>
         <comments value="Note that a cab driver no longer fits the bill. You probably would be interested in the organization rather than the individual? Need to track doctors, staff, locums etc. for both healthcare practitioners, funders, etc."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Practitioner"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="DomainResource"/>
         </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>
      </element>
      <element>
         <path value="Practitioner.identifier"/>
         <slicing>
            <discriminator value="system"/>
            <ordered value="true"/>
            <rules value="closed"/>
         </slicing>
         <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="1"/>
         <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)"/>
         </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.identifier"/>
         <name value="SDS User ID"/>
         <label value="SDS User ID"/>
         <short value="The SDS identifier that uniquely identifies 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="1"/>
         <max value="1"/>
         <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>
      </element>
      <element>
         <path value="Practitioner.identifier.use"/>
         <short value="usual | official | temp | secondary (If known)"/>
         <definition value="The purpose of this identifier."/>
         <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary."/>
         <requirements value="Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.use"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isModifier value="true"/>
         <isSummary value="true"/>
         <binding>
            <strength value="example"/>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="N/A"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.code or implied by context"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type"/>
         <short value="Description of identifier"/>
         <definition value="A coded type for the identifier that can be used to determine which identifier to use for a specific purpose."/>
         <comments value="Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type."/>
         <requirements value="Allows users to make use of identifiers when the identifier system is not known."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.type"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <isSummary value="true"/>
         <binding>
            <strength value="example"/>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="CX.5"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.code or implied by context"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.system"/>
         <short value="The namespace for the identifier"/>
         <definition value="Establishes the namespace in which set of possible id values is unique."/>
         <comments value="https://fhir.nhs.uk/Id/sds-user-id"/>
         <requirements value="There are many sequences of identifiers.  To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or set of unique identifiers."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Identifier.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <fixedUri value="https://fhir.nhs.uk/Id/sds-user-id"/>
         <exampleUri value="  "/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.4 / EI-2-4"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.root or Role.id.root"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./IdentifierType"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.value"/>
         <short value="The value that is unique"/>
         <definition value="The portion of the identifier typically displayed to the user and which is unique within the context of the system."/>
         <comments value="If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Identifier.value"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <exampleString value="200009876204"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.1 / EI.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./Value"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.period"/>
         <short value="Time period when id is/was valid for use"/>
         <definition value="Time period during which identifier is/was valid for use."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.period"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Period"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.7 + CX.8"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.effectiveTime or implied by context"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./StartDate and ./EndDate"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.assigner"/>
         <short value="Organization that issued id (may be just text)"/>
         <definition value="Organization that issued/manages the identifier."/>
         <comments value="The reference may be just a text description of the assigner."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.assigner"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Reference"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.4 / (CX.4,CX.9,CX.10)"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./IdentifierIssuingAuthority"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier"/>
         <name value="SDS Role Profile ID"/>
         <label value="SDS Role Profile ID"/>
         <short value="The SDS identifier that uniquely identifies the role profile of 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="1"/>
         <max value="1"/>
         <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>
      </element>
      <element>
         <path value="Practitioner.identifier.use"/>
         <short value="usual | official | temp | secondary (If known)"/>
         <definition value="The purpose of this identifier."/>
         <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary."/>
         <requirements value="Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.use"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isModifier value="true"/>
         <isSummary value="true"/>
         <binding>
            <strength value="example"/>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="N/A"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.code or implied by context"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.type"/>
         <short value="Description of identifier"/>
         <definition value="A coded type for the identifier that can be used to determine which identifier to use for a specific purpose."/>
         <comments value="Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type."/>
         <requirements value="Allows users to make use of identifiers when the identifier system is not known."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.type"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <isSummary value="true"/>
         <binding>
            <strength value="example"/>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="CX.5"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.code or implied by context"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.system"/>
         <short value="The namespace for the identifier"/>
         <definition value="Establishes the namespace in which set of possible id values is unique."/>
         <comments value="https://fhir.nhs.uk/Id/sds-role-profile-id"/>
         <requirements value="There are many sequences of identifiers.  To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or set of unique identifiers."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Identifier.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <fixedUri value="https://fhir.nhs.uk/Id/sds-role-profile-id"/>
         <exampleUri value="http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.4 / EI-2-4"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.root or Role.id.root"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./IdentifierType"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.value"/>
         <short value="The value that is unique"/>
         <definition value="The portion of the identifier typically displayed to the user and which is unique within the context of the system."/>
         <comments value="If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Identifier.value"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <exampleString value="100077650987"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.1 / EI.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./Value"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.period"/>
         <short value="Time period when id is/was valid for use"/>
         <definition value="Time period during which identifier is/was valid for use."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.period"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Period"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.7 + CX.8"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="Role.effectiveTime or implied by context"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./StartDate and ./EndDate"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.identifier.assigner"/>
         <short value="Organization that issued id (may be just text)"/>
         <definition value="Organization that issued/manages the identifier."/>
         <comments value="The reference may be just a text description of the assigner."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Identifier.assigner"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Reference"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="CX.4 / (CX.4,CX.9,CX.10)"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./IdentifierIssuingAuthority"/>
         </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."/>
         <comments value="Default is true.   If the practitioner is not in use by one organization, then it should mark the period on the PractitonerRole with an end date (even if they are active) as they may be active in another role."/>
         <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="0"/>
         <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."/>
         <comments value="attribute name provides a name associated with the author of the query."/>
         <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="0"/>
         <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.name.use"/>
         <short value="usual | official | temp | nickname | anonymous | old | maiden"/>
         <definition value="Identifies the purpose for this name."/>
         <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary or old name etc.for a current/permanent one. Applications can assume that a name is current unless it explicitly says that it is temporary or old."/>
         <requirements value="Allows the appropriate name for a particular context of use to be selected from among a set of names."/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="HumanName.use"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isModifier value="true"/>
         <isSummary value="true"/>
         <binding>
            <strength value="required"/>
            <description value="The use of a human name"/>
            <valueSetReference>
               <reference value="http://hl7.org/fhir/DSTU2/valueset-name-use.html"/>
            </valueSetReference>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="XPN.7, but often indicated by which field contains the name"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="unique(./use)"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./NamePurpose"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.name.family"/>
         <short value="Family name (often called 'Surname')"/>
         <definition value="The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father."/>
         <comments value="For family name, hyphenated names such as "Smith-Jones" are a single name, but names with spaces such as "Smith Jones" are broken into multiple parts."/>
         <alias value="surname"/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="HumanName.family"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="XPN.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./part[partType = FAM]"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./FamilyName"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.name.given"/>
         <short value="Given names (not always 'first'). Includes middle names"/>
         <definition value="Given name."/>
         <comments value="If only initials are recorded, they may be used in place of the full name.  Not called "first name" since given names do not always come first."/>
         <alias value="first name"/>
         <alias value="middle name"/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="HumanName.given"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="XPN.2 + XPN.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./part[partType = GIV]"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./GivenNames"/>
         </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."/>
         <comments value="Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently, and also to help with identification."/>
         <requirements value="Need to know how to reach a practitioner."/>
         <min value="0"/>
         <max value="0"/>
         <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.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="0"/>
         <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.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="0"/>
         <base>
            <path value="Practitioner.gender"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <isSummary value="true"/>
         <binding>
            <strength value="example"/>
         </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  of birth for the practitioner"/>
         <definition value="The date of birth for the practitioner."/>
         <requirements value="Needed for identification."/>
         <min value="0"/>
         <max value="0"/>
         <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="0"/>
         <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="photo"]/value"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./ImageURI (only supports the URI reference)"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.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="1"/>
         <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.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="1"/>
         <max value="1"/>
         <base>
            <path value="Practitioner.practitionerRole.managingOrganization"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Reference"/>
            <profile value="https://fhir.nhs.uk/StructureDefinition/spine-organization-1-0"/>
            <aggregation value="bundled"/>
         </type>
         <mapping>
            <identity value="rim"/>
            <map value="scopingOrganization"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.managingOrganization.reference"/>
         <short value="Relative URL reference"/>
         <definition value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
         <comments value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the url conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Reference.reference"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <exampleString value="Organization/13daadee-26e1-4d6a-9e6a-7f4af9b58878"/>
         <condition value="ref-1"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.managingOrganization.display"/>
         <short value="Text alternative for the resource"/>
         <definition value="Plain text narrative that identifies the resource in addition to the resource reference."/>
         <comments value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Reference.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </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."/>
         <comments value="A person may have more than one role. At least one role is required."/>
         <requirements value="Need to know what authority the practitioner has - what can they do?"/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Practitioner.practitionerRole.role"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <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.role.coding"/>
         <short value="a code from the RBAC list of codes."/>
         <definition value="A reference to a code defined by a terminology system."/>
         <comments value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the V3 Core Principles for more information.  Ordering of codings is undefined and SHALL not be used to infer meaning.  urn:oid: 2.16.840.1.113883.2.1.3.2.4.17.196"/>
         <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="1"/>
         <max value="1"/>
         <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="Coding"/>
         </type>
         <isSummary value="true"/>
         <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.role.coding.system"/>
         <short value="Identity of the terminology system"/>
         <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
         <comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
         <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <fixedUri value="https://fhir.nhs.uk/ValueSet/sds-job-role-name-1-0"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.role.coding.version"/>
         <short value="Version of the system - if relevant"/>
         <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
         <comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.role.coding.code"/>
         <short value="Symbol in syntax defined by the system"/>
         <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
         <requirements value="Need to refer to a particular code in the system."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <exampleCode value="R0090"/>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./code"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.role.coding.userSelected"/>
         <short value="If this coding was chosen directly by the user"/>
         <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
         <comments value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
         <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="boolean"/>
         </type>
         <isSummary value="true"/>
         <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source "true";     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
         </mapping>
      </element>
      <element>
         <path value="Practitioner.practitionerRole.role.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."/>
         <comments value="Very often the text is the same as a displayName of one of the codings."/>
         <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="0"/>
         <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <isSummary value="true"/>
         <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="text/plain"]/data"/>
         </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="0"/>
         <base>
            <path value="Practitioner.practitionerRole.specialty"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <isSummary value="true"/>
         <binding>
            <strength value="example"/>
         </binding>
         <mapping>
            <identity value="v2"/>
            <map value="PRA-5-specialty"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="indirectAuthority/QualifiedEntity[code < Speciality]/code"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./Specialty"/>
         </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="0"/>
         <base>
            <path value="Practitioner.practitionerRole.period"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="Period"/>
         </type>
         <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>
      </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="0"/>
         <base>
            <path value="Practitioner.practitionerRole.location"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="Reference"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
         </type>
         <mapping>
            <identity value="rim"/>
            <map value="./target[classCode="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)<br/> However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)"/>
         </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="0"/>
         <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="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="0"/>
         <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 < qualifiedEntity]"/>
         </mapping>
         <mapping>
            <identity value="servd"/>
            <map value="./Qualifications"/>
         </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."/>
         <comments value="The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type."/>
         <requirements value="Knowing which language a practitioner speaks can help in facilitating communication with patients."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Practitioner.communication"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <binding>
            <strength value="example"/>
         </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>
   </differential>
</StructureDefinition>