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: AppleHealthKitWorkoutEvent - XML Profile

Draft as of 2023-09-13

XML representation of the apple-health-kit-workout-event logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="apple-health-kit-workout-event"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml">Placeholder</div>
  </text>
  <url
       value="https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-health-kit-workout-event"/>
  <version value="0.4.4"/>
  <name value="AppleHealthKitWorkoutEvent"/>
  <title value="Apple HealthKit Workout Event Logical Model"/>
  <status value="draft"/>
  <date value="2023-09-13T16:34:31+00:00"/>
  <publisher value="MITRE"/>
  <contact>
    <name value="MITRE"/>
    <telecom>
      <system value="url"/>
      <value
             value="https://open-health-manager.github.io/standard-patient-health-record-ig"/>
    </telecom>
  </contact>
  <description value="Data elements for the Apple HealthKit HKWorkoutEvent."/>
  <fhirVersion value="4.0.1"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type
        value="https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-health-kit-workout-event"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="apple-health-kit-workout-event">
      <path value="apple-health-kit-workout-event"/>
      <short value="Apple HealthKit Workout Event Logical Model"/>
      <definition
                  value="Data elements for the Apple HealthKit HKWorkoutEvent."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
    </element>
    <element id="apple-health-kit-workout-event.metadata">
      <path value="apple-health-kit-workout-event.metadata"/>
      <short value="The metadata."/>
      <definition value="The metadata."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="apple-health-kit-workout-event.metadata"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="apple-health-kit-workout-event.dateInterval">
      <path value="apple-health-kit-workout-event.dateInterval"/>
      <short value="The event's time and duration."/>
      <definition value="The event's time and duration."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="apple-health-kit-workout-event.dateInterval"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="apple-health-kit-workout-event.dateInterval.id">
      <path value="apple-health-kit-workout-event.dateInterval.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="apple-health-kit-workout-event.dateInterval.extension">
      <path value="apple-health-kit-workout-event.dateInterval.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="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
               value="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 value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="apple-health-kit-workout-event.dateInterval.modifierExtension">
      <path
            value="apple-health-kit-workout-event.dateInterval.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="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.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="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
                    value="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 value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="apple-health-kit-workout-event.dateInterval.start">
      <path value="apple-health-kit-workout-event.dateInterval.start"/>
      <short value="The dateInterval's start date."/>
      <definition value="The dateInterval's start date."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="apple-health-kit-workout-event.dateInterval.start"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="apple-health-kit-workout-event.dateInterval.end">
      <path value="apple-health-kit-workout-event.dateInterval.end"/>
      <short value="The dateInterval's end date."/>
      <definition value="The dateInterval's end date."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="apple-health-kit-workout-event.dateInterval.end"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="apple-health-kit-workout-event.dateInterval.duration">
      <path value="apple-health-kit-workout-event.dateInterval.duration"/>
      <short value="The dateInterval's duration."/>
      <definition value="The dateInterval's duration."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="apple-health-kit-workout-event.dateInterval.duration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/organization-period"/>
      </type>
    </element>
    <element id="apple-health-kit-workout-event.type">
      <path value="apple-health-kit-workout-event.type"/>
      <short value="The workout event type."/>
      <definition value="The workout event type."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="apple-health-kit-workout-event.type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet
                  value="https://open-health-manager.github.io/standard-patient-health-record-ig/ValueSet/apple-health-kit-workout-event-type-value-set"/>
      </binding>
    </element>
  </snapshot>
  <differential>
    <element id="apple-health-kit-workout-event">
      <path value="apple-health-kit-workout-event"/>
      <short value="Apple HealthKit Workout Event Logical Model"/>
      <definition
                  value="Data elements for the Apple HealthKit HKWorkoutEvent."/>
    </element>
    <element id="apple-health-kit-workout-event.metadata">
      <path value="apple-health-kit-workout-event.metadata"/>
      <short value="The metadata."/>
      <definition value="The metadata."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="apple-health-kit-workout-event.dateInterval">
      <path value="apple-health-kit-workout-event.dateInterval"/>
      <short value="The event's time and duration."/>
      <definition value="The event's time and duration."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="apple-health-kit-workout-event.dateInterval.start">
      <path value="apple-health-kit-workout-event.dateInterval.start"/>
      <short value="The dateInterval's start date."/>
      <definition value="The dateInterval's start date."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="apple-health-kit-workout-event.dateInterval.end">
      <path value="apple-health-kit-workout-event.dateInterval.end"/>
      <short value="The dateInterval's end date."/>
      <definition value="The dateInterval's end date."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="apple-health-kit-workout-event.dateInterval.duration">
      <path value="apple-health-kit-workout-event.dateInterval.duration"/>
      <short value="The dateInterval's duration."/>
      <definition value="The dateInterval's duration."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/organization-period"/>
      </type>
    </element>
    <element id="apple-health-kit-workout-event.type">
      <path value="apple-health-kit-workout-event.type"/>
      <short value="The workout event type."/>
      <definition value="The workout event type."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet
                  value="https://open-health-manager.github.io/standard-patient-health-record-ig/ValueSet/apple-health-kit-workout-event-type-value-set"/>
      </binding>
    </element>
  </differential>
</StructureDefinition>