PackagesCanonicalsLogsProblems
    Packages
    myhie.v4@1.0.0
    http://fhir.hie.moh.gov.my/StructureDefinition/Slot-my-core
description: A slot of time on a schedule that may be available for booking appointments.
package_name: myhie.v4
derivation: constraint
name: SlotMyCore
type: Slot
elements:
  extension:
    index: 0
    slicing:
      slices:
        slotQuota:
          match: {}
          schema: {isModifier: false, short: Extension about the maximum quota allocated for a slot, type: Extension, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/slot-quota-my-core', index: 1}
          min: 1
          max: 1
  serviceCategory:
    binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core'}
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: coding.system, type: value}
      min: 1
      slices:
        encounterClass:
          match:
            coding: {system: 'http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core'}
          schema:
            binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core'}
            index: 3
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core'}
                    index: 4
        serviceRequestCategory:
          match:
            coding: {system: 'http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core'}
          schema:
            binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core'}
            index: 5
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core'}
                    index: 6
  serviceType:
    binding: {strength: extensible, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core'}
    index: 7
  specialty:
    binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/specialty-my-core'}
    index: 8
  appointmentType:
    binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/schedule-type-my-core'}
    index: 9
  schedule:
    type: Reference
    refers: ['http://fhir.hie.moh.gov.my/StructureDefinition/Schedule-my-core']
    index: 10
package_version: 1.0.0
extensions:
  slotQuota: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/slot-quota-my-core', min: 1, max: 1, isModifier: false, short: Extension about the maximum quota allocated for a slot, type: Extension, index: 1}
class: profile
kind: resource
url: http://fhir.hie.moh.gov.my/StructureDefinition/Slot-my-core
base: http://hl7.org/fhir/StructureDefinition/Slot
version: 1.0.1
required: [specialty, serviceType, extension, appointmentType, serviceCategory]