Personal Health Records
1.0.0-ballot - ballot International flag

This page is part of the Standard Personal Health Record (v1.0.0-ballot: STU1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions

Logical Model: Apple HealthKit Workout Event Logical Model ( Experimental )

Official URL: http://hl7.org/fhir/uv/phr/StructureDefinition/AppleHealthKitWorkoutEvent Version: 1.0.0-ballot
Draft as of 2024-12-18 Computable Name: AppleHealthKitWorkoutEvent

Data elements for the Apple HealthKit HKWorkoutEvent.

Usage:

Formal Views of Profile Content

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

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. AppleHealthKitWorkoutEvent 0..* Base Apple HealthKit Workout Event Logical Model
Instances of this logical model are not marked to be the target of a Reference
... metadata 0..1 BackboneElement The metadata.
... dateInterval 0..1 BackboneElement The event's time and duration.
.... start 1..1 dateTime The dateInterval's start date.
.... end 0..1 dateTime The dateInterval's end date.
.... duration 0..1 OrgPeriod(5.1.0) The dateInterval's duration.
... type 1..1 code The workout event type.
Binding: Apple HealthKit Workout Event Type Value Set (extensible)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
AppleHealthKitWorkoutEvent.typeextensibleAppleHealthKitWorkoutEventTypeValueSet (a valid code from Apple HealthKit Workout Event Type Code System)
http://hl7.org/fhir/uv/phr/ValueSet/apple-health-kit-workout-event-type-value-set
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. AppleHealthKitWorkoutEvent 0..* Base Apple HealthKit Workout Event Logical Model
Instances of this logical model are not marked to be the target of a Reference
... metadata 0..1 BackboneElement The metadata.
... dateInterval 0..1 BackboneElement The event's time and duration.
ele-1: All FHIR elements must have a @value or children
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... start 1..1 dateTime The dateInterval's start date.
.... end 0..1 dateTime The dateInterval's end date.
.... duration 0..1 OrgPeriod(5.1.0) The dateInterval's duration.
... type 1..1 code The workout event type.
Binding: Apple HealthKit Workout Event Type Value Set (extensible)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
AppleHealthKitWorkoutEvent.typeextensibleAppleHealthKitWorkoutEventTypeValueSet (a valid code from Apple HealthKit Workout Event Type Code System)
http://hl7.org/fhir/uv/phr/ValueSet/apple-health-kit-workout-event-type-value-set
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. AppleHealthKitWorkoutEvent 0..* Base Apple HealthKit Workout Event Logical Model
Instances of this logical model are not marked to be the target of a Reference
... metadata 0..1 BackboneElement The metadata.
... dateInterval 0..1 BackboneElement The event's time and duration.
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... start 1..1 dateTime The dateInterval's start date.
.... end 0..1 dateTime The dateInterval's end date.
.... duration 0..1 OrgPeriod(5.1.0) The dateInterval's duration.
... type 1..1 code The workout event type.
Binding: Apple HealthKit Workout Event Type Value Set (extensible)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
AppleHealthKitWorkoutEvent.typeextensibleAppleHealthKitWorkoutEventTypeValueSet (a valid code from Apple HealthKit Workout Event Type Code System)
http://hl7.org/fhir/uv/phr/ValueSet/apple-health-kit-workout-event-type-value-set
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Base

Summary

Mandatory: 0 element(2 nested mandatory elements)

Structures

This structure refers to these other structures:

Differential View

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. AppleHealthKitWorkoutEvent 0..* Base Apple HealthKit Workout Event Logical Model
Instances of this logical model are not marked to be the target of a Reference
... metadata 0..1 BackboneElement The metadata.
... dateInterval 0..1 BackboneElement The event's time and duration.
.... start 1..1 dateTime The dateInterval's start date.
.... end 0..1 dateTime The dateInterval's end date.
.... duration 0..1 OrgPeriod(5.1.0) The dateInterval's duration.
... type 1..1 code The workout event type.
Binding: Apple HealthKit Workout Event Type Value Set (extensible)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
AppleHealthKitWorkoutEvent.typeextensibleAppleHealthKitWorkoutEventTypeValueSet (a valid code from Apple HealthKit Workout Event Type Code System)
http://hl7.org/fhir/uv/phr/ValueSet/apple-health-kit-workout-event-type-value-set
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. AppleHealthKitWorkoutEvent 0..* Base Apple HealthKit Workout Event Logical Model
Instances of this logical model are not marked to be the target of a Reference
... metadata 0..1 BackboneElement The metadata.
... dateInterval 0..1 BackboneElement The event's time and duration.
ele-1: All FHIR elements must have a @value or children
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... start 1..1 dateTime The dateInterval's start date.
.... end 0..1 dateTime The dateInterval's end date.
.... duration 0..1 OrgPeriod(5.1.0) The dateInterval's duration.
... type 1..1 code The workout event type.
Binding: Apple HealthKit Workout Event Type Value Set (extensible)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
AppleHealthKitWorkoutEvent.typeextensibleAppleHealthKitWorkoutEventTypeValueSet (a valid code from Apple HealthKit Workout Event Type Code System)
http://hl7.org/fhir/uv/phr/ValueSet/apple-health-kit-workout-event-type-value-set
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. AppleHealthKitWorkoutEvent 0..* Base Apple HealthKit Workout Event Logical Model
Instances of this logical model are not marked to be the target of a Reference
... metadata 0..1 BackboneElement The metadata.
... dateInterval 0..1 BackboneElement The event's time and duration.
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... start 1..1 dateTime The dateInterval's start date.
.... end 0..1 dateTime The dateInterval's end date.
.... duration 0..1 OrgPeriod(5.1.0) The dateInterval's duration.
... type 1..1 code The workout event type.
Binding: Apple HealthKit Workout Event Type Value Set (extensible)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
AppleHealthKitWorkoutEvent.typeextensibleAppleHealthKitWorkoutEventTypeValueSet (a valid code from Apple HealthKit Workout Event Type Code System)
http://hl7.org/fhir/uv/phr/ValueSet/apple-health-kit-workout-event-type-value-set
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Base

Summary

Mandatory: 0 element(2 nested mandatory elements)

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel