QI-Core Implementation Guide: STU 3.2 (v3.2.0 for FHIR 3.0.1)

This page is part of the Quality Improvement Core Framework (v3.2.0: STU 3) based on FHIR R3. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

QICore-PractitionerRole

Formats: Narrative, XML, JSON, Turtle

Raw json

{
  "resourceType" : "StructureDefinition",
  "id" : "qicore-practitionerrole",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/STU3/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-practitionerrole-definitions.html#PractitionerRole\">PractitionerRole</a><a name=\"PractitionerRole\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-practitionerrole-definitions.html#PractitionerRole.identifier:identifier\" title=\"Slice identifier: \">identifier</a><a name=\"PractitionerRole.identifier\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..*</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-practitionerrole-definitions.html#PractitionerRole.active:active\" title=\"Slice active: \">active</a><a name=\"PractitionerRole.active\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-practitionerrole-definitions.html#PractitionerRole.period:period\" title=\"Slice period: \">period</a><a name=\"PractitionerRole.period\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-practitionerrole-definitions.html#PractitionerRole.practitioner:practitioner\" title=\"Slice practitioner: \">practitioner</a><a name=\"PractitionerRole.practitioner\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"StructureDefinition-qicore-practitioner.html\">QICore-Practitioner</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-practitionerrole-definitions.html#PractitionerRole.organization:organization\" title=\"Slice organization: \">organization</a><a name=\"PractitionerRole.organization\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"StructureDefinition-qicore-organization.html\">QICore-Organization</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-practitionerrole-definitions.html#PractitionerRole.code:code\" title=\"Slice code: \">code</a><a name=\"PractitionerRole.code\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-practitionerrole-definitions.html#PractitionerRole.specialty:specialty\" title=\"Slice specialty: \">specialty</a><a name=\"PractitionerRole.specialty\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck04.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-qicore-practitionerrole-definitions.html#PractitionerRole.location:location\" title=\"Slice location: \">location</a><a name=\"PractitionerRole.location\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..*</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"StructureDefinition-qicore-location.html\">QICore-Location</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/STU3/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
  },
  "url" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitionerrole",
  "version" : "3.2.0",
  "name" : "QICore-PractitionerRole",
  "status" : "draft",
  "experimental" : false,
  "date" : "2018-08-22T00:00:00+10:00",
  "publisher" : "Health Level Seven, Inc. - CQI WG",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://hl7.org/special/committees/CQI"
        }
      ]
    }
  ],
  "description" : "Profile of PractitionerRole for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "us"
        }
      ]
    }
  ],
  "fhirVersion" : "3.0.1",
  "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" : "PractitionerRole",
  "baseDefinition" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
  "derivation" : "constraint",
  "snapshot" : {
    "element" : [
      {
        "id" : "PractitionerRole",
        "path" : "PractitionerRole",
        "short" : "US Core PractitionerRole Profile",
        "definition" : "This is basic constraint on PractitionerRole for use in US Core resources.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PractitionerRole",
          "min" : 0,
          "max" : "*"
        },
        "constraint" : [
          {
            "key" : "dom-2",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression" : "contained.contained.empty()",
            "xpath" : "not(parent::f:contained and f:contained)",
            "source" : "DomainResource"
          },
          {
            "key" : "dom-1",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL NOT contain any narrative",
            "expression" : "contained.text.empty()",
            "xpath" : "not(parent::f:contained and f:text)",
            "source" : "DomainResource"
          },
          {
            "key" : "dom-4",
            "severity" : "error",
            "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source" : "DomainResource"
          },
          {
            "key" : "dom-3",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
            "expression" : "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
            "xpath" : "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
            "source" : "DomainResource"
          },
          {
            "key" : "pd-1",
            "severity" : "error",
            "human" : "SHALL have contact information or a reference to an Endpoint",
            "expression" : "telecom or endpoint",
            "xpath" : "exists(f:telecom) or exists(f:endpoint)",
            "source" : "PractitionerRole"
          }
        ],
        "mustSupport" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Entity. Role, or Act"
          },
          {
            "identity" : "v2",
            "map" : "PRD (as one example)"
          },
          {
            "identity" : "rim",
            "map" : "Role"
          },
          {
            "identity" : "servd",
            "map" : "ServiceSiteProvider"
          },
          {
            "identity" : "w5",
            "map" : "administrative.individual"
          }
        ]
      },
      {
        "id" : "PractitionerRole.id",
        "path" : "PractitionerRole.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.",
        "comment" : "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" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "PractitionerRole.meta",
        "path" : "PractitionerRole.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" : "1"
        },
        "type" : [
          {
            "code" : "Meta"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "PractitionerRole.implicitRules",
        "path" : "PractitionerRole.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.",
        "comment" : "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.implicitRules",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "isModifier" : true,
        "isSummary" : true
      },
      {
        "id" : "PractitionerRole.language",
        "path" : "PractitionerRole.language",
        "short" : "Language of the resource content",
        "definition" : "The base language in which the resource is written.",
        "comment" : "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" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/all-languages"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }
          ],
          "strength" : "extensible",
          "description" : "A human language.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/languages"
          }
        }
      },
      {
        "id" : "PractitionerRole.text",
        "path" : "PractitionerRole.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.",
        "comment" : "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" : "1"
        },
        "type" : [
          {
            "code" : "Narrative"
          }
        ],
        "condition" : [
          "dom-1"
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Act.text?"
          }
        ]
      },
      {
        "id" : "PractitionerRole.contained",
        "path" : "PractitionerRole.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.",
        "comment" : "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" : "PractitionerRole.extension",
        "path" : "PractitionerRole.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.",
        "comment" : "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" : "PractitionerRole.modifierExtension",
        "path" : "PractitionerRole.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.",
        "comment" : "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" : "PractitionerRole.identifier:identifier",
        "path" : "PractitionerRole.identifier",
        "sliceName" : "identifier",
        "short" : "Business Identifiers that are specific to a role/location",
        "definition" : "Business Identifiers that are specific to a role/location.",
        "requirements" : "Often, specific identities are assigned for the agent.",
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "PractitionerRole.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRD-7 (or XCN.1)"
          },
          {
            "identity" : "rim",
            "map" : ".id"
          },
          {
            "identity" : "servd",
            "map" : "./Identifiers"
          },
          {
            "identity" : "w5",
            "map" : "id"
          }
        ]
      },
      {
        "id" : "PractitionerRole.active:active",
        "path" : "PractitionerRole.active",
        "sliceName" : "active",
        "short" : "Whether this practitioner's record is in active use",
        "definition" : "Whether this practitioner's record is in active use.",
        "comment" : "Default is true. \r\rIf 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" : 1,
        "max" : "1",
        "base" : {
          "path" : "PractitionerRole.active",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "defaultValueBoolean" : true,
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "STF-7"
          },
          {
            "identity" : "rim",
            "map" : ".statusCode"
          },
          {
            "identity" : "w5",
            "map" : "status"
          }
        ]
      },
      {
        "id" : "PractitionerRole.period:period",
        "path" : "PractitionerRole.period",
        "sliceName" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "PractitionerRole.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRD-8/9 / PRA-5.4"
          },
          {
            "identity" : "rim",
            "map" : ".performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime"
          },
          {
            "identity" : "servd",
            "map" : "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)"
          },
          {
            "identity" : "w5",
            "map" : "when.done"
          }
        ]
      },
      {
        "id" : "PractitionerRole.practitioner:practitioner",
        "path" : "PractitionerRole.practitioner",
        "sliceName" : "practitioner",
        "short" : "Practitioner that is able to provide the defined services for the organation",
        "definition" : "Practitioner that is able to provide the defined services for the organation.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "PractitionerRole.practitioner",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".player"
          }
        ]
      },
      {
        "id" : "PractitionerRole.organization:organization",
        "path" : "PractitionerRole.organization",
        "sliceName" : "organization",
        "short" : "Organization where the roles are available",
        "definition" : "The organization where the Practitioner performs the roles associated.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "PractitionerRole.organization",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".scoper"
          }
        ]
      },
      {
        "id" : "PractitionerRole.code:code",
        "path" : "PractitionerRole.code",
        "sliceName" : "code",
        "short" : "Roles which this practitioner may perform",
        "definition" : "Roles which this practitioner is authorized to perform for the organization.",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "PractitionerRole.code",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "binding" : {
          "strength" : "extensible",
          "description" : "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty"
          }
        },
        "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" : "PractitionerRole.specialty:specialty",
        "path" : "PractitionerRole.specialty",
        "sliceName" : "specialty",
        "short" : "Specific specialty of the practitioner",
        "definition" : "Specific specialty of the practitioner.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "PractitionerRole.specialty",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "binding" : {
          "strength" : "extensible",
          "description" : "Provider specialty codes consist of NUCC Health Care Provider Taxonomy Code Set for providers.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRA-5"
          },
          {
            "identity" : "rim",
            "map" : ".player.HealthCareProvider[@classCode = 'PROV'].code"
          },
          {
            "identity" : "servd",
            "map" : "./Specialty"
          }
        ]
      },
      {
        "id" : "PractitionerRole.location:location",
        "path" : "PractitionerRole.location",
        "sliceName" : "location",
        "short" : "The location(s) at which this practitioner provides care",
        "definition" : "The location(s) at which this practitioner provides care.",
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "PractitionerRole.location",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@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" : "PractitionerRole.healthcareService",
        "path" : "PractitionerRole.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" : "PractitionerRole.healthcareService",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/HealthcareService"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "EDU-2 / AFF-3"
          },
          {
            "identity" : "rim",
            "map" : ".player.QualifiedEntity[@classCode = 'QUAL'].code"
          }
        ]
      },
      {
        "id" : "PractitionerRole.telecom",
        "path" : "PractitionerRole.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" : "PractitionerRole.telecom",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "ContactPoint"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".telecom"
          }
        ]
      },
      {
        "id" : "PractitionerRole.telecom.id",
        "path" : "PractitionerRole.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" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PractitionerRole.telecom.extension",
        "path" : "PractitionerRole.telecom.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "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.",
        "comment" : "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" : "PractitionerRole.telecom.system",
        "path" : "PractitionerRole.telecom.system",
        "short" : "phone | fax | email | pager | url | sms | other",
        "definition" : "Telecommunications form for contact point - what communications system is required to make use of the contact.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "ContactPoint.system",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "condition" : [
          "cpt-2"
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ContactPointSystem"
            }
          ],
          "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" : "PractitionerRole.telecom.value",
        "path" : "PractitionerRole.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).",
        "comment" : "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" : 1,
        "max" : "1",
        "base" : {
          "path" : "ContactPoint.value",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mustSupport" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "XTN.1 (or XTN.12)"
          },
          {
            "identity" : "rim",
            "map" : "./url"
          },
          {
            "identity" : "servd",
            "map" : "./Value"
          }
        ]
      },
      {
        "id" : "PractitionerRole.telecom.use",
        "path" : "PractitionerRole.telecom.use",
        "short" : "home | work | temp | old | mobile - purpose of this contact point",
        "definition" : "Identifies the purpose for the contact point.",
        "comment" : "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" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ContactPointUse"
            }
          ],
          "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" : "PractitionerRole.telecom.rank",
        "path" : "PractitionerRole.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.",
        "comment" : "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" : "PractitionerRole.telecom.period",
        "path" : "PractitionerRole.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" : "./usablePeriod[type=\"IVL<TS>\"]"
          },
          {
            "identity" : "servd",
            "map" : "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id" : "PractitionerRole.availableTime",
        "path" : "PractitionerRole.availableTime",
        "short" : "Times the Service Site is available",
        "definition" : "A collection of times that the Service Site is available.",
        "comment" : "More detailed availability information may be provided in associated Schedule/Slot resources.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PractitionerRole.availableTime",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          }
        ]
      },
      {
        "id" : "PractitionerRole.availableTime.id",
        "path" : "PractitionerRole.availableTime.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" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PractitionerRole.availableTime.extension",
        "path" : "PractitionerRole.availableTime.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.",
        "comment" : "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" : "PractitionerRole.availableTime.modifierExtension",
        "path" : "PractitionerRole.availableTime.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.",
        "comment" : "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" : "PractitionerRole.availableTime.daysOfWeek",
        "path" : "PractitionerRole.availableTime.daysOfWeek",
        "short" : "mon | tue | wed | thu | fri | sat | sun",
        "definition" : "Indicates which days of the week are available between the start and end Times.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PractitionerRole.availableTime.daysOfWeek",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "DaysOfWeek"
            }
          ],
          "strength" : "required",
          "description" : "The days of the week.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/days-of-week"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          }
        ]
      },
      {
        "id" : "PractitionerRole.availableTime.allDay",
        "path" : "PractitionerRole.availableTime.allDay",
        "short" : "Always available? e.g. 24 hour service",
        "definition" : "Is this always available? (hence times are irrelevant) e.g. 24 hour service.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PractitionerRole.availableTime.allDay",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          }
        ]
      },
      {
        "id" : "PractitionerRole.availableTime.availableStartTime",
        "path" : "PractitionerRole.availableTime.availableStartTime",
        "short" : "Opening time of day (ignored if allDay = true)",
        "definition" : "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.",
        "comment" : "The timezone is expected to be for where this HealthcareService is provided at.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PractitionerRole.availableTime.availableStartTime",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "time"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          }
        ]
      },
      {
        "id" : "PractitionerRole.availableTime.availableEndTime",
        "path" : "PractitionerRole.availableTime.availableEndTime",
        "short" : "Closing time of day (ignored if allDay = true)",
        "definition" : "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.",
        "comment" : "The timezone is expected to be for where this HealthcareService is provided at.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PractitionerRole.availableTime.availableEndTime",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "time"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          }
        ]
      },
      {
        "id" : "PractitionerRole.notAvailable",
        "path" : "PractitionerRole.notAvailable",
        "short" : "Not available during this time due to provided reason",
        "definition" : "The HealthcareService is not available during this period of time due to the provided reason.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PractitionerRole.notAvailable",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          }
        ]
      },
      {
        "id" : "PractitionerRole.notAvailable.id",
        "path" : "PractitionerRole.notAvailable.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" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PractitionerRole.notAvailable.extension",
        "path" : "PractitionerRole.notAvailable.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.",
        "comment" : "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" : "PractitionerRole.notAvailable.modifierExtension",
        "path" : "PractitionerRole.notAvailable.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.",
        "comment" : "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" : "PractitionerRole.notAvailable.description",
        "path" : "PractitionerRole.notAvailable.description",
        "short" : "Reason presented to the user explaining why time not available",
        "definition" : "The reason that can be presented to the user as to why this time is not available.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "PractitionerRole.notAvailable.description",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "PractitionerRole.notAvailable.during",
        "path" : "PractitionerRole.notAvailable.during",
        "short" : "Service not availablefrom this date",
        "definition" : "Service is not available (seasonally or for a public holiday) from this date.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PractitionerRole.notAvailable.during",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          }
        ]
      },
      {
        "id" : "PractitionerRole.availabilityExceptions",
        "path" : "PractitionerRole.availabilityExceptions",
        "short" : "Description of availability exceptions",
        "definition" : "A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "PractitionerRole.availabilityExceptions",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          }
        ]
      },
      {
        "id" : "PractitionerRole.endpoint",
        "path" : "PractitionerRole.endpoint",
        "short" : "Technical endpoints providing access to services operated for the practitioner with this role",
        "definition" : "Technical endpoints providing access to services operated for the practitioner with this role.",
        "requirements" : "Organizations have multiple systems that provide various services and ,ay also be different for practitioners too.\r\rSo the endpoint satisfies the need to be able to define the technical connection details for how to connect to them, and for what purpose.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "PractitionerRole.endpoint",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Endpoint"
          }
        ],
        "mustSupport" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "PractitionerRole",
        "path" : "PractitionerRole",
        "mustSupport" : false,
        "isModifier" : false
      },
      {
        "id" : "PractitionerRole.identifier:identifier",
        "path" : "PractitionerRole.identifier",
        "sliceName" : "identifier",
        "min" : 1,
        "max" : "*",
        "mustSupport" : true,
        "isModifier" : false
      },
      {
        "id" : "PractitionerRole.active:active",
        "path" : "PractitionerRole.active",
        "sliceName" : "active",
        "min" : 1,
        "max" : "1",
        "mustSupport" : true,
        "isModifier" : false
      },
      {
        "id" : "PractitionerRole.period:period",
        "path" : "PractitionerRole.period",
        "sliceName" : "period",
        "min" : 1,
        "max" : "1",
        "mustSupport" : true,
        "isModifier" : false
      },
      {
        "id" : "PractitionerRole.practitioner:practitioner",
        "path" : "PractitionerRole.practitioner",
        "sliceName" : "practitioner",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false
      },
      {
        "id" : "PractitionerRole.organization:organization",
        "path" : "PractitionerRole.organization",
        "sliceName" : "organization",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false
      },
      {
        "id" : "PractitionerRole.code:code",
        "path" : "PractitionerRole.code",
        "sliceName" : "code",
        "min" : 1,
        "max" : "1",
        "mustSupport" : true,
        "isModifier" : false
      },
      {
        "id" : "PractitionerRole.specialty:specialty",
        "path" : "PractitionerRole.specialty",
        "sliceName" : "specialty",
        "min" : 1,
        "max" : "1",
        "mustSupport" : true,
        "isModifier" : false
      },
      {
        "id" : "PractitionerRole.location:location",
        "path" : "PractitionerRole.location",
        "sliceName" : "location",
        "min" : 1,
        "max" : "*",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false
      }
    ]
  }
}