ERA FHIR specification
1.0.0 - draft
ERA FHIR specification - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentAppointment | Version: 1.0.0 | |||
| Draft as of 2025-10-27 | Computable Name: AppointmentAppointment | |||
Appointment profile used in appointment booking.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Appointment | Appointment information Constraints: app-2, app-3, app-4, PTA-APP-1, PTA-APP-2, PTA-APP-3, PTA-APP-4 | ||||
![]() ![]() |
0..1 | id | Unique identifier of the appointment | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentAppointment (no extensions allowed) | |||||
![]() ![]() ![]() |
0..* | Coding | Display of appointment information Binding: fipta-vs-visible (required) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Code value for information on disclosure of a minor's data to guardians | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
1..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
1..1 | Narrative | Appointment information to be presented in display form This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() |
0..1 | url | Link for joining the remote service URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/RemoteServiceURL | |||||
![]() ![]() ![]() |
0..1 | string | Additional information on further care or the service process URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/ServiceAdditionalInformation | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Reason for the appointment booking URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentReason | |||||
![]() ![]() ![]() |
0..1 | Identifier | Identifier of the plan related to the appointment URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/CareplanIdentifier | |||||
![]() ![]() ![]() |
0..* | Coding | Reminder method URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/NotificationMedium Binding: fipta-vs-notificationmedium (required) | |||||
![]() ![]() ![]() |
0..* | (Complex) | Identification details of the customer's service pathway URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/CustomerJourney | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Web address of the e-service and information on the possibility to act on behalf of another person URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/SelfServiceInfo | |||||
![]() ![]() ![]() |
0..1 | dateTime | Deadline for cancellation or rescheduling URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter | |||||
![]() ![]() ![]() |
0..1 | string | Queue number URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/QueueNo | |||||
![]() ![]() ![]() |
0..1 | string | Ticket number URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/TicketNo | |||||
![]() ![]() ![]() |
0..* | Identifier | Sub-appointment identifier URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/ChildAppointment | |||||
![]() ![]() ![]() |
0..* | url | Additional information address URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AdditionalInformationURL | |||||
![]() ![]() ![]() |
0..1 | Coding | Gender of the service provider URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/PractitionerGender Binding: fipta-vs-gender (required) | |||||
![]() ![]() ![]() |
0..1 | dateTime | Date and time by which the appointment is instructed to be made at the latest URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | Identifier | Appointment identifier | |||||
![]() ![]() ![]() |
1..1 | uri | Namespace defined by the organization Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() |
1..1 | string | Appointment identifier Example General: 123456 | |||||
![]() ![]() |
1..1 | code | proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist Binding: fipta-vs-appointmentstatus (required) | |||||
![]() ![]() |
0..1 | CodeableConcept | Reason for cancellation of the appointment Binding: fipta-vs-cancelationreason (required) | |||||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Code value for the reason why the appointment was cancelled | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Reason why the appointment was cancelled | |||||
![]() ![]() |
0..1 | instant | Start time of the appointment time interval | |||||
![]() ![]() |
0..1 | instant | End time of the appointment time interval | |||||
![]() ![]() |
0..1 | string | Additional information | |||||
![]() ![]() |
0..1 | string | Patient instruction | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..* | url | Link to patient instructions URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/PatientInstructionURL | |||||
![]() ![]() |
0..* | Reference(ServiceRequest) | Identifier of the referral or request related to the appointment | |||||
![]() ![]() ![]() |
1..1 | Identifier | Identifier of the referral or request related to the appointment | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace defined by the organization Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Referral or request identifier Example General: 123456 | |||||
![]() ![]() |
C | 1..* | BackboneElement | Participants involved in appointment Slice: Unordered, Closed by value:type.coding.code Constraints: app-1 Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. | |||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Customer Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Customer for whom the appointment has been booked. Binding: fipta-vs-appointmenttypecategory (required) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 1 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentPatient) {c} | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted (no extensions allowed) | |||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Healthcare service Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Healthcare service Binding: fipta-vs-appointmenttypecategory (required) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 2 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentHealthcareService) {c} | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted (no extensions allowed) | |||||
![]() ![]() ![]() |
C | 0..1 | BackboneElement | Service point location Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Service point location details Binding: fipta-vs-appointmenttypecategory (required) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 3 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentLocation) {c} | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted (no extensions allowed) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Appointment.meta.security | Base | required | fipta-vs-visible | 📦1.0.0 | This IG |
| Appointment.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Appointment.status | Base | required | fipta-vs-appointmentstatus | 📦1.0.0 | This IG |
| Appointment.cancelationReason | Base | required | fipta-vs-cancelationreason | 📦1.0.0 | This IG |
| Appointment.participant.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:Patient.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:Patient.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:HealthcareService.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:HealthcareService.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:Location.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:Location.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| PTA-APP-1 | error | Appointment | The end time of the appointment cannot be before the start time of the appointment. |
start.exists() implies start <= end
|
| PTA-APP-2 | error | Appointment | The deadline for cancellation or rescheduling must be given in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. |
Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter').exists() implies Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter').value.toString().length()>10
|
| PTA-APP-3 | error | Appointment | The date and time by which the appointment is instructed to take place at the latest must be given in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. |
Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline').exists() implies Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline').value.toString().length()>10
|
| PTA-APP-4 | error | Appointment | The appointment identifier (Appointment.identifier) exceeds the allowed maximum length. |
Appointment.identifier.exists() implies Appointment.identifier.system.length()+Appointment.identifier.value.length() < 125
|
| app-1 | error | Appointment.participant, Appointment.participant:Patient, Appointment.participant:HealthcareService, Appointment.participant:Location | Either the type or actor on the participant SHALL be specified |
type.exists() or actor.exists()
|
| app-2 | error | Appointment | Either start and end are specified, or neither |
start.exists() = end.exists()
|
| app-3 | error | Appointment | Only proposed or cancelled appointments can be missing start/end dates |
(start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist'))
|
| app-4 | error | Appointment | Cancelation reason is only used for appointments that have been cancelled, or no-show |
Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled')
|
| dom-2 | error | Appointment | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Appointment | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Appointment | If 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-5 | error | Appointment | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Appointment | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Appointment
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Appointment | Appointment information Constraints: PTA-APP-1, PTA-APP-2, PTA-APP-3, PTA-APP-4 |
![]() ![]() |
0..1 | id | Unique identifier of the appointment | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentAppointment (no extensions allowed) | |
![]() ![]() ![]() |
0..* | Coding | Display of appointment information Binding: fipta-vs-visible (required) | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
1..1 | code | Code value for information on disclosure of a minor's data to guardians | |
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() |
1..1 | code | Language of the resource content | |
![]() ![]() |
1..1 | Narrative | Appointment information to be presented in display form | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | url | Link for joining the remote service URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/RemoteServiceURL | |
![]() ![]() ![]() |
0..1 | string | Additional information on further care or the service process URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/ServiceAdditionalInformation | |
![]() ![]() ![]() |
0..1 | (Complex) | Reason for the appointment booking URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentReason | |
![]() ![]() ![]() |
0..1 | Identifier | Identifier of the plan related to the appointment URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/CareplanIdentifier | |
![]() ![]() ![]() |
0..* | Coding | Reminder method URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/NotificationMedium Binding: fipta-vs-notificationmedium (required) | |
![]() ![]() ![]() |
0..* | (Complex) | Identification details of the customer's service pathway URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/CustomerJourney | |
![]() ![]() ![]() |
0..1 | (Complex) | Web address of the e-service and information on the possibility to act on behalf of another person URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/SelfServiceInfo | |
![]() ![]() ![]() |
0..1 | dateTime | Deadline for cancellation or rescheduling URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter | |
![]() ![]() ![]() |
0..1 | string | Queue number URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/QueueNo | |
![]() ![]() ![]() |
0..1 | string | Ticket number URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/TicketNo | |
![]() ![]() ![]() |
0..* | Identifier | Sub-appointment identifier URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/ChildAppointment | |
![]() ![]() ![]() |
0..* | url | Additional information address URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AdditionalInformationURL | |
![]() ![]() ![]() |
0..1 | Coding | Gender of the service provider URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/PractitionerGender Binding: fipta-vs-gender (required) | |
![]() ![]() ![]() |
0..1 | dateTime | Date and time by which the appointment is instructed to be made at the latest URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline | |
![]() ![]() |
1..1 | Identifier | Appointment identifier | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
0..0 | usual | official | temp | secondary | old (If known) | ||
![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() |
1..1 | uri | Namespace defined by the organization | |
![]() ![]() ![]() |
1..1 | string | Appointment identifier | |
![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() |
1..1 | code | proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist Binding: fipta-vs-appointmentstatus (required) | |
![]() ![]() |
0..1 | CodeableConcept | Reason for cancellation of the appointment Binding: fipta-vs-cancelationreason (required) | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
1..1 | code | Code value for the reason why the appointment was cancelled | |
![]() ![]() ![]() ![]() |
1..1 | string | Reason why the appointment was cancelled | |
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
0..0 | Service category | ||
![]() ![]() |
0..0 | Service name | ||
![]() ![]() |
0..0 | The specialty of a practitioner that would be required to perform the service requested in this appointment | ||
![]() ![]() |
0..0 | The style of appointment or patient that has been booked in the slot (not service type) | ||
![]() ![]() |
0..0 | Coded reason this appointment is scheduled | ||
![]() ![]() |
0..0 | Description of symptoms, the main reason for contact, and a description of the customer's risk information | ||
![]() ![]() |
0..0 | Used to make informed decisions if needing to re-prioritize | ||
![]() ![]() |
0..0 | Shown on a subject line in a meeting request, or appointment list | ||
![]() ![]() |
0..0 | Additional information to support the appointment | ||
![]() ![]() |
0..1 | instant | Start time of the appointment time interval | |
![]() ![]() |
0..1 | instant | End time of the appointment time interval | |
![]() ![]() |
0..0 | Can be less than start/end (e.g. estimate) | ||
![]() ![]() |
0..0 | The slots that this appointment is filling | ||
![]() ![]() |
0..0 | The date that this appointment was initially created | ||
![]() ![]() |
0..1 | string | Additional information | |
![]() ![]() |
0..1 | string | Patient instruction | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..* | url | Link to patient instructions URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/PatientInstructionURL | |
![]() ![]() |
0..* | Reference(ServiceRequest) | Identifier of the referral or request related to the appointment | |
![]() ![]() ![]() |
0..0 | Literal reference, Relative, internal or absolute URL | ||
![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() |
1..1 | Identifier | Identifier of the referral or request related to the appointment | |
![]() ![]() ![]() ![]() |
0..0 | usual | official | temp | secondary | old (If known) | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace defined by the organization | |
![]() ![]() ![]() ![]() |
1..1 | string | Referral or request identifier | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() |
1..* | BackboneElement | Participants involved in appointment Slice: Unordered, Closed by value:type.coding.code Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | BackboneElement | Customer | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Customer for whom the appointment has been booked. Binding: fipta-vs-appointmenttypecategory (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 1 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentPatient) {c} | Person, Location/HealthcareService or Device | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference to the resource to be used | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() ![]() ![]() |
0..0 | required | optional | information-only | ||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Fixed Value: accepted (no extensions allowed) | |
![]() ![]() ![]() ![]() |
0..0 | Participation period of the actor | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Healthcare service | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Healthcare service Binding: fipta-vs-appointmenttypecategory (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 2 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentHealthcareService) {c} | Person, Location/HealthcareService or Device | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference to the resource to be used | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() ![]() ![]() |
0..0 | required | optional | information-only | ||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Fixed Value: accepted (no extensions allowed) | |
![]() ![]() ![]() ![]() |
0..0 | Participation period of the actor | ||
![]() ![]() ![]() |
0..1 | BackboneElement | Service point location | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Service point location details Binding: fipta-vs-appointmenttypecategory (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 3 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentLocation) {c} | Person, Location/HealthcareService or Device | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference to the resource to be used | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() ![]() ![]() |
0..0 | required | optional | information-only | ||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Fixed Value: accepted (no extensions allowed) | |
![]() ![]() ![]() ![]() |
0..0 | Participation period of the actor | ||
![]() ![]() |
0..0 | Potential date/time interval(s) requested to allocate the appointment within | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Appointment.meta.security | Base | required | fipta-vs-visible | 📦1.0.0 | This IG |
| Appointment.status | Base | required | fipta-vs-appointmentstatus | 📦1.0.0 | This IG |
| Appointment.cancelationReason | Base | required | fipta-vs-cancelationreason | 📦1.0.0 | This IG |
| Appointment.participant:Patient.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:HealthcareService.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:Location.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| PTA-APP-1 | error | Appointment | The end time of the appointment cannot be before the start time of the appointment. |
start.exists() implies start <= end
|
| PTA-APP-2 | error | Appointment | The deadline for cancellation or rescheduling must be given in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. |
Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter').exists() implies Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter').value.toString().length()>10
|
| PTA-APP-3 | error | Appointment | The date and time by which the appointment is instructed to take place at the latest must be given in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. |
Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline').exists() implies Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline').value.toString().length()>10
|
| PTA-APP-4 | error | Appointment | The appointment identifier (Appointment.identifier) exceeds the allowed maximum length. |
Appointment.identifier.exists() implies Appointment.identifier.system.length()+Appointment.identifier.value.length() < 125
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Appointment | Appointment information Constraints: app-2, app-3, app-4, PTA-APP-1, PTA-APP-2, PTA-APP-3, PTA-APP-4 | ||||
![]() ![]() |
0..1 | id | Unique identifier of the appointment | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentAppointment (no extensions allowed) | |||||
![]() ![]() ![]() |
0..* | Coding | Display of appointment information Binding: fipta-vs-visible (required) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Code value for information on disclosure of a minor's data to guardians | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
1..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
1..1 | Narrative | Appointment information to be presented in display form This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | url | Link for joining the remote service URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/RemoteServiceURL | |||||
![]() ![]() ![]() |
0..1 | string | Additional information on further care or the service process URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/ServiceAdditionalInformation | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Reason for the appointment booking URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentReason | |||||
![]() ![]() ![]() |
0..1 | Identifier | Identifier of the plan related to the appointment URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/CareplanIdentifier | |||||
![]() ![]() ![]() |
0..* | Coding | Reminder method URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/NotificationMedium Binding: fipta-vs-notificationmedium (required) | |||||
![]() ![]() ![]() |
0..* | (Complex) | Identification details of the customer's service pathway URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/CustomerJourney | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Web address of the e-service and information on the possibility to act on behalf of another person URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/SelfServiceInfo | |||||
![]() ![]() ![]() |
0..1 | dateTime | Deadline for cancellation or rescheduling URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter | |||||
![]() ![]() ![]() |
0..1 | string | Queue number URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/QueueNo | |||||
![]() ![]() ![]() |
0..1 | string | Ticket number URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/TicketNo | |||||
![]() ![]() ![]() |
0..* | Identifier | Sub-appointment identifier URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/ChildAppointment | |||||
![]() ![]() ![]() |
0..* | url | Additional information address URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AdditionalInformationURL | |||||
![]() ![]() ![]() |
0..1 | Coding | Gender of the service provider URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/PractitionerGender Binding: fipta-vs-gender (required) | |||||
![]() ![]() ![]() |
0..1 | dateTime | Date and time by which the appointment is instructed to be made at the latest URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | Identifier | Appointment identifier | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | uri | Namespace defined by the organization Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() |
1..1 | string | Appointment identifier Example General: 123456 | |||||
![]() ![]() |
1..1 | code | proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist Binding: fipta-vs-appointmentstatus (required) | |||||
![]() ![]() |
0..1 | CodeableConcept | Reason for cancellation of the appointment Binding: fipta-vs-cancelationreason (required) | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Code value for the reason why the appointment was cancelled | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Reason why the appointment was cancelled | |||||
![]() ![]() |
0..1 | instant | Start time of the appointment time interval | |||||
![]() ![]() |
0..1 | instant | End time of the appointment time interval | |||||
![]() ![]() |
0..1 | string | Additional information | |||||
![]() ![]() |
0..1 | string | Patient instruction | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | url | Link to patient instructions URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/PatientInstructionURL | |||||
![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() |
0..* | Reference(ServiceRequest) | Identifier of the referral or request related to the appointment | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | Identifier | Identifier of the referral or request related to the appointment | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace defined by the organization Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Referral or request identifier Example General: 123456 | |||||
![]() ![]() |
C | 1..* | BackboneElement | Participants involved in appointment Slice: Unordered, Closed by value:type.coding.code Constraints: app-1 Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Role of participant in the appointment Binding: ParticipantType (extensible): Role of participant in encounter. | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location) | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() |
0..1 | code | required | optional | information-only Binding: ParticipantRequired (required): Is the Participant required to attend the appointment. | |||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Participation period of the actor | |||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Customer Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Customer for whom the appointment has been booked. Binding: fipta-vs-appointmenttypecategory (required) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 1 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentPatient) {c} | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted (no extensions allowed) | |||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Healthcare service Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Healthcare service Binding: fipta-vs-appointmenttypecategory (required) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 2 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentHealthcareService) {c} | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted (no extensions allowed) | |||||
![]() ![]() ![]() |
C | 0..1 | BackboneElement | Service point location Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Service point location details Binding: fipta-vs-appointmenttypecategory (required) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 3 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentLocation) {c} | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted (no extensions allowed) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Appointment.meta.security | Base | required | fipta-vs-visible | 📦1.0.0 | This IG |
| Appointment.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Appointment.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Appointment.status | Base | required | fipta-vs-appointmentstatus | 📦1.0.0 | This IG |
| Appointment.cancelationReason | Base | required | fipta-vs-cancelationreason | 📦1.0.0 | This IG |
| Appointment.reasonReference.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant.type | Base | extensible | Participant type | 📍4.0.1 | FHIR Std. |
| Appointment.participant.required | Base | required | ParticipantRequired | 📍4.0.1 | FHIR Std. |
| Appointment.participant.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:Patient.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:Patient.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:Patient.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:HealthcareService.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:HealthcareService.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:HealthcareService.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:Location.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:Location.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:Location.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| PTA-APP-1 | error | Appointment | The end time of the appointment cannot be before the start time of the appointment. |
start.exists() implies start <= end
|
| PTA-APP-2 | error | Appointment | The deadline for cancellation or rescheduling must be given in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. |
Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter').exists() implies Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter').value.toString().length()>10
|
| PTA-APP-3 | error | Appointment | The date and time by which the appointment is instructed to take place at the latest must be given in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. |
Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline').exists() implies Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline').value.toString().length()>10
|
| PTA-APP-4 | error | Appointment | The appointment identifier (Appointment.identifier) exceeds the allowed maximum length. |
Appointment.identifier.exists() implies Appointment.identifier.system.length()+Appointment.identifier.value.length() < 125
|
| app-1 | error | Appointment.participant, Appointment.participant:Patient, Appointment.participant:HealthcareService, Appointment.participant:Location | Either the type or actor on the participant SHALL be specified |
type.exists() or actor.exists()
|
| app-2 | error | Appointment | Either start and end are specified, or neither |
start.exists() = end.exists()
|
| app-3 | error | Appointment | Only proposed or cancelled appointments can be missing start/end dates |
(start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist'))
|
| app-4 | error | Appointment | Cancelation reason is only used for appointments that have been cancelled, or no-show |
Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled')
|
| dom-2 | error | Appointment | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Appointment | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Appointment | If 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-5 | error | Appointment | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Appointment | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Appointment
Summary
Mandatory: 21 elements(22 nested mandatory elements)
Fixed: 11 elements
Prohibited: 55 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Appointment | Appointment information Constraints: app-2, app-3, app-4, PTA-APP-1, PTA-APP-2, PTA-APP-3, PTA-APP-4 | ||||
![]() ![]() |
0..1 | id | Unique identifier of the appointment | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentAppointment (no extensions allowed) | |||||
![]() ![]() ![]() |
0..* | Coding | Display of appointment information Binding: fipta-vs-visible (required) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Code value for information on disclosure of a minor's data to guardians | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
1..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
1..1 | Narrative | Appointment information to be presented in display form This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() |
0..1 | url | Link for joining the remote service URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/RemoteServiceURL | |||||
![]() ![]() ![]() |
0..1 | string | Additional information on further care or the service process URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/ServiceAdditionalInformation | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Reason for the appointment booking URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentReason | |||||
![]() ![]() ![]() |
0..1 | Identifier | Identifier of the plan related to the appointment URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/CareplanIdentifier | |||||
![]() ![]() ![]() |
0..* | Coding | Reminder method URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/NotificationMedium Binding: fipta-vs-notificationmedium (required) | |||||
![]() ![]() ![]() |
0..* | (Complex) | Identification details of the customer's service pathway URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/CustomerJourney | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Web address of the e-service and information on the possibility to act on behalf of another person URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/SelfServiceInfo | |||||
![]() ![]() ![]() |
0..1 | dateTime | Deadline for cancellation or rescheduling URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter | |||||
![]() ![]() ![]() |
0..1 | string | Queue number URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/QueueNo | |||||
![]() ![]() ![]() |
0..1 | string | Ticket number URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/TicketNo | |||||
![]() ![]() ![]() |
0..* | Identifier | Sub-appointment identifier URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/ChildAppointment | |||||
![]() ![]() ![]() |
0..* | url | Additional information address URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AdditionalInformationURL | |||||
![]() ![]() ![]() |
0..1 | Coding | Gender of the service provider URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/PractitionerGender Binding: fipta-vs-gender (required) | |||||
![]() ![]() ![]() |
0..1 | dateTime | Date and time by which the appointment is instructed to be made at the latest URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | Identifier | Appointment identifier | |||||
![]() ![]() ![]() |
1..1 | uri | Namespace defined by the organization Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() |
1..1 | string | Appointment identifier Example General: 123456 | |||||
![]() ![]() |
1..1 | code | proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist Binding: fipta-vs-appointmentstatus (required) | |||||
![]() ![]() |
0..1 | CodeableConcept | Reason for cancellation of the appointment Binding: fipta-vs-cancelationreason (required) | |||||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Code value for the reason why the appointment was cancelled | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Reason why the appointment was cancelled | |||||
![]() ![]() |
0..1 | instant | Start time of the appointment time interval | |||||
![]() ![]() |
0..1 | instant | End time of the appointment time interval | |||||
![]() ![]() |
0..1 | string | Additional information | |||||
![]() ![]() |
0..1 | string | Patient instruction | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..* | url | Link to patient instructions URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/PatientInstructionURL | |||||
![]() ![]() |
0..* | Reference(ServiceRequest) | Identifier of the referral or request related to the appointment | |||||
![]() ![]() ![]() |
1..1 | Identifier | Identifier of the referral or request related to the appointment | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace defined by the organization Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Referral or request identifier Example General: 123456 | |||||
![]() ![]() |
C | 1..* | BackboneElement | Participants involved in appointment Slice: Unordered, Closed by value:type.coding.code Constraints: app-1 Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. | |||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Customer Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Customer for whom the appointment has been booked. Binding: fipta-vs-appointmenttypecategory (required) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 1 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentPatient) {c} | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted (no extensions allowed) | |||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Healthcare service Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Healthcare service Binding: fipta-vs-appointmenttypecategory (required) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 2 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentHealthcareService) {c} | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted (no extensions allowed) | |||||
![]() ![]() ![]() |
C | 0..1 | BackboneElement | Service point location Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Service point location details Binding: fipta-vs-appointmenttypecategory (required) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 3 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentLocation) {c} | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted (no extensions allowed) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Appointment.meta.security | Base | required | fipta-vs-visible | 📦1.0.0 | This IG |
| Appointment.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Appointment.status | Base | required | fipta-vs-appointmentstatus | 📦1.0.0 | This IG |
| Appointment.cancelationReason | Base | required | fipta-vs-cancelationreason | 📦1.0.0 | This IG |
| Appointment.participant.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:Patient.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:Patient.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:HealthcareService.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:HealthcareService.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:Location.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:Location.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| PTA-APP-1 | error | Appointment | The end time of the appointment cannot be before the start time of the appointment. |
start.exists() implies start <= end
|
| PTA-APP-2 | error | Appointment | The deadline for cancellation or rescheduling must be given in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. |
Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter').exists() implies Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter').value.toString().length()>10
|
| PTA-APP-3 | error | Appointment | The date and time by which the appointment is instructed to take place at the latest must be given in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. |
Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline').exists() implies Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline').value.toString().length()>10
|
| PTA-APP-4 | error | Appointment | The appointment identifier (Appointment.identifier) exceeds the allowed maximum length. |
Appointment.identifier.exists() implies Appointment.identifier.system.length()+Appointment.identifier.value.length() < 125
|
| app-1 | error | Appointment.participant, Appointment.participant:Patient, Appointment.participant:HealthcareService, Appointment.participant:Location | Either the type or actor on the participant SHALL be specified |
type.exists() or actor.exists()
|
| app-2 | error | Appointment | Either start and end are specified, or neither |
start.exists() = end.exists()
|
| app-3 | error | Appointment | Only proposed or cancelled appointments can be missing start/end dates |
(start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist'))
|
| app-4 | error | Appointment | Cancelation reason is only used for appointments that have been cancelled, or no-show |
Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled')
|
| dom-2 | error | Appointment | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Appointment | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Appointment | If 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-5 | error | Appointment | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Appointment | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from Appointment
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Appointment | Appointment information Constraints: PTA-APP-1, PTA-APP-2, PTA-APP-3, PTA-APP-4 |
![]() ![]() |
0..1 | id | Unique identifier of the appointment | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentAppointment (no extensions allowed) | |
![]() ![]() ![]() |
0..* | Coding | Display of appointment information Binding: fipta-vs-visible (required) | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
1..1 | code | Code value for information on disclosure of a minor's data to guardians | |
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() |
1..1 | code | Language of the resource content | |
![]() ![]() |
1..1 | Narrative | Appointment information to be presented in display form | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | url | Link for joining the remote service URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/RemoteServiceURL | |
![]() ![]() ![]() |
0..1 | string | Additional information on further care or the service process URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/ServiceAdditionalInformation | |
![]() ![]() ![]() |
0..1 | (Complex) | Reason for the appointment booking URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentReason | |
![]() ![]() ![]() |
0..1 | Identifier | Identifier of the plan related to the appointment URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/CareplanIdentifier | |
![]() ![]() ![]() |
0..* | Coding | Reminder method URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/NotificationMedium Binding: fipta-vs-notificationmedium (required) | |
![]() ![]() ![]() |
0..* | (Complex) | Identification details of the customer's service pathway URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/CustomerJourney | |
![]() ![]() ![]() |
0..1 | (Complex) | Web address of the e-service and information on the possibility to act on behalf of another person URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/SelfServiceInfo | |
![]() ![]() ![]() |
0..1 | dateTime | Deadline for cancellation or rescheduling URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter | |
![]() ![]() ![]() |
0..1 | string | Queue number URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/QueueNo | |
![]() ![]() ![]() |
0..1 | string | Ticket number URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/TicketNo | |
![]() ![]() ![]() |
0..* | Identifier | Sub-appointment identifier URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/ChildAppointment | |
![]() ![]() ![]() |
0..* | url | Additional information address URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AdditionalInformationURL | |
![]() ![]() ![]() |
0..1 | Coding | Gender of the service provider URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/PractitionerGender Binding: fipta-vs-gender (required) | |
![]() ![]() ![]() |
0..1 | dateTime | Date and time by which the appointment is instructed to be made at the latest URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline | |
![]() ![]() |
1..1 | Identifier | Appointment identifier | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
0..0 | usual | official | temp | secondary | old (If known) | ||
![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() |
1..1 | uri | Namespace defined by the organization | |
![]() ![]() ![]() |
1..1 | string | Appointment identifier | |
![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() |
1..1 | code | proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist Binding: fipta-vs-appointmentstatus (required) | |
![]() ![]() |
0..1 | CodeableConcept | Reason for cancellation of the appointment Binding: fipta-vs-cancelationreason (required) | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
1..1 | code | Code value for the reason why the appointment was cancelled | |
![]() ![]() ![]() ![]() |
1..1 | string | Reason why the appointment was cancelled | |
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
0..0 | Service category | ||
![]() ![]() |
0..0 | Service name | ||
![]() ![]() |
0..0 | The specialty of a practitioner that would be required to perform the service requested in this appointment | ||
![]() ![]() |
0..0 | The style of appointment or patient that has been booked in the slot (not service type) | ||
![]() ![]() |
0..0 | Coded reason this appointment is scheduled | ||
![]() ![]() |
0..0 | Description of symptoms, the main reason for contact, and a description of the customer's risk information | ||
![]() ![]() |
0..0 | Used to make informed decisions if needing to re-prioritize | ||
![]() ![]() |
0..0 | Shown on a subject line in a meeting request, or appointment list | ||
![]() ![]() |
0..0 | Additional information to support the appointment | ||
![]() ![]() |
0..1 | instant | Start time of the appointment time interval | |
![]() ![]() |
0..1 | instant | End time of the appointment time interval | |
![]() ![]() |
0..0 | Can be less than start/end (e.g. estimate) | ||
![]() ![]() |
0..0 | The slots that this appointment is filling | ||
![]() ![]() |
0..0 | The date that this appointment was initially created | ||
![]() ![]() |
0..1 | string | Additional information | |
![]() ![]() |
0..1 | string | Patient instruction | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..* | url | Link to patient instructions URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/PatientInstructionURL | |
![]() ![]() |
0..* | Reference(ServiceRequest) | Identifier of the referral or request related to the appointment | |
![]() ![]() ![]() |
0..0 | Literal reference, Relative, internal or absolute URL | ||
![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() |
1..1 | Identifier | Identifier of the referral or request related to the appointment | |
![]() ![]() ![]() ![]() |
0..0 | usual | official | temp | secondary | old (If known) | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace defined by the organization | |
![]() ![]() ![]() ![]() |
1..1 | string | Referral or request identifier | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() |
1..* | BackboneElement | Participants involved in appointment Slice: Unordered, Closed by value:type.coding.code Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | BackboneElement | Customer | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Customer for whom the appointment has been booked. Binding: fipta-vs-appointmenttypecategory (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 1 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentPatient) {c} | Person, Location/HealthcareService or Device | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference to the resource to be used | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() ![]() ![]() |
0..0 | required | optional | information-only | ||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Fixed Value: accepted (no extensions allowed) | |
![]() ![]() ![]() ![]() |
0..0 | Participation period of the actor | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Healthcare service | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Healthcare service Binding: fipta-vs-appointmenttypecategory (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 2 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentHealthcareService) {c} | Person, Location/HealthcareService or Device | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference to the resource to be used | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() ![]() ![]() |
0..0 | required | optional | information-only | ||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Fixed Value: accepted (no extensions allowed) | |
![]() ![]() ![]() ![]() |
0..0 | Participation period of the actor | ||
![]() ![]() ![]() |
0..1 | BackboneElement | Service point location | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Service point location details Binding: fipta-vs-appointmenttypecategory (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 3 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentLocation) {c} | Person, Location/HealthcareService or Device | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference to the resource to be used | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() ![]() ![]() |
0..0 | required | optional | information-only | ||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Fixed Value: accepted (no extensions allowed) | |
![]() ![]() ![]() ![]() |
0..0 | Participation period of the actor | ||
![]() ![]() |
0..0 | Potential date/time interval(s) requested to allocate the appointment within | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Appointment.meta.security | Base | required | fipta-vs-visible | 📦1.0.0 | This IG |
| Appointment.status | Base | required | fipta-vs-appointmentstatus | 📦1.0.0 | This IG |
| Appointment.cancelationReason | Base | required | fipta-vs-cancelationreason | 📦1.0.0 | This IG |
| Appointment.participant:Patient.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:HealthcareService.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:Location.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| PTA-APP-1 | error | Appointment | The end time of the appointment cannot be before the start time of the appointment. |
start.exists() implies start <= end
|
| PTA-APP-2 | error | Appointment | The deadline for cancellation or rescheduling must be given in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. |
Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter').exists() implies Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter').value.toString().length()>10
|
| PTA-APP-3 | error | Appointment | The date and time by which the appointment is instructed to take place at the latest must be given in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. |
Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline').exists() implies Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline').value.toString().length()>10
|
| PTA-APP-4 | error | Appointment | The appointment identifier (Appointment.identifier) exceeds the allowed maximum length. |
Appointment.identifier.exists() implies Appointment.identifier.system.length()+Appointment.identifier.value.length() < 125
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Appointment | Appointment information Constraints: app-2, app-3, app-4, PTA-APP-1, PTA-APP-2, PTA-APP-3, PTA-APP-4 | ||||
![]() ![]() |
0..1 | id | Unique identifier of the appointment | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentAppointment (no extensions allowed) | |||||
![]() ![]() ![]() |
0..* | Coding | Display of appointment information Binding: fipta-vs-visible (required) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Code value for information on disclosure of a minor's data to guardians | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
1..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
1..1 | Narrative | Appointment information to be presented in display form This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | url | Link for joining the remote service URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/RemoteServiceURL | |||||
![]() ![]() ![]() |
0..1 | string | Additional information on further care or the service process URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/ServiceAdditionalInformation | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Reason for the appointment booking URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentReason | |||||
![]() ![]() ![]() |
0..1 | Identifier | Identifier of the plan related to the appointment URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/CareplanIdentifier | |||||
![]() ![]() ![]() |
0..* | Coding | Reminder method URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/NotificationMedium Binding: fipta-vs-notificationmedium (required) | |||||
![]() ![]() ![]() |
0..* | (Complex) | Identification details of the customer's service pathway URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/CustomerJourney | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Web address of the e-service and information on the possibility to act on behalf of another person URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/SelfServiceInfo | |||||
![]() ![]() ![]() |
0..1 | dateTime | Deadline for cancellation or rescheduling URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter | |||||
![]() ![]() ![]() |
0..1 | string | Queue number URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/QueueNo | |||||
![]() ![]() ![]() |
0..1 | string | Ticket number URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/TicketNo | |||||
![]() ![]() ![]() |
0..* | Identifier | Sub-appointment identifier URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/ChildAppointment | |||||
![]() ![]() ![]() |
0..* | url | Additional information address URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/AdditionalInformationURL | |||||
![]() ![]() ![]() |
0..1 | Coding | Gender of the service provider URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/PractitionerGender Binding: fipta-vs-gender (required) | |||||
![]() ![]() ![]() |
0..1 | dateTime | Date and time by which the appointment is instructed to be made at the latest URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | Identifier | Appointment identifier | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | uri | Namespace defined by the organization Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() |
1..1 | string | Appointment identifier Example General: 123456 | |||||
![]() ![]() |
1..1 | code | proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist Binding: fipta-vs-appointmentstatus (required) | |||||
![]() ![]() |
0..1 | CodeableConcept | Reason for cancellation of the appointment Binding: fipta-vs-cancelationreason (required) | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Code value for the reason why the appointment was cancelled | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Reason why the appointment was cancelled | |||||
![]() ![]() |
0..1 | instant | Start time of the appointment time interval | |||||
![]() ![]() |
0..1 | instant | End time of the appointment time interval | |||||
![]() ![]() |
0..1 | string | Additional information | |||||
![]() ![]() |
0..1 | string | Patient instruction | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | url | Link to patient instructions URL: https://pta.kanta.fi/fhir/StructureDefinition/extension/PatientInstructionURL | |||||
![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() |
0..* | Reference(ServiceRequest) | Identifier of the referral or request related to the appointment | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | Identifier | Identifier of the referral or request related to the appointment | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace defined by the organization Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Referral or request identifier Example General: 123456 | |||||
![]() ![]() |
C | 1..* | BackboneElement | Participants involved in appointment Slice: Unordered, Closed by value:type.coding.code Constraints: app-1 Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Role of participant in the appointment Binding: ParticipantType (extensible): Role of participant in encounter. | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location) | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() |
0..1 | code | required | optional | information-only Binding: ParticipantRequired (required): Is the Participant required to attend the appointment. | |||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Participation period of the actor | |||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Customer Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Customer for whom the appointment has been booked. Binding: fipta-vs-appointmenttypecategory (required) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 1 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentPatient) {c} | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted (no extensions allowed) | |||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Healthcare service Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Healthcare service Binding: fipta-vs-appointmenttypecategory (required) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 2 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentHealthcareService) {c} | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted (no extensions allowed) | |||||
![]() ![]() ![]() |
C | 0..1 | BackboneElement | Service point location Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Service point location details Binding: fipta-vs-appointmenttypecategory (required) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Role in appointment | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://pta.kanta.fi/fhir/CodeSystem/fipta-cs-appointmenttypecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 3 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(AppointmentLocation) {c} | Person, Location/HealthcareService or Device | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted (no extensions allowed) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Appointment.meta.security | Base | required | fipta-vs-visible | 📦1.0.0 | This IG |
| Appointment.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Appointment.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Appointment.status | Base | required | fipta-vs-appointmentstatus | 📦1.0.0 | This IG |
| Appointment.cancelationReason | Base | required | fipta-vs-cancelationreason | 📦1.0.0 | This IG |
| Appointment.reasonReference.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant.type | Base | extensible | Participant type | 📍4.0.1 | FHIR Std. |
| Appointment.participant.required | Base | required | ParticipantRequired | 📍4.0.1 | FHIR Std. |
| Appointment.participant.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:Patient.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:Patient.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:Patient.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:HealthcareService.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:HealthcareService.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:HealthcareService.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:Location.type | Base | required | fipta-vs-appointmenttypecategory | 📦1.0.0 | This IG |
| Appointment.participant:Location.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:Location.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| PTA-APP-1 | error | Appointment | The end time of the appointment cannot be before the start time of the appointment. |
start.exists() implies start <= end
|
| PTA-APP-2 | error | Appointment | The deadline for cancellation or rescheduling must be given in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. |
Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter').exists() implies Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/AppointmentMutabilityNotAfter').value.toString().length()>10
|
| PTA-APP-3 | error | Appointment | The date and time by which the appointment is instructed to take place at the latest must be given in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. |
Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline').exists() implies Appointment.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/BookingDeadline').value.toString().length()>10
|
| PTA-APP-4 | error | Appointment | The appointment identifier (Appointment.identifier) exceeds the allowed maximum length. |
Appointment.identifier.exists() implies Appointment.identifier.system.length()+Appointment.identifier.value.length() < 125
|
| app-1 | error | Appointment.participant, Appointment.participant:Patient, Appointment.participant:HealthcareService, Appointment.participant:Location | Either the type or actor on the participant SHALL be specified |
type.exists() or actor.exists()
|
| app-2 | error | Appointment | Either start and end are specified, or neither |
start.exists() = end.exists()
|
| app-3 | error | Appointment | Only proposed or cancelled appointments can be missing start/end dates |
(start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist'))
|
| app-4 | error | Appointment | Cancelation reason is only used for appointments that have been cancelled, or no-show |
Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled')
|
| dom-2 | error | Appointment | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Appointment | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Appointment | If 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-5 | error | Appointment | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Appointment | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Appointment
Summary
Mandatory: 21 elements(22 nested mandatory elements)
Fixed: 11 elements
Prohibited: 55 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron