Generated Narrative: StructureDefinition ext-R5-TestPlan Name Flags Card. Type Description & Constraints Extension 0..* Extension(4.0.1) Description of intented testing #xD; Slices for extension 1..* Extension Extension Slice: Unordered, Closed by value:url #xD; <a href="StructureDefinition-ext-R5-TestPlan-definitions.html#Extension.extension:url" title="Slice url: An absolute URI that is used to identify this test plan when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this test plan is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test plan is stored on different servers.">extension:url 0..1 Extension Canonical identifier for this test plan, represented as a URI (globally unique) #xD; url 1..1 uri "url" #xD; <a href="StructureDefinition-ext-R5-TestPlan-definitions.html#Extension.extension:url.value[x]" title="An absolute URI that is used to identify this test plan when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this test plan is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test plan is stored on different servers.">value[x] 0..1 uri Canonical identifier for this test plan, represented as a URI (globally unique) #xD; <a href="StructureDefinition-ext-R5-TestPlan-definitions.html#Extension.extension:version" title="Slice version: The identifier that is used to identify this version of the test plan when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test plan author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.">extension:version 0..1 Extension Business version of the test plan #xD; url 1..1 uri "version" #xD; <a href="StructureDefinition-ext-R5-TestPlan-definitions.html#Extension.extension:version.value[x]" title="The identifier that is used to identify this version of the test plan when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test plan author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.">value[x] 0..1 string Business version of the test plan #xD; extension:versionAlgorithm[x] 0..1 Extension How to compare versions #xD; url 1..1 uri "versionAlgorithm[x]" #xD; value[x] 0..1 How to compare versions Binding: R5_version_algorithm_for_R4 (0.0.1-snapshot-2) (extensible) #xD; valueString string #xD; valueCoding Coding #xD; extension:name 0..1 Extension Name for this test plan (computer friendly) #xD; url 1..1 uri "name" #xD; value[x] 0..1 string Name for this test plan (computer friendly) #xD; extension:title 0..1 Extension Name for this test plan (human friendly) #xD; url 1..1 uri "title" #xD; value[x] 0..1 string Name for this test plan (human friendly) #xD; extension:status 1..1 Extension draft | active | retired | unknown #xD; url 1..1 uri "status" #xD; value[x] 0..1 code draft | active | retired | unknown Binding: R5_publication_status_for_R4 (0.0.1-snapshot-2) (required): The lifecycle status of an artifact. #xD; extension:experimental 0..1 Extension For testing purposes, not real usage #xD; url 1..1 uri "experimental" #xD; value[x] 0..1 boolean For testing purposes, not real usage #xD; extension:date 0..1 Extension Date last changed #xD; url 1..1 uri "date" #xD; value[x] 0..1 dateTime Date last changed #xD; extension:publisher 0..1 Extension Name of the publisher/steward (organization or individual) #xD; url 1..1 uri "publisher" #xD; value[x] 0..1 string Name of the publisher/steward (organization or individual) #xD; extension:contact 0..* Extension Contact details for the publisher #xD; url 1..1 uri "contact" #xD; value[x] 0..1 ContactDetail Contact details for the publisher #xD; extension:description 0..1 Extension Natural language description of the test plan #xD; url 1..1 uri "description" #xD; value[x] 0..1 markdown Natural language description of the test plan #xD; <a href="StructureDefinition-ext-R5-TestPlan-definitions.html#Extension.extension:useContext" title="Slice useContext: The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate test plan instances.">extension:useContext 0..* Extension The context that the content is intended to support #xD; url 1..1 uri "useContext" #xD; <a href="StructureDefinition-ext-R5-TestPlan-definitions.html#Extension.extension:useContext.value[x]" title="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate test plan instances.">value[x] 0..1 UsageContext The context that the content is intended to support #xD; extension:jurisdiction 0..* Extension Intended jurisdiction where the test plan applies (if applicable) #xD; url 1..1 uri "jurisdiction" #xD; value[x] 0..1 CodeableConcept Intended jurisdiction where the test plan applies (if applicable) Binding: R5_jurisdiction_for_R4 (0.0.1-snapshot-2) (extensible): Countries and regions within which this artifact is targeted for use. #xD; extension:purpose 0..1 Extension Why this test plan is defined #xD; url 1..1 uri "purpose" #xD; value[x] 0..1 markdown Why this test plan is defined #xD; extension:copyright 0..1 Extension Use and/or publishing restrictions #xD; url 1..1 uri "copyright" #xD; value[x] 0..1 markdown Use and/or publishing restrictions #xD; <a href="StructureDefinition-ext-R5-TestPlan-definitions.html#Extension.extension:copyrightLabel" title="Slice copyrightLabel: A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved').">extension:copyrightLabel 0..1 Extension Copyright holder and year(s) #xD; url 1..1 uri "copyrightLabel" #xD; <a href="StructureDefinition-ext-R5-TestPlan-definitions.html#Extension.extension:copyrightLabel.value[x]" title="A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved').">value[x] 0..1 string Copyright holder and year(s) #xD; extension:category 0..* Extension The category of the Test Plan - can be acceptance, unit, performance #xD; url 1..1 uri "category" #xD; value[x] 0..1 CodeableConcept The category of the Test Plan - can be acceptance, unit, performance Binding: R5_testscript_scope_phase_codes_for_R4 (0.0.1-snapshot-2) (example): The high-level category for this plan. #xD; extension:scope 0..* Extension What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference #xD; url 1..1 uri "scope" #xD; value[x] 0..1 Reference() What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference #xD; extension:testTools 0..1 Extension A description of test tools to be used in the test plan - narrative for now #xD; url 1..1 uri "testTools" #xD; value[x] 0..1 markdown A description of test tools to be used in the test plan - narrative for now #xD; extension:dependency 0..* Extension The required criteria to execute the test plan - e.g. preconditions, previous tests #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Closed by value:url #xD; extension:description 0..1 Extension Description of the dependency criterium #xD; url 1..1 uri "description" #xD; value[x] 0..1 markdown Description of the dependency criterium #xD; extension:predecessor 0..1 Extension Link to predecessor test plans #xD; url 1..1 uri "predecessor" #xD; value[x] 0..1 Reference() Link to predecessor test plans #xD; url 1..1 uri "dependency" #xD; extension:exitCriteria 0..1 Extension The threshold or criteria for the test plan to be considered successfully executed - narrative #xD; url 1..1 uri "exitCriteria" #xD; value[x] 0..1 markdown The threshold or criteria for the test plan to be considered successfully executed - narrative #xD; extension:testCase 0..* Extension The test cases that constitute this plan #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Closed by value:url #xD; extension:sequence 0..1 Extension Sequence of test case in the test plan #xD; url 1..1 uri "sequence" #xD; value[x] 0..1 integer Sequence of test case in the test plan #xD; extension:scope 0..* Extension The scope or artifact covered by the case #xD; url 1..1 uri "scope" #xD; value[x] 0..1 Reference() The scope or artifact covered by the case #xD; extension:dependency 0..* Extension Required criteria to execute the test case #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Closed by value:url #xD; extension:description 0..1 Extension Description of the criteria #xD; url 1..1 uri "description" #xD; value[x] 0..1 markdown Description of the criteria #xD; extension:predecessor 0..1 Extension Link to predecessor test plans #xD; url 1..1 uri "predecessor" #xD; value[x] 0..1 Reference() Link to predecessor test plans #xD; url 1..1 uri "dependency" #xD; extension:testRun 0..* Extension The actual test to be executed #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Closed by value:url #xD; extension:narrative 0..1 Extension The narrative description of the tests #xD; url 1..1 uri "narrative" #xD; value[x] 0..1 markdown The narrative description of the tests #xD; extension:script 0..1 Extension The test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Closed by value:url #xD; extension:language 0..1 Extension The language for the test cases e.g. 'gherkin', 'testscript' #xD; url 1..1 uri "language" #xD; value[x] 0..1 CodeableConcept The language for the test cases e.g. 'gherkin', 'testscript' #xD; extension:source[x] 0..1 Extension The actual content of the cases - references to TestScripts or externally defined content #xD; url 1..1 uri "source[x]" #xD; value[x] 0..1 The actual content of the cases - references to TestScripts or externally defined content #xD; valueString string #xD; valueReference Reference(Any) #xD; url 1..1 uri "script" #xD; url 1..1 uri "testRun" #xD; extension:testData 0..* Extension The test data used in the test case #xD; Slices for extension 1..* Extension Extension Slice: Unordered, Closed by value:url #xD; extension:type 1..1 Extension The type of test data description, e.g. 'synthea' #xD; url 1..1 uri "type" #xD; value[x] 0..1 Coding The type of test data description, e.g. 'synthea' #xD; extension:content 0..1 Extension The actual test resources when they exist #xD; url 1..1 uri "content" #xD; value[x] 0..1 Reference() The actual test resources when they exist #xD; extension:source[x] 0..1 Extension Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc #xD; url 1..1 uri "source[x]" #xD; value[x] 0..1 Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc #xD; valueString string #xD; valueReference Reference(Any) #xD; url 1..1 uri "testData" #xD; extension:assertion 0..* Extension Test assertions or expectations #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Closed by value:url #xD; extension:type 0..* Extension Assertion type - for example 'informative' or 'required' #xD; url 1..1 uri "type" #xD; value[x] 0..1 CodeableConcept Assertion type - for example 'informative' or 'required' #xD; extension:object 0..* Extension The focus or object of the assertion #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Closed by value:url #xD; extension:concept 0..1 Extension Reference to a concept (by class) #xD; url 1..1 uri "concept" #xD; value[x] 0..1 CodeableConcept Reference to a concept (by class) #xD; extension:reference 0..1 Extension Reference to a resource (by instance) #xD; url 1..1 uri "reference" #xD; value[x] 0..1 Reference() Reference to a resource (by instance) #xD; extension:_datatype 0..1 (Complex) Data type name for TestPlan.testCase.assertion.object from FHIR R5 URL: http://hl7.org/fhir/StructureDefinition/_datatype #xD; value[x] 1..1 string Value of extension Fixed Value: CodeableReference #xD; url 1..1 uri "object" #xD; extension:result 0..* Extension The actual result assertion #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Closed by value:url #xD; extension:concept 0..1 Extension Reference to a concept (by class) #xD; url 1..1 uri "concept" #xD; value[x] 0..1 CodeableConcept Reference to a concept (by class) #xD; extension:reference 0..1 Extension Reference to a resource (by instance) #xD; url 1..1 uri "reference" #xD; value[x] 0..1 Reference() Reference to a resource (by instance) #xD; extension:_datatype 0..1 (Complex) Data type name for TestPlan.testCase.assertion.result from FHIR R5 URL: http://hl7.org/fhir/StructureDefinition/_datatype #xD; value[x] 1..1 string Value of extension Fixed Value: CodeableReference #xD; url 1..1 uri "result" #xD; url 1..1 uri "assertion" #xD; url 1..1 uri "testCase" #xD; url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan" #xD; Documentation for this format
Cross-version Extension for R5.TestPlan for use in FHIR R4
This cross-version extension represents TestPlan from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
A plan for executing testing on an artifact or specifications.
All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
Must have either extensions or value[x], not both
exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Extensions are always sliced by (at least) url
exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
Canonical identifier for this test plan, represented as a URI (globally unique)
An absolute URI that is used to identify this test plan when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this test plan is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test plan is stored on different servers.
Additional content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Source of the definition for the extension code - a logical name or a URL.
The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
The identifier that is used to identify this version of the test plan when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test plan author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.
Indicates the mechanism used to compare versions to determine which is more current.
Name for this test plan (computer friendly)
A natural language name identifying the test plan. This name should be usable as an identifier for the module by machine processing applications such as code generation.
Name for this test plan (human friendly)
A short, descriptive, user-friendly title for the test plan.
The status of this test plan. Enables tracking the life-cycle of the content.
A Boolean value to indicate that this test plan is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.
The date (and optionally time) when the test plan was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test plan changes.
Name of the publisher/steward (organization or individual)
The name of the organization or individual responsible for the release and ongoing maintenance of the test plan.
Contact details to assist a user in finding and communicating with the publisher.
Natural language description of the test plan
A free text natural language description of the test plan from a consumer's perspective.
The context that the content is intended to support
The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate test plan instances.
Intended jurisdiction where the test plan applies (if applicable)
A legal or geographic region in which the test plan is intended to be used.
Countries and regions within which this artifact is targeted for use.
Explanation of why this test plan is needed and why it has been designed as it has.
A copyright statement relating to the test plan and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test plan. The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element.
A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved').
The category of the Test Plan - can be acceptance, unit, performance
The category of the Test Plan - can be acceptance, unit, performance, etc.
What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference
What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference...
A description of test tools to be used in the test plan - narrative for now
A description of test tools to be used in the test plan.
The required criteria to execute the test plan - e.g. preconditions, previous tests
The required criteria to execute the test plan - e.g. preconditions, previous tests...
A textual description of the criterium - what is needed for the dependency to be considered met.
Predecessor test plans - those that are expected to be successfully performed as a dependency for the execution of this test plan.
Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).
The threshold or criteria for the test plan to be considered successfully executed - narrative
This cross-version extension represents TestPlan.exitCriteria from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
The test cases that constitute this plan
The individual test cases that are part of this plan, when they they are made explicit.
Sequence of test case - an ordinal number that indicates the order for the present test case in the test plan.
The scope or artifact covered by the case
The scope or artifact covered by the case, when the individual test case is associated with a testable artifact.
Required criteria to execute the test case
The required criteria to execute the test case - e.g. preconditions, previous tests.
This cross-version extension represents TestPlan.testCase.dependency.description from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
This cross-version extension represents TestPlan.testCase.dependency.predecessor from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
This cross-version extension represents TestPlan.testCase.testRun from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
This cross-version extension represents TestPlan.testCase.testRun.narrative from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
The test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript
This cross-version extension represents TestPlan.testCase.testRun.script from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
The language for the test cases e.g. 'gherkin', 'testscript'
This cross-version extension represents TestPlan.testCase.testRun.script.language from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
The actual content of the cases - references to TestScripts or externally defined content
This cross-version extension represents TestPlan.testCase.testRun.script.source[x] from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
This cross-version extension represents TestPlan.testCase.testData from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
The type of test data description, e.g. 'synthea'
This cross-version extension represents TestPlan.testCase.testData.type from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
The actual test resources when they exist
This cross-version extension represents TestPlan.testCase.testData.content from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc
This cross-version extension represents TestPlan.testCase.testData.source[x] from http://hl7.org/fhir/StructureDefinition/TestPlan|5.0.0 for use in FHIR R4.
The test assertions - the expectations of test results from the execution of the test case.
Assertion type - for example 'informative' or 'required'
The test assertion type - this can be used to group assertions as 'required' or 'optional', or can be used for other classification of the assertion.
The focus or object of the assertion i.e. a resource.
A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology.
A reference to a resource the provides exact details about the information being referenced.
Data type name for TestPlan.testCase.assertion.object from FHIR R5
Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).
The test assertion - the expected outcome from the test case execution.
Data type name for TestPlan.testCase.assertion.result from FHIR R5