FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Extension: targetPath

FHIR Infrastructure Work Group Maturity Level: 1Trial UseUse Context: Any
Official URL: http://hl7.org/fhir/StructureDefinition/targetPath Version: 5.0.0-cibuild
draft as of 2015-02-28 Computable Name: targetPath
Flags: Non-Modifier OID: TBD

Context of Use: Use on Element ID Reference or Element ID canonical

Definition

Indicates that the reference has a particular focus in the target resource, a particular element of interest, identified by a FHIRPath statement. The FHIRPath expression is limited to a the simple subset with the additional limitation that .resolve() that is not allowed.

Comment:

This extension can be used when the target element has no explicit id associated with it. When there is an id on the telement of interest, the extension http://hl7.org/fhir/StructureDefinition/targetElement can be used since it is much simpler to implement.

Extension Content

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. targetPath0..*stringURL = http://hl7.org/fhir/StructureDefinition/targetPath
targetPath: Indicates that the reference has a particular focus in the target resource, a particular element of interest, identified by a FHIRPath statement. The FHIRPath expression is limited to a the simple subset with the additional limitation that .resolve() that is not allowed.


Use on Element ID Reference or Element ID canonical

doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/targetPath
targetPath: Indicates that the reference has a particular focus in the target resource, a particular element of interest, identified by a FHIRPath statement. The FHIRPath expression is limited to a the simple subset with the additional limitation that .resolve() that is not allowed.


Use on Element ID Reference or Element ID canonical
... extension 0..0
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/targetPath"
... value[x] 1..1stringValue of extension

doco Documentation for this format

XML Template

<!-- targetPath -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/targetPath" >
  <!-- from Element: extension -->
 <valueString value="[string]"/><!-- I 1..1 Value of extension -->
</extension>

JSON Template

{ // targetPath
  // from Element: extension
    "extension" : [ //  sliced by value:url  in the specified order, Open ]
  // extension: Extension: Prohibited
    "url" : "http://hl7.org/fhir/StructureDefinition/targetPath", // R! 
    "valueString" : "<string>" // I R! Value of extension
  }

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. targetPath0..*stringURL = http://hl7.org/fhir/StructureDefinition/targetPath
targetPath: Indicates that the reference has a particular focus in the target resource, a particular element of interest, identified by a FHIRPath statement. The FHIRPath expression is limited to a the simple subset with the additional limitation that .resolve() that is not allowed.


Use on Element ID Reference or Element ID canonical

doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/targetPath
targetPath: Indicates that the reference has a particular focus in the target resource, a particular element of interest, identified by a FHIRPath statement. The FHIRPath expression is limited to a the simple subset with the additional limitation that .resolve() that is not allowed.


Use on Element ID Reference or Element ID canonical
... extension 0..0
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/targetPath"
... value[x] 1..1stringValue of extension

doco Documentation for this format

XML Template

<!-- targetPath -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/targetPath" >
  <!-- from Element: extension -->
 <valueString value="[string]"/><!-- I 1..1 Value of extension -->
</extension>

JSON Template

{ // targetPath
  // from Element: extension
    "extension" : [ //  sliced by value:url  in the specified order, Open ]
  // extension: Extension: Prohibited
    "url" : "http://hl7.org/fhir/StructureDefinition/targetPath", // R! 
    "valueString" : "<string>" // I R! Value of extension
  }

 

Constraints

  • ele-1: All FHIR elements must have a @value or children (xpath: hasValue() or (children().count() > id.count()))
  • ext-1: Must have either extensions or value[x], not both (xpath: extension.exists() != value.exists())
  • ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: hasValue() or (children().count() > id.count()))
  • ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: extension.exists() != value.exists())
  • ele-1: On Extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.value[x]: hasValue() or (children().count() > id.count()))

Search

No Search Extensions defined for this resource

Examples of this extension