eHealth Infrastructure
2.8.0 - Release 16

eHealth Infrastructure - Local Development build (v2.8.0). See the Directory of published versions

Resource Profile: ehealth-appointment - Detailed Descriptions

Active as of 2023-05-17

Definitions for the ehealth-appointment resource profile.

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

1. Appointment
InvariantsDefined on this element
responsible-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
Control10..*
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
3. Appointment.extension:responsible
SliceNameresponsible
Control1..1
TypeExtension(ehealth-responsible) (Extension Type: Reference(ehealth-careteam|ehealth-practitioner) : {r})
4. Appointment.extension:groupId
SliceNamegroupId
Control0..1
TypeExtension(ehealth-group-id) (Extension Type: string)
5. Appointment.extension:legalBasis
SliceNamelegalBasis
Control0..1
TypeExtension(ehealth-legalBasis) (Extension Type: CodeableConcept)
InvariantsDefined on this element
governance-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())
6. Appointment.extension:releasableResource
SliceNamereleasableResource
Control0..1
TypeExtension(ehealth-releasableResource) (Extension Type: boolean)
7. Appointment.extension:responsibleOrganization
SliceNameresponsibleOrganization
Control0..1
TypeExtension(ehealth-responsible-organization) (Extension Type: Reference(ehealth-organization) : {r})
8. Appointment.extension:performer
SliceNameperformer
Control0..1
TypeExtension(ehealth-performer) (Extension Type: Reference(ehealth-careteam|ehealth-practitioner) : {r})
9. Appointment.extension:performingOrganization
SliceNameperformingOrganization
Control0..1
TypeExtension(ehealth-performing-organization) (Extension Type: Reference(ehealth-organization) : {r})
10. Appointment.serviceType
Control10..*
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
11. Appointment.serviceType:appointmentType
SliceNameappointmentType
Control1..1
12. Appointment.serviceType:appointmentType.coding
Control0..?
BindingThe codes SHALL be taken from Appointment Service Type
13. Appointment.serviceType:appointmentType.coding.code
Control1..?
Fixed Valueregular
14. Appointment.appointmentType
Control10..1
BindingThe codes SHALL be taken from Appointment Type CodesThe codes SHOULD be taken from hl7VS-appointmentReasonCodes
15. Appointment.reasonCode
Control0..1*
BindingThe codes SHALL be taken from Appointment ReasonThe codes SHOULD be taken from EncounterReasonCodes
16. Appointment.supportingInformation
Control0..1*
TypeReference(ehealth-episodeofcare|ehealth-careplan|Resource) : {r}
17. Appointment.participant
Control21..*
18. 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
19. Appointment.participant.extension:careteam
SliceNamecareteam
Control0..1
TypeExtension(ehealth-ext-careteam) (Extension Type: Reference(ehealth-careteam) : {r})
20. Appointment.participant.actor
TypeReference(ehealth-patient|ehealth-practitioner|ehealth-relatedperson|Location|Patient|Practitioner|PractitionerRole|RelatedPerson|Device|HealthcareService) : {r}, {c}