| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
| 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 | ||
| Σ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 | |
| Σ | 0..* | Identifier | Business identifier identifier for the test plan | |
| Σ | 0..1 | string | Business version of the test plan | |
| Σ | 0..1 | How to compare versions Binding: Version Algorithm (Extensible) | ||
| string | ||||
| Coding | ||||
| ΣC | 0..1 | string | Name for this test plan (computer friendly) | |
| T | 0..1 | string | Name for this test plan (human friendly) | |
| ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (Required) | |
| Σ | 0..1 | boolean | For testing purposes, not real usage | |
| Σ | 0..1 | dateTime | Date last changed | |
| ΣT | 0..1 | string | Name of the publisher/steward (organization or individual) | |
| Σ | 0..* | ContactDetail | Contact details for the publisher | |
| T | 0..1 | markdown | Natural language description of the test plan | |
| Σ | 0..* | UsageContext | The context that the content is intended to support | |
| ΣXD | 0..* | CodeableConcept | Intended jurisdiction where the test plan applies (if applicable) Binding: Jurisdiction ValueSet (Extensible) | |
| T | 0..1 | markdown | Why this test plan is defined | |
| T | 0..1 | markdown | Use and/or publishing restrictions | |
| T | 0..1 | string | Copyright holder and year(s) | |
| 0..* | CodeableConcept | The category of the Test Plan - can be acceptance, unit, performance Binding: Test Script Scope Phase Type (Example) | ||
| 0..* | Reference() | What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference | ||
| 0..1 | markdown | A description of test tools to be used in the test plan - narrative for now | ||
| 0..* | BackboneElement | The required criteria to execute the test plan - e.g. preconditions, previous tests | ||
| 0..1 | markdown | Description of the dependency criterium | ||
| 0..1 | Reference() | Link to predecessor test plans | ||
| 0..1 | markdown | The threshold or criteria for the test plan to be considered successfully executed - narrative | ||
| 0..* | BackboneElement | The test cases that constitute this plan | ||
| 0..1 | integer | Sequence of test case in the test plan | ||
| 0..* | Reference() | The scope or artifact covered by the case | ||
| 0..* | BackboneElement | Required criteria to execute the test case | ||
| 0..1 | markdown | Description of the criteria | ||
| 0..1 | Reference() | Link to predecessor test plans | ||
| 0..* | BackboneElement | The actual test to be executed | ||
| 0..1 | markdown | The narrative description of the tests | ||
| 0..1 | BackboneElement | The test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript | ||
| 0..1 | CodeableConcept | The language for the test cases e.g. 'gherkin', 'testscript' | ||
| 0..1 | The actual content of the cases - references to TestScripts or externally defined content | |||
| string | ||||
| Reference() | ||||
| 0..* | BackboneElement | The test data used in the test case | ||
| 1..1 | Coding | The type of test data description, e.g. 'synthea' | ||
| 0..1 | Reference() | The actual test resources when they exist | ||
| 0..1 | Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc | |||
| string | ||||
| Reference() | ||||
| 0..* | BackboneElement | Test assertions or expectations | ||
| 0..* | CodeableConcept | Assertion type - for example 'informative' or 'required' | ||
| 0..* | CodeableReference() | The focus or object of the assertion | ||
| 0..* | CodeableReference() | The actual result assertion | ||