Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). 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: logicDefinition

FHIR Infrastructure Work Group Maturity Level: 1InformativeUse Context: Any

Summary

Defining URL:http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
Version:5.0.0-ballot
Name:logicDefinition
Title:null
Modifier:This extension is not a modifier extension
Status:draft
Definition:Represents a specific logic definition used by the artifact.
Committee:FHIR Infrastructure Work Group

Status: draft. Extension maintained by: Health Level Seven, Inc. - CDS WG

Represents a specific logic definition used by the artifact.

Context of Use: Use on Element ID Element

Extension Content

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. logicDefinition0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
logicDefinition: Represents a specific logic definition used by the artifact.


Use on Element ID Element
... libraryName1..1stringWhich library

... name1..1stringWhich definition

... statement1..1stringComplete declaration statement

... displaySequence0..1integerWhat order?


doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
logicDefinition: Represents a specific logic definition used by the artifact.


Use on Element ID Element
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:libraryName 1..1ExtensionWhich library
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"libraryName"
.... value[x] 1..1stringValue of extension
... extension:name 1..1ExtensionWhich definition
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"name"
.... value[x] 1..1stringValue of extension
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"statement"
.... value[x] 1..1stringValue of extension
... extension:displayCategory 0..1ExtensionWhat category?
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"displayCategory"
.... value[x] 1..1stringValue of extension
... extension:displaySequence 0..1ExtensionWhat order?
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"displaySequence"
.... value[x] 1..1integerValue of extension
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
... value[x] 0..0

doco Documentation for this format

XML Template

<!-- logicDefinition -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" >
 <-- extension sliced by value:url  in the specified orderOpen-->
 <extension url="libraryName"> I 1..1 Extension  <!-- I 1..1 Which library -->
  <valueString value="[string]"/><!-- I 1..1 Value of extension -->
 </extension>
 <extension url="name"> I 1..1 Extension  <!-- I 1..1 Which definition -->
  <valueString value="[string]"/><!-- I 1..1 Value of extension -->
 </extension>
 <extension url="statement"> I 1..1 Extension  <!-- I 1..1 Complete declaration statement -->
  <valueString value="[string]"/><!-- I 1..1 Value of extension -->
 </extension>
 <extension url="displayCategory"> I 0..1 Extension  <!-- I 0..1 What category? -->
  <valueString value="[string]"/><!-- I 1..1 Value of extension -->
 </extension>
 <extension url="displaySequence"> I 0..1 Extension  <!-- I 0..1 What order? -->
  <valueInteger value="[integer]"/><!-- I 1..1 Value of extension -->
 </extension>
</extension>

JSON Template

{ // logicDefinition
    "extension" : [ //  sliced by value:url  in the specified order, Open 
      { // Which library // I R! 
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "libraryName", // R! 
        "valueString" : "<string>" // I R! Value of extension
      },
      { // Which definition // I R! 
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "name", // R! 
        "valueString" : "<string>" // I R! Value of extension
      },
      { // Complete declaration statement // I R! 
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "statement", // R! 
        "valueString" : "<string>" // I R! Value of extension
      },
      { // What category? // I
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "displayCategory", // R! 
        "valueString" : "<string>" // I R! Value of extension
      },
      { // What order? // I
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "displaySequence", // R! 
        "valueInteger" : <integer> // I R! Value of extension
      }
    ],
    "extension" : [{ Extension }], // IAdditional content defined by implementations
    "extension" : { Extension }, // I R! Which library
    "extension" : { Extension }, // I R! Which definition
    "extension" : { Extension }, // I R! Complete declaration statement
    "extension" : { Extension }, // IWhat category?
    "extension" : { Extension }, // IWhat order?
    "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" // R! 
  // value[x]: Value of extension: Prohibited
  }

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. logicDefinition0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
logicDefinition: Represents a specific logic definition used by the artifact.


Use on Element ID Element
... libraryName1..1stringWhich library

... name1..1stringWhich definition

... statement1..1stringComplete declaration statement

... displaySequence0..1integerWhat order?


doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
logicDefinition: Represents a specific logic definition used by the artifact.


Use on Element ID Element
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:libraryName 1..1ExtensionWhich library
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"libraryName"
.... value[x] 1..1stringValue of extension
... extension:name 1..1ExtensionWhich definition
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"name"
.... value[x] 1..1stringValue of extension
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"statement"
.... value[x] 1..1stringValue of extension
... extension:displayCategory 0..1ExtensionWhat category?
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"displayCategory"
.... value[x] 1..1stringValue of extension
... extension:displaySequence 0..1ExtensionWhat order?
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"displaySequence"
.... value[x] 1..1integerValue of extension
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
... value[x] 0..0

doco Documentation for this format

XML Template

<!-- logicDefinition -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" >
 <-- extension sliced by value:url  in the specified orderOpen-->
 <extension url="libraryName"> I 1..1 Extension  <!-- I 1..1 Which library -->
  <valueString value="[string]"/><!-- I 1..1 Value of extension -->
 </extension>
 <extension url="name"> I 1..1 Extension  <!-- I 1..1 Which definition -->
  <valueString value="[string]"/><!-- I 1..1 Value of extension -->
 </extension>
 <extension url="statement"> I 1..1 Extension  <!-- I 1..1 Complete declaration statement -->
  <valueString value="[string]"/><!-- I 1..1 Value of extension -->
 </extension>
 <extension url="displayCategory"> I 0..1 Extension  <!-- I 0..1 What category? -->
  <valueString value="[string]"/><!-- I 1..1 Value of extension -->
 </extension>
 <extension url="displaySequence"> I 0..1 Extension  <!-- I 0..1 What order? -->
  <valueInteger value="[integer]"/><!-- I 1..1 Value of extension -->
 </extension>
</extension>

JSON Template

{ // logicDefinition
    "extension" : [ //  sliced by value:url  in the specified order, Open 
      { // Which library // I R! 
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "libraryName", // R! 
        "valueString" : "<string>" // I R! Value of extension
      },
      { // Which definition // I R! 
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "name", // R! 
        "valueString" : "<string>" // I R! Value of extension
      },
      { // Complete declaration statement // I R! 
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "statement", // R! 
        "valueString" : "<string>" // I R! Value of extension
      },
      { // What category? // I
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "displayCategory", // R! 
        "valueString" : "<string>" // I R! Value of extension
      },
      { // What order? // I
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "displaySequence", // R! 
        "valueInteger" : <integer> // I R! Value of extension
      }
    ],
    "extension" : [{ Extension }], // IAdditional content defined by implementations
    "extension" : { Extension }, // I R! Which library
    "extension" : { Extension }, // I R! Which definition
    "extension" : { Extension }, // I R! Complete declaration statement
    "extension" : { Extension }, // IWhat category?
    "extension" : { Extension }, // IWhat order?
    "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" // R! 
  // value[x]: Value of extension: Prohibited
  }

 

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

Search

No Search Extensions defined for this resource

Examples of this extension

No examples found.