STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Extension: The items the orderer requested

URL for this extension:

http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem

Status: draft. Extension maintained by: Health Level Seven International (Clinical Genomics)

The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested.

Context of Use: Use on element: DiagnosticReport

usage info: insert a list of places where this extension is used

Extension Content

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem
The items the orderer requested: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested.
Use on element: DiagnosticReport
... code1..1CodeableConceptCode to indicate the item (test, panel or sequence variant) being ordered.
... geneticsObservation0..1Reference(Observation)Indicate the genetic variant ordered to be tested.
... specimen0..1Reference(Specimen)If the item is related to a specific specimen.
... status0..1codeThe status of this individual item within the order.

doco Documentation for this format

Fulle Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem
The items the orderer requested: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested.
Use on element: DiagnosticReport
... extension 1..1ExtensionCode to indicate the item (test, panel or sequence variant) being ordered
.... extension 0..0
.... url 1..1uri"code"
.... valueCodeableConcept 1..1CodeableConceptValue of extension
... extension 0..1ExtensionIndicate the genetic variant ordered to be tested
.... extension 0..0
.... url 1..1uri"geneticsObservation"
.... valueReference 1..1Reference(Observation)Measurements and simple assertions
... extension 0..1ExtensionIf this item relates to specific specimens
.... extension 0..0
.... url 1..1uri"specimen"
.... valueReference 1..1Reference(Specimen)Sample for analysis
... extension 0..1Extensionproposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed
.... extension 0..0
.... url 1..1uri"status"
.... valueCode 1..1codeValue of extension
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem"
... value[x] 0..0

doco Documentation for this format

XML Template

<!-- The items the orderer requested -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem" >
 <-- extension sliced by url  in the specified orderOpen-->
 <extension url="code"> 1..1 Extension  <!-- 1..1 Code to indicate the item (test, panel or sequence variant) being ordered -->
  <valueCodeableConcept><!-- 1..1 CodeableConcept 
      Value of extension --></valueCodeableConcept>
 </extension>
 <extension url="geneticsObservation"> 0..1 Extension  <!-- 0..1 Indicate the genetic variant ordered to be tested -->
  <valueReference><!-- 1..1 Reference(Observation) 
      Measurements and simple assertions --></valueReference>
 </extension>
 <extension url="specimen"> 0..1 Extension  <!-- 0..1 If this item relates to specific specimens -->
  <valueReference><!-- 1..1 Reference(Specimen) 
      Sample for analysis --></valueReference>
 </extension>
 <extension url="status"> 0..1 Extension  <!-- 0..1 proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed -->
  <valueCode value="[code]"/><!-- 1..1 Value of extension -->
 </extension>
</extension>

JSON Template

{ // The items the orderer requested
    "extension" : [ //  sliced by url  in the specified orderOpen
      { // Code to indicate the item (test, panel or sequence variant) being ordered // R! 
        // from Element: extension
        "url" : "code", // R! 
        "valueCodeableConcept" : { CodeableConcept } // R! Value of extension
      },
      { // Indicate the genetic variant ordered to be tested //
        // from Element: extension
        "url" : "geneticsObservation", // R! 
        "valueReference" : { Reference(Observation) } // R! Measurements and simple assertions
      },
      { // If this item relates to specific specimens //
        // from Element: extension
        "url" : "specimen", // R! 
        "valueReference" : { Reference(Specimen) } // R! Sample for analysis
      },
      { // proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed //
        // from Element: extension
        "url" : "status", // R! 
        "valueCode" : "<code>" // R! Value of extension
      }
    ],
    "url" : "http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem", // R! 
// value[x]: Value of extension. One of these 38:
  }

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem
The items the orderer requested: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested.
Use on element: DiagnosticReport
... code1..1CodeableConceptCode to indicate the item (test, panel or sequence variant) being ordered.
... geneticsObservation0..1Reference(Observation)Indicate the genetic variant ordered to be tested.
... specimen0..1Reference(Specimen)If the item is related to a specific specimen.
... status0..1codeThe status of this individual item within the order.

doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem
The items the orderer requested: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested.
Use on element: DiagnosticReport
... extension 1..1ExtensionCode to indicate the item (test, panel or sequence variant) being ordered
.... extension 0..0
.... url 1..1uri"code"
.... valueCodeableConcept 1..1CodeableConceptValue of extension
... extension 0..1ExtensionIndicate the genetic variant ordered to be tested
.... extension 0..0
.... url 1..1uri"geneticsObservation"
.... valueReference 1..1Reference(Observation)Measurements and simple assertions
... extension 0..1ExtensionIf this item relates to specific specimens
.... extension 0..0
.... url 1..1uri"specimen"
.... valueReference 1..1Reference(Specimen)Sample for analysis
... extension 0..1Extensionproposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed
.... extension 0..0
.... url 1..1uri"status"
.... valueCode 1..1codeValue of extension
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem"
... value[x] 0..0

doco Documentation for this format

XML Template

<!-- The items the orderer requested -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem" >
 <-- extension sliced by url  in the specified orderOpen-->
 <extension url="code"> 1..1 Extension  <!-- 1..1 Code to indicate the item (test, panel or sequence variant) being ordered -->
  <valueCodeableConcept><!-- 1..1 CodeableConcept 
      Value of extension --></valueCodeableConcept>
 </extension>
 <extension url="geneticsObservation"> 0..1 Extension  <!-- 0..1 Indicate the genetic variant ordered to be tested -->
  <valueReference><!-- 1..1 Reference(Observation) 
      Measurements and simple assertions --></valueReference>
 </extension>
 <extension url="specimen"> 0..1 Extension  <!-- 0..1 If this item relates to specific specimens -->
  <valueReference><!-- 1..1 Reference(Specimen) 
      Sample for analysis --></valueReference>
 </extension>
 <extension url="status"> 0..1 Extension  <!-- 0..1 proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed -->
  <valueCode value="[code]"/><!-- 1..1 Value of extension -->
 </extension>
</extension>

JSON Template

{ // The items the orderer requested
    "extension" : [ //  sliced by url  in the specified orderOpen
      { // Code to indicate the item (test, panel or sequence variant) being ordered // R! 
        // from Element: extension
        "url" : "code", // R! 
        "valueCodeableConcept" : { CodeableConcept } // R! Value of extension
      },
      { // Indicate the genetic variant ordered to be tested //
        // from Element: extension
        "url" : "geneticsObservation", // R! 
        "valueReference" : { Reference(Observation) } // R! Measurements and simple assertions
      },
      { // If this item relates to specific specimens //
        // from Element: extension
        "url" : "specimen", // R! 
        "valueReference" : { Reference(Specimen) } // R! Sample for analysis
      },
      { // proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed //
        // from Element: extension
        "url" : "status", // R! 
        "valueCode" : "<code>" // R! Value of extension
      }
    ],
    "url" : "http://hl7.org/fhir/StructureDefinition/diagnosticrequest-geneticsItem", // R! 
// value[x]: Value of extension. One of these 38:
  }

 

Constraints

  • ele-1: All FHIR elements must have a @value or children (xpath: @value|f:*|h:div)
  • ext-1: Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]))