{
  "resourceType": "StructureDefinition",
  "id": "SHCHalsoOchSjukvardspersonalLogical",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-be-target"
    }
  ],
  "url": "http://electronichealth.se/fhir/shc/StructureDefinition/SHCHalsoOchSjukvardspersonalLogical",
  "name": "SHCHalsoOchSjukvardspersonalLogical",
  "title": "Hälso- och sjukvårdspersonal",
  "status": "draft",
  "description": "Klassen Hälso- och sjukvårdspersonal håller information om person eller personer som i sitt yrke utför hälso- och sjukvård.",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "HalsoOchSjukvardspersonalToSHCPractitioner",
      "uri": "SHCPractitioner"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://electronichealth.se/fhir/shc/StructureDefinition/SHCHalsoOchSjukvardspersonalLogical",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "SHCHalsoOchSjukvardspersonalLogical",
        "path": "SHCHalsoOchSjukvardspersonalLogical",
        "short": "Hälso- och sjukvårdspersonal",
        "definition": "Klassen Hälso- och sjukvårdspersonal håller information om person eller personer som i sitt yrke utför hälso- och sjukvård."
      },
      {
        "id": "SHCHalsoOchSjukvardspersonalLogical.halso-OchSjukvardspersonalsid",
        "path": "SHCHalsoOchSjukvardspersonalLogical.halso-OchSjukvardspersonalsid",
        "short": "hälso- och sjukvårdspersonalsid",
        "definition": "unikt id för en person som utför hälso-och sjukvård",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "HalsoOchSjukvardspersonalToSHCPractitioner",
            "map": "SHCPractitioner.id"
          }
        ]
      },
      {
        "id": "SHCHalsoOchSjukvardspersonalLogical.hSA-IDPerson",
        "path": "SHCHalsoOchSjukvardspersonalLogical.hSA-IDPerson",
        "short": "HSA-ID person",
        "definition": "unikt ID som används inom vård och omsorg i Sverige för att identifiera personer, enheter och system i HSA-katalogen",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "HalsoOchSjukvardspersonalToSHCPractitioner",
            "map": "SHCPractitioner.identifier[hsaid]"
          }
        ]
      },
      {
        "id": "SHCHalsoOchSjukvardspersonalLogical.befattning",
        "path": "SHCHalsoOchSjukvardspersonalLogical.befattning",
        "short": "befattning",
        "definition": "kod för den befattning som hälso- och sjukvårdspersonal innehar",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "mapping": [
          {
            "identity": "HalsoOchSjukvardspersonalToSHCPractitioner",
            "map": "SHCPractitioner.qualification.code.coding[hsa-befattning]"
          }
        ]
      },
      {
        "id": "SHCHalsoOchSjukvardspersonalLogical.forskrivarkod",
        "path": "SHCHalsoOchSjukvardspersonalLogical.forskrivarkod",
        "short": "förskrivarkod",
        "definition": "kod för personlig identifikation av en förskrivare",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "HalsoOchSjukvardspersonalToSHCPractitioner",
            "map": "SHCPractitioner.qualification.identifier[prescriber]"
          }
        ]
      },
      {
        "id": "SHCHalsoOchSjukvardspersonalLogical.arbetsplatskod",
        "path": "SHCHalsoOchSjukvardspersonalLogical.arbetsplatskod",
        "short": "arbetsplatskod",
        "definition": "kod som identifierar den arbetsplats där förskrivning sker",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "HalsoOchSjukvardspersonalToSHCPractitioner",
            "map": ""
          }
        ]
      },
      {
        "id": "SHCHalsoOchSjukvardspersonalLogical.harRollen",
        "path": "SHCHalsoOchSjukvardspersonalLogical.harRollen",
        "short": "har rollen",
        "definition": "har rollen",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://electronichealth.se/fhir/shc/StructureDefinition/SHCPersonLogical"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "HalsoOchSjukvardspersonalToSHCPractitioner",
            "map": "SHCPractitioner."
          }
        ]
      }
    ]
  }
}