description: Indicates that the given code is directly referenced by artifact logic (e.g. as a [direct-reference code](https://cql.hl7.org/02-authorsguide.html#code) in CQL). Terminology dependencies used in logic can be collected and reported, typically using the relatedArtifact element with a type of `depends-on`. However, direct-reference codes cannot be represented in the relatedArtifact element, so this extension provides a means to support communicating direct-reference code dependencies of knowledge artifacts. As with value set dependencies, direct-reference codes may be the terminology target of a data requirement. package_name: hl7.fhir.uv.extensions.r3 derivation: constraint name: DirectReferenceCode type: Extension elements: extension: {index: 0} url: pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode'} index: 1 value: choices: [valueCoding] index: 3 valueCoding: {type: Coding, choiceOf: value, index: 4} package_version: 5.3.0-ballot extensions: {} class: extension kind: complex-type url: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode base: http://hl7.org/fhir/StructureDefinition/Extension version: 5.3.0-ballot required: [valueCoding, value]