This page is part of the FUT Infrastructure (v10.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
| Official URL: http://ehealth.sundhed.dk/fhir/OperationDefinition/Appointment-send-message | Version: 10.0.0 | |||
| Active as of 2026-08-06 | Computable Name: Appointment-send-message | |||
Sends a message to a RelatedPerson associated with a video appointment (ehealth-videoappointment or ehealth-group-videoappointment) via the specified channel. The recipient must be a RelatedPerson listed as a participant on the target Appointment. The created ehealth-message resource is system-generated; its sender is a contained Device representing the issuing system.
URL: [base]/Appointment/[id]/$send-message
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | recipient | 1..1 | Reference (ehealth-relatedperson) | The related person to receive the message. Must be listed as a participant on the target Appointment. | ||
| IN | channel | 1..1 | code | eHealth Message Channel (Required) | The channel to use when sending the message. | |
| OUT | return | 1..1 | Communication | The created Communication resource, conforming to the ehealth-message profile. |
The following preconditions must be satisfied — otherwise the operation returns HTTP 400 Bad Request with an OperationOutcome describing the violated rule:
Appointment.meta.profile is ehealth-videoappointment or ehealth-group-videoappointment.Appointment.status is booked or pending.recipient RelatedPerson is on Appointment.participant[] with status accepted, tentative, or needs-action.RelatedPerson.active = true.RelatedPerson.period has begun and has not ended.RelatedPerson.telecom[] has exactly one element with system = sms and an ehealth-telecom-purpose extension bound to video-appointment-reminder-sms.The operation is synchronous and idempotent only from the FHIR caller's point of view: every successful call dispatches a new outbound message and creates a new Communication. The returned Communication has status = completed on successful dispatch or status = stopped when the downstream gateway rejected the send (the resource is still persisted so the failed attempt is auditable).