eHealth Infrastructure (v2019.5.1)

StructureDefinition: ehealth-appointment

Formal Views of Profile Content

The official URL for this profile is:

http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-appointment

This profile uses multiple slices for the field participant. The slicing means that at least one patient, one location and at least one practitioner must be present. For more info on slicing, see the FHIR documentation.

This profile builds on Appointment.

This profile was published on Thu May 16 12:32:10 UTC 2019 as a draft by ehealth.sundhed.dk.

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Appointment

Summary

Mandatory: 6 elements
Prohibited: 4 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Appointment.participant is sliced based on the value of type:actor.reference

 

Terminology Bindings

PathNameConformanceValueSet
Appointment.languageCommon LanguagesextensibleCommon Languages
Appointment.statusAppointmentStatusrequiredAppointmentStatus
Appointment.serviceCategoryServiceCategoryexampleServiceCategory
Appointment.serviceTypeServiceTypeexampleServiceType
Appointment.specialtyPractice Setting Code Value SetpreferredPractice Setting Code Value Set
Appointment.appointmentTypeAppointmentTypeCodesextensibleAppointmentTypeCodes
Appointment.reasonEncounter Reason CodespreferredEncounter Reason Codes
Appointment.participant.typeParticipantTypeextensibleParticipantType
Appointment.participant.requiredParticipantRequiredrequiredParticipantRequired
Appointment.participant.statusParticipationStatusrequiredParticipationStatus
Appointment.participant.requiredParticipantRequiredrequiredParticipantRequired
Appointment.participant.statusParticipationStatusrequiredParticipationStatus
Appointment.participant.requiredParticipantRequiredrequiredParticipantRequired
Appointment.participant.statusParticipationStatusrequiredParticipationStatus
Appointment.participant.requiredParticipantRequiredrequiredParticipantRequired
Appointment.participant.statusParticipationStatusrequiredParticipationStatus
Appointment.participant.requiredParticipantRequiredrequiredParticipantRequired
Appointment.participant.statusParticipationStatusrequiredParticipationStatus

Constraints

IdPathDetailsRequirements
dom-2AppointmentIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1AppointmentIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4AppointmentIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-3AppointmentIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
app-3AppointmentOnly proposed or cancelled appointments can be missing start/end dates
: (start.exists() and end.exists()) or (status in ('proposed' | 'cancelled'))
app-2AppointmentEither start and end are specified, or neither
: start.empty() xor end.exists()
ele-1Appointment.participantAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
app-1Appointment.participantEither the type or actor on the participant SHALL be specified
: type.exists() or actor.exists()
ele-1Appointment.participantAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
app-1Appointment.participantEither the type or actor on the participant SHALL be specified
: type.exists() or actor.exists()
ele-1Appointment.participantAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
app-1Appointment.participantEither the type or actor on the participant SHALL be specified
: type.exists() or actor.exists()
ele-1Appointment.participantAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
app-1Appointment.participantEither the type or actor on the participant SHALL be specified
: type.exists() or actor.exists()
ele-1Appointment.participantAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
app-1Appointment.participantEither the type or actor on the participant SHALL be specified
: type.exists() or actor.exists()
.