Skip to main content


class HS.FHIR.DTL.vR4.Model.Resource.TestReport extends HS.FHIR.DTL.vR4.Model.Base.DomainResource

Describes the results of a TestScript execution.

Property Inventory


Inherited description: ELEMENTQUALIFIED controls the format of exported XML. The ELEMENTQUALIFIED specification should be based on the elementFormDefault attribute of the schema that defines the type. To maintain compatibility, ELEMENTQUALIFIED will default to 1 (true) for literal format export and will default to 0 (false) for encoded or encoded12 format export. These were the values always previously assumed for the elementFormDefault attribute.

NOTE: Direct use of XMLExport method does not support the ELEMENTQUALIFIED. The export must be done using %XML.Writer or SOAP support.

parameter XMLNAME = TestReport;
Inherited description: This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.
parameter XMLSEQUENCE = 1;
Inherited description: If the XMLSEQUENCE = 1, then the order of the XML elements must match the order of the class properties. This allows us to deal with XML where the same field appears multiple times and is distinguished by the order.
parameter XMLTYPE = TestReport;
Inherited description: This parameter provides the default XMLTYPE for the class. If it is empty then the class name will be used to construct a default XML type.

The default XMLTYPE is used when naming and referencing this type in a schema and the schema context did not provide an XML type name.


property identifier as HS.FHIR.DTL.vR4.Model.Datatype.Identifier (XMLNAME = "identifier", XMLPROJECTION = "ELEMENT");

External identifier.

Property methods: identifierGet(), identifierGetSwizzled(), identifierIsValid(), identifierNewObject(), identifierSet()
property issued as %String (MAXLEN = 1000000, XMLNAME = "issued", XMLPROJECTION = "ATTRIBUTE");

When the TestScript was executed and this TestReport was generated.

Property methods: issuedDisplayToLogical(), issuedGet(), issuedIsValid(), issuedLogicalToDisplay(), issuedLogicalToOdbc(), issuedNormalize(), issuedSet()
property name as %String (MAXLEN = 1000000, XMLNAME = "name", XMLPROJECTION = "ATTRIBUTE");

Informal name of the executed TestScript.

Property methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()
property participant as list of HS.FHIR.DTL.vR4.Model.Element.TestReport.participant (XMLNAME = "participant", XMLPROJECTION = "ELEMENT");

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

Property methods: participantBuildValueArray(), participantCollectionToDisplay(), participantCollectionToOdbc(), participantDisplayToCollection(), participantGet(), participantGetObject(), participantGetObjectId(), participantGetSwizzled(), participantIsValid(), participantOdbcToCollection(), participantSet(), participantSetObject(), participantSetObjectId()
property result as %String (MAXLEN = 1000000, XMLNAME = "result", XMLPROJECTION = "ATTRIBUTE") [ Required ];

pass | fail | pending

report-result-codes|4.0.1 is the REQUIRED FHIR4 ValueSet for codes; you may NOT extend report-result-codes|4.0.1 and you may NOT use codes from other ValueSets.

Property methods: resultDisplayToLogical(), resultGet(), resultIsValid(), resultLogicalToDisplay(), resultLogicalToOdbc(), resultNormalize(), resultSet()
property score as %Decimal (XMLNAME = "score", XMLPROJECTION = "ATTRIBUTE");

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

Property methods: scoreDisplayToLogical(), scoreGet(), scoreIsValid(), scoreLogicalToDisplay(), scoreNormalize(), scoreSet(), scoreXSDToLogical()
property setup as HS.FHIR.DTL.vR4.Model.Element.TestReport.setup (XMLNAME = "setup", XMLPROJECTION = "ELEMENT");

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

Property methods: setupGet(), setupGetSwizzled(), setupIsValid(), setupNewObject(), setupSet()
property status as %String (MAXLEN = 1000000, XMLNAME = "status", XMLPROJECTION = "ATTRIBUTE") [ Required ];

completed | in-progress | waiting | stopped | entered-in-error

report-status-codes|4.0.1 is the REQUIRED FHIR4 ValueSet for codes; you may NOT extend report-status-codes|4.0.1 and you may NOT use codes from other ValueSets.

Property methods: statusDisplayToLogical(), statusGet(), statusIsValid(), statusLogicalToDisplay(), statusLogicalToOdbc(), statusNormalize(), statusSet()
property teardown as HS.FHIR.DTL.vR4.Model.Element.TestReport.teardown (XMLNAME = "teardown", XMLPROJECTION = "ELEMENT");

The results of running the series of required clean up steps.

Property methods: teardownGet(), teardownGetSwizzled(), teardownIsValid(), teardownNewObject(), teardownSet()
property test as list of HS.FHIR.DTL.vR4.Model.Element.TestReport.test (XMLNAME = "test", XMLPROJECTION = "ELEMENT");

A test executed from the test script.

Property methods: testBuildValueArray(), testCollectionToDisplay(), testCollectionToOdbc(), testDisplayToCollection(), testGet(), testGetObject(), testGetObjectId(), testGetSwizzled(), testIsValid(), testOdbcToCollection(), testSet(), testSetObject(), testSetObjectId()
property testScript as HS.FHIR.DTL.vR4.Model.Base.Reference (XMLNAME = "testScript", XMLPROJECTION = "ELEMENT") [ Required ];

Reference to the version-specific TestScript that was executed to produce this TestReport.


Property methods: testScriptGet(), testScriptGetSwizzled(), testScriptIsValid(), testScriptNewObject(), testScriptSet()
property tester as %String (MAXLEN = 1000000, XMLNAME = "tester", XMLPROJECTION = "ATTRIBUTE");

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

Property methods: testerDisplayToLogical(), testerGet(), testerIsValid(), testerLogicalToDisplay(), testerLogicalToOdbc(), testerNormalize(), testerSet()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab