{
  "resourceType": "StructureDefinition",
  "id": "9e016051-b080-45a2-915d-3e300e9e09d5",
  "meta": {
    "lastUpdated": "2019-03-11T19:35:59.2117112+00:00"
  },
  "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-provider-profile-Practitioner-ordering",
  "name": "Practitioner",
  "status": "draft",
  "date": "2019-03-11T19:35:59.0347788+00:00",
  "description": "A person who is directly or indirectly involved in the provisioning of healthcare.\r\nThis resource will represent ordering practitioner and reporting/performing practitioner in scenarios where test results are performed and reported by physician.",
  "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.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": "OBR.16.22/OBR.16.13"
          }
        ]
      },
      {
        "id": "Practitioner.identifier.value",
        "path": "Practitioner.identifier.value",
        "short": "Licence  number",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBR.16.1"
          }
        ]
      },
      {
        "id": "Practitioner.name",
        "path": "Practitioner.name",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Practitioner.name.family",
        "path": "Practitioner.name.family",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBR.16.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": "OBR.16.3"
          }
        ]
      },
      {
        "id": "Practitioner.name.given:given-middle",
        "path": "Practitioner.name.given",
        "sliceName": "given-middle",
        "max": "1",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBR.16.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",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"
          }
        ],
        "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\nOLIS will return maximum one prefix",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBR.16.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\nOLIS will return maximum one suffix",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBR.16.5"
          }
        ]
      },
      {
        "id": "Practitioner.telecom",
        "path": "Practitioner.telecom",
        "definition": "A contact detail for the practitioner, e.g. a telephone number or an email address.\r\nOLIS will return maximun two telephone numbers.",
        "mustSupport": true
      },
      {
        "id": "Practitioner.telecom.system",
        "path": "Practitioner.telecom.system",
        "short": "phone | fax | email | pager",
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ContactPointSystem"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/lab/contact-point-system"
          }
        },
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBR.17.3"
          }
        ]
      },
      {
        "id": "Practitioner.telecom.value",
        "path": "Practitioner.telecom.value",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBR.17.5-OBR.17.8"
          }
        ]
      },
      {
        "id": "Practitioner.telecom.use",
        "path": "Practitioner.telecom.use",
        "short": "home | work | temp | mobile - purpose of this contact point",
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ContactPointUse"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/lab/contact-point-use"
          }
        },
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "OBR.17.2"
          }
        ]
      },
      {
        "id": "Practitioner.address",
        "path": "Practitioner.address",
        "definition": "Address(es) of the practitioner that are not role specific (typically home address). \rWork addresses are not typically entered in this property as they are usually role dependent.\r\n\r\nOLIS will return only one address",
        "mustSupport": true
      },
      {
        "id": "Practitioner.address.use",
        "path": "Practitioner.address.use",
        "short": "home | work |",
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "AddressUse"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/lab/address-use"
          }
        }
      },
      {
        "id": "Practitioner.address.type",
        "path": "Practitioner.address.type",
        "short": "both",
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "AddressType"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/lab/address-type"
          }
        },
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.24.7"
          }
        ]
      },
      {
        "id": "Practitioner.address.line",
        "path": "Practitioner.address.line",
        "definition": "This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information.\r\nOLIS will return maximum two lines",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.24.1"
          }
        ]
      },
      {
        "id": "Practitioner.address.city",
        "path": "Practitioner.address.city",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.24.3"
          }
        ]
      },
      {
        "id": "Practitioner.address.state",
        "path": "Practitioner.address.state",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.24.4"
          }
        ]
      },
      {
        "id": "Practitioner.address.postalCode",
        "path": "Practitioner.address.postalCode",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.24.5"
          }
        ]
      },
      {
        "id": "Practitioner.address.country",
        "path": "Practitioner.address.country",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.24.6"
          }
        ]
      }
    ]
  }
}