{
  "resourceType": "StructureDefinition",
  "id": "fb74d11b-be94-44f8-bc2e-7784c2831e73",
  "meta": {
    "lastUpdated": "2020-10-08T12:36:50.56+00:00"
  },
  "url": "https://fhir.cambio.se/StructureDefinition/ScheduleCoreSe",
  "name": "ScheduleCoreSe",
  "status": "draft",
  "date": "2020-09-09T12:52:10.0363434+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "ical",
      "uri": "http://ietf.org/rfc/2445",
      "name": "iCalendar"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Schedule",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Schedule",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Schedule.identifier",
        "path": "Schedule.identifier",
        "comment": "Removed, not supported in COSMIC",
        "max": "0"
      },
      {
        "id": "Schedule.active",
        "path": "Schedule.active",
        "max": "0"
      },
      {
        "id": "Schedule.actor",
        "path": "Schedule.actor",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type"
            }
          ],
          "rules": "open"
        },
        "comment": "Location can not be used for unit but canbe used to describe for example rooms."
      },
      {
        "id": "Schedule.actor:practitioner",
        "path": "Schedule.actor",
        "sliceName": "practitioner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          }
        ]
      },
      {
        "id": "Schedule.actor:practitioner.type",
        "path": "Schedule.actor.type",
        "min": 1,
        "fixedUri": "Practitioner"
      },
      {
        "id": "Schedule.actor:practitionerRole",
        "path": "Schedule.actor",
        "sliceName": "practitionerRole",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
            ]
          }
        ]
      },
      {
        "id": "Schedule.actor:practitionerRole.type",
        "path": "Schedule.actor.type",
        "min": 1,
        "fixedUri": "PractitionerRole"
      },
      {
        "id": "Schedule.actor:healthcareService",
        "path": "Schedule.actor",
        "sliceName": "healthcareService",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/HealthcareService"
            ]
          }
        ]
      },
      {
        "id": "Schedule.actor:healthcareService.type",
        "path": "Schedule.actor.type",
        "min": 1,
        "fixedUri": "HealthcareService"
      },
      {
        "id": "Schedule.actor:device",
        "path": "Schedule.actor",
        "sliceName": "device",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Device"
            ]
          }
        ]
      },
      {
        "id": "Schedule.actor:device.type",
        "path": "Schedule.actor.type",
        "min": 1,
        "fixedUri": "Device"
      },
      {
        "id": "Schedule.actor:location",
        "path": "Schedule.actor",
        "sliceName": "location",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          }
        ]
      },
      {
        "id": "Schedule.actor:location.type",
        "path": "Schedule.actor.type",
        "min": 1,
        "fixedUri": "Location"
      }
    ]
  }
}