FHIR © HL7.org  |  FHIRsmith 0.14.2  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagesmart.who.int.base
Resource TypeStructureDefinition
IdStructureDefinition-KGEdge.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/litlfred/smart-base/StructureDefinition-KGEdge.html
URLhttp://smart.who.int/base/StructureDefinition/KGEdge
Version0.3.0
Statusactive
Date2026-10-06T14:15:03+00:00
NameKGEdge
TitleKnowledge graph: edge
Authoritywho
DescriptionOne reified statement: a predicate from a source node to a target node, with its derivation and evidence.
Typehttp://smart.who.int/base/StructureDefinition/KGEdge
Kindlogical

Resources that use this resource

StructureDefinition
smart.who.int.base#currentKGGraphDocumentKnowledge graph L1: graph document

Resources that this resource uses

StructureDefinition
smart.who.int.base#currentKGEvidenceLocationKnowledge graph: evidence location
ValueSet
smart.who.int.base#currentKGDerivationVSKnowledge graph: derivation
smart.who.int.base#currentKGL1PredicatesVSKnowledge graph L1: predicates
smart.who.int.base#currentKGResolutionStatusVSKnowledge graph: resolution status

Narrative

Note: links and images are rebased to the (stated) source


English


Generated Narrative: StructureDefinition KGEdge

NameFlagsCard.TypeDescription & Constraintsdoco
.. KGEdge 0..*BaseKnowledge graph: edge
... type 1..1codeType
... predicate 1..1codePredicate
Binding: Knowledge graph L1: predicates (required)
... source 1..1stringSource
... target 1..1stringTarget
... qualifier 0..1stringQualifier
... derivation 1..1codeDerivation
Binding: Knowledge graph: derivation (required)
... note 0..1stringNote
... evidence 0..1KGEvidenceLocationEvidence
... flagRef 0..1stringFlag
... skill 0..1stringSkill
... properties 0..1BackboneElementProperties
.... resolutionStatus 0..1codeResolution status
Binding: Knowledge graph: resolution status (required)
.... matchedOn 0..1stringMatched on

doco Documentation for this format

French


Narratif généré : DéfinitionStructure KGEdge

NomDrapeauxCard.TypeDescription et contraintesdoco
.. KGEdge 0..*BaseKnowledge graph: edge
... type 1..1codeType
... predicate 1..1codePredicate
Binding: Knowledge graph L1: predicates (required)
... source 1..1stringSource
... target 1..1stringTarget
... qualifier 0..1stringQualifier
... derivation 1..1codeDerivation
Binding: Knowledge graph: derivation (required)
... note 0..1stringNote
... evidence 0..1KGEvidenceLocationEvidence
... flagRef 0..1stringFlag
... skill 0..1stringSkill
... properties 0..1BackboneElementProperties
.... resolutionStatus 0..1codeResolution status
Binding: Knowledge graph: resolution status (required)
.... matchedOn 0..1stringMatched on

doco Documentation pour ce format

Arabic


السرد المُنشأ: StructureDefinition KGEdge

الاسمالأعلامالبطاقة.النوعالوصف والقيودdoco
.. KGEdge 0..*BaseKnowledge graph: edge
... type 1..1codeType
... predicate 1..1codePredicate
التجليد: Knowledge graph L1: predicates (required)
... source 1..1stringSource
... target 1..1stringTarget
... qualifier 0..1stringQualifier
... derivation 1..1codeDerivation
التجليد: Knowledge graph: derivation (required)
... note 0..1stringNote
... evidence 0..1KGEvidenceLocationEvidence
... flagRef 0..1stringFlag
... skill 0..1stringSkill
... properties 0..1BackboneElementProperties
.... resolutionStatus 0..1codeResolution status
التجليد: Knowledge graph: resolution status (required)
.... matchedOn 0..1stringMatched on

doco الوثائق الخاصة بهذا التنسيق

Chinese


Generated Narrative: 结构定义 KGEdge

NameFlagsCard.TypeDescription & Constraintsdoco
.. KGEdge 0..*BaseKnowledge graph: edge
... type 1..1codeType
... predicate 1..1codePredicate
Binding: Knowledge graph L1: predicates (required)
... source 1..1stringSource
... target 1..1stringTarget
... qualifier 0..1stringQualifier
... derivation 1..1codeDerivation
Binding: Knowledge graph: derivation (required)
... note 0..1stringNote
... evidence 0..1KGEvidenceLocationEvidence
... flagRef 0..1stringFlag
... skill 0..1stringSkill
... properties 0..1BackboneElementProperties
.... resolutionStatus 0..1codeResolution status
Binding: Knowledge graph: resolution status (required)
.... matchedOn 0..1stringMatched on

doco Documentation for this format

Russian


Сгенерированный нарратив: StructureDefinition KGEdge

НаименованиеФлагиКарта.ТипОписание и ограниченияdoco
.. KGEdge 0..*BaseKnowledge graph: edge
... type 1..1codeType
... predicate 1..1codePredicate
Привязка: Knowledge graph L1: predicates (required)
... source 1..1stringSource
... target 1..1stringTarget
... qualifier 0..1stringQualifier
... derivation 1..1codeDerivation
Привязка: Knowledge graph: derivation (required)
... note 0..1stringNote
... evidence 0..1KGEvidenceLocationEvidence
... flagRef 0..1stringFlag
... skill 0..1stringSkill
... properties 0..1BackboneElementProperties
.... resolutionStatus 0..1codeResolution status
Привязка: Knowledge graph: resolution status (required)
.... matchedOn 0..1stringMatched on

doco Документация для этого формата

Spanish


Generated Narrative: DefinicionDeEstructura KGEdge

NameFlagsCard.TypeDescription & Constraintsdoco
.. KGEdge 0..*BaseKnowledge graph: edge
... type 1..1codeType
... predicate 1..1codePredicate
Binding: Knowledge graph L1: predicates (required)
... source 1..1stringSource
... target 1..1stringTarget
... qualifier 0..1stringQualifier
... derivation 1..1codeDerivation
Binding: Knowledge graph: derivation (required)
... note 0..1stringNote
... evidence 0..1KGEvidenceLocationEvidence
... flagRef 0..1stringFlag
... skill 0..1stringSkill
... properties 0..1BackboneElementProperties
.... resolutionStatus 0..1codeResolution status
Binding: Knowledge graph: resolution status (required)
.... matchedOn 0..1stringMatched on

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "KGEdge",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://smart.who.int/base/StructureDefinition/KGEdge",
  "version": "0.3.0",
  "name": "KGEdge",
  "title": "Knowledge graph: edge",
  "status": "active",
  "date": "2026-10-06T14:15:03+00:00",
  "publisher": "WHO",
  "contact": [
    {
      "name": "WHO",
      "telecom": [
        {
          "system": "url",
          "value": "http://who.int"
        }
      ]
    }
  ],
  "description": "One reified statement: a predicate from a source node to a target node, with its derivation and evidence.",
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "http://smart.who.int/base/StructureDefinition/KGEdge",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "KGEdge",
        "path": "KGEdge",
        "short": "Knowledge graph: edge",
        "definition": "One reified statement: a predicate from a source node to a target node, with its derivation and evidence.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "KGEdge.type",
        "path": "KGEdge.type",
        "short": "Type",
        "definition": "Always Statement (rdf:Statement).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "KGEdge.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "KGEdge.predicate",
        "path": "KGEdge.predicate",
        "short": "Predicate",
        "definition": "The predicate; the layer's edge table says which (source, target) pairs it licenses.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "KGEdge.predicate",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://smart.who.int/base/ValueSet/KGL1PredicatesVS"
        }
      },
      {
        "id": "KGEdge.source",
        "path": "KGEdge.source",
        "short": "Source",
        "definition": "IRI of the source node.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "KGEdge.source",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "KGEdge.target",
        "path": "KGEdge.target",
        "short": "Target",
        "definition": "IRI of the target node.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "KGEdge.target",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "KGEdge.qualifier",
        "path": "KGEdge.qualifier",
        "short": "Qualifier",
        "definition": "A label on the relationship.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "KGEdge.qualifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "KGEdge.derivation",
        "path": "KGEdge.derivation",
        "short": "Derivation",
        "definition": "derived | inferred | decided.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "KGEdge.derivation",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://smart.who.int/base/ValueSet/KGDerivationVS"
        }
      },
      {
        "id": "KGEdge.note",
        "path": "KGEdge.note",
        "short": "Note",
        "definition": "Why it is what it is. Required unless derived.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "KGEdge.note",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "KGEdge.evidence",
        "path": "KGEdge.evidence",
        "short": "Evidence",
        "definition": "Where it came from. Required unless derived.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "KGEdge.evidence",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://smart.who.int/base/StructureDefinition/KGEvidenceLocation"
          }
        ]
      },
      {
        "id": "KGEdge.flagRef",
        "path": "KGEdge.flagRef",
        "short": "Flag",
        "definition": "Id of a flag raised while extracting this edge.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "KGEdge.flagRef",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "KGEdge.skill",
        "path": "KGEdge.skill",
        "short": "Skill",
        "definition": "Skill id that produced this edge.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "KGEdge.skill",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "KGEdge.properties",
        "path": "KGEdge.properties",
        "short": "Properties",
        "definition": "Fields of the statement itself.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "KGEdge.properties",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "KGEdge.properties.id",
        "path": "KGEdge.properties.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "KGEdge.properties.extension",
        "path": "KGEdge.properties.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "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.",
        "comment": "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "KGEdge.properties.modifierExtension",
        "path": "KGEdge.properties.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "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.",
        "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "KGEdge.properties.resolutionStatus",
        "path": "KGEdge.properties.resolutionStatus",
        "short": "Resolution status",
        "definition": "For a cross-format join: unresolved | resolved | ambiguous.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "KGEdge.properties.resolutionStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://smart.who.int/base/ValueSet/KGResolutionStatusVS"
        }
      },
      {
        "id": "KGEdge.properties.matchedOn",
        "path": "KGEdge.properties.matchedOn",
        "short": "Matched on",
        "definition": "What the join was matched on.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "KGEdge.properties.matchedOn",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "KGEdge",
        "path": "KGEdge",
        "short": "Knowledge graph: edge",
        "definition": "One reified statement: a predicate from a source node to a target node, with its derivation and evidence."
      },
      {
        "id": "KGEdge.type",
        "path": "KGEdge.type",
        "short": "Type",
        "definition": "Always Statement (rdf:Statement).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "KGEdge.predicate",
        "path": "KGEdge.predicate",
        "short": "Predicate",
        "definition": "The predicate; the layer's edge table says which (source, target) pairs it licenses.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://smart.who.int/base/ValueSet/KGL1PredicatesVS"
        }
      },
      {
        "id": "KGEdge.source",
        "path": "KGEdge.source",
        "short": "Source",
        "definition": "IRI of the source node.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "KGEdge.target",
        "path": "KGEdge.target",
        "short": "Target",
        "definition": "IRI of the target node.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "KGEdge.qualifier",
        "path": "KGEdge.qualifier",
        "short": "Qualifier",
        "definition": "A label on the relationship.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "KGEdge.derivation",
        "path": "KGEdge.derivation",
        "short": "Derivation",
        "definition": "derived | inferred | decided.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://smart.who.int/base/ValueSet/KGDerivationVS"
        }
      },
      {
        "id": "KGEdge.note",
        "path": "KGEdge.note",
        "short": "Note",
        "definition": "Why it is what it is. Required unless derived.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "KGEdge.evidence",
        "path": "KGEdge.evidence",
        "short": "Evidence",
        "definition": "Where it came from. Required unless derived.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://smart.who.int/base/StructureDefinition/KGEvidenceLocation"
          }
        ]
      },
      {
        "id": "KGEdge.flagRef",
        "path": "KGEdge.flagRef",
        "short": "Flag",
        "definition": "Id of a flag raised while extracting this edge.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "KGEdge.skill",
        "path": "KGEdge.skill",
        "short": "Skill",
        "definition": "Skill id that produced this edge.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "KGEdge.properties",
        "path": "KGEdge.properties",
        "short": "Properties",
        "definition": "Fields of the statement itself.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "KGEdge.properties.resolutionStatus",
        "path": "KGEdge.properties.resolutionStatus",
        "short": "Resolution status",
        "definition": "For a cross-format join: unresolved | resolved | ambiguous.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://smart.who.int/base/ValueSet/KGResolutionStatusVS"
        }
      },
      {
        "id": "KGEdge.properties.matchedOn",
        "path": "KGEdge.properties.matchedOn",
        "short": "Matched on",
        "definition": "What the join was matched on.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}