ParentDeviceMetric
This extension has a reference to the parent DeviceMetric.
Used in MedicationAdministration resource.
The scope of this extension is only in MedicationAdministration FHIR resource.
FHIR output example:
"extension": [
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/parent-device-metric",
"valueReference": {
"reference": "DeviceMetric/418e986c-a709-41e8-8129-7f20d143843c"
}
}
]
Overview
The below overview shows the elements of the resource, data type and the cardinality of each. Further details like "Binding"/"Fixed values"/"contraints" etc can be found on clicking on each element.
Canonical URL - http://roche.com/fhir/rdc/StructureDefinition/parent-device-metric
| parent-device-metric (Extension) | C | | Extension | There are no (further) constraints on this element Element idExtension Short descriptionOptional Extensions Element DefinitionOptional Extension Element - found in all resources.
Data typeExtension ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1 Constraints- ele-1: All FHIR elements must have a @value or children
hasValue() | (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists() Mappings |
| id | | 0..1 | string | There are no (further) constraints on this element Element idExtension.id Short descriptionxml:id (or equivalent in JSON) Definitionunique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Data typestring Mappings |
| extension | | 0..* | Extension | There are no (further) constraints on this element Element idExtension.extension Short descriptionAdditional Content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
CommentsThere 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.
Data typeExtension SlicingUnordered, Open, by url(Value) Extensions are always sliced by (at least) url Mappings |
| url | | 1..1 | uriFixed Value | Element idExtension.url Short descriptionidentifies the meaning of the extension DefinitionSource of the definition for the extension code - a logical name or a URL.
CommentsThe definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
Data typeuri Fixed valuehttp://roche.com/fhir/rdc/StructureDefinition/parent-device-metric Mappings |
| valueReference | | 1..1 | Reference(dm-device-metric) | Element idExtension.value[x]:valueReference Short descriptionValue of extension DefinitionValue of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
Data typeReference(dm-device-metric) Mappings |
Details
| Extension |
| Short | Optional Extensions Element |
| Definition | Optional Extension Element - found in all resources.
|
| Cardinality | 0..* |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints | - ele-1: All FHIR elements must have a @value or children
hasValue() | (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists()
|
| Mappings | |
| Extension.id |
| Short | xml:id (or equivalent in JSON) |
| Definition | unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
|
| Cardinality | 0..1 |
| Type | string |
| Mappings | |
| Extension.extension |
| 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. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
|
| Cardinality | 0..* |
| Type | Extension |
| Alias | extensions, user content |
| Comments | 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.
|
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url |
| Mappings | |
| Extension.url |
| Short | identifies the meaning of the extension |
| Definition | Source of the definition for the extension code - a logical name or a URL.
|
| Cardinality | 1..1 |
| Type | uri |
| Comments | The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
|
| Fixed Value | http://roche.com/fhir/rdc/StructureDefinition/parent-device-metric |
| Mappings | |
| Extension.value[x]:valueReference |
| Short | Value of extension |
| Definition | Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
|
| Cardinality | 1..1 |
| Type | Reference(dm-device-metric) |
| Mappings | |
XML
<id value="6c1463ae-70ee-4a26-a6d6-52fbef209eff" />
</meta>
<url value="http://roche.com/fhir/rdc/StructureDefinition/parent-device-metric" />
<name value="parent-device-metric" />
<date value="2018-11-05T16:12:36.779Z" />
<description value="Refers to the parent device metric for a medication administration" />
<kind value="complex-type" />
<context value="MedicationAdministration" />
<context value="MedicationRequest" />
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<path value="Extension" />
<short value="Optional Extensions Element" />
<definition value="Optional Extension Element - found in all resources." />
</base>
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<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')])" />
</constraint>
</mapping>
</mapping>
</element>
<path value="Extension.id" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<path value="Element.id" />
</base>
</type>
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
</mapping>
</element>
<path value="Extension.extension" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
</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. In order 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 is allowed to 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" />
<path value="Element.extension" />
</base>
<code value="Extension" />
</type>
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<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')])" />
</constraint>
</mapping>
</mapping>
</element>
<path value="Extension.url" />
<short value="identifies the meaning of the extension" />
<definition value="Source of the definition for the extension code - a logical name or a URL." />
<comment value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." />
<path value="Extension.url" />
</base>
</type>
<fixedUri value="http://roche.com/fhir/rdc/StructureDefinition/parent-device-metric" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
</mapping>
</mapping>
</element>
<element id="Extension.value[x]:valueReference">
<path value="Extension.valueReference" />
<short value="Value of extension" />
<definition value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)." />
<comment value="A stream of bytes, base64 encoded" />
<path value="Extension.value[x]" />
</base>
<code value="Reference" />
<targetProfile value="http://roche.com/fhir/rdc/StructureDefinition/dm-device-metric" />
</type>
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
</mapping>
</mapping>
</element>
</snapshot>
<path value="Extension.url" />
<fixedUri value="http://roche.com/fhir/rdc/StructureDefinition/parent-device-metric" />
</element>
<element id="Extension.value[x]:valueReference">
<path value="Extension.valueReference" />
<code value="Reference" />
<targetProfile value="http://roche.com/fhir/rdc/StructureDefinition/dm-device-metric" />
</type>
</element>
</differential>
</StructureDefinition>
JSON
{
"id": "6c1463ae-70ee-4a26-a6d6-52fbef209eff",
},
"url": "http://roche.com/fhir/rdc/StructureDefinition/parent-device-metric",
"name": "parent-device-metric",
"date": "2018-11-05T16:12:36.779Z",
"description": "Refers to the parent device metric for a medication administration",
"MedicationAdministration",
"MedicationRequest"
],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
{
"short": "Optional Extensions Element",
"definition": "Optional Extension Element - found in all resources.",
},
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"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')])"
}
],
]
},
{
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
},
],
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
]
},
{
"id": "Extension.extension",
"path": "Extension.extension",
],
"description": "Extensions are always sliced by (at least) url",
},
"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. In order 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 is allowed to 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.",
"extensions",
"user content"
],
"path": "Element.extension",
},
],
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"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')])"
}
],
]
},
{
],
"short": "identifies the meaning of the extension",
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
},
],
"fixedUri": "http://roche.com/fhir/rdc/StructureDefinition/parent-device-metric",
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
]
},
{
"id": "Extension.value[x]:valueReference",
"path": "Extension.valueReference",
"short": "Value of extension",
"definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
"comment": "A stream of bytes, base64 encoded",
"path": "Extension.value[x]",
},
{
"targetProfile": "http://roche.com/fhir/rdc/StructureDefinition/dm-device-metric"
}
],
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
]
}
]
},
{
"fixedUri": "http://roche.com/fhir/rdc/StructureDefinition/parent-device-metric"
},
{
"id": "Extension.value[x]:valueReference",
"path": "Extension.valueReference",
{
"targetProfile": "http://roche.com/fhir/rdc/StructureDefinition/dm-device-metric"
}
]
}
]
}
}