{
  "resourceType": "StructureDefinition",
  "id": "45adb7f3-ad3f-4c00-ae4c-646f98710028",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2023-09-28T12:14:10.758+00:00",
    "source": "#sebO8bF5n7BZ8Yqj"
  },
  "url": "https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-Practitioner",
  "version": "1.0",
  "name": "IDMSPractitioner",
  "status": "active",
  "description": "Profile for storing people.",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Practitioner",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Practitioner.extension",
        "path": "Practitioner.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Practitioner.extension:createdDate",
        "path": "Practitioner.extension",
        "sliceName": "createdDate",
        "definition": "#### **_`IDMS:  Date and Time the record was created.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedDate"
            ]
          }
        ]
      },
      {
        "id": "Practitioner.extension:createdUser",
        "path": "Practitioner.extension",
        "sliceName": "createdUser",
        "definition": "#### **_`IDMS:  Link to the user that created the record.`_**",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedUser"
            ]
          }
        ]
      },
      {
        "id": "Practitioner.extension:updatedUser",
        "path": "Practitioner.extension",
        "sliceName": "updatedUser",
        "definition": "#### **_`IDMS:  Link to the user that last updated the record.`_**",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedUser"
            ]
          }
        ]
      },
      {
        "id": "Practitioner.extension:updatedDate",
        "path": "Practitioner.extension",
        "sliceName": "updatedDate",
        "definition": "#### **_`IDMS:  Date and Time the record was last updated.`_**",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedDate"
            ]
          }
        ]
      },
      {
        "id": "Practitioner.extension:migrationNotes",
        "path": "Practitioner.extension",
        "sliceName": "migrationNotes",
        "definition": "#### **_`IDMS:  Data that was migrated from DSTS that is no longer needed.`_**",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/MigrationNotes"
            ]
          }
        ]
      },
      {
        "id": "Practitioner.identifier",
        "path": "Practitioner.identifier",
        "definition": "#### **_`IDMS:  If the person has access to the sytem this is the identifier in the Authentication system.    `_**"
      },
      {
        "id": "Practitioner.identifier.extension",
        "path": "Practitioner.identifier.extension",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier.use",
        "path": "Practitioner.identifier.use",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier.type",
        "path": "Practitioner.identifier.type",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier.system",
        "path": "Practitioner.identifier.system",
        "min": 1,
        "max": "1",
        "fixedUri": "urn:idms:practitioner:activeDirectory"
      },
      {
        "id": "Practitioner.identifier.value",
        "path": "Practitioner.identifier.value",
        "min": 1
      },
      {
        "id": "Practitioner.identifier.period",
        "path": "Practitioner.identifier.period",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier.assigner",
        "path": "Practitioner.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Practitioner.name",
        "path": "Practitioner.name",
        "definition": "#### **_`IDMS:  Family and Given name of the person.`_**",
        "min": 1
      },
      {
        "id": "Practitioner.name.use",
        "path": "Practitioner.name.use",
        "max": "0"
      },
      {
        "id": "Practitioner.name.text",
        "path": "Practitioner.name.text",
        "max": "0"
      },
      {
        "id": "Practitioner.name.prefix",
        "path": "Practitioner.name.prefix",
        "max": "0"
      },
      {
        "id": "Practitioner.name.suffix",
        "path": "Practitioner.name.suffix",
        "max": "0"
      },
      {
        "id": "Practitioner.name.period",
        "path": "Practitioner.name.period",
        "max": "0"
      },
      {
        "id": "Practitioner.telecom",
        "path": "Practitioner.telecom",
        "max": "0"
      },
      {
        "id": "Practitioner.gender",
        "path": "Practitioner.gender",
        "max": "0"
      },
      {
        "id": "Practitioner.birthDate",
        "path": "Practitioner.birthDate",
        "max": "0"
      },
      {
        "id": "Practitioner.deceased[x]",
        "path": "Practitioner.deceased[x]",
        "max": "0"
      },
      {
        "id": "Practitioner.address",
        "path": "Practitioner.address",
        "max": "0"
      },
      {
        "id": "Practitioner.photo",
        "path": "Practitioner.photo",
        "max": "0"
      },
      {
        "id": "Practitioner.qualification",
        "path": "Practitioner.qualification",
        "max": "0"
      },
      {
        "id": "Practitioner.communication",
        "path": "Practitioner.communication",
        "max": "0"
      }
    ]
  }
}