{
  "resourceType": "StructureDefinition",
  "id": "EPPractitioner-1acaac4e-e0ed-4790-89d3-d8ac12bd7b32",
  "url": "https://www.esante.lu/fhir-spec/StructureDefinition/EPPractitioner",
  "version": "1.2.0",
  "name": "EPPractitioner",
  "status": "active",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "servd",
      "uri": "http://www.omg.org/spec/ServD/1.0/",
      "name": "ServD"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Practitioner",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Practitioner.id",
        "path": "Practitioner.id",
        "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.\r\nIs assigned by the server, do not provide a value."
      },
      {
        "id": "Practitioner.meta",
        "path": "Practitioner.meta",
        "min": 1
      },
      {
        "id": "Practitioner.meta.id",
        "path": "Practitioner.meta.id",
        "max": "0"
      },
      {
        "id": "Practitioner.meta.versionId",
        "path": "Practitioner.meta.versionId",
        "max": "0"
      },
      {
        "id": "Practitioner.meta.lastUpdated",
        "path": "Practitioner.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "Practitioner.meta.source",
        "path": "Practitioner.meta.source",
        "max": "0"
      },
      {
        "id": "Practitioner.meta.profile",
        "path": "Practitioner.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://www.esante.lu/fhir-spec/StructureDefinition/EPPractitioner"
      },
      {
        "id": "Practitioner.meta.security",
        "path": "Practitioner.meta.security",
        "max": "0"
      },
      {
        "id": "Practitioner.meta.tag",
        "path": "Practitioner.meta.tag",
        "max": "0"
      },
      {
        "id": "Practitioner.implicitRules",
        "path": "Practitioner.implicitRules",
        "max": "0"
      },
      {
        "id": "Practitioner.language",
        "path": "Practitioner.language",
        "max": "0"
      },
      {
        "id": "Practitioner.text",
        "path": "Practitioner.text",
        "max": "0"
      },
      {
        "id": "Practitioner.contained",
        "path": "Practitioner.contained",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier",
        "path": "Practitioner.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "closed"
        },
        "short": "An identifier for the professional",
        "min": 2
      },
      {
        "id": "Practitioner.identifier:eHealthID",
        "path": "Practitioner.identifier",
        "sliceName": "eHealthID",
        "short": "eHealthID",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Practitioner.identifier:eHealthID.id",
        "path": "Practitioner.identifier.id",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier:eHealthID.use",
        "path": "Practitioner.identifier.use",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier:eHealthID.type",
        "path": "Practitioner.identifier.type",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier:eHealthID.system",
        "path": "Practitioner.identifier.system",
        "min": 1,
        "fixedUri": "urn:oid:1.3.182.4.1"
      },
      {
        "id": "Practitioner.identifier:eHealthID.value",
        "path": "Practitioner.identifier.value",
        "short": "The eHealthID",
        "min": 1,
        "example": [
          {
            "label": "eHealthID",
            "valueString": "2999999617"
          }
        ],
        "condition": [
          "val-eHealthID"
        ],
        "constraint": [
          {
            "key": "val-eHealthID",
            "severity": "error",
            "human": "eHealthID shall have the right format",
            "expression": "length()=10 and startsWith('2')",
            "source": "https://www.esante.lu/fhir-spec/StructureDefinition/EPPractitioner"
          }
        ]
      },
      {
        "id": "Practitioner.identifier:eHealthID.period",
        "path": "Practitioner.identifier.period",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier:eHealthID.assigner",
        "path": "Practitioner.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier:cnsCodes",
        "path": "Practitioner.identifier",
        "sliceName": "cnsCodes",
        "short": "CNS Codes",
        "min": 1,
        "max": "*"
      },
      {
        "id": "Practitioner.identifier:cnsCodes.id",
        "path": "Practitioner.identifier.id",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier:cnsCodes.use",
        "path": "Practitioner.identifier.use",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier:cnsCodes.type",
        "path": "Practitioner.identifier.type",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier:cnsCodes.system",
        "path": "Practitioner.identifier.system",
        "min": 1,
        "fixedUri": "urn:oid:1.3.182.4.6"
      },
      {
        "id": "Practitioner.identifier:cnsCodes.value",
        "path": "Practitioner.identifier.value",
        "short": "CNS Code",
        "min": 1,
        "example": [
          {
            "label": "CNS Code",
            "valueString": "905478-80"
          }
        ],
        "condition": [
          "val-cnsCode"
        ],
        "constraint": [
          {
            "key": "val-cnsCode",
            "severity": "error",
            "human": "The CNS code SHALL have the right format",
            "expression": "length()=9 and startsWith('9')",
            "source": "https://www.esante.lu/fhir-spec/StructureDefinition/EPPractitioner"
          }
        ]
      },
      {
        "id": "Practitioner.identifier:cnsCodes.period",
        "path": "Practitioner.identifier.period",
        "max": "0"
      },
      {
        "id": "Practitioner.identifier:cnsCodes.assigner",
        "path": "Practitioner.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Practitioner.active",
        "path": "Practitioner.active",
        "max": "0"
      },
      {
        "id": "Practitioner.name",
        "path": "Practitioner.name",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Practitioner.name.id",
        "path": "Practitioner.name.id",
        "max": "0"
      },
      {
        "id": "Practitioner.name.use",
        "path": "Practitioner.name.use",
        "max": "0"
      },
      {
        "id": "Practitioner.name.text",
        "path": "Practitioner.name.text",
        "max": "0"
      },
      {
        "id": "Practitioner.name.family",
        "path": "Practitioner.name.family",
        "min": 1
      },
      {
        "id": "Practitioner.name.given",
        "path": "Practitioner.name.given",
        "min": 1,
        "max": "1"
      },
      {
        "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",
        "short": "Phone number",
        "max": "1"
      },
      {
        "id": "Practitioner.telecom.id",
        "path": "Practitioner.telecom.id",
        "max": "0"
      },
      {
        "id": "Practitioner.telecom.system",
        "path": "Practitioner.telecom.system",
        "definition": "Phone number",
        "min": 1,
        "fixedCode": "phone"
      },
      {
        "id": "Practitioner.telecom.value",
        "path": "Practitioner.telecom.value",
        "short": "The phone number",
        "min": 1
      },
      {
        "id": "Practitioner.telecom.use",
        "path": "Practitioner.telecom.use",
        "max": "0"
      },
      {
        "id": "Practitioner.telecom.rank",
        "path": "Practitioner.telecom.rank",
        "max": "0"
      },
      {
        "id": "Practitioner.telecom.period",
        "path": "Practitioner.telecom.period",
        "max": "0"
      },
      {
        "id": "Practitioner.address",
        "path": "Practitioner.address",
        "short": "Address of the practitioner",
        "max": "1"
      },
      {
        "id": "Practitioner.address.id",
        "path": "Practitioner.address.id",
        "max": "0"
      },
      {
        "id": "Practitioner.address.use",
        "path": "Practitioner.address.use",
        "max": "0"
      },
      {
        "id": "Practitioner.address.type",
        "path": "Practitioner.address.type",
        "max": "0"
      },
      {
        "id": "Practitioner.address.text",
        "path": "Practitioner.address.text",
        "max": "0"
      },
      {
        "id": "Practitioner.address.line",
        "path": "Practitioner.address.line",
        "max": "1"
      },
      {
        "id": "Practitioner.address.district",
        "path": "Practitioner.address.district",
        "max": "0"
      },
      {
        "id": "Practitioner.address.state",
        "path": "Practitioner.address.state",
        "max": "0"
      },
      {
        "id": "Practitioner.address.postalCode",
        "path": "Practitioner.address.postalCode",
        "short": "Postal code"
      },
      {
        "id": "Practitioner.address.country",
        "path": "Practitioner.address.country",
        "short": "Country (ISO 3166 3 letter codes)"
      },
      {
        "id": "Practitioner.address.period",
        "path": "Practitioner.address.period",
        "max": "0"
      },
      {
        "id": "Practitioner.gender",
        "path": "Practitioner.gender",
        "max": "0"
      },
      {
        "id": "Practitioner.birthDate",
        "path": "Practitioner.birthDate",
        "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"
      }
    ]
  }
}