PackagesCanonicalsLogsProblems
    Packages
    servicewell.fhir.wof-portal@1.0.0
    https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/portal-available-appointment
description: 'The public API model for ''Available Appointments''  \nAppointment representation of an available appointment.\n Inherits IHE Scheduling Appointment.  '
package_name: servicewell.fhir.wof-portal
derivation: constraint
name: PortalAvailableAppointment
type: Appointment
elements:
  serviceCategory: {index: 15}
  meta:
    elements:
      versionId: {index: 0}
      profile:
        pattern: {type: Canonical, value: 'https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/portal-available-appointment'}
        index: 1
  requestedPeriod:
    elements:
      start: {index: 27}
      end: {index: 28}
    required: [start, end]
  reasonCode: {index: 20}
  participant:
    index: 22
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: actor, type: type}
      min: null
      slices:
        healthcareService:
          match: {}
          schema:
            index: 23
            elements:
              actor:
                type: Reference
                refers: ['https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/healthcare-service-portal']
                index: 24
        practitionerRole:
          match: {}
          schema:
            index: 25
            elements:
              actor:
                type: Reference
                refers: ['https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/practitioner-role-portal']
                index: 26
  serviceType:
    index: 16
    elements:
      coding:
        index: 17
        elements:
          system: {index: 18}
          code: {index: 19}
        required: [system, code]
    required: [coding]
  extension:
    index: 2
    slicing:
      slices:
        activityDefinitionReference:
          match: {}
          schema: {type: Extension, short: Reference to related service definition, url: 'https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/activity-definition-reference', index: 3}
          min: 1
          max: 1
  status:
    pattern: {type: Code, value: proposed}
    index: 14
  comment: {index: 21}
  identifier:
    array: true
    min: 2
    index: 4
    elements:
      type: {index: 5}
    slicing:
      rules: open
      discriminator:
      - {path: type.text, type: value}
      min: 2
      slices:
        sourceSystemIdentifier:
          match:
            type: {text: source systems appointment concept}
          schema:
            _required: true
            index: 6
            elements:
              type:
                elements:
                  text:
                    pattern: {type: String, value: source systems appointment concept}
                    index: 7
                required: [text]
              system: {short: Identifier-based reference to the Appointment concept in the source system., mustSupport: true, index: 8}
              value: {short: Source systems identifier for the appointment, mustSupport: true, index: 9}
            required: [value, system]
        slot-id:
          match:
            type: {text: id for the available slot}
          schema:
            mustSupport: true
            _required: true
            index: 10
            elements:
              type:
                elements:
                  text:
                    pattern: {type: String, value: id for the available slot}
                    index: 11
                required: [text]
              system:
                pattern: {type: Uri, value: 'http://canonical.fhir.link/servicewell/wof-connect/identifiercodesystem/slot-id'}
                index: 12
              value: {mustSupport: true, index: 13}
            required: [value]
package_version: 1.0.0
extensions:
  activityDefinitionReference: {url: 'https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/activity-definition-reference', min: 1, max: 1, type: Extension, short: Reference to related service definition, index: 3}
class: profile
kind: resource
url: https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/portal-available-appointment
base: https://canonical.fhir.link/servicewell/wof-base/StructureDefinition/wof-base-appointment
version: 1.0.0
required: [serviceType, extension]