cardea.fhir.TestReport

class cardea.fhir.TestReport(dict_values=None)

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

Parameters
  • resourceType – This is a TestReport resource

  • identifier – Identifier for the TestScript assigned for external purposes outside the context of FHIR.

  • name – A free text natural language name identifying the executed TestScript.

  • status – The current state of this test report.

  • testScript – Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the TestScript.url.

  • result – The overall result from the execution of the TestScript.

  • score – The final score (percentage of tests passed) resulting from the execution of the TestScript.

  • tester – Name of the tester producing this report (Organization or individual).

  • issued – When the TestScript was executed and this TestReport was generated.

  • participant – A participant in the test execution, either the execution engine, a client, or a server.

  • setup – The results of the series of required setup operations before the tests were executed.

  • test – A test executed from the test script.

  • teardown – The results of the series of operations required to clean up after the all the tests were executed (successfully or otherwise).

__init__(dict_values=None)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([dict_values])

Initialize self.

assert_type()

Checks class values follow set possible enumerations.

get_dataframe()

Returns dataframe from class attribute values.

get_eligible_relationships()

Returns class relationships for attributes that are used.

get_id()

Returns fhir class identifier.

get_relationships()

Returns class relationships.

set_attributes(dict_values)

Sets values to class attributes.