TestReport

open class TestReport: DomainResource

Describes the results of a TestScript execution.

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

  • Describes the results of a TestScript execution.

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

    Declaration

    Swift

    override open class var resourceType: String
  • External identifier.

    Declaration

    Swift

    public var identifier: Identifier?
  • When the TestScript was executed and this TestReport was generated.

    Declaration

    Swift

    public var issued: DateTime?
  • Informal name of the executed TestScript.

    Declaration

    Swift

    public var name: FHIRString?
  • A participant in the test execution, either the execution engine, a client, or a server.

    Declaration

    Swift

    public var participant: [TestReportParticipant]?
  • The overall result from the execution of the TestScript.

    Declaration

    Swift

    public var result: TestReportResult?
  • The final score (percentage of tests passed) resulting from the execution of the TestScript.

    Declaration

    Swift

    public var score: FHIRDecimal?
  • The results of the series of required setup operations before the tests were executed.

    Declaration

    Swift

    public var setup: TestReportSetup?
  • The current state of this test report.

    Declaration

    Swift

    public var status: TestReportStatus?
  • The results of running the series of required clean up steps.

    Declaration

    Swift

    public var teardown: TestReportTeardown?
  • A test executed from the test script.

    Declaration

    Swift

    public var test: [TestReportTest]?
  • Reference to the version-specific TestScript that was executed to produce this TestReport.

    Declaration

    Swift

    public var testScript: Reference?
  • Name of the tester producing this report (Organization or individual).

    Declaration

    Swift

    public var tester: FHIRString?
  • Convenience initializer, taking all required properties as arguments.

    Declaration

    Swift

    public convenience init(result: TestReportResult, status: TestReportStatus, testScript: Reference)
  • Convenience initializer, taking all required properties as arguments.

    Declaration

    Swift

    override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext)
  • Undocumented

    Declaration

    Swift

    open class TestReport: DomainResource