- HSPC Implementation Guide

This page is part of the HSPC FHIR Implementation Guide (v0.1.0: Daft For Comment Draft) based on FHIR v1.9.0. This is the current published version. For a full list of available versions, see the Directory of published versions

href="assets/ico/favicon.png"/>

Profile hspc-provpract

{
  "resourceType" : "StructureDefinition",
  "id" : "hspc-provpract",
  "url" : "http://fhir.org/guides/hspc/StructureDefinition/hspc-provpract",
  "name" : "Profile hspc-provpract",
  "status" : "draft",
  "publisher" : "HSPC",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "other",
          "value" : "http://healthcaresoa.org"
        }
      }
    }
  },
  "date" : "2015-05-13",
  "mapping" : [
    {
      "identity" : "v2",
      "uri" : "http://hl7.org/v2",
      "name" : "HL7 v2 Mapping"
    },
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    },
    {
      "identity" : "servd",
      "uri" : "http://www.omg.org/spec/ServD/1.0/",
      "name" : "ServD"
    },
    {
      "identity" : "w5",
      "uri" : "http://hl7.org/fhir/w5",
      "name" : "W5 Mapping"
    }
  },
  "kind" : "resource",
  "abstract" : false,
  "type" : "Practitioner",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Practitioner",
  "derivation" : "constraint",
  "snapshot" : {
    "element" : [
      {
        "id" : "Practitioner:hspcproviderpractitioner",
        "path" : "Practitioner",
        "name" : "HSPCProviderPractitioner",
        "short" : "A person with a  formal responsibility in the provisioning of healthcare or related services",
        "definition" : "A person who is directly or indirectly involved in the provisioning of healthcare.",
        "comments" : "Note that a cab driver no longer fits the bill. You probably would be interested in the organization rather than the individual?",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner",
          "min" : 0,
          "max" : "*"
        },
        "mustSupport" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRD (as one example)"
          },
          {
            "identity" : "rim",
            "map" : "Role"
          },
          {
            "identity" : "servd",
            "map" : "Provider"
          },
          {
            "identity" : "w5",
            "map" : "administrative.individual"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.id",
        "path" : "Practitioner.id",
        "short" : "Logical id of this artifact",
        "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comments" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.id",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "id"
          }
        },
        "isSummary" : true
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.meta",
        "path" : "Practitioner.meta",
        "short" : "Metadata about the resource",
        "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.meta",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Meta"
          }
        },
        "isSummary" : true
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.implicitRules",
        "path" : "Practitioner.implicitRules",
        "short" : "A set of rules under which this content was created",
        "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
        "comments" : "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.implicitRules",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "uri"
          }
        },
        "isModifier" : true,
        "isSummary" : true
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.language",
        "path" : "Practitioner.language",
        "short" : "Language of the resource content",
        "definition" : "The base language in which the resource is written.",
        "comments" : "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.language",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "code"
          }
        },
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/all-languages"
              }
            }
          },
          "strength" : "extensible",
          "description" : "A human language.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/languages"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.text",
        "path" : "Practitioner.text",
        "short" : "Text summary of the resource, for human interpretation",
        "definition" : "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comments" : "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.",
        "alias" : [
          "narrative",
          "html",
          "xhtml",
          "display"
        },
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.text",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Narrative"
          }
        },
        "condition" : [
          "dom-1"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Act.text?"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.contained",
        "path" : "Practitioner.contained",
        "short" : "Contained, inline Resources",
        "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comments" : "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
        "alias" : [
          "inline resources",
          "anonymous resources",
          "contained resources"
        },
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.contained",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Resource"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.extension",
        "path" : "Practitioner.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. 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.",
        "comments" : "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" : [
          "extensions",
          "user content"
        },
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.modifierExtension",
        "path" : "Practitioner.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments" : "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" : [
          "extensions",
          "user content"
        },
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        },
        "isModifier" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.identifier",
        "path" : "Practitioner.identifier",
        "short" : "A identifier for the person as this agent",
        "definition" : "An identifier that applies to this person in this role.",
        "requirements" : "Often, specific identities are assigned for the agent.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRD-7 (or XCN.1)"
          },
          {
            "identity" : "rim",
            "map" : "./id"
          },
          {
            "identity" : "servd",
            "map" : "./Identifiers"
          },
          {
            "identity" : "w5",
            "map" : "id"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.active",
        "path" : "Practitioner.active",
        "short" : "Whether this practitioner's record is in active use",
        "definition" : "Whether this practitioner's record is in active use.",
        "comments" : "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" : "Need to be able to mark a practitioner record as not to be used because it was created in error.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.active",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        },
        "defaultValueBoolean" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./StatusCode"
          },
          {
            "identity" : "w5",
            "map" : "status"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.name",
        "path" : "Practitioner.name",
        "short" : "The name(s) associated with the practitioner",
        "definition" : "The name(s) associated with the practitioner.",
        "comments" : "The selection of the use property should ensure that there is a single usual name specified, and others use the nickname (alias), old, or other values as appropriate.  In general select the value to be used in the ResourceReference.display based on this:  1. There is more than 1 name 2. Use = usual 3. Period is current to the date of the usage 4. Use = official 5. Other order as decided by internal business rules.",
        "requirements" : "The name(s) that a Practitioner is known by. Where there are multiple, the name that the practitioner is usually known as should be used in the display.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.name",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "HumanName"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XCN Components"
          },
          {
            "identity" : "rim",
            "map" : "./name"
          },
          {
            "identity" : "servd",
            "map" : "./PreferredName (GivenNames, FamilyName, TitleCode)"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.telecom",
        "path" : "Practitioner.telecom",
        "short" : "A contact detail for the practitioner (that apply to all roles)",
        "definition" : "A contact detail for the practitioner, e.g. a telephone number or an email address.",
        "comments" : "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  These typically will have home numbers, or mobile numbers that are not role specific.",
        "requirements" : "Need to know how to reach a practitioner independent to any roles the practitioner may have.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.telecom",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "ContactPoint"
          }
        },
        "mustSupport" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRT-15, STF-10, ROL-12"
          },
          {
            "identity" : "rim",
            "map" : "./telecom"
          },
          {
            "identity" : "servd",
            "map" : "./ContactPoints"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.telecom.id",
        "path" : "Practitioner.telecom.id",
        "representation" : [
          "xmlAttr"
        },
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.telecom.extension:preferenceindicator$Extension",
        "path" : "Practitioner.telecom.extension",
        "name" : "PreferenceIndicator",
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        },
        "constraint" : [
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
          }
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.telecom.system",
        "path" : "Practitioner.telecom.system",
        "short" : "phone | fax | email | pager | other",
        "definition" : "Telecommunications form for contact point - what communications system is required to make use of the contact.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "ContactPoint.system",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        },
        "condition" : [
          "cpt-2"
        },
        "isSummary" : true,
        "binding" : {
          "strength" : "required",
          "description" : "Telecommunications form for contact point",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/contact-point-system"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XTN.3"
          },
          {
            "identity" : "rim",
            "map" : "./scheme"
          },
          {
            "identity" : "servd",
            "map" : "./ContactPointType"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.telecom.value",
        "path" : "Practitioner.telecom.value",
        "short" : "The actual contact point details",
        "definition" : "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).",
        "comments" : "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.",
        "requirements" : "Need to support legacy numbers that are not in a tightly controlled format.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "ContactPoint.value",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XTN.1 (or XTN.12)"
          },
          {
            "identity" : "rim",
            "map" : "./url"
          },
          {
            "identity" : "servd",
            "map" : "./Value"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.telecom.use",
        "path" : "Practitioner.telecom.use",
        "short" : "home | work | temp | old | mobile - purpose of this contact point",
        "definition" : "Identifies the purpose for the contact point.",
        "comments" : "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" : "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "ContactPoint.use",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        },
        "isModifier" : true,
        "isSummary" : true,
        "binding" : {
          "strength" : "required",
          "description" : "Use of contact point",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/contact-point-use"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XTN.2 - but often indicated by field"
          },
          {
            "identity" : "rim",
            "map" : "unique(./use)"
          },
          {
            "identity" : "servd",
            "map" : "./ContactPointPurpose"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.telecom.rank",
        "path" : "Practitioner.telecom.rank",
        "short" : "Specify preferred order of use (1 = highest)",
        "definition" : "Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.",
        "comments" : "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "ContactPoint.rank",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "positiveInt"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.telecom.period",
        "path" : "Practitioner.telecom.period",
        "short" : "Time period when the contact point was/is in use",
        "definition" : "Time period when the contact point was/is in use.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "ContactPoint.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "./useablePeriod[type="IVL<TS>"]"
          },
          {
            "identity" : "servd",
            "map" : "./StartDate and ./EndDate"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address",
        "path" : "Practitioner.address",
        "short" : "Address(es) of the practitioner that are not role specific (typically home address)",
        "definition" : "Address(es) of the practitioner that are not role specific (typically home address).  Work addresses are not typically entered in this property as they are usually role dependent.",
        "comments" : "The PractitionerRole does not have an address value on it, as it is expected that the location property be used for this purpose (which has an address).",
        "requirements" : "The home/mailing address of the practitioner is often required for employee administration purposes, and also for some rostering services where the start point (practitioners home) can be used in calculations.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.address",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Address"
          }
        },
        "mustSupport" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "ORC-24, STF-11, ROL-11, PRT-14"
          },
          {
            "identity" : "rim",
            "map" : "./addr"
          },
          {
            "identity" : "servd",
            "map" : "./Addresses"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.id",
        "path" : "Practitioner.address.id",
        "representation" : [
          "xmlAttr"
        },
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.extension:primaryindicator$Extension",
        "path" : "Practitioner.address.extension",
        "name" : "PrimaryIndicator",
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        },
        "constraint" : [
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
          }
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "The set of values to indicate affirmative or negative",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/v2-0136"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.use",
        "path" : "Practitioner.address.use",
        "short" : "home | work | temp | old - purpose of this address",
        "definition" : "The purpose of this address.",
        "comments" : "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" : "Allows an appropriate address to be chosen from a list of many.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Address.use",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        },
        "exampleCode" : "home",
        "isModifier" : true,
        "isSummary" : true,
        "binding" : {
          "strength" : "required",
          "description" : "The use of an address",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/address-use"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XAD.7"
          },
          {
            "identity" : "rim",
            "map" : "unique(./use)"
          },
          {
            "identity" : "servd",
            "map" : "./AddressPurpose"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.type",
        "path" : "Practitioner.address.type",
        "short" : "postal | physical | both",
        "definition" : "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Address.type",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        },
        "exampleCode" : "both",
        "isSummary" : true,
        "binding" : {
          "strength" : "required",
          "description" : "The type of an address (physical / postal)",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/address-type"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XAD.18"
          },
          {
            "identity" : "rim",
            "map" : "unique(./use)"
          },
          {
            "identity" : "vcard",
            "map" : "address type parameter"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.text",
        "path" : "Practitioner.address.text",
        "short" : "Text representation of the address",
        "definition" : "A full text representation of the address.",
        "comments" : "Can provide both a text representation and parts.",
        "requirements" : "A renderable, unencoded form.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Address.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "exampleString" : "137 Nowhere Street, Erewhon 9132",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6"
          },
          {
            "identity" : "rim",
            "map" : "./formatted"
          },
          {
            "identity" : "vcard",
            "map" : "address label parameter"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.line",
        "path" : "Practitioner.address.line",
        "short" : "Street name, number, direction & P.O. Box etc.",
        "definition" : "This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information.",
        "requirements" : "home | work | temp | old - purpose of this address.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Address.line",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "exampleString" : "137 Nowhere Street",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)"
          },
          {
            "identity" : "rim",
            "map" : "AD.part[parttype = AL]"
          },
          {
            "identity" : "vcard",
            "map" : "street"
          },
          {
            "identity" : "servd",
            "map" : "./StreetAddress (newline delimitted)"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.city",
        "path" : "Practitioner.address.city",
        "short" : "Name of city, town etc.",
        "definition" : "The name of the city, town, village or other community or delivery center.",
        "alias" : [
          "Municpality"
        },
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Address.city",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "exampleString" : "Erewhon",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XAD.3"
          },
          {
            "identity" : "rim",
            "map" : "AD.part[parttype = CTY]"
          },
          {
            "identity" : "vcard",
            "map" : "locality"
          },
          {
            "identity" : "servd",
            "map" : "./Jurisdiction"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.district",
        "path" : "Practitioner.address.district",
        "short" : "District name (aka county)",
        "definition" : "The name of the administrative area (county).",
        "comments" : "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.",
        "alias" : [
          "County"
        },
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Address.district",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "exampleString" : "Madison",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XAD.9"
          },
          {
            "identity" : "rim",
            "map" : "AD.part[parttype = CNT | CPA]"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.state",
        "path" : "Practitioner.address.state",
        "short" : "Sub-unit of country (abbreviations ok)",
        "definition" : "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" : [
          "Province",
          "Territory"
        },
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Address.state",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XAD.4"
          },
          {
            "identity" : "rim",
            "map" : "AD.part[parttype = STA]"
          },
          {
            "identity" : "vcard",
            "map" : "region"
          },
          {
            "identity" : "servd",
            "map" : "./Region"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.postalCode",
        "path" : "Practitioner.address.postalCode",
        "short" : "Postal code for area",
        "definition" : "A postal code designating a region defined by the postal service.",
        "alias" : [
          "Zip"
        },
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Address.postalCode",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "exampleString" : "9132",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XAD.5"
          },
          {
            "identity" : "rim",
            "map" : "AD.part[parttype = ZIP]"
          },
          {
            "identity" : "vcard",
            "map" : "code"
          },
          {
            "identity" : "servd",
            "map" : "./PostalIdentificationCode"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.country",
        "path" : "Practitioner.address.country",
        "short" : "Country (can be ISO 3166 3 letter code)",
        "definition" : "Country - a nation as commonly understood or generally accepted.",
        "comments" : "ISO 3166 3 letter codes can be used in place of a full country name.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Address.country",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XAD.6"
          },
          {
            "identity" : "rim",
            "map" : "AD.part[parttype = CNT]"
          },
          {
            "identity" : "vcard",
            "map" : "country"
          },
          {
            "identity" : "servd",
            "map" : "./Country"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.period",
        "path" : "Practitioner.address.period",
        "short" : "Time period when address was/is in use",
        "definition" : "Time period when address was/is in use.",
        "requirements" : "Allows addresses to be placed in historical context.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Address.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        },
        "examplePeriod" : {
          "start" : "2010-03-23",
          "end" : "2010-07-01"
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XAD.12 / XAD.13 + XAD.14"
          },
          {
            "identity" : "rim",
            "map" : "./usablePeriod[type="IVL<TS>"]"
          },
          {
            "identity" : "servd",
            "map" : "./StartDate and ./EndDate"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.gender",
        "path" : "Practitioner.gender",
        "short" : "male | female | other | unknown",
        "definition" : "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.",
        "requirements" : "Needed to address the person correctly.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.gender",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        },
        "isSummary" : true,
        "binding" : {
          "strength" : "required",
          "description" : "The gender of a person used for administrative purposes.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/administrative-gender"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "STF-5"
          },
          {
            "identity" : "rim",
            "map" : "./administrativeGender"
          },
          {
            "identity" : "servd",
            "map" : "./GenderCode"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.birthDate",
        "path" : "Practitioner.birthDate",
        "short" : "The date  on which the practitioner was born",
        "definition" : "The date of birth for the practitioner.",
        "requirements" : "Needed for identification.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.birthDate",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "date"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "STF-6"
          },
          {
            "identity" : "rim",
            "map" : "./birthTime"
          },
          {
            "identity" : "servd",
            "map" : "(not represented in ServD)"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.photo",
        "path" : "Practitioner.photo",
        "short" : "Image of the person",
        "definition" : "Image of the person.",
        "requirements" : "Many EHR systems have the capability to capture an image of patients and personnel. Fits with newer social media usage too.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.photo",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Attachment"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./subjectOf/ObservationEvent[code="photo"]/value"
          },
          {
            "identity" : "servd",
            "map" : "./ImageURI (only supports the URI reference)"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role",
        "path" : "Practitioner.role",
        "slicing" : {
          "discriminator" : [
            "Practitioner.role.organization|false|open",
            " Practitioner.role.code"
          },
          "rules" : "open"
        },
        "short" : "Roles/organizations the practitioner is associated with",
        "definition" : "The list of roles/organizations that the practitioner is associated with.",
        "comments" : "The address to be used for this PractitionerRole is in the referenced location (removing duplication across all the services provided at the location).",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".(Role)"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole",
        "path" : "Practitioner.role",
        "name" : "PractitionerRole",
        "short" : "Roles/organizations the practitioner is associated with",
        "definition" : "The list of roles/organizations that the practitioner is associated with.",
        "comments" : "The address to be used for this PractitionerRole is in the referenced location (removing duplication across all the services provided at the location).",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        },
        "mustSupport" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".(Role)"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.id",
        "path" : "Practitioner.role.id",
        "representation" : [
          "xmlAttr"
        },
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.extension",
        "path" : "Practitioner.role.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "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" : [
          "extensions",
          "user content"
        },
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.modifierExtension",
        "path" : "Practitioner.role.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        },
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        },
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.organization",
        "path" : "Practitioner.role.organization",
        "short" : "Organization where the roles are performed",
        "definition" : "The organization where the Practitioner performs the roles associated.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.role.organization",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "scopingOrganization"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.code",
        "path" : "Practitioner.role.code",
        "short" : "Roles which this practitioner may perform",
        "definition" : "Roles which this practitioner is authorized to perform for the organization.",
        "comments" : "A person may have more than one role. At least one role is required.",
        "requirements" : "Need to know what authority the practitioner has - what can they do?",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.role.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        },
        "mustSupport" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "A set of codes that describe the general practice category for a provider.",
          "valueSetReference" : {
            "reference" : "ValueSet/practitioner-providerPractitionerType"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRD-1 / STF-18  / PRA-3  / PRT-4  / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17"
          },
          {
            "identity" : "rim",
            "map" : "./code"
          },
          {
            "identity" : "servd",
            "map" : "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.specialty",
        "path" : "Practitioner.role.specialty",
        "short" : "Specific specialty of the practitioner",
        "definition" : "Specific specialty of the practitioner.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.specialty",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        },
        "mustSupport" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "A set of codes that describe the specific specialty in which a provider practices.",
          "valueSetReference" : {
            "reference" : "ValueSet/practitioner-providerPractitionerSpecialty"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRA-5"
          },
          {
            "identity" : "rim",
            "map" : "indirectAuthority/QualifiedEntity[code < Speciality]/code"
          },
          {
            "identity" : "servd",
            "map" : "./Specialty"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.identifier",
        "path" : "Practitioner.role.identifier",
        "short" : "Business Identifiers that are specific to a role/location",
        "definition" : "Business Identifiers that are specific to a role/location.",
        "requirements" : "Some business identifiers are specific to a location and should be able to be associated.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        },
        "isSummary" : true
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.telecom",
        "path" : "Practitioner.role.telecom",
        "short" : "Contact details that are specific to the role/location/service",
        "definition" : "Contact details that are specific to the role/location/service.",
        "requirements" : "Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.telecom",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "ContactPoint"
          }
        },
        "isSummary" : true
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.period",
        "path" : "Practitioner.role.period",
        "short" : "The period during which the practitioner is authorized to perform in these role(s)",
        "definition" : "The period during which the person is authorized to act as a practitioner in these role(s) for the organization.",
        "requirements" : "Even after the agencies is revoked, the fact that it existed must still be recorded.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.role.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRD-8/9 / PRA-5.4"
          },
          {
            "identity" : "rim",
            "map" : "./effectiveTime"
          },
          {
            "identity" : "servd",
            "map" : "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)"
          },
          {
            "identity" : "w5",
            "map" : "when.done"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.location",
        "path" : "Practitioner.role.location",
        "short" : "The location(s) at which this practitioner provides care",
        "definition" : "The location(s) at which this practitioner provides care.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.location",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Location"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./target[classCode="indirectAuthority].source[classCode=SDLOC]"
          },
          {
            "identity" : "servd",
            "map" : "(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)"
          },
          {
            "identity" : "w5",
            "map" : "where"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.healthcareService",
        "path" : "Practitioner.role.healthcareService",
        "short" : "The list of healthcare services that this worker provides for this role's Organization/Location(s)",
        "definition" : "The list of healthcare services that this worker provides for this role's Organization/Location(s).",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.healthcareService",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/HealthcareService"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./target[classCode="indirectAuthority].id?"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.endpoint",
        "path" : "Practitioner.role.endpoint",
        "short" : "Technical endpoints providing access to services operated for the PractitonerRole",
        "definition" : "Technical endpoints providing access to services operated for the PractitonerRole.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.endpoint",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Endpoint"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation",
        "path" : "Practitioner.role",
        "name" : "AdministrativeAffiliation",
        "short" : "Roles/organizations the practitioner is associated with",
        "definition" : "The list of roles/organizations that the practitioner is associated with.",
        "comments" : "The address to be used for this PractitionerRole is in the referenced location (removing duplication across all the services provided at the location).",
        "alias" : [
          "AdministrativeAffiliation"
        },
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        },
        "mustSupport" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".(Role)"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.id",
        "path" : "Practitioner.role.id",
        "representation" : [
          "xmlAttr"
        },
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.extension",
        "path" : "Practitioner.role.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "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" : [
          "extensions",
          "user content"
        },
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.modifierExtension",
        "path" : "Practitioner.role.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        },
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        },
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.organization",
        "path" : "Practitioner.role.organization",
        "short" : "Organization where the roles are performed",
        "definition" : "The organization where the Practitioner performs the roles associated.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.role.organization",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "scopingOrganization"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.code",
        "path" : "Practitioner.role.code",
        "short" : "Roles which this practitioner may perform",
        "definition" : "Roles which this practitioner is authorized to perform for the organization.",
        "comments" : "A person may have more than one role. At least one role is required.",
        "requirements" : "Need to know what authority the practitioner has - what can they do?",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.role.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        },
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "description" : "The role a person plays representing an organization",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/practitioner-role"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRD-1 / STF-18  / PRA-3  / PRT-4  / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17"
          },
          {
            "identity" : "rim",
            "map" : "./code"
          },
          {
            "identity" : "servd",
            "map" : "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.specialty",
        "path" : "Practitioner.role.specialty",
        "short" : "Specific specialty of the practitioner",
        "definition" : "Specific specialty of the practitioner.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.specialty",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        },
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "description" : "Specific specialty associated with the agency",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/practitioner-specialty"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRA-5"
          },
          {
            "identity" : "rim",
            "map" : "indirectAuthority/QualifiedEntity[code < Speciality]/code"
          },
          {
            "identity" : "servd",
            "map" : "./Specialty"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.identifier",
        "path" : "Practitioner.role.identifier",
        "short" : "Business Identifiers that are specific to a role/location",
        "definition" : "Business Identifiers that are specific to a role/location.",
        "requirements" : "Some business identifiers are specific to a location and should be able to be associated.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        },
        "isSummary" : true
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.telecom",
        "path" : "Practitioner.role.telecom",
        "short" : "Contact details that are specific to the role/location/service",
        "definition" : "Contact details that are specific to the role/location/service.",
        "requirements" : "Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.telecom",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "ContactPoint"
          }
        },
        "isSummary" : true
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.period",
        "path" : "Practitioner.role.period",
        "short" : "The period during which the practitioner is authorized to perform in these role(s)",
        "definition" : "The period during which the person is authorized to act as a practitioner in these role(s) for the organization.",
        "requirements" : "Even after the agencies is revoked, the fact that it existed must still be recorded.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.role.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRD-8/9 / PRA-5.4"
          },
          {
            "identity" : "rim",
            "map" : "./effectiveTime"
          },
          {
            "identity" : "servd",
            "map" : "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)"
          },
          {
            "identity" : "w5",
            "map" : "when.done"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.location",
        "path" : "Practitioner.role.location",
        "short" : "The location(s) at which this practitioner provides care",
        "definition" : "The location(s) at which this practitioner provides care.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.location",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Location"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./target[classCode="indirectAuthority].source[classCode=SDLOC]"
          },
          {
            "identity" : "servd",
            "map" : "(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)"
          },
          {
            "identity" : "w5",
            "map" : "where"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.healthcareService",
        "path" : "Practitioner.role.healthcareService",
        "short" : "The list of healthcare services that this worker provides for this role's Organization/Location(s)",
        "definition" : "The list of healthcare services that this worker provides for this role's Organization/Location(s).",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.healthcareService",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/HealthcareService"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./target[classCode="indirectAuthority].id?"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.endpoint",
        "path" : "Practitioner.role.endpoint",
        "short" : "Technical endpoints providing access to services operated for the PractitonerRole",
        "definition" : "Technical endpoints providing access to services operated for the PractitonerRole.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.endpoint",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Endpoint"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation",
        "path" : "Practitioner.role",
        "name" : "PracticeAffiliation",
        "short" : "Roles/organizations the practitioner is associated with",
        "definition" : "The list of roles/organizations that the practitioner is associated with.",
        "comments" : "The address to be used for this PractitionerRole is in the referenced location (removing duplication across all the services provided at the location).",
        "alias" : [
          "PracticeAffiliation"
        },
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        },
        "mustSupport" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".(Role)"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.id",
        "path" : "Practitioner.role.id",
        "representation" : [
          "xmlAttr"
        },
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.extension",
        "path" : "Practitioner.role.extension",
        "slicing" : {
          "id" : "3",
          "discriminator" : [
            "url"
          },
          "ordered" : false,
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.extension:practiceaffiliationtype$Extension",
        "path" : "Practitioner.role.extension",
        "name" : "PracticeAffiliationType",
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        },
        "constraint" : [
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
          }
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "description" : "A set of codes that describe the kinds of affiliations a provider may have pertaining to the practice of medicine",
          "valueSetReference" : {
            "reference" : "ValueSet/practitioner-practiceAffiliationType"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.extension:practitionerprivilege$Extension",
        "path" : "Practitioner.role.extension",
        "name" : "PractitionerPrivilege",
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        },
        "constraint" : [
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
          }
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "A set of codes that describe the level at which a provider is authorized to practice medicine at a given isntitution",
          "valueSetReference" : {
            "reference" : "ValueSet/practitioner-privilege"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.modifierExtension",
        "path" : "Practitioner.role.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        },
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        },
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.organization",
        "path" : "Practitioner.role.organization",
        "short" : "Organization where the roles are performed",
        "definition" : "The organization where the Practitioner performs the roles associated.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.role.organization",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "scopingOrganization"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.code",
        "path" : "Practitioner.role.code",
        "short" : "Roles which this practitioner may perform",
        "definition" : "Roles which this practitioner is authorized to perform for the organization.",
        "comments" : "A person may have more than one role. At least one role is required.",
        "requirements" : "Need to know what authority the practitioner has - what can they do?",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.role.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        },
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "description" : "The role a person plays representing an organization",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/practitioner-role"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRD-1 / STF-18  / PRA-3  / PRT-4  / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17"
          },
          {
            "identity" : "rim",
            "map" : "./code"
          },
          {
            "identity" : "servd",
            "map" : "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.specialty",
        "path" : "Practitioner.role.specialty",
        "short" : "Specific specialty of the practitioner",
        "definition" : "Specific specialty of the practitioner.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.specialty",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        },
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "description" : "Specific specialty associated with the agency",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/practitioner-specialty"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRA-5"
          },
          {
            "identity" : "rim",
            "map" : "indirectAuthority/QualifiedEntity[code < Speciality]/code"
          },
          {
            "identity" : "servd",
            "map" : "./Specialty"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.identifier",
        "path" : "Practitioner.role.identifier",
        "short" : "Business Identifiers that are specific to a role/location",
        "definition" : "Business Identifiers that are specific to a role/location.",
        "requirements" : "Some business identifiers are specific to a location and should be able to be associated.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        },
        "isSummary" : true
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.telecom",
        "path" : "Practitioner.role.telecom",
        "short" : "Contact details that are specific to the role/location/service",
        "definition" : "Contact details that are specific to the role/location/service.",
        "requirements" : "Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.telecom",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "ContactPoint"
          }
        },
        "isSummary" : true
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.period",
        "path" : "Practitioner.role.period",
        "short" : "The period during which the practitioner is authorized to perform in these role(s)",
        "definition" : "The period during which the person is authorized to act as a practitioner in these role(s) for the organization.",
        "requirements" : "Even after the agencies is revoked, the fact that it existed must still be recorded.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.role.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRD-8/9 / PRA-5.4"
          },
          {
            "identity" : "rim",
            "map" : "./effectiveTime"
          },
          {
            "identity" : "servd",
            "map" : "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)"
          },
          {
            "identity" : "w5",
            "map" : "when.done"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.location",
        "path" : "Practitioner.role.location",
        "short" : "The location(s) at which this practitioner provides care",
        "definition" : "The location(s) at which this practitioner provides care.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.location",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Location"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./target[classCode="indirectAuthority].source[classCode=SDLOC]"
          },
          {
            "identity" : "servd",
            "map" : "(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)"
          },
          {
            "identity" : "w5",
            "map" : "where"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.healthcareService",
        "path" : "Practitioner.role.healthcareService",
        "short" : "The list of healthcare services that this worker provides for this role's Organization/Location(s)",
        "definition" : "The list of healthcare services that this worker provides for this role's Organization/Location(s).",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.healthcareService",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/HealthcareService"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./target[classCode="indirectAuthority].id?"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.endpoint",
        "path" : "Practitioner.role.endpoint",
        "short" : "Technical endpoints providing access to services operated for the PractitonerRole",
        "definition" : "Technical endpoints providing access to services operated for the PractitonerRole.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.role.endpoint",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Endpoint"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.qualification",
        "path" : "Practitioner.qualification",
        "short" : "Qualifications obtained by training and certification",
        "definition" : "Qualifications obtained by training and certification.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.qualification",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        },
        "mustSupport" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CER?"
          },
          {
            "identity" : "rim",
            "map" : "./indirectAuthority/QualifiedEntity[code < qualifiedEntity]"
          },
          {
            "identity" : "servd",
            "map" : "./Qualifications"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.qualification.id",
        "path" : "Practitioner.qualification.id",
        "representation" : [
          "xmlAttr"
        },
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.qualification.extension:credentialeligibiltyindicator$Extension",
        "path" : "Practitioner.qualification.extension",
        "name" : "CredentialEligibiltyIndicator",
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        },
        "constraint" : [
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
          }
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "The set of values to indicate affirmative or negative",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/v2-0136"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.qualification.modifierExtension",
        "path" : "Practitioner.qualification.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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" : "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" : [
          "extensions",
          "user content",
          "modifiers"
        },
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        },
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.qualification.identifier",
        "path" : "Practitioner.qualification.identifier",
        "short" : "An identifier for this qualification for the practitioner",
        "definition" : "An identifier that applies to this person's qualification in this role.",
        "requirements" : "Often, specific identities are assigned for the qualification.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.qualification.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./id"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.qualification.code",
        "path" : "Practitioner.qualification.code",
        "short" : "Coded representation of the qualification",
        "definition" : "Coded representation of the qualification.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.qualification.code",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        },
        "binding" : {
          "strength" : "example",
          "description" : "Specific qualification the practitioner has to provide a service",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/anzsco-occupations"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./code"
          },
          {
            "identity" : "servd",
            "map" : "./Qualifications.Value"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.qualification.period",
        "path" : "Practitioner.qualification.period",
        "short" : "Period during which the qualification is valid",
        "definition" : "Period during which the qualification is valid.",
        "requirements" : "Qualifications are often for a limited period of time, and can be revoked.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.qualification.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./effectiveTime"
          },
          {
            "identity" : "servd",
            "map" : "./Qualifications.StartDate and ./Qualifications.EndDate"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.qualification.issuer",
        "path" : "Practitioner.qualification.issuer",
        "short" : "Organization that regulates and issues the qualification",
        "definition" : "Organization that regulates and issues the qualification.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Practitioner.qualification.issuer",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./scoper"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.communication",
        "path" : "Practitioner.communication",
        "short" : "A language the practitioner is able to use in patient communication",
        "definition" : "A language the practitioner is able to use in patient communication.",
        "comments" : "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" : "Knowing which language a practitioner speaks can help in facilitating communication with patients.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Practitioner.communication",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        },
        "mustSupport" : false,
        "isSummary" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/all-languages"
              }
            }
          },
          "strength" : "extensible",
          "description" : "A human language.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/languages"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-15, NK1-20, LAN-2"
          },
          {
            "identity" : "rim",
            "map" : "./languageCode"
          },
          {
            "identity" : "servd",
            "map" : "./Languages.LanguageSpokenCode"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.communication.id",
        "path" : "Practitioner.communication.id",
        "representation" : [
          "xmlAttr"
        },
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.communication.extension:communicationmode$Extension",
        "path" : "Practitioner.communication.extension",
        "name" : "CommunicationMode",
        "short" : "Extension",
        "definition" : "The method by which an individual communicates.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        },
        "constraint" : [
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
          }
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "A set of codes that describe the method by which an individual communicates",
          "valueSetReference" : {
            "reference" : "ValueSet/communicationMode"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.communication.coding",
        "path" : "Practitioner.communication.coding",
        "short" : "Code defined by a terminology system",
        "definition" : "A reference to a code defined by a terminology system.",
        "comments" : "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" : "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CodeableConcept.coding",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.1-8, C*E.10-22"
          },
          {
            "identity" : "rim",
            "map" : "union(., ./translation)"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.communication.text",
        "path" : "Practitioner.communication.text",
        "short" : "Plain text representation of the concept",
        "definition" : "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" : "Very often the text is the same as a displayName of one of the codings.",
        "requirements" : "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" : 0,
        "max" : "1",
        "base" : {
          "path" : "CodeableConcept.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        },
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity" : "rim",
            "map" : "./originalText[mediaType/code="text/plain"]/data"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        }
      }
    }
  },
  "differential" : {
    "element" : [
      {
        "id" : "Practitioner:hspcproviderpractitioner",
        "path" : "Practitioner",
        "name" : "HSPCProviderPractitioner",
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.telecom",
        "path" : "Practitioner.telecom",
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.telecom.extension:preferenceindicator$Extension",
        "path" : "Practitioner.telecom.extension",
        "name" : "PreferenceIndicator",
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address",
        "path" : "Practitioner.address",
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.address.extension:primaryindicator$Extension",
        "path" : "Practitioner.address.extension",
        "name" : "PrimaryIndicator",
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "The set of values to indicate affirmative or negative",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/v2-0136"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole",
        "path" : "Practitioner.role",
        "name" : "PractitionerRole",
        "slicing" : {
          "discriminator" : [
            "Practitioner.role.organization|false|open",
            " Practitioner.role.code"
          },
          "rules" : "open"
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.code",
        "path" : "Practitioner.role.code",
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "A set of codes that describe the general practice category for a provider.",
          "valueSetReference" : {
            "reference" : "ValueSet/practitioner-providerPractitionerType"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practitionerrole.specialty",
        "path" : "Practitioner.role.specialty",
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "A set of codes that describe the specific specialty in which a provider practices.",
          "valueSetReference" : {
            "reference" : "ValueSet/practitioner-providerPractitionerSpecialty"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation",
        "path" : "Practitioner.role",
        "name" : "AdministrativeAffiliation",
        "alias" : [
          "AdministrativeAffiliation"
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation",
        "path" : "Practitioner.role",
        "name" : "PracticeAffiliation",
        "alias" : [
          "PracticeAffiliation"
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.extension:practiceaffiliationtype$Extension",
        "path" : "Practitioner.role.extension",
        "name" : "PracticeAffiliationType",
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "description" : "A set of codes that describe the kinds of affiliations a provider may have pertaining to the practice of medicine",
          "valueSetReference" : {
            "reference" : "ValueSet/practitioner-practiceAffiliationType"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.extension:practitionerprivilege$Extension",
        "path" : "Practitioner.role.extension",
        "name" : "PractitionerPrivilege",
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "A set of codes that describe the level at which a provider is authorized to practice medicine at a given isntitution",
          "valueSetReference" : {
            "reference" : "ValueSet/practitioner-privilege"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.qualification",
        "path" : "Practitioner.qualification",
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.qualification.extension:credentialeligibiltyindicator$Extension",
        "path" : "Practitioner.qualification.extension",
        "name" : "CredentialEligibiltyIndicator",
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "The set of values to indicate affirmative or negative",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/v2-0136"
          }
        }
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.communication",
        "path" : "Practitioner.communication",
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "Practitioner:hspcproviderpractitioner.communication.extension:communicationmode$Extension",
        "path" : "Practitioner.communication.extension",
        "name" : "CommunicationMode",
        "definition" : "The method by which an individual communicates.",
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        },
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "preferred",
          "description" : "A set of codes that describe the method by which an individual communicates",
          "valueSetReference" : {
            "reference" : "ValueSet/communicationMode"
          }
        }
      }
    }
  }
}