{
  "resourceType": "StructureDefinition",
  "text": {
    "status": "empty",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" />"
  },
  "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole",
  "version": "v0.10.0",
  "name": "EReferralPractitionerRole",
  "title": "PractitionerRole",
  "status": "draft",
  "description": "The PractitionerRole represents the activity (such as specialty and job title) and contact information that a Practitioner may perform at an organization/location.",
  "fhirVersion": "4.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "PractitionerRole",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "PractitionerRole.meta",
        "path": "PractitionerRole.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.meta.profile",
        "path": "PractitionerRole.meta.profile",
        "comment": "#### **_` FOR eREFERRAL USAGE: The meta.profile = http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole|1.0.0 `_**\r\n\r\nIt is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set.",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.identifier",
        "path": "PractitionerRole.identifier",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.identifier.type.coding.id",
        "path": "PractitionerRole.identifier.type.coding.id",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier.type.coding.version",
        "path": "PractitionerRole.identifier.type.coding.version",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier.type.coding.userSelected",
        "path": "PractitionerRole.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "PractitionerRole.identifier.system",
        "path": "PractitionerRole.identifier.system",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.identifier.value",
        "path": "PractitionerRole.identifier.value",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.active",
        "path": "PractitionerRole.active",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner",
        "path": "PractitionerRole.practitioner",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.reference",
        "path": "PractitionerRole.practitioner.reference",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier",
        "path": "PractitionerRole.practitioner.identifier",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.system",
        "path": "PractitionerRole.practitioner.identifier.system",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.value",
        "path": "PractitionerRole.practitioner.identifier.value",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.organization",
        "path": "PractitionerRole.organization",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.organization.reference",
        "path": "PractitionerRole.organization.reference",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.organization.identifier",
        "path": "PractitionerRole.organization.identifier",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.organization.identifier.system",
        "path": "PractitionerRole.organization.identifier.system",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.organization.identifier.value",
        "path": "PractitionerRole.organization.identifier.value",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code",
        "path": "PractitionerRole.code",
        "mustSupport": true,
        "binding": {
          "strength": "extensible"
        }
      },
      {
        "id": "PractitionerRole.code.coding",
        "path": "PractitionerRole.code.coding",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code.coding.system",
        "path": "PractitionerRole.code.coding.system",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code.coding.code",
        "path": "PractitionerRole.code.coding.code",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code.coding.display",
        "path": "PractitionerRole.code.coding.display",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.specialty",
        "path": "PractitionerRole.specialty",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/practitionerspecialty"
        }
      },
      {
        "id": "PractitionerRole.specialty.coding",
        "path": "PractitionerRole.specialty.coding",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/practitionerspecialty"
        }
      },
      {
        "id": "PractitionerRole.specialty.coding.system",
        "path": "PractitionerRole.specialty.coding.system",
        "fixedUri": "https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.specialty.coding.code",
        "path": "PractitionerRole.specialty.coding.code",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.specialty.coding.display",
        "path": "PractitionerRole.specialty.coding.display",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.location",
        "path": "PractitionerRole.location",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.location.reference",
        "path": "PractitionerRole.location.reference",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.location.identifier",
        "path": "PractitionerRole.location.identifier",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.location.identifier.system",
        "path": "PractitionerRole.location.identifier.system",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.location.identifier.value",
        "path": "PractitionerRole.location.identifier.value",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.telecom",
        "path": "PractitionerRole.telecom",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.telecom.system",
        "path": "PractitionerRole.telecom.system",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.telecom.value",
        "path": "PractitionerRole.telecom.value",
        "min": 1
      },
      {
        "id": "PractitionerRole.telecom.use",
        "path": "PractitionerRole.telecom.use",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.telecom.rank",
        "path": "PractitionerRole.telecom.rank",
        "mustSupport": true
      }
    ]
  }
}