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
| Official URL: http://smart.who.int/base/StructureDefinition/KGGraphDocument | Version: 0.3.0 | |||
| Active as of 2026-10-06 | Computable Name: KGGraphDocument | |||
One L1 knowledge-graph document: typed nodes and reified edges, provenance-pinned to the sources it was extracted from. In JSON the context element is written @context.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Base | Knowledge graph L1: graph document | |
![]() ![]() |
1..1 | uri | Context | |
![]() ![]() |
1..1 | string | ID | |
![]() ![]() |
1..1 | code | Type | |
![]() ![]() |
1..1 | string | Ontology version | |
![]() ![]() |
1..1 | dateTime | Generated at | |
![]() ![]() |
0..* | KGProvenanceSource | Derived from | |
![]() ![]() |
0..* | KGNode | Nodes | |
![]() ![]() |
0..* | KGEdge | Edges | |
![]() ![]() |
0..1 | BackboneElement | DAK | |
Documentation for this format | ||||
One L1 knowledge-graph document: typed nodes and reified edges, provenance-pinned to the sources it was extracted from. In JSON the context element is written @context.
Version: 1.0.0
This endpoint serves the JSON Schema definition for the Logical Model StructureDefinition-KGGraphDocument.
Description: One L1 knowledge-graph document: typed nodes and reified edges, provenance-pinned to the sources it was extracted from. In JSON the context element is written @context.
Type: object
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "http://smart.who.int/base/StructureDefinition-KGGraphDocument.schema.json",
"title": "Knowledge graph L1: graph document",
"description": "One L1 knowledge-graph document: typed nodes and reified edges, provenance-pinned to the sources it was extracted from. In JSON the context element is written @context.",
"type": "object",
"properties": {
"resourceType": {
"type": "string",
"const": "KGGraphDocument",
"description": "Resource type identifier for KGGraphDocument logical model"
},
"context": {
"type": "string",
"format": "uri",
"description": "The JSON-LD context (written @context in JSON)."
},
"id": {
"type": "string",
"description": "IRI of this graph document."
},
"type": {
"type": "string",
"description": "Always Entity (prov:Entity)."
},
"ontologyVersion": {
"type": "string",
"description": "schemaVersion of the ontology this graph was built against."
},
"generatedAt": {
"type": "string",
"format": "date-time",
"description": "When the document was generated."
},
"wasDerivedFrom": {
"type": "array",
"items": {
"$ref": "http://smart.who.int/base/StructureDefinition-KGProvenanceSource.schema.json"
},
"description": "The sources this graph was extracted from, each pinned by hash."
},
"nodes": {
"type": "array",
"items": {
"$ref": "http://smart.who.int/base/StructureDefinition-KGNode.schema.json"
},
"description": "The nodes."
},
"edges": {
"type": "array",
"items": {
"$ref": "http://smart.who.int/base/StructureDefinition-KGEdge.schema.json"
},
"description": "The edges."
},
"dak": {
"type": "object",
"description": "The DAK envelope: the fields of the DAK logical model."
}
},
"required": [
"resourceType",
"context",
"id",
"type",
"ontologyVersion",
"generatedAt"
],
"resourceDefinition": "http://smart.who.int/base/StructureDefinition/KGGraphDocument",
"fhir:parent": "http://hl7.org/fhir/StructureDefinition/Base"
}
This documentation is automatically generated from the OpenAPI specification.
This structure is derived from Base
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Base | Knowledge graph L1: graph document | |
![]() ![]() |
1..1 | uri | Context | |
![]() ![]() |
1..1 | string | ID | |
![]() ![]() |
1..1 | code | Type | |
![]() ![]() |
1..1 | string | Ontology version | |
![]() ![]() |
1..1 | dateTime | Generated at | |
![]() ![]() |
0..* | KGProvenanceSource | Derived from | |
![]() ![]() |
0..* | KGNode | Nodes | |
![]() ![]() |
0..* | KGEdge | Edges | |
![]() ![]() |
0..1 | BackboneElement | DAK | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Base | Knowledge graph L1: graph document | |
![]() ![]() |
1..1 | uri | Context | |
![]() ![]() |
1..1 | string | ID | |
![]() ![]() |
1..1 | code | Type | |
![]() ![]() |
1..1 | string | Ontology version | |
![]() ![]() |
1..1 | dateTime | Generated at | |
![]() ![]() |
0..* | KGProvenanceSource | Derived from | |
![]() ![]() |
0..* | KGNode | Nodes | |
![]() ![]() |
0..* | KGEdge | Edges | |
![]() ![]() |
0..1 | BackboneElement | DAK | |
Documentation for this format | ||||
This structure is derived from Base
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Base | Knowledge graph L1: graph document | |
![]() ![]() |
1..1 | uri | Context | |
![]() ![]() |
1..1 | string | ID | |
![]() ![]() |
1..1 | code | Type | |
![]() ![]() |
1..1 | string | Ontology version | |
![]() ![]() |
1..1 | dateTime | Generated at | |
![]() ![]() |
0..* | KGProvenanceSource | Derived from | |
![]() ![]() |
0..* | KGNode | Nodes | |
![]() ![]() |
0..* | KGEdge | Edges | |
![]() ![]() |
0..1 | BackboneElement | DAK | |
Documentation for this format | ||||
Differential View
This structure is derived from Base
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Base | Knowledge graph L1: graph document | |
![]() ![]() |
1..1 | uri | Context | |
![]() ![]() |
1..1 | string | ID | |
![]() ![]() |
1..1 | code | Type | |
![]() ![]() |
1..1 | string | Ontology version | |
![]() ![]() |
1..1 | dateTime | Generated at | |
![]() ![]() |
0..* | KGProvenanceSource | Derived from | |
![]() ![]() |
0..* | KGNode | Nodes | |
![]() ![]() |
0..* | KGEdge | Edges | |
![]() ![]() |
0..1 | BackboneElement | DAK | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Base | Knowledge graph L1: graph document | |
![]() ![]() |
1..1 | uri | Context | |
![]() ![]() |
1..1 | string | ID | |
![]() ![]() |
1..1 | code | Type | |
![]() ![]() |
1..1 | string | Ontology version | |
![]() ![]() |
1..1 | dateTime | Generated at | |
![]() ![]() |
0..* | KGProvenanceSource | Derived from | |
![]() ![]() |
0..* | KGNode | Nodes | |
![]() ![]() |
0..* | KGEdge | Edges | |
![]() ![]() |
0..1 | BackboneElement | DAK | |
Documentation for this format | ||||
This structure is derived from Base