{
  "resourceType": "StructureDefinition",
  "id": "test-practitioner",
  "url": "http://ontariohealth.ca/fhir/testing//StructureDefinition/test-practitioner",
  "name": "TestPractitioner",
  "title": "Test Practitioner Profile",
  "status": "draft",
  "description": "A basic profile of the Practitioner resource",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Practitioner",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Practitioner.identifier",
        "path": "Practitioner.identifier",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.identifier.system",
        "path": "Practitioner.identifier.system",
        "min": 1
      },
      {
        "id": "Practitioner.identifier.value",
        "path": "Practitioner.identifier.value",
        "min": 1
      },
      {
        "id": "Practitioner.name",
        "path": "Practitioner.name",
        "min": 1,
        "constraint": [
          {
            "key": "practitioner-name-check",
            "severity": "error",
            "human": "Practitioner name must be at least 2 characters long.",
            "expression": "family.length() >= 2",
            "source": "http://ontariohealth.ca/fhir/testing//StructureDefinition/test-practitioner"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Practitioner.name.family",
        "path": "Practitioner.name.family",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.name.given",
        "path": "Practitioner.name.given",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.gender",
        "path": "Practitioner.gender",
        "mustSupport": true
      }
    ]
  }
}