{
  "resourceType": "StructureDefinition",
  "id": "GeneralPractitioner",
  "meta": {
    "lastUpdated": "2017-05-18T13:20:43.552+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    }
  ],
  "url": "https://simplifier.net/TestProject12/StructureDefinition/GeneralPractitioner",
  "name": "MyGeneralPractitioner",
  "status": "draft",
  "date": "2017-05-18T09:10:06.572233+00:00",
  "fhirVersion": "3.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Practitioner",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "path": "Practitioner",
        "condition": [
          "mandatoryContactPoint"
        ],
        "constraint": [
          {
            "key": "mandatoryContactPoint",
            "requirements": "General practitioner must contain a telephone number or an address",
            "severity": "error",
            "human": "General practitioner must have either address or phone number",
            "expression": "telecom.exists() or address.exists()"
          }
        ]
      },
      {
        "path": "Practitioner.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "path": "Practitioner.extension",
        "sliceName": "generalPracticionerNumber",
        "short": "Mandatory gp number",
        "definition": "Definition",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://stu3.simplifier.net/TestProject12/StructureDefinition/GPNumber"
          }
        ]
      },
      {
        "id": "generalPracticionerRole",
        "path": "Practitioner.extension",
        "sliceName": "role",
        "short": "Optional Extensions Element",
        "definition": "Optional Extension Element - found in all resources.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://stu3.simplifier.net/TestProject12/StructureDefinition/StructureDefinition/GPRole"
          }
        ]
      },
      {
        "path": "Practitioner.name.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "initials",
        "path": "Practitioner.name.extension",
        "sliceName": "initials",
        "short": "Optional Extensions Element",
        "definition": "Optional Extension Element - found in all resources.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/StructureDefinition/HumanName-initials"
          }
        ]
      },
      {
        "path": "Practitioner.name.family",
        "min": 1
      }
    ]
  }
}