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
Draft as of 2023-09-13 |
XML representation of the apple-health-kit-category-sample logical model.
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="apple-health-kit-category-sample"/>
<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-category-sample"/>
<version value="0.4.4"/>
<name value="AppleHealthKitCategorySample"/>
<title value="Apple HealthKit Category Sample 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 HKCategorySample."/>
<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-category-sample"/>
<baseDefinition
value="https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-health-kit-sample"/>
<derivation value="specialization"/>
<snapshot>
<element id="apple-health-kit-category-sample">
<path value="apple-health-kit-category-sample"/>
<short value="Apple HealthKit Category Sample Logical Model"/>
<definition
value="Data elements for the Apple HealthKit HKCategorySample."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Base"/>
<min value="0"/>
<max value="*"/>
</base>
<isModifier value="false"/>
</element>
<element id="apple-health-kit-category-sample.uuid">
<path value="apple-health-kit-category-sample.uuid"/>
<short
value="The universally unique identifier (UUID) for this HealthKit object."/>
<definition
value="The universally unique identifier (UUID) for this HealthKit object."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.uuid"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="apple-health-kit-category-sample.metadata">
<path value="apple-health-kit-category-sample.metadata"/>
<short value="The metadata for this HealthKit object."/>
<definition value="The metadata for this HealthKit object."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="apple-health-kit-object.metadata"/>
<min value="0"/>
<max value="*"/>
</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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
</element>
<element id="apple-health-kit-category-sample.metadata.id">
<path value="apple-health-kit-category-sample.metadata.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-category-sample.metadata.extension">
<path value="apple-health-kit-category-sample.metadata.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() > 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(.), "value")])"/>
<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-category-sample.metadata.modifierExtension">
<path
value="apple-health-kit-category-sample.metadata.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() > 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(.), "value")])"/>
<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-category-sample.metadata.key">
<path value="apple-health-kit-category-sample.metadata.key"/>
<short
value="Constants used to add metadata to objects stored in HealthKit."/>
<definition
value="Constants used to add metadata to objects stored in HealthKit."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.metadata.key"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="apple-health-kit-category-sample.metadata.value[x]">
<path value="apple-health-kit-category-sample.metadata.value[x]"/>
<short value="The metadata dictionary value."/>
<definition value="The metadata dictionary value."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.metadata.value[x]"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<type>
<code value="dateTime"/>
</type>
<type>
<code value="integer"/>
</type>
<type>
<code value="decimal"/>
</type>
<type>
<code value="boolean"/>
</type>
<type>
<code value="positiveInt"/>
</type>
<type>
<code value="unsignedInt"/>
</type>
</element>
<element id="apple-health-kit-category-sample.device">
<path value="apple-health-kit-category-sample.device"/>
<short value="The device that generated the data for this object."/>
<definition
value="The device that generated the data for this object."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.device"/>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
</element>
<element id="apple-health-kit-category-sample.device.id">
<path value="apple-health-kit-category-sample.device.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-category-sample.device.extension">
<path value="apple-health-kit-category-sample.device.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() > 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(.), "value")])"/>
<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-category-sample.device.modifierExtension">
<path
value="apple-health-kit-category-sample.device.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() > 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(.), "value")])"/>
<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-category-sample.device.udiDeviceIdentifier">
<path
value="apple-health-kit-category-sample.device.udiDeviceIdentifier"/>
<short
value="The device identifier portion of the US Food and Drug Administration’s Unique Device Identifier (UDI)."/>
<definition
value="The device identifier portion of the US Food and Drug Administration’s Unique Device Identifier (UDI)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.device.udiDeviceIdentifier"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="apple-health-kit-category-sample.device.firmwareVersion">
<path value="apple-health-kit-category-sample.device.firmwareVersion"/>
<short
value="An arbitrary string representing the current version of the firmware running on the device."/>
<definition
value="An arbitrary string representing the current version of the firmware running on the device."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.device.firmwareVersion"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="apple-health-kit-category-sample.device.hardwareVersion">
<path value="apple-health-kit-category-sample.device.hardwareVersion"/>
<short
value="An arbitrary string representing the hardware version of the device."/>
<definition
value="An arbitrary string representing the hardware version of the device."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.device.hardwareVersion"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="apple-health-kit-category-sample.device.localIdentifier">
<path value="apple-health-kit-category-sample.device.localIdentifier"/>
<short
value="An identifier that uniquely identifies the device object on the hardware running this code."/>
<definition
value="An identifier that uniquely identifies the device object on the hardware running this code."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.device.localIdentifier"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="apple-health-kit-category-sample.device.manufacturer">
<path value="apple-health-kit-category-sample.device.manufacturer"/>
<short value="A string representing the device’s manufacturer."/>
<definition value="A string representing the device’s manufacturer."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.device.manufacturer"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="apple-health-kit-category-sample.device.model">
<path value="apple-health-kit-category-sample.device.model"/>
<short value="A string representing the device’s model."/>
<definition value="A string representing the device’s model."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.device.model"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="apple-health-kit-category-sample.device.name">
<path value="apple-health-kit-category-sample.device.name"/>
<short value="The user-facing name for the device."/>
<definition value="The user-facing name for the device."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.device.name"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="apple-health-kit-category-sample.device.softwareVersion">
<path value="apple-health-kit-category-sample.device.softwareVersion"/>
<short
value="An arbitrary string representing the version of the software running on the device."/>
<definition
value="An arbitrary string representing the version of the software running on the device."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.device.softwareVersion"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="apple-health-kit-category-sample.sourceRevision">
<path value="apple-health-kit-category-sample.sourceRevision"/>
<short value="The app or device that created this object."/>
<definition value="The app or device that created this object."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.sourceRevision"/>
<min value="1"/>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
</element>
<element id="apple-health-kit-category-sample.sourceRevision.id">
<path value="apple-health-kit-category-sample.sourceRevision.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-category-sample.sourceRevision.extension">
<path
value="apple-health-kit-category-sample.sourceRevision.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() > 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(.), "value")])"/>
<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-category-sample.sourceRevision.modifierExtension">
<path
value="apple-health-kit-category-sample.sourceRevision.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() > 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(.), "value")])"/>
<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-category-sample.sourceRevision.source">
<path value="apple-health-kit-category-sample.sourceRevision.source"/>
<short value="The source for a sample."/>
<definition value="The source for a sample."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.sourceRevision.source"/>
<min value="1"/>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
</element>
<element id="apple-health-kit-category-sample.sourceRevision.source.id">
<path
value="apple-health-kit-category-sample.sourceRevision.source.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-category-sample.sourceRevision.source.extension">
<path
value="apple-health-kit-category-sample.sourceRevision.source.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() > 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(.), "value")])"/>
<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-category-sample.sourceRevision.source.modifierExtension">
<path
value="apple-health-kit-category-sample.sourceRevision.source.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() > 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(.), "value")])"/>
<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-category-sample.sourceRevision.source.bundleIdentifier">
<path
value="apple-health-kit-category-sample.sourceRevision.source.bundleIdentifier"/>
<short value="The source’s bundle identifier."/>
<definition value="The source’s bundle identifier."/>
<min value="1"/>
<max value="1"/>
<base>
<path
value="apple-health-kit-object.sourceRevision.source.bundleIdentifier"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element
id="apple-health-kit-category-sample.sourceRevision.source.name">
<path
value="apple-health-kit-category-sample.sourceRevision.source.name"/>
<short value="The source’s name."/>
<definition value="The source’s name."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.sourceRevision.source.name"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="apple-health-kit-category-sample.sourceRevision.version">
<path value="apple-health-kit-category-sample.sourceRevision.version"/>
<short
value="A string that identifies a particular version of the source."/>
<definition
value="A string that identifies a particular version of the source."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.sourceRevision.version"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element
id="apple-health-kit-category-sample.sourceRevision.operatingSystemVersion">
<path
value="apple-health-kit-category-sample.sourceRevision.operatingSystemVersion"/>
<short
value="A string that identifies the operating system used to save a sample."/>
<definition
value="A string that identifies the operating system used to save a sample."/>
<min value="1"/>
<max value="1"/>
<base>
<path
value="apple-health-kit-object.sourceRevision.operatingSystemVersion"/>
<min value="1"/>
<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() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
</element>
<element
id="apple-health-kit-category-sample.sourceRevision.operatingSystemVersion.id">
<path
value="apple-health-kit-category-sample.sourceRevision.operatingSystemVersion.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-category-sample.sourceRevision.operatingSystemVersion.extension">
<path
value="apple-health-kit-category-sample.sourceRevision.operatingSystemVersion.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() > 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(.), "value")])"/>
<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-category-sample.sourceRevision.operatingSystemVersion.modifierExtension">
<path
value="apple-health-kit-category-sample.sourceRevision.operatingSystemVersion.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() > 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(.), "value")])"/>
<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-category-sample.sourceRevision.operatingSystemVersion.majorVersion">
<path
value="apple-health-kit-category-sample.sourceRevision.operatingSystemVersion.majorVersion"/>
<short value="The major release number, such as 10 in version 10.9.3."/>
<definition
value="The major release number, such as 10 in version 10.9.3."/>
<min value="1"/>
<max value="1"/>
<base>
<path
value="apple-health-kit-object.sourceRevision.operatingSystemVersion.majorVersion"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="integer"/>
</type>
</element>
<element
id="apple-health-kit-category-sample.sourceRevision.operatingSystemVersion.minorVersion">
<path
value="apple-health-kit-category-sample.sourceRevision.operatingSystemVersion.minorVersion"/>
<short value="The minor release number, such as 9 in version 10.9.3."/>
<definition
value="The minor release number, such as 9 in version 10.9.3."/>
<min value="1"/>
<max value="1"/>
<base>
<path
value="apple-health-kit-object.sourceRevision.operatingSystemVersion.minorVersion"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="integer"/>
</type>
</element>
<element
id="apple-health-kit-category-sample.sourceRevision.operatingSystemVersion.patchVersion">
<path
value="apple-health-kit-category-sample.sourceRevision.operatingSystemVersion.patchVersion"/>
<short value="The update release number, such as 3 in version 10.9.3."/>
<definition
value="The update release number, such as 3 in version 10.9.3."/>
<min value="1"/>
<max value="1"/>
<base>
<path
value="apple-health-kit-object.sourceRevision.operatingSystemVersion.patchVersion"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="integer"/>
</type>
</element>
<element
id="apple-health-kit-category-sample.sourceRevision.productType">
<path
value="apple-health-kit-category-sample.sourceRevision.productType"/>
<short
value="A string that identifies the device used to save a sample."/>
<definition
value="A string that identifies the device used to save a sample."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-object.sourceRevision.productType"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="apple-health-kit-category-sample.startDate">
<path value="apple-health-kit-category-sample.startDate"/>
<short value="The sample's start date."/>
<definition value="The sample's start date."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-sample.startDate"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
</type>
</element>
<element id="apple-health-kit-category-sample.endDate">
<path value="apple-health-kit-category-sample.endDate"/>
<short value="The sample's end date."/>
<definition value="The sample's end date."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-sample.endDate"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
</type>
</element>
<element id="apple-health-kit-category-sample.hasUndeterminedDuration">
<path value="apple-health-kit-category-sample.hasUndeterminedDuration"/>
<short value="Indicates whether the sample has an unknown duration."/>
<definition
value="Indicates whether the sample has an unknown duration."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="apple-health-kit-sample.hasUndeterminedDuration"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
</type>
</element>
<element id="apple-health-kit-category-sample.sampleType">
<path value="apple-health-kit-category-sample.sampleType"/>
<short value="The sample type."/>
<definition value="The sample type."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="apple-health-kit-sample.sampleType"/>
<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-sample-type-value-set"/>
</binding>
</element>
<element id="apple-health-kit-category-sample.categoryType">
<path value="apple-health-kit-category-sample.categoryType"/>
<short value="The category type for this sample."/>
<definition value="The category type for this sample."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="apple-health-kit-category-sample.categoryType"/>
<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-category-type-value-set"/>
</binding>
</element>
<element id="apple-health-kit-category-sample.value">
<path value="apple-health-kit-category-sample.value"/>
<short value="The category value for this sample."/>
<definition value="The category value for this sample."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="apple-health-kit-category-sample.value"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="integer"/>
</type>
</element>
</snapshot>
<differential>
<element id="apple-health-kit-category-sample">
<path value="apple-health-kit-category-sample"/>
<short value="Apple HealthKit Category Sample Logical Model"/>
<definition
value="Data elements for the Apple HealthKit HKCategorySample."/>
</element>
<element id="apple-health-kit-category-sample.categoryType">
<path value="apple-health-kit-category-sample.categoryType"/>
<short value="The category type for this sample."/>
<definition value="The category type for this sample."/>
<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-category-type-value-set"/>
</binding>
</element>
<element id="apple-health-kit-category-sample.value">
<path value="apple-health-kit-category-sample.value"/>
<short value="The category value for this sample."/>
<definition value="The category value for this sample."/>
<min value="1"/>
<max value="1"/>
<type>
<code value="integer"/>
</type>
</element>
</differential>
</StructureDefinition>
IG © 2022+ MITRE. Package StandardPatientHealthRecordIG#0.4.4 based on FHIR 4.0.1. Generated 2023-09-13
Links: Table of Contents |
QA Report