{
  "resourceType": "StructureDefinition",
  "id": "PLSchedulingSlot",
  "meta": {
    "lastUpdated": "2020-06-01T07:54:19.796+00:00"
  },
  "url": "http://hl7.org.pl/fhir/StructureDefinition/PLSchedulingSlot",
  "name": "PLSchedulingSlot",
  "status": "draft",
  "experimental": false,
  "date": "2020-06-01T06:52:11.1530559+00:00",
  "copyright": "HL7 Poland (2020)",
  "fhirVersion": "4.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://hl7.org.pl/fhir/StructureDefinition/PLSchedulingExtPatientProfile"
            ]
          }
        ]
      },
      {
        "id": "Slot.extension:patientProfile.extension:patientGender",
        "path": "Slot.extension.extension",
        "sliceName": "patientGender",
        "max": "1"
      },
      {
        "id": "Slot.extension:patientProfile.extension:patientAgeFrom",
        "path": "Slot.extension.extension",
        "sliceName": "patientAgeFrom",
        "max": "1"
      },
      {
        "id": "Slot.extension:patientProfile.extension:patientAgeTo",
        "path": "Slot.extension.extension",
        "sliceName": "patientAgeTo",
        "max": "1"
      },
      {
        "id": "Slot.extension:reimbursementType",
        "path": "Slot.extension",
        "sliceName": "reimbursementType",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org.pl/fhir/StructureDefinition/PLSchedulingExtReimbursementType"
            ]
          }
        ]
      },
      {
        "id": "Slot.identifier",
        "path": "Slot.identifier",
        "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",
        "min": 1
      },
      {
        "id": "Slot.serviceCategory.coding",
        "path": "Slot.serviceCategory.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Slot.serviceCategory.coding.system",
        "path": "Slot.serviceCategory.coding.system",
        "min": 1
      },
      {
        "id": "Slot.serviceCategory.coding.version",
        "path": "Slot.serviceCategory.coding.version",
        "max": "0"
      },
      {
        "id": "Slot.serviceCategory.coding.code",
        "path": "Slot.serviceCategory.coding.code",
        "min": 1
      },
      {
        "id": "Slot.serviceCategory.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.serviceCategory.coding.display",
        "min": 1
      },
      {
        "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",
        "min": 1
      },
      {
        "id": "Slot.serviceType.coding",
        "path": "Slot.serviceType.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Slot.serviceType.coding.system",
        "path": "Slot.serviceType.coding.system",
        "max": "0"
      },
      {
        "id": "Slot.serviceType.coding.code",
        "path": "Slot.serviceType.coding.code",
        "max": "0"
      },
      {
        "id": "Slot.serviceType.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.serviceType.coding.display",
        "max": "0"
      },
      {
        "id": "Slot.serviceType.coding:icd9plCoding",
        "path": "Slot.serviceType.coding",
        "sliceName": "icd9plCoding",
        "max": "1"
      },
      {
        "id": "Slot.serviceType.coding:icd9plCoding.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:icd9plCoding.version",
        "path": "Slot.serviceType.coding.version",
        "max": "0"
      },
      {
        "id": "Slot.serviceType.coding:icd9plCoding.code",
        "path": "Slot.serviceType.coding.code",
        "min": 1
      },
      {
        "id": "Slot.serviceType.coding:icd9plCoding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.serviceType.coding.display",
        "min": 1
      },
      {
        "id": "Slot.serviceType.coding:icd9plCoding.userSelected",
        "path": "Slot.serviceType.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Slot.serviceType.coding:otherCoding",
        "path": "Slot.serviceType.coding",
        "sliceName": "otherCoding"
      },
      {
        "id": "Slot.serviceType.coding:otherCoding.system",
        "path": "Slot.serviceType.coding.system",
        "min": 1
      },
      {
        "id": "Slot.serviceType.coding:otherCoding.code",
        "path": "Slot.serviceType.coding.code",
        "min": 1
      },
      {
        "id": "Slot.serviceType.coding:otherCoding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.serviceType.coding.display",
        "min": 1
      },
      {
        "id": "Slot.serviceType.coding:otherCoding.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.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.3.3"
      },
      {
        "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.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://hl7.org.pl/fhir/StructureDefinition/PLSchedulingExtPatientsPerSlot"
            ]
          }
        ]
      },
      {
        "id": "Slot.appointmentType.coding.system",
        "path": "Slot.appointmentType.coding.system",
        "min": 1
      },
      {
        "id": "Slot.appointmentType.coding.code",
        "path": "Slot.appointmentType.coding.code",
        "min": 1
      },
      {
        "id": "Slot.appointmentType.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Slot.appointmentType.coding.display",
        "min": 1
      },
      {
        "id": "Slot.appointmentType.coding.userSelected",
        "path": "Slot.appointmentType.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Slot.schedule",
        "path": "Slot.schedule",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org.pl/fhir/StructureDefinition/PLSchedulingSchedule"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Slot.schedule.reference",
        "path": "Slot.schedule.reference",
        "min": 1
      },
      {
        "id": "Slot.schedule.type",
        "path": "Slot.schedule.type",
        "max": "0"
      },
      {
        "id": "Slot.overbooked",
        "path": "Slot.overbooked",
        "max": "0"
      }
    ]
  }
}