SMART Base
1.0.0 - release

This page is part of the SMART Base (v1.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Logical Model: Test Scenario (DAK)

Official URL: http://smart.who.int/base/StructureDefinition/TestScenario Version: 1.0.0
Active as of 2026-08-27 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

Full Schema (JSON)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://worldhealthorganization.github.io/smart-base/branches/v1.0.0/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