Snapshot 3: Connectathon 32 Base

This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.

Extension: Resource Derivation Reference

FHIR Infrastructure Work Group Maturity Level: 0Trial UseUse Context: Any
Official URL: http://hl7.org/fhir/StructureDefinition/derivation-reference Version: 5.0.0-snapshot3
draft as of 2020-01-18 Computable Name: ResourceDerivationReference
Flags: Non-Modifier OID: 2.16.840.1.113883.4.642.5.1425

Context of Use: Use on Element ID Resource or Element ID Element

Definition

References a location within a set of source text from which the discrete information described by this Resource/Element was extracted.

Extension Content

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. ResourceDerivationReference0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/derivation-reference
ResourceDerivationReference: References a location within a set of source text from which the discrete information described by this Resource/Element was extracted.


Use on Element ID Resource or Element ID Element
... reference0..1Reference()Source reference.

... path0..1stringElement containing text.

... offset0..1integerStarting position.


doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/derivation-reference
ResourceDerivationReference: References a location within a set of source text from which the discrete information described by this Resource/Element was extracted.


Use on Element ID Resource or Element ID Element
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:reference 0..1ExtensionSource reference.
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"reference"
.... value[x] 1..1Reference()Value of extension
... extension:path 0..1ExtensionElement containing text.
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"path"
.... value[x] 1..1stringValue of extension
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"offset"
.... value[x] 1..1integerValue of extension
... extension:length 0..1ExtensionNumber of characters.
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"length"
.... value[x] 1..1integerValue of extension
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/derivation-reference"
... value[x] 0..0

doco Documentation for this format

XML Template

<!-- ResourceDerivationReference -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/derivation-reference" >
 <-- extension sliced by value:url  in the specified orderOpen-->
 <extension url="reference"> I 0..1 Extension  <!-- I 0..1 Source reference. -->
  <valueReference><!-- I 1..1 Reference Value of extension --></valueReference>
 </extension>
 <extension url="path"> I 0..1 Extension  <!-- I 0..1 Element containing text. -->
  <valueString value="[string]"/><!-- I 1..1 Value of extension -->
 </extension>
 <extension url="offset"> I 0..1 Extension  <!-- I 0..1 Starting position. -->
  <valueInteger value="[integer]"/><!-- I 1..1 Value of extension -->
 </extension>
 <extension url="length"> I 0..1 Extension  <!-- I 0..1 Number of characters. -->
  <valueInteger value="[integer]"/><!-- I 1..1 Value of extension -->
 </extension>
</extension>

JSON Template

{ // ResourceDerivationReference
    "extension" : [ //  sliced by value:url  in the specified order, Open 
      { // Source reference. // I
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "reference", // R! 
        "valueReference" : { Reference } // I R! Value of extension
      },
      { // Element containing text. // I
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "path", // R! 
        "valueString" : "<string>" // I R! Value of extension
      },
      { // Starting position. // I
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "offset", // R! 
        "valueInteger" : <integer> // I R! Value of extension
      },
      { // Number of characters. // I
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "length", // R! 
        "valueInteger" : <integer> // I R! Value of extension
      }
    ],
    "extension" : [{ Extension }], // IAdditional content defined by implementations
    "extension" : { Extension }, // ISource reference.
    "extension" : { Extension }, // IElement containing text.
    "extension" : { Extension }, // IStarting position.
    "extension" : { Extension }, // INumber of characters.
    "url" : "http://hl7.org/fhir/StructureDefinition/derivation-reference" // R! 
  // value[x]: Value of extension: Prohibited
  }

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. ResourceDerivationReference0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/derivation-reference
ResourceDerivationReference: References a location within a set of source text from which the discrete information described by this Resource/Element was extracted.


Use on Element ID Resource or Element ID Element
... reference0..1Reference()Source reference.

... path0..1stringElement containing text.

... offset0..1integerStarting position.


doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/derivation-reference
ResourceDerivationReference: References a location within a set of source text from which the discrete information described by this Resource/Element was extracted.


Use on Element ID Resource or Element ID Element
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:reference 0..1ExtensionSource reference.
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"reference"
.... value[x] 1..1Reference()Value of extension
... extension:path 0..1ExtensionElement containing text.
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"path"
.... value[x] 1..1stringValue of extension
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"offset"
.... value[x] 1..1integerValue of extension
... extension:length 0..1ExtensionNumber of characters.
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"length"
.... value[x] 1..1integerValue of extension
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/derivation-reference"
... value[x] 0..0

doco Documentation for this format

XML Template

<!-- ResourceDerivationReference -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/derivation-reference" >
 <-- extension sliced by value:url  in the specified orderOpen-->
 <extension url="reference"> I 0..1 Extension  <!-- I 0..1 Source reference. -->
  <valueReference><!-- I 1..1 Reference Value of extension --></valueReference>
 </extension>
 <extension url="path"> I 0..1 Extension  <!-- I 0..1 Element containing text. -->
  <valueString value="[string]"/><!-- I 1..1 Value of extension -->
 </extension>
 <extension url="offset"> I 0..1 Extension  <!-- I 0..1 Starting position. -->
  <valueInteger value="[integer]"/><!-- I 1..1 Value of extension -->
 </extension>
 <extension url="length"> I 0..1 Extension  <!-- I 0..1 Number of characters. -->
  <valueInteger value="[integer]"/><!-- I 1..1 Value of extension -->
 </extension>
</extension>

JSON Template

{ // ResourceDerivationReference
    "extension" : [ //  sliced by value:url  in the specified order, Open 
      { // Source reference. // I
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "reference", // R! 
        "valueReference" : { Reference } // I R! Value of extension
      },
      { // Element containing text. // I
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "path", // R! 
        "valueString" : "<string>" // I R! Value of extension
      },
      { // Starting position. // I
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "offset", // R! 
        "valueInteger" : <integer> // I R! Value of extension
      },
      { // Number of characters. // I
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "length", // R! 
        "valueInteger" : <integer> // I R! Value of extension
      }
    ],
    "extension" : [{ Extension }], // IAdditional content defined by implementations
    "extension" : { Extension }, // ISource reference.
    "extension" : { Extension }, // IElement containing text.
    "extension" : { Extension }, // IStarting position.
    "extension" : { Extension }, // INumber of characters.
    "url" : "http://hl7.org/fhir/StructureDefinition/derivation-reference" // R! 
  // value[x]: Value of extension: Prohibited
  }

 

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())
  • der-1: Cannot have length if offset is missing. (xpath: extension.where(url='length').exists() implies extension.where(url='offset').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.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.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: hasValue() or (children().count() > id.count()))
  • ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: extension.exists() != value.exists())
  • ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: hasValue() or (children().count() > id.count()))
  • 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.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: hasValue() or (children().count() > id.count()))
  • ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: extension.exists() != value.exists())
  • ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: hasValue() or (children().count() > id.count()))
  • 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.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: hasValue() or (children().count() > id.count()))
  • ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: extension.exists() != value.exists())
  • ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: hasValue() or (children().count() > id.count()))
  • 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.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: hasValue() or (children().count() > id.count()))
  • ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: extension.exists() != value.exists())
  • ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: hasValue() or (children().count() > id.count()))
  • 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

No examples found.