Name Flags Card. Type Description & Constraints doco
. . TestPlan D DomainResource Description of intented testing
+ Warning: Name should be usable as an identifier for the module by machine processing applications such as code generation

Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension
Interfaces Implemented: CanonicalResource
. . . url Σ C 0..1 uri Canonical identifier for this test plan, represented as a URI (globally unique)
+ Warning: URL should not contain | or # - these characters make processing canonical references problematic
. . . identifier Σ 0..* Identifier Business identifier identifier for the test plan

. . . version Σ 0..1 string Business version of the test plan
. . . versionAlgorithm[x] Σ 0..1 How to compare versions
Binding: Version Algorithm ( Extensible)
. . . . versionAlgorithmString string
. . . . versionAlgorithmCoding Coding
. . . name Σ C 0..1 string Name for this test plan (computer friendly)
. . . title T 0..1 string Name for this test plan (human friendly)
. . . status ?! Σ 1..1 code draft | active | retired | unknown
Binding: PublicationStatus ( Required)
. . . experimental Σ 0..1 boolean For testing purposes, not real usage
. . . date Σ 0..1 dateTime Date last changed
. . . publisher Σ T 0..1 string Name of the publisher/steward (organization or individual)
. . . contact Σ 0..* ContactDetail Contact details for the publisher

. . . description T 0..1 markdown Natural language description of the test plan
. . . useContext Σ 0..* UsageContext The context that the content is intended to support

. . . jurisdiction Σ XD 0..* CodeableConcept Intended jurisdiction where the test plan applies (if applicable)
Binding: Jurisdiction ValueSet ( Extensible)

. . . purpose T 0..1 markdown Why this test plan is defined
. . . copyright T 0..1 markdown Use and/or publishing restrictions
. . . copyrightLabel T 0..1 string Copyright holder and year(s)
. . . category 0..* CodeableConcept The category of the Test Plan - can be acceptance, unit, performance
Binding: Test Script Scope Phase Type ( Example)

. . . scope 0..* Reference( Any) What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference

. . . testTools 0..1 markdown A description of test tools to be used in the test plan - narrative for now
. . . dependency 0..* BackboneElement The required criteria to execute the test plan - e.g. preconditions, previous tests

. . . . description 0..1 markdown Description of the dependency criterium
. . . . predecessor 0..1 Reference( TestPlan) Link to predecessor test plans
. . . exitCriteria 0..1 markdown The threshold or criteria for the test plan to be considered successfully executed - narrative
. . . testCase 0..* BackboneElement The test cases that constitute this plan

. . . . key 1..1 id Key that identifies this test case
. . . . description 0..1 markdown Narrative description explaining the purpose of this test case
. . . . sequence 0..1 integer Sequence of test case in the test plan
. . . . scope 0..* Reference( Any) The scope or artifact covered by the case

. . . . requirement 0..* BackboneElement Links or references to the testing requirements

. . . . . reference 1..1 canonical( Requirements) Canonical reference to the Requirements instance
. . . . . key 1..1 id Requirements statement key identifier
. . . . dependency 0..* BackboneElement Required criteria to execute the test case

. . . . . description 0..1 markdown Description of the criteria
. . . . . reference 0..1 canonical( TestPlan) Canonical reference to the TestPlan dependency instance
. . . . . key 0..1 id TestPlan dependency instance testCase key identifier
. . . . testRun 0..* BackboneElement The actual test to be executed

. . . . . narrative 0..1 markdown The narrative description of the tests
. . . . . script 0..1 BackboneElement The test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript
. . . . . . language 0..1 CodeableConcept The language for the test cases e.g. 'gherkin', 'testscript'
. . . . . . source[x] 0..1 The actual content of the cases - references to TestScripts or externally defined content
. . . . . . . sourceString string
. . . . . . . sourceReference Reference( Any)
. . . . testData 0..* BackboneElement The test data used in the test case

. . . . . type 1..1 Coding The type of test data description, e.g. 'synthea'
. . . . . content 0..1 Reference( Any) The actual test resources when they exist
. . . . . source[x] 0..1 Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc
. . . . . . sourceString string
. . . . . . sourceReference Reference( Any)
. . . . assertion 0..* BackboneElement Test assertions or expectations

. . . . . type 0..* CodeableConcept Assertion type - for example 'informative' or 'required'

. . . . . object 0..* CodeableReference() The focus or object of the assertion

. . . . . result 0..* CodeableReference() The actual result assertion


doco Documentation for this format