{
  "resourceType": "StructureDefinition",
  "id": "Slot-id-core",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2023-01-03T23:21:59.6456707+00:00"
  },
  "url": "http://fhir.hie.moh.gov.id/StructureDefinition/Slot-id-core",
  "version": "1.0.1",
  "name": "SlotIdCore",
  "title": "Slot (ID Core)",
  "status": "active",
  "date": "2023-06-07T07:16:10.3933867+00:00",
  "description": "A slot of time on a schedule that may be available for booking appointments.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Slot",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Slot",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Slot.extension",
        "path": "Slot.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Slot.extension:slotQuota",
        "path": "Slot.extension",
        "sliceName": "slotQuota",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/slot-quota-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Slot.serviceCategory",
        "path": "Slot.serviceCategory",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "service-category"
            }
          ],
          "strength": "extensible",
          "valueSet": "http://fhir.hie.moh.gov.id/ValueSet/encounter-class-id-core"
        }
      },
      {
        "id": "Slot.serviceType",
        "path": "Slot.serviceType",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "service-type"
            }
          ],
          "strength": "extensible",
          "valueSet": "http://fhir.hie.moh.gov.id/ValueSet/service-type-id-core"
        }
      },
      {
        "id": "Slot.specialty",
        "path": "Slot.specialty",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "specialty"
            }
          ],
          "strength": "preferred",
          "valueSet": "http://fhir.hie.moh.gov.id/ValueSet/specialty-id-core"
        }
      },
      {
        "id": "Slot.appointmentType",
        "path": "Slot.appointmentType",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "appointment-type"
            }
          ],
          "strength": "required",
          "valueSet": "http://fhir.hie.moh.gov.id/ValueSet/schedule-type-id-core"
        }
      },
      {
        "id": "Slot.schedule",
        "path": "Slot.schedule",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/Schedule-id-core"
            ]
          }
        ]
      }
    ]
  }
}