{
  "resourceType": "StructureDefinition",
  "id": "dfd0fd04-c78b-4a49-9b02-dc03ac80464d",
  "meta": {
    "lastUpdated": "2018-09-28T17:20:40.62+00:00"
  },
  "url": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PlWlkpSlotBundle",
  "name": "PlWlkpScheduleWithSlotsBundle",
  "status": "active",
  "date": "2018-09-28T17:20:39.093+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.identifier",
        "path": "Bundle.identifier",
        "max": "0"
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "fixedCode": "transaction"
      },
      {
        "id": "Bundle.total",
        "path": "Bundle.total",
        "max": "0"
      },
      {
        "id": "Bundle.link",
        "path": "Bundle.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "resource"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:scheduleEntry",
        "path": "Bundle.entry",
        "sliceName": "scheduleEntry",
        "min": 1
      },
      {
        "id": "Bundle.entry:scheduleEntry.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:scheduleEntry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "max": "0"
      },
      {
        "id": "Bundle.entry:scheduleEntry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PlWlkpSchedule"
          }
        ]
      },
      {
        "id": "Bundle.entry:scheduleEntry.resource.actor",
        "path": "Bundle.entry.resource.actor",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "reference"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Bundle.entry:scheduleEntry.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:scheduleEntry.search.mode",
        "path": "Bundle.entry.search.mode",
        "max": "0"
      },
      {
        "id": "Bundle.entry:scheduleEntry.search.score",
        "path": "Bundle.entry.search.score",
        "max": "0"
      },
      {
        "id": "Bundle.entry:scheduleEntry.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:scheduleEntry.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:slotEntry",
        "path": "Bundle.entry",
        "sliceName": "slotEntry",
        "min": 1
      },
      {
        "id": "Bundle.entry:slotEntry.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:slotEntry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "max": "0"
      },
      {
        "id": "Bundle.entry:slotEntry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PlWlkpSlot"
          }
        ]
      },
      {
        "id": "Bundle.entry:slotEntry.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:slotEntry.search.mode",
        "path": "Bundle.entry.search.mode",
        "max": "0"
      },
      {
        "id": "Bundle.entry:slotEntry.search.score",
        "path": "Bundle.entry.search.score",
        "max": "0"
      },
      {
        "id": "Bundle.entry:slotEntry.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:slotEntry.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.signature",
        "path": "Bundle.signature",
        "max": "0"
      }
    ]
  }
}