{
  "resourceType": "StructureDefinition",
  "url": "https://simplifier.net/winningtest/care-team-profile",
  "name": "CareTeam",
  "title": "诊疗组",
  "status": "draft",
  "date": "2023-08-14T14:00:40.2066437+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "CareTeam",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CareTeam",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CareTeam.subject",
        "path": "CareTeam.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/Group",
              "https://simplifier.net/winningtest/patient-profile"
            ],
            "aggregation": [
              "referenced",
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "CareTeam.encounter",
        "path": "CareTeam.encounter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/inpatient-encounter-profile"
            ],
            "aggregation": [
              "referenced",
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "CareTeam.participant",
        "path": "CareTeam.participant",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "role"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "CareTeam.participant:pcp",
        "path": "CareTeam.participant",
        "sliceName": "pcp",
        "max": "1"
      },
      {
        "id": "CareTeam.participant:pcp.role",
        "path": "CareTeam.participant.role",
        "short": "主诊医生",
        "min": 1,
        "max": "1",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/ValueSet/participant-role",
              "version": "4.0.1",
              "code": "446050000",
              "display": "PCP - Primary care physician"
            }
          ]
        }
      },
      {
        "id": "CareTeam.participant:pcp.member",
        "path": "CareTeam.participant.member",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/CareTeam",
              "https://simplifier.net/winningtest/practitioner-profile"
            ],
            "aggregation": [
              "referenced",
              "bundled"
            ]
          }
        ]
      }
    ]
  }
}