GetScheduleContext
type: OperationDefinition
node role: treeRoot
id:
  v: GetScheduleContext
text:
  status:
    v: generated
  div:
    v: Generated Narrative: OperationDefinition GetScheduleContext URL: [base]/Schedule/$get-schedule-context Output parameters Profile:WOF Connect GetScheduleContext Operation Response Parameters Use Name Scope Cardinality Type Binding Documentation IN period-start 0..1 dateTime Start of the requested time period (used for Slots and filtering scheduled context). IN period-end 0..1 dateTime End of the requested time period. IN healthcare-service 0..* Reference (Wof Connect HealthcareService) Restrict the query to specific HealthcareService resources. IN actor 0..* Reference (Wof Connect PractitionerRole, Wof Connect Practitioner, Wof Connect Economy Organization) Filter on specific actors referenced by Schedule.actor. OUT return 1..1 Bundle A Bundle containing Schedule, Slot, Actor, and ActivityDefinition resources that are actually scheduled within the requested period. The Bundle SHALL conform to the WofConnectScheduleContextOperationResponse profile.
url:
  v: http://canonical.fhir.link/servicewell/wof-connect/OperationDefinition/GetScheduleContext
  l: GetScheduleContext
version:
  v: 0.1.3
name:
  v: GetScheduleContext
title:
  v: Get Schedule Context
status:
  v: active
kind:
  v: operation
date:
  v: 2026-04-02T09:20:58+00:00
publisher:
  v: Service Well AB
contact:
  name:
    v: Service Well AB
  telecom:
    system:
      v: url
    value:
      v: https://servicewell.se
  telecom:
    system:
      v: email
description:
  v: Returns a Bundle containing Schedule resources together with related actors and activity definitions for a given period. Only resources that are actually scheduled are included.
affects state:
  v: false
code:
  v: get-schedule-context
resource:
  v: Schedule
system:
  v: false
type:
  v: true
instance:
  v: false
output profile:
  v: http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-schedule-context-operation-response
  l: wof-connect-schedule-context-operation-response
parameter:
  name:
    v: period-start
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  documentation:
    v: Start of the requested time period (used for Slots and filtering scheduled context).
  type:
    v: dateTime
parameter:
  name:
    v: period-end
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  documentation:
    v: End of the requested time period.
  type:
    v: dateTime
parameter:
  name:
    v: healthcare-service
  use:
    v: in
  min:
    v: 0
  max:
    v: *
  documentation:
    v: Restrict the query to specific HealthcareService resources.
  type:
    v: Reference
  target profile:
    v: http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-healthcareservice
    l: wof-connect-healthcareservice
parameter:
  name:
    v: actor
  use:
    v: in
  min:
    v: 0
  max:
    v: *
  documentation:
    v: Filter on specific actors referenced by Schedule.actor.
  type:
    v: Reference
  target profile:
    v: http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-practitionerrole
    l: wof-connect-practitionerrole
  target profile:
    v: http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-practitioner
    l: wof-connect-practitioner
  target profile:
    v: http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-billing-organization
    l: wof-connect-billing-organization
parameter:
  name:
    v: return
  use:
    v: out
  min:
    v: 1
  max:
    v: 1
  documentation:
    v: A Bundle containing Schedule, Slot, Actor, and ActivityDefinition resources that are actually scheduled within the requested period. The Bundle SHALL conform to the WofConnectScheduleContextOperationResponse profile.
  type:
    v: Bundle