Finnish Scheduling
2.0.0-rc2 - ballot

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

## Extension: Customer Journey

Official URL: https://hl7.fi/fhir/finnish-scheduling/StructureDefinition/customer-journey | Version: 2.0.0-rc2
Draft as of 2025-05-09 | Computable Name: CustomerJourney

Identifier for the customer journey (hoitopolku)

Context of Use

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

- Element ID: `Appointment`

Usage info

Usage:

- Use this Extension: FiSchedulingAppointment

### 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
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Customer Journey
Slices for extension |  |  |  | Content/Rules for all slices
extension:CustomerJourneyId |  | 0..1 | Extension | Extension
extension |  | 0..0 |  |
url |  | 1..1 | uri | "CustomerJourneyId"
value[x] |  | 0..1 | Identifier | Value of extension
extension:CustomerJourneyName |  | 0..1 | Extension | Extension
extension |  | 0..0 |  |
url |  | 1..1 | uri | "CustomerJourneyName"
value[x] |  | 0..1 | string | Value of extension
url |  | 1..1 | uri | "https://hl7.fi/fhir/finnish-scheduling/StructureDefinition/customer-journey"
value[x] |  | 0..0 |  |
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Customer Journey
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:CustomerJourneyId |  | 0..1 | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "CustomerJourneyId"
value[x] |  | 0..1 | Identifier | Value of extension
extension:CustomerJourneyName |  | 0..1 | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "CustomerJourneyName"
value[x] |  | 0..1 | string | Value of extension
url |  | 1..1 | uri | "https://hl7.fi/fhir/finnish-scheduling/StructureDefinition/customer-journey"
Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Identifier for the customer journey (hoitopolku)

- CustomerJourneyId: Identifier: An Extension
- CustomerJourneyName: string: An Extension

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Customer Journey
Slices for extension |  |  |  | Content/Rules for all slices
extension:CustomerJourneyId |  | 0..1 | Extension | Extension
extension |  | 0..0 |  |
url |  | 1..1 | uri | "CustomerJourneyId"
value[x] |  | 0..1 | Identifier | Value of extension
extension:CustomerJourneyName |  | 0..1 | Extension | Extension
extension |  | 0..0 |  |
url |  | 1..1 | uri | "CustomerJourneyName"
value[x] |  | 0..1 | string | Value of extension
url |  | 1..1 | uri | "https://hl7.fi/fhir/finnish-scheduling/StructureDefinition/customer-journey"
value[x] |  | 0..0 |  |
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Customer Journey
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:CustomerJourneyId |  | 0..1 | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "CustomerJourneyId"
value[x] |  | 0..1 | Identifier | Value of extension
extension:CustomerJourneyName |  | 0..1 | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "CustomerJourneyName"
value[x] |  | 0..1 | string | Value of extension
url |  | 1..1 | uri | "https://hl7.fi/fhir/finnish-scheduling/StructureDefinition/customer-journey"
Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Identifier for the customer journey (hoitopolku)

- CustomerJourneyId: Identifier: An Extension
- CustomerJourneyName: string: An Extension

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() |