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