{
  "resourceType": "StructureDefinition",
  "id": "ca-qc-akinox-profile-PractitionerRole",
  "url": "http://fhir.akinox.com/r5/StructureDefinition/PractitionerRole",
  "version": "1.0.0",
  "name": "QuebecPractitionerRole",
  "title": "PractitionerRole",
  "status": "draft",
  "description": "A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 V2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "interface",
      "uri": "http://hl7.org/fhir/interface",
      "name": "Interface Pattern"
    },
    {
      "identity": "servd",
      "uri": "http://www.omg.org/spec/ServD/1.0/",
      "name": "ServD"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "PractitionerRole",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "PractitionerRole.meta",
        "path": "PractitionerRole.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.meta.profile",
        "path": "PractitionerRole.meta.profile",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner",
        "path": "PractitionerRole.practitioner",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.reference",
        "path": "PractitionerRole.practitioner.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier",
        "path": "PractitionerRole.practitioner.identifier",
        "comment": "Includes Practitioner unique identifier.",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.type",
        "path": "PractitionerRole.practitioner.identifier.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.type.coding",
        "path": "PractitionerRole.practitioner.identifier.type.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.type.coding.system",
        "path": "PractitionerRole.practitioner.identifier.type.coding.system",
        "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.type.coding.code",
        "path": "PractitionerRole.practitioner.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "LN",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0203"
        }
      },
      {
        "id": "PractitionerRole.practitioner.identifier.value",
        "path": "PractitionerRole.practitioner.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.organization",
        "path": "PractitionerRole.organization",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.organization.reference",
        "path": "PractitionerRole.organization.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code",
        "path": "PractitionerRole.code",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code.coding",
        "path": "PractitionerRole.code.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code.coding.system",
        "path": "PractitionerRole.code.coding.system",
        "fixedUri": "http://snomed.info/sct/ca",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code.coding.code",
        "path": "PractitionerRole.code.coding.code",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://akinox.com/fhir/ValueSet/msss-intervenants-sv-dermato"
        }
      },
      {
        "id": "PractitionerRole.location",
        "path": "PractitionerRole.location",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.location.reference",
        "path": "PractitionerRole.location.reference",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}