{
  "resourceType": "StructureDefinition",
  "id": "9e016051-b080-45a2-565d-3e300e9e09d5",
  "meta": {
    "lastUpdated": "2019-03-11T17:32:53.4163032+00:00"
  },
  "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-provider-profile-Practitioner-attending",
  "name": "PractitionerAttending",
  "status": "draft",
  "date": "2019-03-11T17:32:53.244437+00:00",
  "description": "A person who is directly or indirectly involved in the provisioning of healthcare.\r\nThis resource will represent attending physicians which is reference from Encounter resource.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "OLIS-HL7-v2",
      "name": "OLIS HL7 v2"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Practitioner",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Practitioner",
        "path": "Practitioner",
        "mustSupport": true
      },
      {
        "id": "Practitioner.id",
        "path": "Practitioner.id",
        "mustSupport": true
      },
      {
        "id": "Practitioner.identifier",
        "path": "Practitioner.identifier",
        "definition": "An identifier that applies to this person in this role.\r\nPractitioner ID (Licence): Practitioner, Dentist, Nurse Practitioner, Midwife.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Practitioner.identifier.id",
        "path": "Practitioner.identifier.id",
        "mustSupport": false
      },
      {
        "id": "Practitioner.identifier.system",
        "path": "Practitioner.identifier.system",
        "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.\r\nURI of a licence regulating body",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "PV1.7.22/PV1.7.13"
          }
        ]
      },
      {
        "id": "Practitioner.identifier.value",
        "path": "Practitioner.identifier.value",
        "short": "Licence  number",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "PV1.7.1"
          }
        ]
      },
      {
        "id": "Practitioner.name",
        "path": "Practitioner.name",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Practitioner.name.id",
        "path": "Practitioner.name.id",
        "mustSupport": false
      },
      {
        "id": "Practitioner.name.family",
        "path": "Practitioner.name.family",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "PV1.7.2"
          }
        ]
      },
      {
        "id": "Practitioner.name.given",
        "path": "Practitioner.name.given",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "extension.url"
            }
          ],
          "description": "Middle Name",
          "rules": "open"
        },
        "min": 1,
        "max": "2",
        "mustSupport": true
      },
      {
        "id": "Practitioner.name.given:given-first",
        "path": "Practitioner.name.given",
        "sliceName": "given-first",
        "max": "1",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "PV1.7.3"
          }
        ]
      },
      {
        "id": "Practitioner.name.given:given-middle",
        "path": "Practitioner.name.given",
        "sliceName": "given-middle",
        "max": "1",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "PV1.7.4"
          }
        ]
      },
      {
        "id": "Practitioner.name.given:given-second.extension",
        "path": "Practitioner.name.given.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Practitioner.name.given:given-middle.extension:EN-qualifier",
        "path": "Practitioner.name.given.extension",
        "sliceName": "EN-qualifier",
        "short": "Used to indicate additional information about the name part and how it should be used.",
        "definition": "Use on data type: OLIS uses for  HumanName.given",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Practitioner.name.given:given-middle.extension:EN-qualifier.id",
        "path": "Practitioner.name.given.extension.id",
        "mustSupport": true
      },
      {
        "id": "Practitioner.name.given:given-middle.extension:EN-qualifier.url",
        "path": "Practitioner.name.given.extension.url",
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"
      },
      {
        "id": "Practitioner.name.given:given-middle.extension:EN-qualifier.value[x]:valueCode",
        "path": "Practitioner.name.given.extension.valueCode",
        "sliceName": "valueCode",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "MID",
        "mustSupport": true
      },
      {
        "id": "Practitioner.name.prefix",
        "path": "Practitioner.name.prefix",
        "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.\r\n\r\nOLIS will return maximum one prefix",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "PV1.7.6"
          }
        ]
      },
      {
        "id": "Practitioner.name.suffix",
        "path": "Practitioner.name.suffix",
        "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.\r\n\r\nOLIS will return maximum one suffix",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "PV1.7.5"
          }
        ]
      }
    ]
  }
}