eHealth Infrastructure
3.0.0 - release

eHealth Infrastructure - Local Development build (v3.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: ehealth-appointment - Detailed Descriptions

Active as of 2024-05-16

Definitions for the ehealth-appointment resource profile.

Guidance on how to interpret the contents of this table can be found here

0. Appointment
Invariantsresponsible-1: Ensuring that responsible entity is a participating party ((extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-responsible').value.reference in participant.extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-ext-careteam').value.reference) or (extension('http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-responsible').value.reference in participant.actor.reference))
single-patient-appointment: Only a single patient is allowed pr. appointment (participant.actor.where(reference.contains('/Patient')).count() < 2)
2. Appointment.extension
Control1..?
SlicingThis element introduces a set of slices on Appointment.extension. The slices are unordered and Open, and can be differentiated using the following discriminators:
  • value @ url
4. Appointment.extension:responsible
Slice Nameresponsible
Control1..1
TypeExtension(Responsible) (Extension Type: Reference(ehealth-careteam, ehealth-practitioner)referenced)
6. Appointment.extension:groupId
Slice NamegroupId
Control0..1
TypeExtension(Group id) (Extension Type: string)
8. Appointment.extension:legalBasis
Slice NamelegalBasis
Control0..1
TypeExtension(Legal basis) (Extension Type: CodeableConcept)
Invariantsgovernance-1: When extension is used a Episode of Care MUST be referenced (%resource.supportingInformation.reference.contains('EpisodeOfCare/'))
responsible-2: Both performing organization and responsible organization must be populated when legal basis is used (%resource.extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-performing-organization').exists() and %resource.extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-responsible-organization').exists())
10. Appointment.extension:releasableResource
Slice NamereleasableResource
Control0..1
TypeExtension(Releasable resource) (Extension Type: boolean)
12. Appointment.extension:responsibleOrganization
Slice NameresponsibleOrganization
Control0..1
TypeExtension(Responsible organization) (Extension Type: Reference(ehealth-organization)referenced)
14. Appointment.extension:performer
Slice Nameperformer
Control0..1
TypeExtension(Performer) (Extension Type: Reference(ehealth-careteam, ehealth-practitioner)referenced)
16. Appointment.extension:performingOrganization
Slice NameperformingOrganization
Control0..1
TypeExtension(Performing organization) (Extension Type: Reference(ehealth-organization)referenced)
18. Appointment.serviceType
Control1..?
SlicingThis element introduces a set of slices on Appointment.serviceType. The slices are unordered and Open, and can be differentiated using the following discriminators:
  • value @ coding.code
20. Appointment.serviceType:appointmentType
Slice NameappointmentType
Control1..1
22. Appointment.serviceType:appointmentType.coding
BindingThe codes SHALL be taken from Appointment Service Type
(required to http://ehealth.sundhed.dk/vs/appointment-servicetype
24. Appointment.serviceType:appointmentType.coding.code
Control1..?
Fixed Valueregular
26. Appointment.appointmentType
Control1..?
BindingThe codes SHALL be taken from Appointment Type Codes
(required to http://ehealth.sundhed.dk/vs/appointmenttype-codes
28. Appointment.reasonCode
Control0..1
BindingThe codes SHALL be taken from Appointment Reason
(required to http://ehealth.sundhed.dk/vs/appointment-reason
30. Appointment.supportingInformation
Control0..1
TypeReference(ehealth-episodeofcare, ehealth-careplan)referenced
32. Appointment.participant
Control2..?
34. Appointment.participant.extension
SlicingThis element introduces a set of slices on Appointment.participant.extension. The slices are unordered and Open, and can be differentiated using the following discriminators:
  • value @ url
36. Appointment.participant.extension:careteam
Slice Namecareteam
Control0..1
TypeExtension(Careteam) (Extension Type: Reference(ehealth-careteam)referenced)
38. Appointment.participant.actor
TypeReference(ehealth-patient, ehealth-practitioner, ehealth-relatedperson, Location)referenced, contained