description: A summary of information based on the results of executing a TestScript. package_name: hl7.fhir.r6.examples derivation: specialization name: TestReport type: TestReport elements: tester: {isModifier: false, short: Name of the tester producing this report (Organization or individual), type: string, mustSupport: false, isSummary: true, index: 6} name: {isModifier: false, short: Informal name of the executed TestReport, type: string, mustSupport: false, isSummary: true, index: 1} testScript: {isModifier: false, short: Canonical URL to the version-specific TestScript that was executed to produce this TestReport, type: canonical, mustSupport: false, isSummary: true, index: 3} participant: isModifier: false short: A participant in the test execution, either the execution engine, a client, or a server index: 8 type: BackboneElement mustSupport: false array: true elements: type: isModifier: false short: test-engine | client | server type: code mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/report-participant-type|6.0.0-ballot3'} isSummary: false index: 9 uri: {isModifier: false, short: The uri of the participant. An absolute URL is preferred, type: uri, mustSupport: false, isSummary: false, index: 10} version: {isModifier: false, short: 'The version of the participant, if known/applicable', type: uri, mustSupport: false, isSummary: false, index: 11} display: {isModifier: false, short: The display name of the participant, type: string, mustSupport: false, isSummary: false, index: 12} required: [type] isSummary: false setup: isModifier: false short: The results of the series of required setup operations before the tests were executed type: BackboneElement mustSupport: false isSummary: false index: 16 elements: action: constraint: tr-0: {human: Setup action SHALL contain either an operation or assert but not both., source: 'http://hl7.org/fhir/StructureDefinition/TestReport', severity: error, expression: operation.exists() xor assert.exists()} min: 1 isModifier: false short: A setup operation or assert that was executed index: 17 type: BackboneElement mustSupport: false array: true elements: operation: isModifier: false short: The operation to perform type: BackboneElement mustSupport: false isSummary: false index: 18 elements: result: isModifier: false short: pass | skip | fail | warning | error type: code mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/report-action-result-codes|6.0.0-ballot3'} isSummary: false index: 19 message: {isModifier: false, short: A message associated with the result, type: markdown, mustSupport: false, isSummary: false, index: 20} detail: {isModifier: false, short: A link to further details on the result, type: uri, mustSupport: false, isSummary: false, index: 21} required: [result] assert: isModifier: false short: The assertion to perform type: BackboneElement mustSupport: false isSummary: false index: 22 elements: result: isModifier: false short: pass | skip | fail | warning | error type: code mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/report-action-result-codes|6.0.0-ballot3'} isSummary: false index: 23 message: {isModifier: false, short: A message associated with the result, type: markdown, mustSupport: false, isSummary: false, index: 24} detail: {isModifier: false, short: A link to further details on the result, type: string, mustSupport: false, isSummary: false, index: 25} requirement: isModifier: false short: Links or references to the testing requirements type: BackboneElement mustSupport: false array: true isSummary: false index: 26 elements: link: isModifier: false short: Link or reference to the testing requirement mustSupport: false choices: [linkUri, linkCanonical] isSummary: false index: 28 linkUri: {isModifier: false, short: Link or reference to the testing requirement, type: uri, mustSupport: false, choiceOf: link, isSummary: false, index: 29} linkCanonical: {isModifier: false, short: Link or reference to the testing requirement, type: canonical, mustSupport: false, choiceOf: link, isSummary: false, index: 30} required: [result] isSummary: false required: [action] status: isModifier: true short: completed | in-progress | waiting | stopped | entered-in-error index: 2 type: code mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/report-status-codes|6.0.0-ballot3'} isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid isSummary: true result: isModifier: false short: pass | fail | pending type: code mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/report-result-codes|6.0.0-ballot3'} isSummary: true index: 4 score: {isModifier: false, short: 'The final score (percentage of tests passed, so 0..100) resulting from the execution of the TestScript', type: decimal, mustSupport: false, isSummary: true, index: 5} identifier: {isModifier: false, short: External identifier, type: Identifier, mustSupport: false, isSummary: true, index: 0} issued: {isModifier: false, short: When the TestScript was executed and this TestReport was generated, type: dateTime, mustSupport: false, isSummary: true, index: 7} presentedForm: {isModifier: false, short: A document presentation of the test outcomes (e.g. PDF), type: Attachment, mustSupport: false, isSummary: false, index: 43} teardown: isModifier: false short: The results of running the series of required clean up steps type: BackboneElement mustSupport: false isSummary: false index: 40 elements: action: min: 1 isModifier: false short: One or more teardown operations performed index: 41 type: BackboneElement mustSupport: false array: true elements: operation: elementReference: ['http://hl7.org/fhir/StructureDefinition/TestReport', elements, setup, elements, action, elements, operation] isModifier: false short: The teardown operation performed mustSupport: false isSummary: false index: 42 required: [operation] isSummary: false required: [action] log: {isModifier: false, short: Text log of the internal execution of the tests, type: Attachment, mustSupport: false, isSummary: false, index: 44} parameter: isModifier: false short: A parameter passed to the runner performing the test index: 13 type: BackboneElement mustSupport: false array: true elements: name: {isModifier: false, short: Name of the parameter passed in, type: string, mustSupport: false, isSummary: false, index: 14} documentation: {isModifier: false, short: Documentation about the impact of the parameter, type: markdown, mustSupport: false, isSummary: false, index: 15} required: [name] isSummary: false test: isModifier: false short: A test executed from the test script index: 31 type: BackboneElement mustSupport: false array: true elements: name: {isModifier: false, short: Tracking/logging name of this test (link to test in TestScript), type: string, mustSupport: false, isSummary: false, index: 32} description: {isModifier: false, short: Tracking/reporting short description of the test, type: string, mustSupport: false, isSummary: false, index: 33} result: isModifier: false short: pass | skip | fail | warning | error type: code mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/report-action-result-codes|6.0.0-ballot3'} isSummary: false index: 34 period: {isModifier: false, short: Start and End times running the test (accurate to milliseconds), type: Period, mustSupport: false, isSummary: false, index: 35} action: constraint: tr-2: {human: Test action SHALL contain either an operation or assert but not both., source: 'http://hl7.org/fhir/StructureDefinition/TestReport', severity: error, expression: operation.exists() xor assert.exists()} min: 1 isModifier: false short: A test operation or assert that was performed index: 36 type: BackboneElement mustSupport: false array: true elements: operation: elementReference: ['http://hl7.org/fhir/StructureDefinition/TestReport', elements, setup, elements, action, elements, operation] isModifier: false short: The operation performed mustSupport: false isSummary: false index: 37 assert: elementReference: ['http://hl7.org/fhir/StructureDefinition/TestReport', elements, setup, elements, action, elements, assert] isModifier: false short: The assertion performed mustSupport: false isSummary: false index: 38 isSummary: false log: {isModifier: false, short: Text log of the internal execution of the tests, type: Attachment, mustSupport: false, isSummary: false, index: 39} required: [action] isSummary: false package_version: 6.0.0-ballot3 class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/TestReport base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 6.0.0-ballot3 required: [testScript, status, result]