http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0

A plan for executing testing on an artifact or specifications
NameFlagsCardTypeDescription & Constraints
TestPlan
0..*Description of intented testing
 
url
Σ
0..1uriCanonical identifier for this test plan, represented as a URI (globally unique)
 
identifier
Σ
0..*IdentifierBusiness identifier identifier for the test plan
 
version
Σ
0..1stringBusiness version of the test plan
 
versionAlgorithm[x]
Σ
0..1How to compare versions http://hl7.org/fhir/ValueSet/version-algorithm (extensible)
 
 
versionAlgorithmString
Σ
0..1string http://hl7.org/fhir/ValueSet/version-algorithm (extensible)
 
 
versionAlgorithmCoding
Σ
0..1Coding http://hl7.org/fhir/ValueSet/version-algorithm (extensible)
 
name
Σ
0..1stringName for this test plan (computer friendly)
 
title
0..1stringName for this test plan (human friendly)
 
status *
?!Σ
1..1codedraft | active | retired | unknown PublicationStatus (required)
 
experimental
Σ
0..1booleanFor testing purposes, not real usage
 
date
Σ
0..1dateTimeDate last changed
 
publisher
Σ
0..1stringName of the publisher/steward (organization or individual)
 
contact
Σ
0..*ContactDetailContact details for the publisher
 
description
0..1markdownNatural language description of the test plan
 
useContext
Σ
0..*UsageContextThe context that the content is intended to support
 
jurisdiction
Σ
0..*CodeableConceptIntended jurisdiction where the test plan applies (if applicable) Jurisdiction (extensible)
 
purpose
0..1markdownWhy this test plan is defined
 
copyright
0..1markdownUse and/or publishing restrictions
 
copyrightLabel
0..1stringCopyright holder and year(s)
 
category
0..*CodeableConceptThe category of the Test Plan - can be acceptance, unit, performance TestPlanCategory (example)
 
scope
0..*ReferenceWhat is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference
 
testTools
0..1markdownA description of test tools to be used in the test plan - narrative for now
 
dependency
0..*BackboneElementThe required criteria to execute the test plan - e.g. preconditions, previous tests
 
 
description
0..1markdownDescription of the dependency criterium
 
 
predecessor
0..1ReferenceLink to predecessor test plans
 
exitCriteria
0..1markdownThe threshold or criteria for the test plan to be considered successfully executed - narrative
 
testCase
0..*BackboneElementThe test cases that constitute this plan
 
 
sequence
0..1integerSequence of test case in the test plan
 
 
scope
0..*ReferenceThe scope or artifact covered by the case
 
 
dependency
0..*BackboneElementRequired criteria to execute the test case
 
 
 
description
0..1markdownDescription of the criteria
 
 
 
predecessor
0..1ReferenceLink to predecessor test plans
 
 
testRun
0..*BackboneElementThe actual test to be executed
 
 
 
narrative
0..1markdownThe narrative description of the tests
 
 
 
script
0..1BackboneElementThe test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript
 
 
 
 
language
0..1CodeableConceptThe language for the test cases e.g. 'gherkin', 'testscript'
 
 
 
 
source[x]
0..1The actual content of the cases - references to TestScripts or externally defined content
 
 
 
 
 
sourceString
0..1string
 
 
 
 
 
sourceReference
0..1Reference
 
 
testData
0..*BackboneElementThe test data used in the test case
 
 
 
type *
1..1CodingThe type of test data description, e.g. 'synthea'
 
 
 
content
0..1ReferenceThe actual test resources when they exist
 
 
 
source[x]
0..1Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc
 
 
 
 
sourceString
0..1string
 
 
 
 
sourceReference
0..1Reference
 
 
assertion
0..*BackboneElementTest assertions or expectations
 
 
 
type
0..*CodeableConceptAssertion type - for example 'informative' or 'required'
 
 
 
object
0..*CodeableReferenceThe focus or object of the assertion
 
 
 
result
0..*CodeableReferenceThe actual result assertion