description: A summary of information based on the results of executing a TestScript. package_name: hl7.fhir.r5.core derivation: specialization name: TestReport type: TestReport elements: tester: {short: Name of the tester producing this report (Organization or individual), type: string, isSummary: true, index: 6} name: {short: Informal name of the executed TestScript, type: string, isSummary: true, index: 1} testScript: short: Reference to the version-specific TestScript that was executed to produce this TestReport refers: ['http://hl7.org/fhir/StructureDefinition/TestScript'] type: Reference isSummary: true index: 3 participant: type: BackboneElement short: A participant in the test execution, either the execution engine, a client, or a server array: true index: 8 elements: type: type: code short: test-engine | client | server binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/report-participant-type|4.5.0'} index: 9 uri: {type: uri, short: The uri of the participant. An absolute URL is preferred, index: 10} display: {type: string, short: The display name of the participant, index: 11} required: [uri, type] setup: type: BackboneElement short: The results of the series of required setup operations before the tests were executed 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 short: A setup operation or assert that was executed type: BackboneElement array: true index: 13 elements: operation: type: BackboneElement short: The operation to perform index: 14 elements: result: type: code short: pass | skip | fail | warning | error binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/report-action-result-codes|4.5.0'} index: 15 message: {type: markdown, short: A message associated with the result, index: 16} detail: {type: uri, short: A link to further details on the result, index: 17} required: [result] assert: type: BackboneElement short: The assertion to perform index: 18 elements: result: type: code short: pass | skip | fail | warning | error binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/report-action-result-codes|4.5.0'} index: 19 message: {type: markdown, short: A message associated with the result, index: 20} detail: {type: string, short: A link to further details on the result, index: 21} required: [result] required: [action] status: isModifier: true short: completed | in-progress | waiting | stopped | entered-in-error type: code binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/report-status-codes|4.5.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 index: 2 result: short: pass | fail | pending type: code binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/report-result-codes|4.5.0'} isSummary: true index: 4 score: {type: decimal, short: The final score (percentage of tests passed) resulting from the execution of the TestScript, isSummary: true, index: 5} identifier: {short: External identifier, type: Identifier, isSummary: true, index: 0} issued: {short: When the TestScript was executed and this TestReport was generated, type: dateTime, isSummary: true, index: 7} teardown: type: BackboneElement short: The results of running the series of required clean up steps index: 28 elements: action: min: 1 short: One or more teardown operations performed type: BackboneElement array: true index: 29 elements: operation: short: The teardown operation performed elementReference: ['http://hl7.org/fhir/StructureDefinition/TestReport', elements, setup, elements, action, elements, operation] index: 30 required: [operation] required: [action] test: type: BackboneElement short: A test executed from the test script array: true index: 22 elements: name: {type: string, short: Tracking/logging name of this test, index: 23} description: {type: string, short: Tracking/reporting short description of the test, 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 short: A test operation or assert that was performed type: BackboneElement array: true index: 25 elements: operation: short: The operation performed elementReference: ['http://hl7.org/fhir/StructureDefinition/TestReport', elements, setup, elements, action, elements, operation] index: 26 assert: short: The assertion performed elementReference: ['http://hl7.org/fhir/StructureDefinition/TestReport', elements, setup, elements, action, elements, assert] index: 27 required: [action] package_version: 4.5.0 class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/TestReport base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 4.5.0 required: [testScript, status, result]