{
  "resourceType": "StructureDefinition",
  "id": "6379145b-f9e1-4423-95ce-03be7a9ab4b7",
  "meta": {
    "lastUpdated": "2019-02-20T14:16:21.9744345+00:00"
  },
  "text": {
    "status": "empty",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" />"
  },
  "url": "http://ehealthontario.ca/fhir/StructureDefinition/ppr-practitionerrole-matchreq",
  "version": "1.0.0",
  "name": "PractitionerRoleMatchRequest",
  "title": "PPR PractitionerRole Match Request",
  "status": "draft",
  "date": "2019-02-20T14:16:21.7964931+00:00",
  "description": "Defines the structure used for performing an EMPI match against the Practitioner endpoint",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "PractitionerRole",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "PractitionerRole",
        "path": "PractitionerRole",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.meta",
        "path": "PractitionerRole.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.meta.profile",
        "path": "PractitionerRole.meta.profile",
        "min": 1,
        "fixedUri": "http://ehealthontario.ca/fhir/StructureDefinition/ppr-practitionerrole-matchreq|1.0.0",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.implicitRules",
        "path": "PractitionerRole.implicitRules",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.language",
        "path": "PractitionerRole.language",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.text",
        "path": "PractitionerRole.text",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.text.status",
        "path": "PractitionerRole.text.status",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.text.div",
        "path": "PractitionerRole.text.div",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.active",
        "path": "PractitionerRole.active"
      },
      {
        "id": "PractitionerRole.practitioner",
        "path": "PractitionerRole.practitioner",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://ehealthontario.ca/fhir/StructureDefinition/ppr-practitioner-matchreq"
          }
        ],
        "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.use",
        "path": "PractitionerRole.practitioner.identifier.use",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.type",
        "path": "PractitionerRole.practitioner.identifier.type",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.type.coding",
        "path": "PractitionerRole.practitioner.identifier.type.coding",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.type.coding.system",
        "path": "PractitionerRole.practitioner.identifier.type.coding.system",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.type.coding.version",
        "path": "PractitionerRole.practitioner.identifier.type.coding.version",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.type.coding.code",
        "path": "PractitionerRole.practitioner.identifier.type.coding.code",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "PractitionerRole.practitioner.identifier.type.coding.display",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.type.coding.userSelected",
        "path": "PractitionerRole.practitioner.identifier.type.coding.userSelected",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.system",
        "path": "PractitionerRole.practitioner.identifier.system",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.period.start",
        "path": "PractitionerRole.practitioner.identifier.period.start",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner.identifier.period.end",
        "path": "PractitionerRole.practitioner.identifier.period.end",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code",
        "path": "PractitionerRole.code",
        "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",
        "min": 1,
        "fixedUri": "http://ehealthontario.ca/fhir/CodeSystem/ppr-health-care-provider-role-type",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code.coding.code",
        "path": "PractitionerRole.code.coding.code",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSetUri": "http://ehealthontario.ca/fhir/ValueSet/ppr-healthcare-provider-role-type"
        }
      },
      {
        "id": "PractitionerRole.specialty",
        "path": "PractitionerRole.specialty",
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "PractitionerSpecialty"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/ppr-qualified-expertise-role-type"
          }
        }
      },
      {
        "id": "PractitionerRole.specialty.coding",
        "path": "PractitionerRole.specialty.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.specialty.coding.system",
        "path": "PractitionerRole.specialty.coding.system",
        "min": 1,
        "fixedUri": "http://ehealthontario.ca/fhir/CodeSystem/ppr-qualified-expertise-role-type",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.specialty.coding.code",
        "path": "PractitionerRole.specialty.coding.code",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSetUri": "http://ehealthontario.ca/fhir/ValueSet/ppr-qualified-expertise-role-type"
        }
      }
    ]
  }
}