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
| Active as of 2026-10-06 |
Definitions for the KGGraphDocument logical model.
Guidance on how to interpret the contents of this table can be foundhere
| 0. KGGraphDocument | |
| Definition | 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. |
| Short | Knowledge graph L1: graph document |
| Control | 0..* |
| Is Modifier | false |
| Logical Model | Instances of this logical model are not marked to be the target of a Reference |
| 2. KGGraphDocument.context | |
| Definition | The JSON-LD context (written @context in JSON). |
| Short | Context |
| Control | 1..1 |
| Type | uri |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 4. KGGraphDocument.id | |
| Definition | IRI of this graph document. |
| Short | ID |
| Control | 1..1 |
| Type | string |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 6. KGGraphDocument.type | |
| Definition | Always Entity (prov:Entity). |
| Short | Type |
| Control | 1..1 |
| Type | code |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 8. KGGraphDocument.ontologyVersion | |
| Definition | schemaVersion of the ontology this graph was built against. |
| Short | Ontology version |
| Control | 1..1 |
| Type | string |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 10. KGGraphDocument.generatedAt | |
| Definition | When the document was generated. |
| Short | Generated at |
| Control | 1..1 |
| Type | dateTime |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 12. KGGraphDocument.wasDerivedFrom | |
| Definition | The sources this graph was extracted from, each pinned by hash. |
| Short | Derived from |
| Control | 0..* |
| Type | http://smart.who.int/base/StructureDefinition/KGProvenanceSource |
| 14. KGGraphDocument.nodes | |
| Definition | The nodes. |
| Short | Nodes |
| Control | 0..* |
| Type | http://smart.who.int/base/StructureDefinition/KGNode |
| 16. KGGraphDocument.edges | |
| Definition | The edges. |
| Short | Edges |
| Control | 0..* |
| Type | http://smart.who.int/base/StructureDefinition/KGEdge |
| 18. KGGraphDocument.dak | |
| Definition | The DAK envelope: the fields of the DAK logical model. |
| Short | DAK |
| Control | 0..1 |
| Type | BackboneElement |
Guidance on how to interpret the contents of this table can be foundhere
| 0. KGGraphDocument | |
| Definition | 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. |
| Short | Knowledge graph L1: graph document |
| Logical Model | Instances of this logical model are not marked to be the target of a Reference |
| 2. KGGraphDocument.context | |
| Definition | The JSON-LD context (written @context in JSON). |
| Short | Context |
| Control | 1..1 |
| Type | uri |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 4. KGGraphDocument.id | |
| Definition | IRI of this graph document. |
| Short | ID |
| Control | 1..1 |
| Type | string |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 6. KGGraphDocument.type | |
| Definition | Always Entity (prov:Entity). |
| Short | Type |
| Control | 1..1 |
| Type | code |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 8. KGGraphDocument.ontologyVersion | |
| Definition | schemaVersion of the ontology this graph was built against. |
| Short | Ontology version |
| Control | 1..1 |
| Type | string |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 10. KGGraphDocument.generatedAt | |
| Definition | When the document was generated. |
| Short | Generated at |
| Control | 1..1 |
| Type | dateTime |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 12. KGGraphDocument.wasDerivedFrom | |
| Definition | The sources this graph was extracted from, each pinned by hash. |
| Short | Derived from |
| Control | 0..* |
| Type | http://smart.who.int/base/StructureDefinition/KGProvenanceSource |
| 14. KGGraphDocument.nodes | |
| Definition | The nodes. |
| Short | Nodes |
| Control | 0..* |
| Type | http://smart.who.int/base/StructureDefinition/KGNode |
| 16. KGGraphDocument.edges | |
| Definition | The edges. |
| Short | Edges |
| Control | 0..* |
| Type | http://smart.who.int/base/StructureDefinition/KGEdge |
| 18. KGGraphDocument.dak | |
| Definition | The DAK envelope: the fields of the DAK logical model. |
| Short | DAK |
| Control | 0..1 |
| Type | BackboneElement |
Guidance on how to interpret the contents of this table can be foundhere
| 0. KGGraphDocument | |
| Definition | 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. |
| Short | Knowledge graph L1: graph document |
| Control | 0..* |
| Is Modifier | false |
| Logical Model | Instances of this logical model are not marked to be the target of a Reference |
| 2. KGGraphDocument.context | |
| Definition | The JSON-LD context (written @context in JSON). |
| Short | Context |
| Control | 1..1 |
| Type | uri |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 4. KGGraphDocument.id | |
| Definition | IRI of this graph document. |
| Short | ID |
| Control | 1..1 |
| Type | string |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 6. KGGraphDocument.type | |
| Definition | Always Entity (prov:Entity). |
| Short | Type |
| Control | 1..1 |
| Type | code |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 8. KGGraphDocument.ontologyVersion | |
| Definition | schemaVersion of the ontology this graph was built against. |
| Short | Ontology version |
| Control | 1..1 |
| Type | string |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 10. KGGraphDocument.generatedAt | |
| Definition | When the document was generated. |
| Short | Generated at |
| Control | 1..1 |
| Type | dateTime |
| Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
| 12. KGGraphDocument.wasDerivedFrom | |
| Definition | The sources this graph was extracted from, each pinned by hash. |
| Short | Derived from |
| Control | 0..* |
| Type | http://smart.who.int/base/StructureDefinition/KGProvenanceSource |
| 14. KGGraphDocument.nodes | |
| Definition | The nodes. |
| Short | Nodes |
| Control | 0..* |
| Type | http://smart.who.int/base/StructureDefinition/KGNode |
| 16. KGGraphDocument.edges | |
| Definition | The edges. |
| Short | Edges |
| Control | 0..* |
| Type | http://smart.who.int/base/StructureDefinition/KGEdge |
| 18. KGGraphDocument.dak | |
| Definition | The DAK envelope: the fields of the DAK logical model. |
| Short | DAK |
| Control | 0..1 |
| Type | BackboneElement |