{
  "resourceType": "StructureDefinition",
  "id": "PLWlkpSchedulingSlot",
  "meta": {
    "lastUpdated": "2019-02-05T07:12:19.633+00:00"
  },
  "url": "http://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PLWlkpSchedulingSlot",
  "name": "PLWlkpSchedulingSlot",
  "status": "active",
  "date": "2019-01-15T09:30:30.3240534+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:patientProfile",
        "path": "Slot.extension",
        "sliceName": "patientProfile",
        "type": [
          {
            "code": "Extension",
            "profile": "http://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PLWlkpSchedulingExtPatientProfile"
          }
        ]
      },
      {
        "id": "Slot.extension:reimbursementType",
        "path": "Slot.extension",
        "sliceName": "reimbursementType",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PLWlkpSchedulingExtReimbursementType"
          }
        ]
      },
      {
        "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.serviceCategory.coding",
        "path": "Slot.serviceCategory.coding",
        "max": "0"
      },
      {
        "id": "Slot.serviceCategory.coding.version",
        "path": "Slot.serviceCategory.coding.version",
        "max": "0"
      },
      {
        "id": "Slot.serviceCategory.coding.userSelected",
        "path": "Slot.serviceCategory.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Slot.serviceCategory.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.serviceCategory.text",
        "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",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "service-type"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org.pl/fhir/ValueSet/icd-9-pl"
          }
        }
      },
      {
        "id": "Slot.serviceType.coding",
        "path": "Slot.serviceType.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Slot.serviceType.coding.system",
        "path": "Slot.serviceType.coding.system",
        "min": 1,
        "fixedUri": "urn:oid:2.16.840.1.113883.3.4424.11.2.6"
      },
      {
        "id": "Slot.serviceType.coding.version",
        "path": "Slot.serviceType.coding.version",
        "max": "0"
      },
      {
        "id": "Slot.serviceType.coding.code",
        "path": "Slot.serviceType.coding.code",
        "min": 1
      },
      {
        "id": "Slot.serviceType.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.serviceType.coding.display",
        "min": 1
      },
      {
        "id": "Slot.serviceType.coding.userSelected",
        "path": "Slot.serviceType.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Slot.serviceType.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.serviceType.text",
        "min": 1
      },
      {
        "id": "Slot.specialty",
        "path": "Slot.specialty",
        "short": "Specjalność komórki organizacyjnej",
        "definition": "Specjalność komórki organizacyjnej",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "specialty"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org.pl/fhir/ValueSet/specjalnosc-komorki-organizacyjnej"
          }
        }
      },
      {
        "id": "Slot.specialty.coding",
        "path": "Slot.specialty.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Slot.specialty.coding.system",
        "path": "Slot.specialty.coding.system",
        "min": 1,
        "fixedUri": "urn:oid:2.16.840.1.113883.3.4424.11.2.4"
      },
      {
        "id": "Slot.specialty.coding.version",
        "path": "Slot.specialty.coding.version",
        "max": "0"
      },
      {
        "id": "Slot.specialty.coding.code",
        "path": "Slot.specialty.coding.code",
        "min": 1
      },
      {
        "id": "Slot.specialty.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.specialty.coding.display",
        "min": 1
      },
      {
        "id": "Slot.specialty.coding.userSelected",
        "path": "Slot.specialty.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Slot.specialty.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.specialty.text",
        "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",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PLWlkpSchedulingExtPatientsPerSlot"
          }
        ]
      },
      {
        "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": "http://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PLWlkpSchedulingSchedule",
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Slot.schedule.reference",
        "path": "Slot.schedule.reference",
        "min": 1
      },
      {
        "id": "Slot.schedule.identifier",
        "path": "Slot.schedule.identifier",
        "max": "0"
      },
      {
        "id": "Slot.schedule.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.schedule.display",
        "max": "0"
      },
      {
        "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"
      }
    ]
  }
}