PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r5.examples@5.0.0-draft-final
    http://hl7.org/fhir/StructureDefinition/TestPlan
description: A report of inventory or stock items.
package_name: hl7.fhir.r5.examples
derivation: specialization
name: TestPlan
type: TestPlan
elements:
  description: {isModifier: false, short: Description, type: markdown, mustSupport: false, isSummary: true, index: 9}
  category: {isModifier: false, short: 'The category of the Test Plan - can be acceptance, unit, performance', type: CodeableConcept, mustSupport: false, array: true, isSummary: true, index: 13}
  exitCriteria: {isModifier: false, short: The threshold or criteria for the test plan to be considered successfully executed - narrative, type: markdown, mustSupport: false, isSummary: true, index: 19}
  date: {isModifier: false, short: Date, type: dateTime, mustSupport: false, array: true, isSummary: true, index: 6}
  publisher: {isModifier: false, short: Publisher, type: string, mustSupport: false, array: true, isSummary: true, index: 7}
  jurisdiction: {isModifier: false, short: Jurisdiction, type: CodeableConcept, mustSupport: false, array: true, isSummary: true, index: 10}
  purpose: {isModifier: false, short: Purpose, type: markdown, mustSupport: false, isSummary: true, index: 11}
  name: {isModifier: false, short: Name, type: string, mustSupport: false, array: true, isSummary: true, index: 3}
  copyright: {isModifier: false, short: Copyright, type: markdown, mustSupport: false, isSummary: true, index: 12}
  scope: {isModifier: false, short: 'What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference', type: Reference, mustSupport: false, array: true, isSummary: true, index: 14}
  title: {isModifier: false, short: Human-readable title, type: string, mustSupport: false, array: true, isSummary: true, index: 4}
  testCase:
    isModifier: false
    short: The test cases that are part of this plan
    type: BackboneElement
    mustSupport: false
    array: true
    isSummary: true
    index: 20
    elements:
      sequence: {isModifier: false, short: Sequence of testing, type: integer, mustSupport: false, isSummary: true, index: 21}
      scope: {isModifier: false, short: Specific test scope for one test case, type: Reference, mustSupport: false, array: true, isSummary: true, index: 22}
      dependencies:
        isModifier: false
        short: The required criteria to execute the test case - e.g. preconditions, previous tests
        type: BackboneElement
        mustSupport: false
        array: true
        isSummary: true
        index: 23
        elements:
          description: {isModifier: false, short: Description of the criteria, type: markdown, mustSupport: false, isSummary: true, index: 24}
          predecessor: {isModifier: false, short: Link to predecessor test plans, type: Reference, mustSupport: false, isSummary: true, index: 25}
      testRun:
        isModifier: false
        short: The actual test to be executed
        type: Reference
        mustSupport: false
        array: true
        isSummary: true
        index: 26
        elements:
          narrative: {isModifier: false, short: The narrative description of the tests, type: markdown, mustSupport: false, isSummary: true, index: 27}
          script:
            isModifier: false
            short: The test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript
            type: BackboneElement
            mustSupport: false
            isSummary: true
            index: 28
            elements:
              language: {isModifier: false, short: 'The language for the test cases e.g. ''gherkin'', ''testscript''', type: CodeableConcept, mustSupport: false, isSummary: true, index: 29}
              source:
                isModifier: false
                short: The actual content of the cases - references to TestScripts or externally defined content
                mustSupport: false
                choices: [sourceString, sourceReference]
                isSummary: true
                index: 31
              sourceString: {isModifier: false, short: The actual content of the cases - references to TestScripts or externally defined content, type: string, mustSupport: false, choiceOf: source, isSummary: true, index: 32}
              sourceReference: {isModifier: false, short: The actual content of the cases - references to TestScripts or externally defined content, type: Reference, mustSupport: false, choiceOf: source, isSummary: true, index: 33}
      testData:
        isModifier: false
        short: The test data used in the test case
        index: 34
        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: true, index: 35}
          content: {isModifier: false, short: The actual test resources when they exist, type: Reference, mustSupport: false, isSummary: true, index: 36}
          source:
            isModifier: false
            short: Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc
            mustSupport: false
            choices: [sourceString, sourceReference]
            isSummary: true
            index: 38
          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: true, index: 39}
          sourceReference: {isModifier: false, short: 'Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc', type: Reference, mustSupport: false, choiceOf: source, isSummary: true, index: 40}
        required: [type]
        isSummary: true
      assertions:
        isModifier: false
        short: The test assertions
        type: BackboneElement
        mustSupport: false
        array: true
        isSummary: true
        index: 41
        elements:
          type: {isModifier: false, short: The test assertion type, type: CodeableConcept, mustSupport: false, array: true, isSummary: true, index: 42}
          object: {isModifier: false, short: The focus or object of the assertion, type: CodeableReference, mustSupport: false, array: true, isSummary: true, index: 43}
          result: {isModifier: false, short: The test assertions, type: CodeableReference, mustSupport: false, array: true, isSummary: true, index: 44}
  status:
    isModifier: false
    short: draft | active | retired | unknown
    type: code
    mustSupport: false
    array: true
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/publication-status|5.0.0-draft-final'}
    isSummary: true
    index: 5
  url: {isModifier: false, short: Canonical identifier URL, type: uri, mustSupport: false, isSummary: true, index: 0}
  identifier: {isModifier: false, short: Business identifier, type: Identifier, mustSupport: false, array: true, isSummary: true, index: 1}
  testTools: {isModifier: false, short: A description of test tools to be used in the test plan - narrative for now, type: markdown, mustSupport: false, isSummary: true, index: 15}
  version: {isModifier: false, short: Version, type: string, mustSupport: false, array: true, isSummary: true, index: 2}
  contact: {isModifier: false, short: Contact, type: ContactDetail, mustSupport: false, array: true, isSummary: true, index: 8}
  dependencies:
    isModifier: false
    short: The required criteria to execute the test plan - e.g. preconditions, previous tests
    type: BackboneElement
    mustSupport: false
    array: true
    isSummary: true
    index: 16
    elements:
      description: {isModifier: false, short: Description of the criteria, type: markdown, mustSupport: false, isSummary: true, index: 17}
      predecessor: {isModifier: false, short: Link to predecessor test plans, type: Reference, mustSupport: false, isSummary: true, index: 18}
package_version: 5.0.0-draft-final
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/TestPlan
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 5.0.0-draft-final