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: Knowledge graph: provenance source

Official URL: http://smart.who.int/base/StructureDefinition/KGProvenanceSource Version: 0.3.0
Active as of 2026-10-06 Computable Name: KGProvenanceSource

A source a graph document was extracted from, pinned by hash.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. KGProvenanceSource 0..* Base Knowledge graph: provenance source
... path 1..1 string Path
... sha256 1..1 string SHA-256
... repository 0..1 string Repository
... note 0..1 string Note

doco Documentation for this format

API Information

Knowledge graph: provenance source API

A source a graph document was extracted from, pinned by hash.

Version: 1.0.0

Endpoints

GET /StructureDefinition-KGProvenanceSource.schema.json

JSON Schema definition for the Logical Model StructureDefinition-KGProvenanceSource

This endpoint serves the JSON Schema definition for the Logical Model StructureDefinition-KGProvenanceSource.

Schema Definition

StructureDefinition-KGProvenanceSource

Description: A source a graph document was extracted from, pinned by hash.

Type: object

Full Schema (JSON)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://smart.who.int/base/StructureDefinition-KGProvenanceSource.schema.json",
  "title": "Knowledge graph: provenance source",
  "description": "A source a graph document was extracted from, pinned by hash.",
  "type": "object",
  "properties": {
    "resourceType": {
      "type": "string",
      "const": "KGProvenanceSource",
      "description": "Resource type identifier for KGProvenanceSource logical model"
    },
    "path": {
      "type": "string",
      "description": "Path of the source."
    },
    "sha256": {
      "type": "string",
      "description": "Hash of the source (64 lower-case hex digits)."
    },
    "repository": {
      "type": "string",
      "description": "Repository holding the source."
    },
    "commit": {
      "type": "string",
      "description": "Commit the source was read at."
    },
    "note": {
      "type": "string",
      "description": "What the hash covers, where that is not obvious."
    }
  },
  "required": [
    "resourceType",
    "path",
    "sha256"
  ],
  "resourceDefinition": "http://smart.who.int/base/StructureDefinition/KGProvenanceSource",
  "fhir:parent": "http://hl7.org/fhir/StructureDefinition/Base"
}

This documentation is automatically generated from the OpenAPI specification.

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. KGProvenanceSource 0..* Base Knowledge graph: provenance source
... path 1..1 string Path
... sha256 1..1 string SHA-256
... repository 0..1 string Repository
... note 0..1 string Note

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. KGProvenanceSource 0..* Base Knowledge graph: provenance source
... path 1..1 string Path
... sha256 1..1 string SHA-256
... repository 0..1 string Repository
... note 0..1 string Note

doco Documentation for this format

This structure is derived from Base

Summary

Mandatory: 0 element(2 nested mandatory elements)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. KGProvenanceSource 0..* Base Knowledge graph: provenance source
... path 1..1 string Path
... sha256 1..1 string SHA-256
... repository 0..1 string Repository
... note 0..1 string Note

doco Documentation for this format

Differential View

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. KGProvenanceSource 0..* Base Knowledge graph: provenance source
... path 1..1 string Path
... sha256 1..1 string SHA-256
... repository 0..1 string Repository
... note 0..1 string Note

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. KGProvenanceSource 0..* Base Knowledge graph: provenance source
... path 1..1 string Path
... sha256 1..1 string SHA-256
... repository 0..1 string Repository
... note 0..1 string Note

doco Documentation for this format

This structure is derived from Base

Summary

Mandatory: 0 element(2 nested mandatory elements)

 

Other representations of profile: CSV, Excel