{
  "resourceType": "StructureDefinition",
  "url": "http://medico-emr.net/stu3/sd/CareTeam-CareGroup-1",
  "name": "CareTeam-CareGroup-1",
  "status": "active",
  "description": "represents a care team (eine \"Pflegegruppe\" in medico definiert in x8104cag), in medico care teams are typically assigned to a ward",
  "purpose": "Access: Read\r\nVisibility: public",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "CareTeam",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CareTeam",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CareTeam",
        "path": "CareTeam",
        "definition": "represents a care team (eine \"Pflegegruppe\" in medico definiert in x8104cag), in medico care teams are typically assigned to a ward"
      },
      {
        "id": "CareTeam.id",
        "path": "CareTeam.id",
        "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.\r\nmedico: CareGroup-#####\r\nwhere #### is x8104cag.cag"
      },
      {
        "id": "CareTeam.meta",
        "path": "CareTeam.meta",
        "min": 1,
        "type": [
          {
            "code": "Meta",
            "profile": "http://medico-emr.net/stu3/sd/Meta-ProfileOnly-1"
          }
        ]
      },
      {
        "id": "CareTeam.meta.profile",
        "path": "CareTeam.meta.profile",
        "fixedUri": "http://medico-emr.net/stu3/sd/CareTeam-CareGroup-1"
      },
      {
        "id": "CareTeam.implicitRules",
        "path": "CareTeam.implicitRules",
        "max": "0"
      },
      {
        "id": "CareTeam.language",
        "path": "CareTeam.language",
        "max": "0"
      },
      {
        "id": "CareTeam.text",
        "path": "CareTeam.text",
        "max": "0"
      },
      {
        "id": "CareTeam.text.id",
        "path": "CareTeam.text.id",
        "max": "0"
      },
      {
        "id": "CareTeam.contained",
        "path": "CareTeam.contained",
        "max": "0"
      },
      {
        "id": "CareTeam.identifier",
        "path": "CareTeam.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type.coding.code"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "1"
      },
      {
        "id": "CareTeam.identifier:medicoResourceId",
        "path": "CareTeam.identifier",
        "sliceName": "medicoResourceId",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": "http://medico-emr.net/stu3/sd/Identifier-medicoResourceId-1"
          }
        ]
      },
      {
        "id": "CareTeam.status",
        "path": "CareTeam.status",
        "definition": "Indicates the current state of the care team.\r\nmedico only provides active care teams, all other status values will not be delivered",
        "min": 1,
        "fixedCode": "active"
      },
      {
        "id": "CareTeam.category",
        "path": "CareTeam.category",
        "definition": "Identifies what kind of team.  This is to support differentiation between multiple co-existing teams, such as care plan team, episode of care team, longitudinal care team.\r\nmedico: not provided yet, could be x9034grt in future",
        "max": "0"
      },
      {
        "id": "CareTeam.name",
        "path": "CareTeam.name",
        "definition": "A label for human use intended to distinguish like teams.  E.g. the \"red\" vs. \"green\" trauma teams\r\nmedico: x8104cag.des",
        "min": 1
      },
      {
        "id": "CareTeam.subject",
        "path": "CareTeam.subject",
        "max": "0"
      },
      {
        "id": "CareTeam.context",
        "path": "CareTeam.context",
        "max": "0"
      },
      {
        "id": "CareTeam.period",
        "path": "CareTeam.period",
        "max": "0"
      },
      {
        "id": "CareTeam.participant",
        "path": "CareTeam.participant",
        "max": "0"
      },
      {
        "id": "CareTeam.reasonCode",
        "path": "CareTeam.reasonCode",
        "max": "0"
      },
      {
        "id": "CareTeam.reasonReference",
        "path": "CareTeam.reasonReference",
        "max": "0"
      },
      {
        "id": "CareTeam.managingOrganization",
        "path": "CareTeam.managingOrganization",
        "short": "ward responsible for the care team",
        "definition": "The ward responsible for the care team.",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://medico-emr.net/stu3/sd/Organization-Ward-1"
          }
        ]
      },
      {
        "id": "CareTeam.managingOrganization.id",
        "path": "CareTeam.managingOrganization.id",
        "max": "0"
      },
      {
        "id": "CareTeam.managingOrganization.reference",
        "path": "CareTeam.managingOrganization.reference",
        "definition": "relative reference to Organization/Ward-#####\r\nwhere #### is x8103wds.wds",
        "min": 1
      },
      {
        "id": "CareTeam.managingOrganization.identifier",
        "path": "CareTeam.managingOrganization.identifier",
        "max": "0"
      },
      {
        "id": "CareTeam.managingOrganization.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CareTeam.managingOrganization.display",
        "max": "0"
      },
      {
        "id": "CareTeam.note",
        "path": "CareTeam.note",
        "max": "0"
      }
    ]
  }
}