{
  "resourceType": "StructureDefinition",
  "id": "8816b287-db04-4a40-929a-b5fa624b34f0",
  "meta": {
    "lastUpdated": "2022-03-24T18:21:58.045+00:00"
  },
  "url": "https://simplifier.net/winningtest/practitioner-role-profile",
  "name": "PractitionerRole",
  "title": "员工角色",
  "status": "draft",
  "date": "2022-02-25T03:20:08.5215823+00:00",
  "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": "PractitionerRole",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "PractitionerRole.active",
        "path": "PractitionerRole.active",
        "max": "0"
      },
      {
        "id": "PractitionerRole.period",
        "path": "PractitionerRole.period",
        "max": "0"
      },
      {
        "id": "PractitionerRole.practitioner",
        "path": "PractitionerRole.practitioner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/practitioner-profile"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.organization",
        "path": "PractitionerRole.organization",
        "short": "科室",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/department-profile"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.code",
        "path": "PractitionerRole.code",
        "short": "员工角色类型",
        "max": "1"
      },
      {
        "id": "PractitionerRole.code.coding",
        "path": "PractitionerRole.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "PractitionerRole.code.coding:employeeType",
        "path": "PractitionerRole.code.coding",
        "sliceName": "employeeType",
        "binding": {
          "strength": "required",
          "description": "职工类型代码",
          "valueSet": "urn:oid:1.2.156.112604.1.2.578"
        }
      },
      {
        "id": "PractitionerRole.code.coding:employeeType.version",
        "path": "PractitionerRole.code.coding.version",
        "max": "0"
      },
      {
        "id": "PractitionerRole.code.coding:employeeType.userSelected",
        "path": "PractitionerRole.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "PractitionerRole.code.coding:inpatientRole",
        "path": "PractitionerRole.code.coding",
        "sliceName": "inpatientRole",
        "binding": {
          "strength": "required",
          "description": "住院就诊参与者代码",
          "valueSet": "urn:oid:1.2.156.112604.1.2.3344"
        }
      },
      {
        "id": "PractitionerRole.code.coding:inpatientRole.version",
        "path": "PractitionerRole.code.coding.version",
        "max": "0"
      },
      {
        "id": "PractitionerRole.code.coding:inpatientRole.userSelected",
        "path": "PractitionerRole.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "PractitionerRole.location",
        "path": "PractitionerRole.location",
        "short": "病区",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/ward-profile"
            ],
            "aggregation": [
              "contained",
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.healthcareService",
        "path": "PractitionerRole.healthcareService",
        "short": "就诊科目服务",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/outpatient-healthcare-service-profile"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.telecom",
        "path": "PractitionerRole.telecom",
        "max": "0"
      },
      {
        "id": "PractitionerRole.availableTime",
        "path": "PractitionerRole.availableTime",
        "max": "0"
      },
      {
        "id": "PractitionerRole.notAvailable",
        "path": "PractitionerRole.notAvailable",
        "max": "0"
      },
      {
        "id": "PractitionerRole.availabilityExceptions",
        "path": "PractitionerRole.availabilityExceptions",
        "max": "0"
      },
      {
        "id": "PractitionerRole.endpoint",
        "path": "PractitionerRole.endpoint",
        "max": "0"
      }
    ]
  }
}