description: A plan for executing testing on an artifact or specifications package_name: hl7.fhir.r6.core derivation: specialization name: TestPlan type: TestPlan elements: description: {isModifier: false, short: Natural language description of the test plan, type: markdown, mustSupport: false, isSummary: false, index: 14} category: isModifier: false short: The category of the Test Plan - can be acceptance, unit, performance type: CodeableConcept mustSupport: false array: true binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/testscript-scope-phase-codes'} isSummary: false index: 20 exitCriteria: {isModifier: false, short: The threshold or criteria for the test plan to be considered successfully executed - narrative, type: markdown, mustSupport: false, isSummary: false, index: 31} date: {isModifier: false, short: Date last changed, type: dateTime, mustSupport: false, isSummary: true, index: 11} dependency: isModifier: false short: The required criteria to execute the test plan - e.g. preconditions, previous tests type: BackboneElement mustSupport: false array: true isSummary: false index: 28 elements: description: {isModifier: false, short: Description of the dependency criterium, type: markdown, mustSupport: false, isSummary: false, index: 29} predecessor: isModifier: false short: Link to predecessor test plans refers: ['http://hl7.org/fhir/StructureDefinition/TestPlan'] type: Reference mustSupport: false isSummary: false index: 30 publisher: {isModifier: false, short: Name of the publisher/steward (organization or individual), type: string, mustSupport: false, isSummary: true, index: 12} jurisdiction: isModifier: false short: Intended jurisdiction where the test plan applies (if applicable) type: CodeableConcept mustSupport: false array: true binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/jurisdiction'} isSummary: true index: 16 purpose: {isModifier: false, short: Why this test plan is defined, type: markdown, mustSupport: false, isSummary: false, index: 17} name: {isModifier: false, short: Name for this test plan (computer friendly), type: string, mustSupport: false, isSummary: true, index: 7} copyrightLabel: {isModifier: false, short: Copyright holder and year(s), type: string, mustSupport: false, isSummary: false, index: 19} useContext: {isModifier: false, short: The context that the content is intended to support, type: UsageContext, mustSupport: false, array: true, isSummary: true, index: 15} copyright: {isModifier: false, short: Use and/or publishing restrictions, type: markdown, mustSupport: false, isSummary: false, index: 18} versionAlgorithm: isModifier: false short: How to compare versions mustSupport: false choices: [versionAlgorithmString, versionAlgorithmCoding] isSummary: true index: 4 experimental: {isModifier: false, short: For testing only - never for real usage, type: boolean, mustSupport: false, meaningWhenMissing: 'If absent, this resource is treated as though it is not experimental.', isSummary: true, index: 10} scope: isModifier: false short: What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference index: 21 type: BackboneElement mustSupport: false array: true elements: artifact: isModifier: false short: The specific conformance artifact, or narrative criteria, or an external reference being tested mustSupport: false choices: [artifactCanonical, artifactMarkdown, artifactUri] isSummary: false index: 23 artifactCanonical: {isModifier: false, short: 'The specific conformance artifact, or narrative criteria, or an external reference being tested', type: canonical, mustSupport: false, choiceOf: artifact, isSummary: false, index: 24} artifactMarkdown: {isModifier: false, short: 'The specific conformance artifact, or narrative criteria, or an external reference being tested', type: markdown, mustSupport: false, choiceOf: artifact, isSummary: false, index: 25} artifactUri: {isModifier: false, short: 'The specific conformance artifact, or narrative criteria, or an external reference being tested', type: uri, mustSupport: false, choiceOf: artifact, isSummary: false, index: 26} required: [artifact, artifactCanonical, artifactMarkdown, artifactUri] isSummary: false title: {isModifier: false, short: Name for this test plan (human friendly), type: string, mustSupport: false, isSummary: false, index: 8} versionAlgorithmCoding: {isModifier: false, short: How to compare versions, type: Coding, mustSupport: false, choiceOf: versionAlgorithm, isSummary: true, index: 6} testCase: isModifier: false short: The test cases that constitute this plan index: 32 type: BackboneElement mustSupport: false array: true elements: description: {isModifier: false, short: Narrative description explaining the purpose of this test case, type: markdown, mustSupport: false, isSummary: false, index: 34} requirement: isModifier: false short: Links or references to the testing requirements index: 42 type: BackboneElement mustSupport: false array: true elements: reference: {isModifier: false, short: Canonical reference to the Requirements instance, type: canonical, mustSupport: false, isSummary: false, index: 43} key: {isModifier: false, short: Requirements statement key identifier, type: id, mustSupport: false, isSummary: false, index: 44} required: [key, reference] isSummary: false testData: isModifier: false short: The test data used in the test case index: 58 type: BackboneElement mustSupport: false array: true elements: type: {isModifier: false, short: 'The type of test data description, e.g. ''synthea''', type: Coding, mustSupport: false, isSummary: false, index: 59} content: isModifier: false short: The actual test resources when they exist refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] type: Reference mustSupport: false isSummary: false index: 60 source: isModifier: false short: Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc mustSupport: false choices: [sourceString, sourceUri, sourceReference] isSummary: false index: 62 sourceString: {isModifier: false, short: 'Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc', type: string, mustSupport: false, choiceOf: source, isSummary: false, index: 63} sourceUri: {isModifier: false, short: 'Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc', type: uri, mustSupport: false, choiceOf: source, isSummary: false, index: 64} sourceReference: isModifier: false short: Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] type: Reference mustSupport: false choiceOf: source isSummary: false index: 65 required: [type] isSummary: false dependency: isModifier: false short: Required criteria to execute the test case type: BackboneElement mustSupport: false array: true isSummary: false index: 45 elements: description: {isModifier: false, short: Description of the criteria, type: markdown, mustSupport: false, isSummary: false, index: 46} reference: {isModifier: false, short: Canonical reference to the TestPlan dependency instance, type: canonical, mustSupport: false, isSummary: false, index: 47} key: {isModifier: false, short: TestPlan dependency instance testCase key identifier, type: id, mustSupport: false, isSummary: false, index: 48} key: {isModifier: false, short: Key that identifies this test case, type: id, mustSupport: false, isSummary: false, index: 33} scope: isModifier: false short: The scope or artifact covered by the case index: 36 type: BackboneElement mustSupport: false array: true elements: artifact: isModifier: false short: The specific conformance artifact, or narrative criteria, or an external reference covered by the case mustSupport: false choices: [artifactCanonical, artifactMarkdown, artifactUri] isSummary: false index: 38 artifactCanonical: {isModifier: false, short: 'The specific conformance artifact, or narrative criteria, or an external reference covered by the case', type: canonical, mustSupport: false, choiceOf: artifact, isSummary: false, index: 39} artifactMarkdown: {isModifier: false, short: 'The specific conformance artifact, or narrative criteria, or an external reference covered by the case', type: markdown, mustSupport: false, choiceOf: artifact, isSummary: false, index: 40} artifactUri: {isModifier: false, short: 'The specific conformance artifact, or narrative criteria, or an external reference covered by the case', type: uri, mustSupport: false, choiceOf: artifact, isSummary: false, index: 41} required: [artifact, artifactCanonical, artifactMarkdown, artifactUri] isSummary: false testCase: elementReference: ['http://hl7.org/fhir/StructureDefinition/TestPlan', elements, testCase] isModifier: false short: Nested test cases mustSupport: false array: true isSummary: false index: 70 sequence: {isModifier: false, short: Sequence of test case in the test plan, type: integer, mustSupport: false, isSummary: false, index: 35} testRun: isModifier: false short: The actual test to be executed type: BackboneElement mustSupport: false array: true isSummary: false index: 49 elements: narrative: {isModifier: false, short: The narrative description of the tests, type: markdown, mustSupport: false, isSummary: false, index: 50} script: isModifier: false short: The test cases in a structured language type: BackboneElement mustSupport: false isSummary: false index: 51 elements: language: isModifier: false short: The structured language for the test case script type: CodeableConcept mustSupport: false binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/testplan-script-language'} isSummary: false index: 52 source: isModifier: false short: The actual content of the script, reference to test resource (TestScript) or externally defined content mustSupport: false choices: [sourceString, sourceAttachment, sourceReference] isSummary: false index: 54 sourceString: {isModifier: false, short: 'The actual content of the script, reference to test resource (TestScript) or externally defined content', type: string, mustSupport: false, choiceOf: source, isSummary: false, index: 55} sourceAttachment: {isModifier: false, short: 'The actual content of the script, reference to test resource (TestScript) or externally defined content', type: Attachment, mustSupport: false, choiceOf: source, isSummary: false, index: 56} sourceReference: isModifier: false short: The actual content of the script, reference to test resource (TestScript) or externally defined content refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] type: Reference mustSupport: false choiceOf: source isSummary: false index: 57 assertion: isModifier: false short: Test assertions or expectations type: BackboneElement mustSupport: false array: true isSummary: false index: 66 elements: type: isModifier: false short: The expected outcome for this assertion type: CodeableConcept mustSupport: false array: true binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/testplan-assertion-type'} isSummary: false index: 67 object: {isModifier: false, short: The focus or object of the assertion, type: CodeableReference, mustSupport: false, array: true, isSummary: false, index: 68} result: {isModifier: false, short: The actual result assertion, type: CodeableReference, mustSupport: false, array: true, isSummary: false, index: 69} required: [key] isSummary: false status: isModifier: true short: draft | active | retired | unknown index: 9 type: code mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/publication-status|6.0.0-ballot3'} isModifierReason: This is labeled as "Is Modifier" because applications should not use a retired {{title}} without due consideration isSummary: true url: constraint: cnl-1: {human: 'URL should not contain | or # - these characters make processing canonical references problematic', source: 'http://hl7.org/fhir/StructureDefinition/TestPlan', severity: warning, expression: 'exists() implies matches(''^[^|# ]+$'')'} isModifier: false short: Canonical identifier for this test plan, represented as a URI (globally unique) type: uri mustSupport: false isSummary: true index: 0 identifier: {isModifier: false, short: Business identifier for the test plan, type: Identifier, mustSupport: false, array: true, isSummary: true, index: 1} versionAlgorithmString: {isModifier: false, short: How to compare versions, type: string, mustSupport: false, choiceOf: versionAlgorithm, isSummary: true, index: 5} testTools: {isModifier: false, short: A description of test tools to be used in the test plan - narrative for now, type: markdown, mustSupport: false, isSummary: false, index: 27} version: {isModifier: false, short: Business version of the test plan, type: string, mustSupport: false, isSummary: true, index: 2} contact: {isModifier: false, short: Contact details for the publisher, type: ContactDetail, mustSupport: false, array: true, isSummary: true, index: 13} package_version: 6.0.0-ballot3 class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/TestPlan base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 6.0.0-ballot3 required: [status]