R5 Final QA

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 icon Work GroupMaturity Level: 0 DraftSecurity Category: Business Compartments: Not linked to any defined compartments

Detailed Descriptions for the elements in the TestPlan resource.

TestPlan
Element IdTestPlan
Definition

A plan for executing testing on an artifact or specifications.

Short DisplayA plan for executing testing on an artifact or specifications
Cardinality0..*
TypeDomainResource
Summarytrue
TestPlan.url
Element IdTestPlan.url
Definition

Canonical identifier URL.

Short DisplayCanonical identifier URL
Cardinality0..1
Typeuri
Summarytrue
TestPlan.identifier
Element IdTestPlan.identifier
Definition

Business identifier for the Test Plan.

Short DisplayBusiness identifier
NoteThis is a business identifier, not a resource identifier (see discussion)
Cardinality0..*
TypeIdentifier
Summarytrue
TestPlan.version
Element IdTestPlan.version
Definition

Version of the test plan.

Short DisplayVersion
NoteThis is a business versionId, not a resource version id (see discussion)
Cardinality0..*
Typestring
Summarytrue
TestPlan.name
Element IdTestPlan.name
Definition

Name.

Short DisplayName
Cardinality0..*
Typestring
Summarytrue
TestPlan.title
Element IdTestPlan.title
Definition

Human-readable title.

Short DisplayHuman-readable title
Cardinality0..*
Typestring
Summarytrue
TestPlan.status
Element IdTestPlan.status
Definition

Status.

Short Displaydraft | active | retired | unknown
Cardinality0..*
Terminology BindingPublicationStatus (Required)
Typecode
Summarytrue
TestPlan.date
Element IdTestPlan.date
Definition

Date.

Short DisplayDate
Cardinality0..*
TypedateTime
Summarytrue
TestPlan.publisher
Element IdTestPlan.publisher
Definition

Publisher.

Short DisplayPublisher
Cardinality0..*
Typestring
Summarytrue
TestPlan.contact
Element IdTestPlan.contact
Definition

Contact.

Short DisplayContact
Cardinality0..*
TypeContactDetail
Summarytrue
TestPlan.description
Element IdTestPlan.description
Definition

Description of the test plan.

Short DisplayDescription
Cardinality0..1
Typemarkdown
Summarytrue
TestPlan.jurisdiction
Element IdTestPlan.jurisdiction
Definition

Jurisdiction.

Short DisplayJurisdiction
Cardinality0..*
TypeCodeableConcept
Summarytrue
TestPlan.purpose
Element IdTestPlan.purpose
Definition

Purpose.

Short DisplayPurpose
Cardinality0..1
Typemarkdown
Summarytrue
TestPlan.copyright
Element IdTestPlan.copyright
Definition

Copyright.

Short DisplayCopyright
Cardinality0..1
Typemarkdown
Summarytrue
TestPlan.category
Element IdTestPlan.category
Definition

The category of the Test Plan - can be acceptance, unit, performance, etc.

Short DisplayThe category of the Test Plan - can be acceptance, unit, performance
Cardinality0..*
TypeCodeableConcept
Summarytrue
TestPlan.scope
Element IdTestPlan.scope
Definition

What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference...

Short DisplayWhat is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference
Cardinality0..*
TypeReference
Summarytrue
TestPlan.testTools
Element IdTestPlan.testTools
Definition

A description of test tools to be used in the test plan.

Short DisplayA description of test tools to be used in the test plan - narrative for now
Cardinality0..1
Typemarkdown
Summarytrue
TestPlan.dependencies
Element IdTestPlan.dependencies
Definition

The required criteria to execute the test plan - e.g. preconditions, previous tests...

Short DisplayThe required criteria to execute the test plan - e.g. preconditions, previous tests
Cardinality0..*
Summarytrue
TestPlan.dependencies.description
Element IdTestPlan.dependencies.description
Definition

Description of the criteria.

Short DisplayDescription of the criteria
Cardinality0..1
Typemarkdown
Summarytrue
TestPlan.dependencies.predecessor
Element IdTestPlan.dependencies.predecessor
Definition

Link to predecessor test plans.

Short DisplayLink to predecessor test plans
Cardinality0..1
TypeReference
Summarytrue
TestPlan.exitCriteria
Element IdTestPlan.exitCriteria
Definition

The threshold or criteria for the test plan to be considered successfully executed - narrative.

Short DisplayThe threshold or criteria for the test plan to be considered successfully executed - narrative
Cardinality0..1
Typemarkdown
Summarytrue
TestPlan.testCase
Element IdTestPlan.testCase
Definition

The test cases that are part of this plan.

Short DisplayThe test cases that are part of this plan
Cardinality0..*
Summarytrue
TestPlan.testCase.sequence
Element IdTestPlan.testCase.sequence
Definition

Sequence of testing.

Short DisplaySequence of testing
Cardinality0..1
Typeinteger
Summarytrue
TestPlan.testCase.scope
Element IdTestPlan.testCase.scope
Definition

Specific test scope for one test case.

Short DisplaySpecific test scope for one test case
Cardinality0..*
TypeReference
Summarytrue
TestPlan.testCase.dependencies
Element IdTestPlan.testCase.dependencies
Definition

The required criteria to execute the test case - e.g. preconditions, previous tests.

Short DisplayThe required criteria to execute the test case - e.g. preconditions, previous tests
Cardinality0..*
Summarytrue
TestPlan.testCase.dependencies.description
Element IdTestPlan.testCase.dependencies.description
Definition

Description of the criteria.

Short DisplayDescription of the criteria
Cardinality0..1
Typemarkdown
Summarytrue
TestPlan.testCase.dependencies.predecessor
Element IdTestPlan.testCase.dependencies.predecessor
Definition

Link to predecessor test plans.

Short DisplayLink to predecessor test plans
Cardinality0..1
TypeReference
Summarytrue
TestPlan.testCase.testRun
Element IdTestPlan.testCase.testRun
Definition

The actual test to be executed.

Short DisplayThe actual test to be executed
Cardinality0..*
TypeReference
Summarytrue
TestPlan.testCase.testRun.narrative
Element IdTestPlan.testCase.testRun.narrative
Definition

The narrative description of the tests.

Short DisplayThe narrative description of the tests
Cardinality0..1
Typemarkdown
Summarytrue
TestPlan.testCase.testRun.script
Element IdTestPlan.testCase.testRun.script
Definition

The test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript.

Short DisplayThe test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript
Cardinality0..1
Summarytrue
TestPlan.testCase.testRun.script.language
Element IdTestPlan.testCase.testRun.script.language
Definition

The language for the test cases e.g. 'gherkin', 'testscript'.

Short DisplayThe language for the test cases e.g. 'gherkin', 'testscript'
Cardinality0..1
TypeCodeableConcept
Summarytrue
TestPlan.testCase.testRun.script.source[x]
Element IdTestPlan.testCase.testRun.script.source[x]
Definition

The actual content of the cases - references to TestScripts or externally defined content.

Short DisplayThe actual content of the cases - references to TestScripts or externally defined content
Cardinality0..1
Typestring|Reference
[x] NoteSee Choice of Datatypes for further information about how to use [x]
Summarytrue
TestPlan.testCase.testData
Element IdTestPlan.testCase.testData
Definition

The test data used in the test case.

Short DisplayThe test data used in the test case
Cardinality0..*
Summarytrue
TestPlan.testCase.testData.type
Element IdTestPlan.testCase.testData.type
Definition

The type of test data description, e.g. 'synthea'.

Short DisplayThe type of test data description, e.g. 'synthea'
Cardinality1..1
TypeCoding
Summarytrue
TestPlan.testCase.testData.content
Element IdTestPlan.testCase.testData.content
Definition

The actual test resources when they exist.

Short DisplayThe actual test resources when they exist
Cardinality0..1
TypeReference
Summarytrue
TestPlan.testCase.testData.source[x]
Element IdTestPlan.testCase.testData.source[x]
Definition

Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc.

Short DisplayPointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc
Cardinality0..1
Typestring|Reference
[x] NoteSee Choice of Datatypes for further information about how to use [x]
Summarytrue
TestPlan.testCase.assertions
Element IdTestPlan.testCase.assertions
Definition

The test assertions.

Short DisplayThe test assertions
Cardinality0..*
Summarytrue
TestPlan.testCase.assertions.type
Element IdTestPlan.testCase.assertions.type
Definition

The test assertion type.

Short DisplayThe test assertion type
Cardinality0..*
TypeCodeableConcept
Summarytrue
TestPlan.testCase.assertions.object
Element IdTestPlan.testCase.assertions.object
Definition

The focus or object of the assertion.

Short DisplayThe focus or object of the assertion
Cardinality0..*
TypeCodeableReference
Summarytrue
TestPlan.testCase.assertions.result
Element IdTestPlan.testCase.assertions.result
Definition

The test assertions.

Short DisplayThe test assertions
Cardinality0..*
TypeCodeableReference
Summarytrue