0.4.4 - ci-build
StandardPatientHealthRecordIG - Local Development build (v0.4.4). See the Directory of published versions
Official URL: https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-health-kit-quantity-sample | Version: 0.4.4 | |||
Draft as of 2023-03-03 | Computable Name: AppleHealthKitQuantitySample |
Data elements for the Apple HealthKit HKQuantitySample.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from AppleHealthKitSample
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | AppleHealthKitSample | Apple HealthKit Quantity Sample Logical Model | |
![]() ![]() ![]() | 1..1 | BackboneElement | The quantity for this sample. | |
![]() ![]() ![]() ![]() | 0..1 | string | The unit string. | |
![]() ![]() ![]() ![]() | 0..1 | decimal | Returns the quantity’s value in the provided unit. | |
![]() ![]() ![]() | 0..1 | integer | The number of quantities contained in this sample. | |
![]() ![]() ![]() | 1..1 | code | The quantity type for this sample. Binding: Apple HealthKit Quantity Type Value Set (extensible) | |
![]() |
Path | Conformance | ValueSet |
apple-health-kit-quantity-sample.quantityType | extensible | AppleHealthKitQuantityTypeValueSet (a valid code from Apple HealthKit Quantity Type Code System) |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | AppleHealthKitSample | Apple HealthKit Quantity Sample Logical Model | |
![]() ![]() ![]() | 1..1 | string | The universally unique identifier (UUID) for this HealthKit object. | |
![]() ![]() ![]() | 1..1 | BackboneElement | The app or device that created this object. | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | BackboneElement | The source for a sample. | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | The source’s bundle identifier. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | The source’s name. | |
![]() ![]() ![]() ![]() | 1..1 | BackboneElement | A string that identifies the operating system used to save a sample. | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer | The major release number, such as 10 in version 10.9.3. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer | The minor release number, such as 9 in version 10.9.3. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer | The update release number, such as 3 in version 10.9.3. | |
![]() ![]() ![]() | 1..1 | code | The sample type. Binding: Apple HealthKit Sample Type Value Set (extensible) | |
![]() ![]() ![]() | 1..1 | BackboneElement | The quantity for this sample. | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 0..1 | string | The unit string. | |
![]() ![]() ![]() ![]() | 0..1 | decimal | Returns the quantity’s value in the provided unit. | |
![]() ![]() ![]() | 0..1 | integer | The number of quantities contained in this sample. | |
![]() ![]() ![]() | 1..1 | code | The quantity type for this sample. Binding: Apple HealthKit Quantity Type Value Set (extensible) | |
![]() |
Path | Conformance | ValueSet |
apple-health-kit-quantity-sample.sampleType | extensible | AppleHealthKitSampleTypeValueSet (a valid code from Apple HealthKit Sample Type Code System) |
apple-health-kit-quantity-sample.quantityType | extensible | AppleHealthKitQuantityTypeValueSet (a valid code from Apple HealthKit Quantity Type Code System) |
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() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | AppleHealthKitSample | Apple HealthKit Quantity Sample Logical Model | |
![]() ![]() ![]() | 1..1 | string | The universally unique identifier (UUID) for this HealthKit object. | |
![]() ![]() ![]() | 0..* | BackboneElement | The metadata for this HealthKit object. | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | string | Constants used to add metadata to objects stored in HealthKit. | |
![]() ![]() ![]() ![]() | 1..1 | The metadata dictionary value. | ||
![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() | dateTime | |||
![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() | decimal | |||
![]() ![]() ![]() ![]() ![]() | boolean | |||
![]() ![]() ![]() ![]() ![]() | positiveInt | |||
![]() ![]() ![]() ![]() ![]() | unsignedInt | |||
![]() ![]() ![]() | 0..1 | BackboneElement | The device that generated the data for this object. | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 0..1 | string | The device identifier portion of the US Food and Drug Administration’s Unique Device Identifier (UDI). | |
![]() ![]() ![]() ![]() | 0..1 | string | An arbitrary string representing the current version of the firmware running on the device. | |
![]() ![]() ![]() ![]() | 0..1 | string | An arbitrary string representing the hardware version of the device. | |
![]() ![]() ![]() ![]() | 0..1 | string | An identifier that uniquely identifies the device object on the hardware running this code. | |
![]() ![]() ![]() ![]() | 0..1 | string | A string representing the device’s manufacturer. | |
![]() ![]() ![]() ![]() | 0..1 | string | A string representing the device’s model. | |
![]() ![]() ![]() ![]() | 0..1 | string | The user-facing name for the device. | |
![]() ![]() ![]() ![]() | 0..1 | string | An arbitrary string representing the version of the software running on the device. | |
![]() ![]() ![]() | 1..1 | BackboneElement | The app or device that created this object. | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | BackboneElement | The source for a sample. | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | The source’s bundle identifier. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | The source’s name. | |
![]() ![]() ![]() ![]() | 0..1 | string | A string that identifies a particular version of the source. | |
![]() ![]() ![]() ![]() | 1..1 | BackboneElement | A string that identifies the operating system used to save a sample. | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer | The major release number, such as 10 in version 10.9.3. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer | The minor release number, such as 9 in version 10.9.3. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer | The update release number, such as 3 in version 10.9.3. | |
![]() ![]() ![]() ![]() | 0..1 | string | A string that identifies the device used to save a sample. | |
![]() ![]() ![]() | 0..1 | dateTime | The sample's start date. | |
![]() ![]() ![]() | 0..1 | dateTime | The sample's end date. | |
![]() ![]() ![]() | 0..1 | boolean | Indicates whether the sample has an unknown duration. | |
![]() ![]() ![]() | 1..1 | code | The sample type. Binding: Apple HealthKit Sample Type Value Set (extensible) | |
![]() ![]() ![]() | 1..1 | BackboneElement | The quantity for this sample. | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 0..1 | string | The unit string. | |
![]() ![]() ![]() ![]() | 0..1 | decimal | Returns the quantity’s value in the provided unit. | |
![]() ![]() ![]() | 0..1 | integer | The number of quantities contained in this sample. | |
![]() ![]() ![]() | 1..1 | code | The quantity type for this sample. Binding: Apple HealthKit Quantity Type Value Set (extensible) | |
![]() |
Path | Conformance | ValueSet |
apple-health-kit-quantity-sample.sampleType | extensible | AppleHealthKitSampleTypeValueSet (a valid code from Apple HealthKit Sample Type Code System) |
apple-health-kit-quantity-sample.quantityType | extensible | AppleHealthKitQuantityTypeValueSet (a valid code from Apple HealthKit Quantity Type Code System) |
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() |
This structure is derived from AppleHealthKitSample
Differential View
This structure is derived from AppleHealthKitSample
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | AppleHealthKitSample | Apple HealthKit Quantity Sample Logical Model | |
![]() ![]() ![]() | 1..1 | BackboneElement | The quantity for this sample. | |
![]() ![]() ![]() ![]() | 0..1 | string | The unit string. | |
![]() ![]() ![]() ![]() | 0..1 | decimal | Returns the quantity’s value in the provided unit. | |
![]() ![]() ![]() | 0..1 | integer | The number of quantities contained in this sample. | |
![]() ![]() ![]() | 1..1 | code | The quantity type for this sample. Binding: Apple HealthKit Quantity Type Value Set (extensible) | |
![]() |
Path | Conformance | ValueSet |
apple-health-kit-quantity-sample.quantityType | extensible | AppleHealthKitQuantityTypeValueSet (a valid code from Apple HealthKit Quantity Type Code System) |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | AppleHealthKitSample | Apple HealthKit Quantity Sample Logical Model | |
![]() ![]() ![]() | 1..1 | string | The universally unique identifier (UUID) for this HealthKit object. | |
![]() ![]() ![]() | 1..1 | BackboneElement | The app or device that created this object. | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | BackboneElement | The source for a sample. | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | The source’s bundle identifier. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | The source’s name. | |
![]() ![]() ![]() ![]() | 1..1 | BackboneElement | A string that identifies the operating system used to save a sample. | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer | The major release number, such as 10 in version 10.9.3. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer | The minor release number, such as 9 in version 10.9.3. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer | The update release number, such as 3 in version 10.9.3. | |
![]() ![]() ![]() | 1..1 | code | The sample type. Binding: Apple HealthKit Sample Type Value Set (extensible) | |
![]() ![]() ![]() | 1..1 | BackboneElement | The quantity for this sample. | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 0..1 | string | The unit string. | |
![]() ![]() ![]() ![]() | 0..1 | decimal | Returns the quantity’s value in the provided unit. | |
![]() ![]() ![]() | 0..1 | integer | The number of quantities contained in this sample. | |
![]() ![]() ![]() | 1..1 | code | The quantity type for this sample. Binding: Apple HealthKit Quantity Type Value Set (extensible) | |
![]() |
Path | Conformance | ValueSet |
apple-health-kit-quantity-sample.sampleType | extensible | AppleHealthKitSampleTypeValueSet (a valid code from Apple HealthKit Sample Type Code System) |
apple-health-kit-quantity-sample.quantityType | extensible | AppleHealthKitQuantityTypeValueSet (a valid code from Apple HealthKit Quantity Type Code System) |
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() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | AppleHealthKitSample | Apple HealthKit Quantity Sample Logical Model | |
![]() ![]() ![]() | 1..1 | string | The universally unique identifier (UUID) for this HealthKit object. | |
![]() ![]() ![]() | 0..* | BackboneElement | The metadata for this HealthKit object. | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | string | Constants used to add metadata to objects stored in HealthKit. | |
![]() ![]() ![]() ![]() | 1..1 | The metadata dictionary value. | ||
![]() ![]() ![]() ![]() ![]() | string | |||
![]() ![]() ![]() ![]() ![]() | dateTime | |||
![]() ![]() ![]() ![]() ![]() | integer | |||
![]() ![]() ![]() ![]() ![]() | decimal | |||
![]() ![]() ![]() ![]() ![]() | boolean | |||
![]() ![]() ![]() ![]() ![]() | positiveInt | |||
![]() ![]() ![]() ![]() ![]() | unsignedInt | |||
![]() ![]() ![]() | 0..1 | BackboneElement | The device that generated the data for this object. | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 0..1 | string | The device identifier portion of the US Food and Drug Administration’s Unique Device Identifier (UDI). | |
![]() ![]() ![]() ![]() | 0..1 | string | An arbitrary string representing the current version of the firmware running on the device. | |
![]() ![]() ![]() ![]() | 0..1 | string | An arbitrary string representing the hardware version of the device. | |
![]() ![]() ![]() ![]() | 0..1 | string | An identifier that uniquely identifies the device object on the hardware running this code. | |
![]() ![]() ![]() ![]() | 0..1 | string | A string representing the device’s manufacturer. | |
![]() ![]() ![]() ![]() | 0..1 | string | A string representing the device’s model. | |
![]() ![]() ![]() ![]() | 0..1 | string | The user-facing name for the device. | |
![]() ![]() ![]() ![]() | 0..1 | string | An arbitrary string representing the version of the software running on the device. | |
![]() ![]() ![]() | 1..1 | BackboneElement | The app or device that created this object. | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | BackboneElement | The source for a sample. | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | The source’s bundle identifier. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | string | The source’s name. | |
![]() ![]() ![]() ![]() | 0..1 | string | A string that identifies a particular version of the source. | |
![]() ![]() ![]() ![]() | 1..1 | BackboneElement | A string that identifies the operating system used to save a sample. | |
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer | The major release number, such as 10 in version 10.9.3. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer | The minor release number, such as 9 in version 10.9.3. | |
![]() ![]() ![]() ![]() ![]() | 1..1 | integer | The update release number, such as 3 in version 10.9.3. | |
![]() ![]() ![]() ![]() | 0..1 | string | A string that identifies the device used to save a sample. | |
![]() ![]() ![]() | 0..1 | dateTime | The sample's start date. | |
![]() ![]() ![]() | 0..1 | dateTime | The sample's end date. | |
![]() ![]() ![]() | 0..1 | boolean | Indicates whether the sample has an unknown duration. | |
![]() ![]() ![]() | 1..1 | code | The sample type. Binding: Apple HealthKit Sample Type Value Set (extensible) | |
![]() ![]() ![]() | 1..1 | BackboneElement | The quantity for this sample. | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 0..1 | string | The unit string. | |
![]() ![]() ![]() ![]() | 0..1 | decimal | Returns the quantity’s value in the provided unit. | |
![]() ![]() ![]() | 0..1 | integer | The number of quantities contained in this sample. | |
![]() ![]() ![]() | 1..1 | code | The quantity type for this sample. Binding: Apple HealthKit Quantity Type Value Set (extensible) | |
![]() |
Path | Conformance | ValueSet |
apple-health-kit-quantity-sample.sampleType | extensible | AppleHealthKitSampleTypeValueSet (a valid code from Apple HealthKit Sample Type Code System) |
apple-health-kit-quantity-sample.quantityType | extensible | AppleHealthKitQuantityTypeValueSet (a valid code from Apple HealthKit Quantity Type Code System) |
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() |
This structure is derived from AppleHealthKitSample