SMART Base
0.2.0 - ci-build

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

Logical Model: Test Scenario (DAK)

Official URL: http://smart.who.int/base/StructureDefinition/TestScenario Version: 0.2.0
Active as of 2025-10-14 Computable Name: TestScenario

Logical Model for representing Test Scenarios from a DAK. A set of test scenarios to validate an implementation of the DAK.

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
.. TestScenario 0..* Base Test Scenario (DAK)
... feature 1..1 uri Feature File
... description[x] 0..1 Description
.... descriptionString string
.... descriptionUri uri

doco Documentation for this format

API Information

Test Scenario (DAK) API

Logical Model for representing Test Scenarios from a DAK. A set of test scenarios to validate an implementation of the DAK.

Version: 1.0.0

Endpoints

GET /StructureDefinition-TestScenario.schema.json

JSON Schema definition for the Logical Model StructureDefinition-TestScenario

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

Schema Definition

StructureDefinition-TestScenario

Description: Logical Model for representing Test Scenarios from a DAK. A set of test scenarios to validate an implementation of the DAK.

Type: object

Schema ID: https://worldhealthorganization.github.io/smart-base/StructureDefinition-TestScenario.schema.json

Properties

  • resourceType (string): Resource type identifier for TestScenario logical model
  • feature (string): Link to a feature file containing the test scenarios
  • description[x] (unknown): Description of the test scenario - either Markdown content or a URI to a Markdown file (absolute or relative to repository root)

Required fields: resourceType, feature

Full Schema (JSON)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://worldhealthorganization.github.io/smart-base/StructureDefinition-TestScenario.schema.json",
  "title": "Test Scenario (DAK)",
  "description": "Logical Model for representing Test Scenarios from a DAK. A set of test scenarios to validate an implementation of the DAK.",
  "type": "object",
  "properties": {
    "resourceType": {
      "type": "string",
      "const": "TestScenario",
      "description": "Resource type identifier for TestScenario logical model"
    },
    "feature": {
      "type": "string",
      "format": "uri",
      "description": "Link to a feature file containing the test scenarios"
    },
    "description[x]": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "string",
          "format": "uri"
        }
      ],
      "description": "Description of the test scenario - either Markdown content or a URI to a Markdown file (absolute or relative to repository root)"
    }
  },
  "required": [
    "resourceType",
    "feature"
  ],
  "resourceDefinition": "http://smart.who.int/base/StructureDefinition/TestScenario",
  "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
.. TestScenario 0..* Base Test Scenario (DAK)
... feature 1..1 uri Feature File
... description[x] 0..1 Description
.... descriptionString string
.... descriptionUri uri

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. TestScenario 0..* Base Test Scenario (DAK)
... feature 1..1 uri Feature File
... description[x] 0..1 Description
.... descriptionString string
.... descriptionUri uri

doco Documentation for this format

This structure is derived from Base

Summary

Mandatory: 0 element(1 nested mandatory element)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. TestScenario 0..* Base Test Scenario (DAK)
... feature 1..1 uri Feature File
... description[x] 0..1 Description
.... descriptionString string
.... descriptionUri uri

doco Documentation for this format

Differential View

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. TestScenario 0..* Base Test Scenario (DAK)
... feature 1..1 uri Feature File
... description[x] 0..1 Description
.... descriptionString string
.... descriptionUri uri

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. TestScenario 0..* Base Test Scenario (DAK)
... feature 1..1 uri Feature File
... description[x] 0..1 Description
.... descriptionString string
.... descriptionUri uri

doco Documentation for this format

This structure is derived from Base

Summary

Mandatory: 0 element(1 nested mandatory element)

 

Other representations of profile: CSV, Excel