SMART Base
0.3.0 - ci-build

SMART Base, published by WHO. This guide is not an authorized publication; it is the continuous build for version 0.3.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/litlfred/smart-base/ and changes regularly. See the Directory of published versions

Logical Model: KGEdge - Detailed Descriptions

Active as of 2026-10-06

Definitions for the KGEdge logical model.

Guidance on how to interpret the contents of this table can be foundhere

0. KGEdge
Definition

One reified statement: a predicate from a source node to a target node, with its derivation and evidence.

ShortKnowledge graph: edge
Control0..*
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. KGEdge.type
Definition

Always Statement (rdf:Statement).

ShortType
Control1..1
Typecode
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
4. KGEdge.predicate
Definition

The predicate; the layer's edge table says which (source, target) pairs it licenses.

ShortPredicate
Control1..1
BindingThe codes SHALL be taken from Knowledge graph L1: predicates
(required to http://smart.who.int/base/ValueSet/KGL1PredicatesVS)
Typecode
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
6. KGEdge.source
Definition

IRI of the source node.

ShortSource
Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
8. KGEdge.target
Definition

IRI of the target node.

ShortTarget
Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
10. KGEdge.qualifier
Definition

A label on the relationship.

ShortQualifier
Control0..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
12. KGEdge.derivation
Definition

derived | inferred | decided.

ShortDerivation
Control1..1
BindingThe codes SHALL be taken from Knowledge graph: derivation
(required to http://smart.who.int/base/ValueSet/KGDerivationVS)
Typecode
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
14. KGEdge.note
Definition

Why it is what it is. Required unless derived.

ShortNote
Control0..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
16. KGEdge.evidence
Definition

Where it came from. Required unless derived.

ShortEvidence
Control0..1
Typehttp://smart.who.int/base/StructureDefinition/KGEvidenceLocation
18. KGEdge.flagRef
Definition

Id of a flag raised while extracting this edge.

ShortFlag
Control0..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
20. KGEdge.skill
Definition

Skill id that produced this edge.

ShortSkill
Control0..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
22. KGEdge.properties
Definition

Fields of the statement itself.

ShortProperties
Control0..1
TypeBackboneElement
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
24. KGEdge.properties.id
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

ShortUnique id for inter-element referencing
Control0..1
Typestring
Is Modifierfalse
XML FormatIn the XML format, this property is represented as an attribute.
Summaryfalse
26. KGEdge.properties.extension
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

ShortAdditional content defined by implementations
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Is Modifierfalse
Summaryfalse
Alternate Namesextensions, user content
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
SlicingThis element introduces a set of slices on KGEdge.properties.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ url
  • 28. KGEdge.properties.modifierExtension
    Definition

    May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

    ShortExtensions that cannot be ignored even if unrecognized
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..*
    TypeExtension
    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
    Summarytrue
    Requirements

    Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

    Alternate Namesextensions, user content, modifiers
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    30. KGEdge.properties.resolutionStatus
    Definition

    For a cross-format join: unresolved | resolved | ambiguous.

    ShortResolution status
    Control0..1
    BindingThe codes SHALL be taken from Knowledge graph: resolution status
    (required to http://smart.who.int/base/ValueSet/KGResolutionStatusVS)
    Typecode
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    32. KGEdge.properties.matchedOn
    Definition

    What the join was matched on.

    ShortMatched on
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension

    Guidance on how to interpret the contents of this table can be foundhere

    0. KGEdge
    Definition

    One reified statement: a predicate from a source node to a target node, with its derivation and evidence.

    ShortKnowledge graph: edge
    Logical ModelInstances of this logical model are not marked to be the target of a Reference
    2. KGEdge.type
    Definition

    Always Statement (rdf:Statement).

    ShortType
    Control1..1
    Typecode
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    4. KGEdge.predicate
    Definition

    The predicate; the layer's edge table says which (source, target) pairs it licenses.

    ShortPredicate
    Control1..1
    BindingThe codes SHALL be taken from Knowledge graph L1: predicates
    (required to http://smart.who.int/base/ValueSet/KGL1PredicatesVS)
    Typecode
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    6. KGEdge.source
    Definition

    IRI of the source node.

    ShortSource
    Control1..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    8. KGEdge.target
    Definition

    IRI of the target node.

    ShortTarget
    Control1..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    10. KGEdge.qualifier
    Definition

    A label on the relationship.

    ShortQualifier
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    12. KGEdge.derivation
    Definition

    derived | inferred | decided.

    ShortDerivation
    Control1..1
    BindingThe codes SHALL be taken from Knowledge graph: derivation
    (required to http://smart.who.int/base/ValueSet/KGDerivationVS)
    Typecode
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    14. KGEdge.note
    Definition

    Why it is what it is. Required unless derived.

    ShortNote
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    16. KGEdge.evidence
    Definition

    Where it came from. Required unless derived.

    ShortEvidence
    Control0..1
    Typehttp://smart.who.int/base/StructureDefinition/KGEvidenceLocation
    18. KGEdge.flagRef
    Definition

    Id of a flag raised while extracting this edge.

    ShortFlag
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    20. KGEdge.skill
    Definition

    Skill id that produced this edge.

    ShortSkill
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    22. KGEdge.properties
    Definition

    Fields of the statement itself.

    ShortProperties
    Control0..1
    TypeBackboneElement
    24. KGEdge.properties.resolutionStatus
    Definition

    For a cross-format join: unresolved | resolved | ambiguous.

    ShortResolution status
    Control0..1
    BindingThe codes SHALL be taken from Knowledge graph: resolution status
    (required to http://smart.who.int/base/ValueSet/KGResolutionStatusVS)
    Typecode
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    26. KGEdge.properties.matchedOn
    Definition

    What the join was matched on.

    ShortMatched on
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension

    Guidance on how to interpret the contents of this table can be foundhere

    0. KGEdge
    Definition

    One reified statement: a predicate from a source node to a target node, with its derivation and evidence.

    ShortKnowledge graph: edge
    Control0..*
    Is Modifierfalse
    Logical ModelInstances of this logical model are not marked to be the target of a Reference
    2. KGEdge.type
    Definition

    Always Statement (rdf:Statement).

    ShortType
    Control1..1
    Typecode
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    4. KGEdge.predicate
    Definition

    The predicate; the layer's edge table says which (source, target) pairs it licenses.

    ShortPredicate
    Control1..1
    BindingThe codes SHALL be taken from Knowledge graph L1: predicates
    (required to http://smart.who.int/base/ValueSet/KGL1PredicatesVS)
    Typecode
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    6. KGEdge.source
    Definition

    IRI of the source node.

    ShortSource
    Control1..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    8. KGEdge.target
    Definition

    IRI of the target node.

    ShortTarget
    Control1..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    10. KGEdge.qualifier
    Definition

    A label on the relationship.

    ShortQualifier
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    12. KGEdge.derivation
    Definition

    derived | inferred | decided.

    ShortDerivation
    Control1..1
    BindingThe codes SHALL be taken from Knowledge graph: derivation
    (required to http://smart.who.int/base/ValueSet/KGDerivationVS)
    Typecode
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    14. KGEdge.note
    Definition

    Why it is what it is. Required unless derived.

    ShortNote
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    16. KGEdge.evidence
    Definition

    Where it came from. Required unless derived.

    ShortEvidence
    Control0..1
    Typehttp://smart.who.int/base/StructureDefinition/KGEvidenceLocation
    18. KGEdge.flagRef
    Definition

    Id of a flag raised while extracting this edge.

    ShortFlag
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    20. KGEdge.skill
    Definition

    Skill id that produced this edge.

    ShortSkill
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    22. KGEdge.properties
    Definition

    Fields of the statement itself.

    ShortProperties
    Control0..1
    TypeBackboneElement
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    24. KGEdge.properties.id
    Definition

    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

    ShortUnique id for inter-element referencing
    Control0..1
    Typestring
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    26. KGEdge.properties.extension
    Definition

    May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

    ShortAdditional content defined by implementations
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    SlicingThis element introduces a set of slices on KGEdge.properties.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ url
    • 28. KGEdge.properties.modifierExtension
      Definition

      May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensions that cannot be ignored even if unrecognized
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control0..*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      Requirements

      Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      30. KGEdge.properties.resolutionStatus
      Definition

      For a cross-format join: unresolved | resolved | ambiguous.

      ShortResolution status
      Control0..1
      BindingThe codes SHALL be taken from Knowledge graph: resolution status
      (required to http://smart.who.int/base/ValueSet/KGResolutionStatusVS)
      Typecode
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      32. KGEdge.properties.matchedOn
      Definition

      What the join was matched on.

      ShortMatched on
      Control0..1
      Typestring
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension