> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metriport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TestReport

> A summary of information based on the results of executing a TestScript.

## Properties

| Name | Required | Type | Description |
| - | - | - | - |
| identifier | No | [Identifier](https://docs.metriport.com/medical-api/fhir/data-types/identifier.md) | External identifier |
| name | No | string | Informal name of the executed TestScript |
| status | Yes | code | completed / in-progress / waiting / stopped / entered-in-error |
| testScript | Yes | Reference\<[TestScript](https://docs.metriport.com/medical-api/fhir/resources/testscript)> | Reference to the version-specific TestScript that was executed to produce this TestReport |
| result | Yes | code | pass / fail / pending |
| score | No | decimal | The final score (percentage of tests passed) resulting from the execution of the TestScript |
| tester | No | string | Name of the tester producing this report (Organization or individual) |
| issued | No | dateTime | When the TestScript was executed and this TestReport was generated |
| participant | No | TestReportParticipant | A participant in the test execution, either the execution engine, a client, or a server |
| - id | No | string | Unique id for inter-element referencing |
| - extension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations |
| - modifierExtension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored even if unrecognized |
| - type | Yes | code | test-engine / client / server |
| - uri | Yes | uri | The uri of the participant. An absolute URL is preferred |
| - display | No | string | The display name of the participant |
| setup | No | TestReportSetup | The results of the series of required setup operations before the tests were executed |
| - id | No | string | Unique id for inter-element referencing |
| - extension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations |
| - modifierExtension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored even if unrecognized |
| - action | Yes | TestReportSetupAction | A setup operation or assert that was executed |
| - id | No | string | Unique id for inter-element referencing |
| - extension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations |
| - modifierExtension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored even if unrecognized |
| - operation | No | TestReportSetupActionOperation | The operation to perform |
| - id | No | string | Unique id for inter-element referencing |
| - extension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations |
| - modifierExtension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored even if unrecognized |
| - result | Yes | code | pass / skip / fail / warning / error |
| - message | No | markdown | A message associated with the result |
| - detail | No | uri | A link to further details on the result |
| - assert | No | TestReportSetupActionAssert | The assertion to perform |
| - id | No | string | Unique id for inter-element referencing |
| - extension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations |
| - modifierExtension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored even if unrecognized |
| - result | Yes | code | pass / skip / fail / warning / error |
| - message | No | markdown | A message associated with the result |
| - detail | No | string | A link to further details on the result |
| test | No | TestReportTest | A test executed from the test script |
| - id | No | string | Unique id for inter-element referencing |
| - extension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations |
| - modifierExtension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored even if unrecognized |
| - name | No | string | Tracking/logging name of this test |
| - description | No | string | Tracking/reporting short description of the test |
| - action | Yes | TestReportTestAction | A test operation or assert that was performed |
| - id | No | string | Unique id for inter-element referencing |
| - extension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations |
| - modifierExtension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored even if unrecognized |
| - operation | No | | The operation performed |
| - assert | No | | The assertion performed |
| teardown | No | TestReportTeardown | The results of running the series of required clean up steps |
| - id | No | string | Unique id for inter-element referencing |
| - extension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations |
| - modifierExtension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored even if unrecognized |
| - action | Yes | TestReportTeardownAction | One or more teardown operations performed |
| - id | No | string | Unique id for inter-element referencing |
| - extension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations |
| - modifierExtension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored even if unrecognized |
| - operation | Yes | | The teardown operation performed |

## Search Parameters

| Name | Type | Description | Expression |
| - | - | - | - |
| identifier | token | An external identifier for the test report | TestReport.identifier |
| issued | date | The test report generation date | TestReport.issued |
| participant | uri | The reference to a participant in the test execution | TestReport.participant.uri |
| result | token | The result disposition of the test execution | TestReport.result |
| tester | string | The name of the testing organization | TestReport.tester |
| testscript | reference | The test script executed to produce this report | TestReport.testScript |

## Inherited Properties

| Name | Required | Type | Description |
| - | - | - | - |
| id | No | string | Logical id of this artifact |
| meta | No | [Meta](https://docs.metriport.com/medical-api/fhir/data-types/meta.md) | Metadata about the resource |
| implicitRules | No | uri | A set of rules under which this content was created |
| language | No | code | Language of the resource content |
| text | No | [Narrative](https://docs.metriport.com/medical-api/fhir/data-types/narrative.md) | Text summary of the resource, for human interpretation |
| contained | No | Resource\[] | Contained, inline Resources |
| extension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations |
| modifierExtension | No | [Extension](https://docs.metriport.com/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored |

To view the FHIR specification for this resource, see [TestReport](https://www.hl7.org/fhir/StructureDefinition/TestReport).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.