This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
FHIR Infrastructure Work Group | Maturity Level: 0 | Draft | Security Category: Business | Compartments: Not linked to any defined compartments |
Detailed Descriptions for the elements in the TestPlan resource.
TestPlan | |
Element Id | TestPlan |
Definition | A plan for executing testing on an artifact or specifications. |
Short Display | A plan for executing testing on an artifact or specifications |
Cardinality | 0..* |
Type | DomainResource |
Summary | true |
TestPlan.url | |
Element Id | TestPlan.url |
Definition | Canonical identifier URL. |
Short Display | Canonical identifier URL |
Cardinality | 0..1 |
Type | uri |
Summary | true |
TestPlan.identifier | |
Element Id | TestPlan.identifier |
Definition | Business identifier for the Test Plan. |
Short Display | Business identifier |
Note | This is a business identifier, not a resource identifier (see discussion) |
Cardinality | 0..* |
Type | Identifier |
Summary | true |
TestPlan.version | |
Element Id | TestPlan.version |
Definition | Version of the test plan. |
Short Display | Version |
Note | This is a business versionId, not a resource version id (see discussion) |
Cardinality | 0..* |
Type | string |
Summary | true |
TestPlan.name | |
Element Id | TestPlan.name |
Definition | Name. |
Short Display | Name |
Cardinality | 0..* |
Type | string |
Summary | true |
TestPlan.title | |
Element Id | TestPlan.title |
Definition | Human-readable title. |
Short Display | Human-readable title |
Cardinality | 0..* |
Type | string |
Summary | true |
TestPlan.status | |
Element Id | TestPlan.status |
Definition | Status. |
Short Display | draft | active | retired | unknown |
Cardinality | 0..* |
Terminology Binding | PublicationStatus (Required) |
Type | code |
Summary | true |
TestPlan.date | |
Element Id | TestPlan.date |
Definition | Date. |
Short Display | Date |
Cardinality | 0..* |
Type | dateTime |
Summary | true |
TestPlan.publisher | |
Element Id | TestPlan.publisher |
Definition | Publisher. |
Short Display | Publisher |
Cardinality | 0..* |
Type | string |
Summary | true |
TestPlan.contact | |
Element Id | TestPlan.contact |
Definition | Contact. |
Short Display | Contact |
Cardinality | 0..* |
Type | ContactDetail |
Summary | true |
TestPlan.description | |
Element Id | TestPlan.description |
Definition | Description of the test plan. |
Short Display | Description |
Cardinality | 0..1 |
Type | markdown |
Summary | true |
TestPlan.jurisdiction | |
Element Id | TestPlan.jurisdiction |
Definition | Jurisdiction. |
Short Display | Jurisdiction |
Cardinality | 0..* |
Type | CodeableConcept |
Summary | true |
TestPlan.purpose | |
Element Id | TestPlan.purpose |
Definition | Purpose. |
Short Display | Purpose |
Cardinality | 0..1 |
Type | markdown |
Summary | true |
TestPlan.copyright | |
Element Id | TestPlan.copyright |
Definition | Copyright. |
Short Display | Copyright |
Cardinality | 0..1 |
Type | markdown |
Summary | true |
TestPlan.category | |
Element Id | TestPlan.category |
Definition | The category of the Test Plan - can be acceptance, unit, performance, etc. |
Short Display | The category of the Test Plan - can be acceptance, unit, performance |
Cardinality | 0..* |
Type | CodeableConcept |
Summary | true |
TestPlan.scope | |
Element Id | TestPlan.scope |
Definition | What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference... |
Short Display | What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference |
Cardinality | 0..* |
Type | Reference |
Summary | true |
TestPlan.testTools | |
Element Id | TestPlan.testTools |
Definition | A description of test tools to be used in the test plan. |
Short Display | A description of test tools to be used in the test plan - narrative for now |
Cardinality | 0..1 |
Type | markdown |
Summary | true |
TestPlan.dependencies | |
Element Id | TestPlan.dependencies |
Definition | The required criteria to execute the test plan - e.g. preconditions, previous tests... |
Short Display | The required criteria to execute the test plan - e.g. preconditions, previous tests |
Cardinality | 0..* |
Summary | true |
TestPlan.dependencies.description | |
Element Id | TestPlan.dependencies.description |
Definition | Description of the criteria. |
Short Display | Description of the criteria |
Cardinality | 0..1 |
Type | markdown |
Summary | true |
TestPlan.dependencies.predecessor | |
Element Id | TestPlan.dependencies.predecessor |
Definition | Link to predecessor test plans. |
Short Display | Link to predecessor test plans |
Cardinality | 0..1 |
Type | Reference |
Summary | true |
TestPlan.exitCriteria | |
Element Id | TestPlan.exitCriteria |
Definition | The threshold or criteria for the test plan to be considered successfully executed - narrative. |
Short Display | The threshold or criteria for the test plan to be considered successfully executed - narrative |
Cardinality | 0..1 |
Type | markdown |
Summary | true |
TestPlan.testCase | |
Element Id | TestPlan.testCase |
Definition | The test cases that are part of this plan. |
Short Display | The test cases that are part of this plan |
Cardinality | 0..* |
Summary | true |
TestPlan.testCase.sequence | |
Element Id | TestPlan.testCase.sequence |
Definition | Sequence of testing. |
Short Display | Sequence of testing |
Cardinality | 0..1 |
Type | integer |
Summary | true |
TestPlan.testCase.scope | |
Element Id | TestPlan.testCase.scope |
Definition | Specific test scope for one test case. |
Short Display | Specific test scope for one test case |
Cardinality | 0..* |
Type | Reference |
Summary | true |
TestPlan.testCase.dependencies | |
Element Id | TestPlan.testCase.dependencies |
Definition | The required criteria to execute the test case - e.g. preconditions, previous tests. |
Short Display | The required criteria to execute the test case - e.g. preconditions, previous tests |
Cardinality | 0..* |
Summary | true |
TestPlan.testCase.dependencies.description | |
Element Id | TestPlan.testCase.dependencies.description |
Definition | Description of the criteria. |
Short Display | Description of the criteria |
Cardinality | 0..1 |
Type | markdown |
Summary | true |
TestPlan.testCase.dependencies.predecessor | |
Element Id | TestPlan.testCase.dependencies.predecessor |
Definition | Link to predecessor test plans. |
Short Display | Link to predecessor test plans |
Cardinality | 0..1 |
Type | Reference |
Summary | true |
TestPlan.testCase.testRun | |
Element Id | TestPlan.testCase.testRun |
Definition | The actual test to be executed. |
Short Display | The actual test to be executed |
Cardinality | 0..* |
Type | Reference |
Summary | true |
TestPlan.testCase.testRun.narrative | |
Element Id | TestPlan.testCase.testRun.narrative |
Definition | The narrative description of the tests. |
Short Display | The narrative description of the tests |
Cardinality | 0..1 |
Type | markdown |
Summary | true |
TestPlan.testCase.testRun.script | |
Element Id | TestPlan.testCase.testRun.script |
Definition | The test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript. |
Short Display | The test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript |
Cardinality | 0..1 |
Summary | true |
TestPlan.testCase.testRun.script.language | |
Element Id | TestPlan.testCase.testRun.script.language |
Definition | The language for the test cases e.g. 'gherkin', 'testscript'. |
Short Display | The language for the test cases e.g. 'gherkin', 'testscript' |
Cardinality | 0..1 |
Type | CodeableConcept |
Summary | true |
TestPlan.testCase.testRun.script.source[x] | |
Element Id | TestPlan.testCase.testRun.script.source[x] |
Definition | The actual content of the cases - references to TestScripts or externally defined content. |
Short Display | The actual content of the cases - references to TestScripts or externally defined content |
Cardinality | 0..1 |
Type | string|Reference |
[x] Note | See Choice of Datatypes for further information about how to use [x] |
Summary | true |
TestPlan.testCase.testData | |
Element Id | TestPlan.testCase.testData |
Definition | The test data used in the test case. |
Short Display | The test data used in the test case |
Cardinality | 0..* |
Summary | true |
TestPlan.testCase.testData.type | |
Element Id | TestPlan.testCase.testData.type |
Definition | The type of test data description, e.g. 'synthea'. |
Short Display | The type of test data description, e.g. 'synthea' |
Cardinality | 1..1 |
Type | Coding |
Summary | true |
TestPlan.testCase.testData.content | |
Element Id | TestPlan.testCase.testData.content |
Definition | The actual test resources when they exist. |
Short Display | The actual test resources when they exist |
Cardinality | 0..1 |
Type | Reference |
Summary | true |
TestPlan.testCase.testData.source[x] | |
Element Id | TestPlan.testCase.testData.source[x] |
Definition | Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc. |
Short Display | Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc |
Cardinality | 0..1 |
Type | string|Reference |
[x] Note | See Choice of Datatypes for further information about how to use [x] |
Summary | true |
TestPlan.testCase.assertions | |
Element Id | TestPlan.testCase.assertions |
Definition | The test assertions. |
Short Display | The test assertions |
Cardinality | 0..* |
Summary | true |
TestPlan.testCase.assertions.type | |
Element Id | TestPlan.testCase.assertions.type |
Definition | The test assertion type. |
Short Display | The test assertion type |
Cardinality | 0..* |
Type | CodeableConcept |
Summary | true |
TestPlan.testCase.assertions.object | |
Element Id | TestPlan.testCase.assertions.object |
Definition | The focus or object of the assertion. |
Short Display | The focus or object of the assertion |
Cardinality | 0..* |
Type | CodeableReference |
Summary | true |
TestPlan.testCase.assertions.result | |
Element Id | TestPlan.testCase.assertions.result |
Definition | The test assertions. |
Short Display | The test assertions |
Cardinality | 0..* |
Type | CodeableReference |
Summary | true |