0.4.4 - ci-build

StandardPatientHealthRecordIG, published by MITRE. This is not an authorized publication; it is the continuous build for version 0.4.4). This version is based on the current content of https://github.com/HL7/standard-patient-health-record-ig/ and changes regularly. See the Directory of published versions

Logical Model: AppleHealthKitWorkoutSample - JSON Profile

Draft as of 2023-09-13

JSON representation of the apple-health-kit-workout-sample logical model.

Raw json | Download


{
  "resourceType" : "StructureDefinition",
  "id" : "apple-health-kit-workout-sample",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Placeholder</div>"
  },
  "url" : "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-health-kit-workout-sample",
  "version" : "0.4.4",
  "name" : "AppleHealthKitWorkoutSample",
  "title" : "Apple HealthKit Workout Sample Logical Model",
  "status" : "draft",
  "date" : "2023-09-13T16:34:31+00:00",
  "publisher" : "MITRE",
  "contact" : [
    {
      "name" : "MITRE",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://open-health-manager.github.io/standard-patient-health-record-ig"
        }
      ]
    }
  ],
  "description" : "Data elements for the Apple HealthKit HKWorkout.",
  "fhirVersion" : "4.0.1",
  "mapping" : [
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    }
  ],
  "kind" : "logical",
  "abstract" : false,
  "type" : "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-health-kit-workout-sample",
  "baseDefinition" : "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-health-kit-sample",
  "derivation" : "specialization",
  "snapshot" : {
    "element" : [
      {
        "id" : "apple-health-kit-workout-sample",
        "path" : "apple-health-kit-workout-sample",
        "short" : "Apple HealthKit Workout Sample Logical Model",
        "definition" : "Data elements for the Apple HealthKit HKWorkout.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Base",
          "min" : 0,
          "max" : "*"
        },
        "isModifier" : false
      },
      {
        "id" : "apple-health-kit-workout-sample.uuid",
        "path" : "apple-health-kit-workout-sample.uuid",
        "short" : "The universally unique identifier (UUID) for this HealthKit object.",
        "definition" : "The universally unique identifier (UUID) for this HealthKit object.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.uuid",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.metadata",
        "path" : "apple-health-kit-workout-sample.metadata",
        "short" : "The metadata for this HealthKit object.",
        "definition" : "The metadata for this HealthKit object.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "apple-health-kit-object.metadata",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.metadata.id",
        "path" : "apple-health-kit-workout-sample.metadata.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.metadata.extension",
        "path" : "apple-health-kit-workout-sample.metadata.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.metadata.modifierExtension",
        "path" : "apple-health-kit-workout-sample.metadata.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.metadata.key",
        "path" : "apple-health-kit-workout-sample.metadata.key",
        "short" : "Constants used to add metadata to objects stored in HealthKit.",
        "definition" : "Constants used to add metadata to objects stored in HealthKit.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.metadata.key",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.metadata.value[x]",
        "path" : "apple-health-kit-workout-sample.metadata.value[x]",
        "short" : "The metadata dictionary value.",
        "definition" : "The metadata dictionary value.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.metadata.value[x]",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "unsignedInt"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.device",
        "path" : "apple-health-kit-workout-sample.device",
        "short" : "The device that generated the data for this object.",
        "definition" : "The device that generated the data for this object.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.device",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.device.id",
        "path" : "apple-health-kit-workout-sample.device.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.device.extension",
        "path" : "apple-health-kit-workout-sample.device.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.device.modifierExtension",
        "path" : "apple-health-kit-workout-sample.device.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.device.udiDeviceIdentifier",
        "path" : "apple-health-kit-workout-sample.device.udiDeviceIdentifier",
        "short" : "The device identifier portion of the US Food and Drug Administration’s Unique Device Identifier (UDI).",
        "definition" : "The device identifier portion of the US Food and Drug Administration’s Unique Device Identifier (UDI).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.device.udiDeviceIdentifier",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.device.firmwareVersion",
        "path" : "apple-health-kit-workout-sample.device.firmwareVersion",
        "short" : "An arbitrary string representing the current version of the firmware running on the device.",
        "definition" : "An arbitrary string representing the current version of the firmware running on the device.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.device.firmwareVersion",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.device.hardwareVersion",
        "path" : "apple-health-kit-workout-sample.device.hardwareVersion",
        "short" : "An arbitrary string representing the hardware version of the device.",
        "definition" : "An arbitrary string representing the hardware version of the device.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.device.hardwareVersion",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.device.localIdentifier",
        "path" : "apple-health-kit-workout-sample.device.localIdentifier",
        "short" : "An identifier that uniquely identifies the device object on the hardware running this code.",
        "definition" : "An identifier that uniquely identifies the device object on the hardware running this code.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.device.localIdentifier",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.device.manufacturer",
        "path" : "apple-health-kit-workout-sample.device.manufacturer",
        "short" : "A string representing the device’s manufacturer.",
        "definition" : "A string representing the device’s manufacturer.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.device.manufacturer",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.device.model",
        "path" : "apple-health-kit-workout-sample.device.model",
        "short" : "A string representing the device’s model.",
        "definition" : "A string representing the device’s model.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.device.model",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.device.name",
        "path" : "apple-health-kit-workout-sample.device.name",
        "short" : "The user-facing name for the device.",
        "definition" : "The user-facing name for the device.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.device.name",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.device.softwareVersion",
        "path" : "apple-health-kit-workout-sample.device.softwareVersion",
        "short" : "An arbitrary string representing the version of the software running on the device.",
        "definition" : "An arbitrary string representing the version of the software running on the device.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.device.softwareVersion",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision",
        "path" : "apple-health-kit-workout-sample.sourceRevision",
        "short" : "The app or device that created this object.",
        "definition" : "The app or device that created this object.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.sourceRevision",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.id",
        "path" : "apple-health-kit-workout-sample.sourceRevision.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.extension",
        "path" : "apple-health-kit-workout-sample.sourceRevision.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.modifierExtension",
        "path" : "apple-health-kit-workout-sample.sourceRevision.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.source",
        "path" : "apple-health-kit-workout-sample.sourceRevision.source",
        "short" : "The source for a sample.",
        "definition" : "The source for a sample.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.sourceRevision.source",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.source.id",
        "path" : "apple-health-kit-workout-sample.sourceRevision.source.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.source.extension",
        "path" : "apple-health-kit-workout-sample.sourceRevision.source.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.source.modifierExtension",
        "path" : "apple-health-kit-workout-sample.sourceRevision.source.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.source.bundleIdentifier",
        "path" : "apple-health-kit-workout-sample.sourceRevision.source.bundleIdentifier",
        "short" : "The source’s bundle identifier.",
        "definition" : "The source’s bundle identifier.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.sourceRevision.source.bundleIdentifier",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.source.name",
        "path" : "apple-health-kit-workout-sample.sourceRevision.source.name",
        "short" : "The source’s name.",
        "definition" : "The source’s name.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.sourceRevision.source.name",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.version",
        "path" : "apple-health-kit-workout-sample.sourceRevision.version",
        "short" : "A string that identifies a particular version of the source.",
        "definition" : "A string that identifies a particular version of the source.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.sourceRevision.version",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion",
        "path" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion",
        "short" : "A string that identifies the operating system used to save a sample.",
        "definition" : "A string that identifies the operating system used to save a sample.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.sourceRevision.operatingSystemVersion",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion.id",
        "path" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion.extension",
        "path" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion.modifierExtension",
        "path" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion.majorVersion",
        "path" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion.majorVersion",
        "short" : "The major release number, such as 10 in version 10.9.3.",
        "definition" : "The major release number, such as 10 in version 10.9.3.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.sourceRevision.operatingSystemVersion.majorVersion",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion.minorVersion",
        "path" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion.minorVersion",
        "short" : "The minor release number, such as 9 in version 10.9.3.",
        "definition" : "The minor release number, such as 9 in version 10.9.3.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.sourceRevision.operatingSystemVersion.minorVersion",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion.patchVersion",
        "path" : "apple-health-kit-workout-sample.sourceRevision.operatingSystemVersion.patchVersion",
        "short" : "The update release number, such as 3 in version 10.9.3.",
        "definition" : "The update release number, such as 3 in version 10.9.3.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.sourceRevision.operatingSystemVersion.patchVersion",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sourceRevision.productType",
        "path" : "apple-health-kit-workout-sample.sourceRevision.productType",
        "short" : "A string that identifies the device used to save a sample.",
        "definition" : "A string that identifies the device used to save a sample.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-object.sourceRevision.productType",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.startDate",
        "path" : "apple-health-kit-workout-sample.startDate",
        "short" : "The sample's start date.",
        "definition" : "The sample's start date.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-sample.startDate",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.endDate",
        "path" : "apple-health-kit-workout-sample.endDate",
        "short" : "The sample's end date.",
        "definition" : "The sample's end date.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-sample.endDate",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.hasUndeterminedDuration",
        "path" : "apple-health-kit-workout-sample.hasUndeterminedDuration",
        "short" : "Indicates whether the sample has an unknown duration.",
        "definition" : "Indicates whether the sample has an unknown duration.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-sample.hasUndeterminedDuration",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.sampleType",
        "path" : "apple-health-kit-workout-sample.sampleType",
        "short" : "The sample type.",
        "definition" : "The sample type.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-sample.sampleType",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "valueSet" : "https://open-health-manager.github.io/standard-patient-health-record-ig/ValueSet/apple-health-kit-sample-type-value-set"
        }
      },
      {
        "id" : "apple-health-kit-workout-sample.duration",
        "path" : "apple-health-kit-workout-sample.duration",
        "short" : "The workout duration in number of seconds.",
        "definition" : "The workout duration in number of seconds.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-workout-sample.duration",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "decimal"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.workoutActivityType",
        "path" : "apple-health-kit-workout-sample.workoutActivityType",
        "short" : "The sample's workout activity type.",
        "definition" : "When HKSample is an HKWorkoutActivity, the corresponding workoutActivityType.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "apple-health-kit-workout-sample.workoutActivityType",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "valueSet" : "https://open-health-manager.github.io/standard-patient-health-record-ig/ValueSet/apple-health-kit-workout-activity-type-value-set"
        }
      },
      {
        "id" : "apple-health-kit-workout-sample.workoutActivities",
        "path" : "apple-health-kit-workout-sample.workoutActivities",
        "short" : "The sample's workout activities.",
        "definition" : "The sample's workout activities.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "apple-health-kit-workout-sample.workoutActivities",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-health-kit-workout-activity"
            ]
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.workoutEvents",
        "path" : "apple-health-kit-workout-sample.workoutEvents",
        "short" : "The sample's workout events.",
        "definition" : "The sample's workout events, in agreement with workoutActivities.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "apple-health-kit-workout-sample.workoutEvents",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-health-kit-workout-event"
            ]
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "apple-health-kit-workout-sample",
        "path" : "apple-health-kit-workout-sample",
        "short" : "Apple HealthKit Workout Sample Logical Model",
        "definition" : "Data elements for the Apple HealthKit HKWorkout."
      },
      {
        "id" : "apple-health-kit-workout-sample.duration",
        "path" : "apple-health-kit-workout-sample.duration",
        "short" : "The workout duration in number of seconds.",
        "definition" : "The workout duration in number of seconds.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "decimal"
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.workoutActivityType",
        "path" : "apple-health-kit-workout-sample.workoutActivityType",
        "short" : "The sample's workout activity type.",
        "definition" : "When HKSample is an HKWorkoutActivity, the corresponding workoutActivityType.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "valueSet" : "https://open-health-manager.github.io/standard-patient-health-record-ig/ValueSet/apple-health-kit-workout-activity-type-value-set"
        }
      },
      {
        "id" : "apple-health-kit-workout-sample.workoutActivities",
        "path" : "apple-health-kit-workout-sample.workoutActivities",
        "short" : "The sample's workout activities.",
        "definition" : "The sample's workout activities.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-health-kit-workout-activity"
            ]
          }
        ]
      },
      {
        "id" : "apple-health-kit-workout-sample.workoutEvents",
        "path" : "apple-health-kit-workout-sample.workoutEvents",
        "short" : "The sample's workout events.",
        "definition" : "The sample's workout events, in agreement with workoutActivities.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-health-kit-workout-event"
            ]
          }
        ]
      }
    ]
  }
}