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-group-appointment - Detailed Descriptions

Active as of 2024-05-16

Definitions for the ehealth-group-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))
max-participants: Too many intended participants (extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-max-participants').exists() implies participant.actor.where(reference.startsWith('#').not()).count() <= extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-max-participants').valueInteger)
min-participants: Too few intended participants (extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-min-participants').exists() implies participant.actor.where(reference.startsWith('#').not()).count() >= extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-min-participants').valueInteger)
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.extension:creator
Slice Namecreator
Control0..1
TypeExtension(Creator) (Extension Type: Reference(ehealth-careteam)referenced)
20. Appointment.extension:intendedAudience
Slice NameintendedAudience
Control0..*
TypeExtension(Intended audience) (Extension Type: Reference(ehealth-organization)referenced)
22. Appointment.extension:registrationDeadline
Slice NameregistrationDeadline
Control0..1
TypeExtension(Registration deadline) (Extension Type: dateTime)
24. 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
26. Appointment.serviceType:appointmentType
Slice NameappointmentType
Control1..1
28. Appointment.serviceType:appointmentType.coding
BindingThe codes SHALL be taken from Appointment Service Type
(required to http://ehealth.sundhed.dk/vs/appointment-servicetype
30. Appointment.serviceType:appointmentType.coding.code
Control1..?
Fixed Valuegroup
32. Appointment.appointmentType
Control1..?
BindingThe codes SHALL be taken from Appointment Type Codes
(required to http://ehealth.sundhed.dk/vs/appointmenttype-codes
34. Appointment.reasonCode
Control0..1
BindingThe codes SHALL be taken from Appointment Reason
(required to http://ehealth.sundhed.dk/vs/appointment-reason
36. Appointment.supportingInformation
Control0..1
TypeReference(ehealth-episodeofcare, ehealth-careplan)referenced
38. Appointment.participant
40. Appointment.participant.extension
Control1..?
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
42. Appointment.participant.extension:careteam
Slice Namecareteam
Control0..1
TypeExtension(Careteam) (Extension Type: Reference(ehealth-careteam)referenced)
44. Appointment.participant.extension:assigningCareteam
Slice NameassigningCareteam
Control1..1
TypeExtension(Assigning careteam) (Extension Type: Reference(ehealth-careteam))
46. Appointment.participant.actor
TypeReference(ehealth-patient, ehealth-practitioner, ehealth-relatedperson, Location)referenced, contained