description: A summary of information based on the results of executing a TestScript. package_name: hl7.fhir.r5.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|4.6.0'} 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} display: {isModifier: false, short: The display name of the participant, type: string, mustSupport: false, isSummary: false, index: 11} required: [uri, 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: 12 elements: action: constraint: inv-1: {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: 13 type: BackboneElement mustSupport: false array: true elements: operation: isModifier: false short: The operation to perform type: BackboneElement mustSupport: false isSummary: false index: 14 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|4.6.0'} isSummary: false index: 15 message: {isModifier: false, short: A message associated with the result, type: markdown, mustSupport: false, isSummary: false, index: 16} detail: {isModifier: false, short: A link to further details on the result, type: uri, mustSupport: false, isSummary: false, index: 17} required: [result] assert: isModifier: false short: The assertion 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|4.6.0'} 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: string, mustSupport: false, isSummary: false, index: 21} 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|4.6.0'} 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|4.6.0'} isSummary: true index: 4 score: {isModifier: false, short: The final score (percentage of tests passed) 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} teardown: isModifier: false short: The results of running the series of required clean up steps type: BackboneElement mustSupport: false isSummary: false index: 28 elements: action: min: 1 isModifier: false short: One or more teardown operations performed index: 29 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: 30 required: [operation] isSummary: false required: [action] test: isModifier: false short: A test executed from the test script index: 22 type: BackboneElement mustSupport: false array: true elements: name: {isModifier: false, short: Tracking/logging name of this test, type: string, mustSupport: false, isSummary: false, index: 23} description: {isModifier: false, short: Tracking/reporting short description of the test, type: string, mustSupport: false, isSummary: false, index: 24} action: constraint: inv-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: 25 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: 26 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: 27 isSummary: false required: [action] isSummary: false package_version: 5.0.0-snapshot2 class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/TestReport base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 4.6.0 required: [testScript, status, result]