{
  "resourceType": "StructureDefinition",
  "id": "69c2d774-2eda-47dc-89ae-ea76764f26ca",
  "meta": {
    "lastUpdated": "2018-09-26T09:45:18.952+00:00"
  },
  "url": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PlWlkpSlot",
  "name": "PlWlkpSlot",
  "status": "active",
  "date": "2018-09-26T09:45:18.337+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Slot",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Slot",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Slot.extension",
        "path": "Slot.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Slot.extension:appointment",
        "path": "Slot.extension",
        "sliceName": "appointment",
        "short": "Rezerwacje dla danego slotu",
        "definition": "Rezerwacje dla danego slotu",
        "type": [
          {
            "code": "Extension",
            "profile": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PlWlkpExtSlotAppointment"
          }
        ]
      },
      {
        "id": "Slot.identifier",
        "path": "Slot.identifier",
        "short": "Identyfikator slotu",
        "definition": "Identyfikator slotu",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Slot.identifier.use",
        "path": "Slot.identifier.use",
        "max": "0"
      },
      {
        "id": "Slot.identifier.type",
        "path": "Slot.identifier.type",
        "max": "0"
      },
      {
        "id": "Slot.identifier.system",
        "path": "Slot.identifier.system",
        "min": 1
      },
      {
        "id": "Slot.identifier.value",
        "path": "Slot.identifier.value",
        "min": 1
      },
      {
        "id": "Slot.identifier.period",
        "path": "Slot.identifier.period",
        "max": "0"
      },
      {
        "id": "Slot.identifier.assigner",
        "path": "Slot.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Slot.serviceCategory",
        "path": "Slot.serviceCategory",
        "max": "0"
      },
      {
        "id": "Slot.serviceType",
        "path": "Slot.serviceType",
        "short": "Kody usług realizowanych w obrębie danego slotu",
        "definition": "Kody usług realizowanych w obrębie danego slotu",
        "max": "0"
      },
      {
        "id": "Slot.specialty",
        "path": "Slot.specialty",
        "short": "Specjalność komórki organizacyjnej",
        "definition": "Specjalność komórki organizacyjnej",
        "max": "0"
      },
      {
        "id": "Slot.appointmentType",
        "path": "Slot.appointmentType",
        "short": "Nazwa typu rezerwacji jaka może być zrealizowana",
        "definition": "Nazwa typu rezerwacji jaka może być zrealizowana"
      },
      {
        "id": "Slot.appointmentType.extension",
        "path": "Slot.appointmentType.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Slot.appointmentType.extension:patientsPerSlot",
        "path": "Slot.appointmentType.extension",
        "sliceName": "patientsPerSlot",
        "short": "Optional Extensions Element",
        "definition": "Optional Extension Element - found in all resources.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PlWlkpExtPatientsPerSlot"
          }
        ]
      },
      {
        "id": "Slot.appointmentType.coding",
        "path": "Slot.appointmentType.coding",
        "max": "0"
      },
      {
        "id": "Slot.appointmentType.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.appointmentType.text",
        "min": 1
      },
      {
        "id": "Slot.schedule",
        "path": "Slot.schedule",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PlWlkpSchedule",
            "aggregation": [
              "referenced",
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "Slot.overbooked",
        "path": "Slot.overbooked",
        "max": "0"
      },
      {
        "id": "Slot.comment",
        "path": "Slot.comment",
        "short": "Komentarz zawierający dodatkowe informacje dotyczące slotu",
        "definition": "Komentarz zawierający dodatkowe informacje dotyczące slotu"
      }
    ]
  }
}