Finnish Base Profiles
2.0.0 - release

Publication Build: This will be filled in by the publication tooling

## Extension: ServiceEvent

Official URL: https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/service-event | Version: 2.0.0
Active as of 2025-10-05 | Computable Name: ServiceEvent

Extension for service event id (palvelutapahtuman tunniste).

Context of Use

This extension may be used on the following element(s)

- Element ID: `Element`

### Scope and Usage

ServiceEvent extension defines related service event identifier (palvelutapahtuman tunniste). When the service event id is included into the resource, it SHALL be done with this extension.

The scope of palvelutapahtuma is described in the description pf the Fi Base Encounter profile.

The Fi Base Encounter profile also describes how the palvelutapahtuma Encounter can be referred to using the link from the resource.

Usage info

Usages:

- Examples for this Extension: Appointment/appointment-general-practitioner

### Formal Views of Extension Content

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

- Differential Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/service-event"
value[x] |  | 1..1 | oid | Value of extension
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/service-event"
value[x] |  | 1..1 | oid | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type oid: Extension for service event id (palvelutapahtuman tunniste).

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/service-event"
value[x] |  | 1..1 | oid | Value of extension
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/service-event"
value[x] |  | 1..1 | oid | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type oid: Extension for service event id (palvelutapahtuman tunniste).

Other representations of profile: CSV, Excel, Schematron

#### Constraints

Id | Grade | Path(s) | Details | Requirements
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() |