0.0.1 - ci-build
TestScriptEngineIG - Local Development build (v0.0.1). See the Directory of published versions
Official URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/testscript-engine-testreport | Version: 0.0.1 | |||
Active as of 2022-12-29 | Computable Name: TestScriptEngineReport |
TestReport with extensions specific to the MITRE FHIR Foundry testscript-engine and testscript-generator
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from TestReport
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | TestReport | Describes the results of a TestScript execution | |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 0..* | (Complex) | Extension URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/dynamic-input | |
![]() ![]() ![]() | 0..1 | boolean | Extension URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/executed-as-subtest | |
![]() ![]() ![]() | 0..1 | boolean | Extension URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/executed-as-subtest-must-pass | |
![]() |
Path | Conformance | ValueSet |
TestReport.status | required | TestReportStatus |
TestReport.result | required | TestReportResult |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | TestReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | TestReport | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | TestReport | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | TestReport | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | TestReport | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | 0..* | TestReport | Describes the results of a TestScript execution | |||||
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() | Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() | 0..* | (Complex) | Extension URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/dynamic-input | |||||
![]() ![]() ![]() | 0..1 | boolean | Extension URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/executed-as-subtest | |||||
![]() ![]() ![]() | 0..1 | boolean | Extension URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/executed-as-subtest-must-pass | |||||
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() | Σ | 0..1 | Identifier | External identifier | ||||
![]() ![]() ![]() | Σ | 0..1 | string | Informal name of the executed TestScript | ||||
![]() ![]() ![]() | ?!Σ | 1..1 | code | completed | in-progress | waiting | stopped | entered-in-error Binding: TestReportStatus (required): The current status of the test report. | ||||
![]() ![]() ![]() | Σ | 1..1 | Reference(TestScript) | Reference to the version-specific TestScript that was executed to produce this TestReport | ||||
![]() ![]() ![]() | Σ | 1..1 | code | pass | fail | pending Binding: TestReportResult (required): The reported execution result. | ||||
![]() ![]() ![]() | Σ | 0..1 | decimal | The final score (percentage of tests passed) resulting from the execution of the TestScript | ||||
![]() ![]() ![]() | Σ | 0..1 | string | Name of the tester producing this report (Organization or individual) | ||||
![]() ![]() ![]() | Σ | 0..1 | dateTime | When the TestScript was executed and this TestReport was generated | ||||
![]() ![]() ![]() | 0..* | BackboneElement | A participant in the test execution, either the execution engine, a client, or a server | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..1 | code | test-engine | client | server Binding: TestReportParticipantType (required): The type of participant. | |||||
![]() ![]() ![]() ![]() | 1..1 | uri | The uri of the participant. An absolute URL is preferred | |||||
![]() ![]() ![]() ![]() | 0..1 | string | The display name of the participant | |||||
![]() ![]() ![]() | 0..1 | BackboneElement | The results of the series of required setup operations before the tests were executed | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | C | 1..* | BackboneElement | A setup operation or assert that was executed | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | BackboneElement | The operation to perform | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | code | pass | skip | fail | warning | error Binding: TestReportActionResult (required): The results of executing an action. | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | markdown | A message associated with the result | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | uri | A link to further details on the result | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | BackboneElement | The assertion to perform | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | code | pass | skip | fail | warning | error Binding: TestReportActionResult (required): The results of executing an action. | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | markdown | A message associated with the result | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | A link to further details on the result | |||||
![]() ![]() ![]() | 0..* | BackboneElement | A test executed from the test script | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Tracking/logging name of this test | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Tracking/reporting short description of the test | |||||
![]() ![]() ![]() ![]() | C | 1..* | BackboneElement | A test operation or assert that was performed | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | See operation (TestReport) | The operation performed | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | See assert (TestReport) | The assertion performed | |||||
![]() ![]() ![]() | 0..1 | BackboneElement | The results of running the series of required clean up steps | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..* | BackboneElement | One or more teardown operations performed | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() | 1..1 | See operation (TestReport) | The teardown operation performed | |||||
![]() |
Path | Conformance | ValueSet | ||||
TestReport.language | preferred | CommonLanguages
| ||||
TestReport.status | required | TestReportStatus | ||||
TestReport.result | required | TestReportResult | ||||
TestReport.participant.type | required | TestReportParticipantType | ||||
TestReport.setup.action.operation.result | required | TestReportActionResult | ||||
TestReport.setup.action.assert.result | required | TestReportActionResult |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
inv-1 | error | TestReport.setup.action | Setup action SHALL contain either an operation or assert but not both. : operation.exists() xor assert.exists() | |
inv-2 | error | TestReport.test.action | Test action SHALL contain either an operation or assert but not both. : operation.exists() xor assert.exists() |
This structure is derived from TestReport
Differential View
This structure is derived from TestReport
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | TestReport | Describes the results of a TestScript execution | |
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 0..* | (Complex) | Extension URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/dynamic-input | |
![]() ![]() ![]() | 0..1 | boolean | Extension URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/executed-as-subtest | |
![]() ![]() ![]() | 0..1 | boolean | Extension URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/executed-as-subtest-must-pass | |
![]() |
Key Elements View
Path | Conformance | ValueSet |
TestReport.status | required | TestReportStatus |
TestReport.result | required | TestReportResult |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | TestReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | TestReport | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | TestReport | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | TestReport | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | TestReport | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | 0..* | TestReport | Describes the results of a TestScript execution | |||||
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() | Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() | 0..* | (Complex) | Extension URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/dynamic-input | |||||
![]() ![]() ![]() | 0..1 | boolean | Extension URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/executed-as-subtest | |||||
![]() ![]() ![]() | 0..1 | boolean | Extension URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/executed-as-subtest-must-pass | |||||
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() | Σ | 0..1 | Identifier | External identifier | ||||
![]() ![]() ![]() | Σ | 0..1 | string | Informal name of the executed TestScript | ||||
![]() ![]() ![]() | ?!Σ | 1..1 | code | completed | in-progress | waiting | stopped | entered-in-error Binding: TestReportStatus (required): The current status of the test report. | ||||
![]() ![]() ![]() | Σ | 1..1 | Reference(TestScript) | Reference to the version-specific TestScript that was executed to produce this TestReport | ||||
![]() ![]() ![]() | Σ | 1..1 | code | pass | fail | pending Binding: TestReportResult (required): The reported execution result. | ||||
![]() ![]() ![]() | Σ | 0..1 | decimal | The final score (percentage of tests passed) resulting from the execution of the TestScript | ||||
![]() ![]() ![]() | Σ | 0..1 | string | Name of the tester producing this report (Organization or individual) | ||||
![]() ![]() ![]() | Σ | 0..1 | dateTime | When the TestScript was executed and this TestReport was generated | ||||
![]() ![]() ![]() | 0..* | BackboneElement | A participant in the test execution, either the execution engine, a client, or a server | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..1 | code | test-engine | client | server Binding: TestReportParticipantType (required): The type of participant. | |||||
![]() ![]() ![]() ![]() | 1..1 | uri | The uri of the participant. An absolute URL is preferred | |||||
![]() ![]() ![]() ![]() | 0..1 | string | The display name of the participant | |||||
![]() ![]() ![]() | 0..1 | BackboneElement | The results of the series of required setup operations before the tests were executed | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | C | 1..* | BackboneElement | A setup operation or assert that was executed | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | BackboneElement | The operation to perform | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | code | pass | skip | fail | warning | error Binding: TestReportActionResult (required): The results of executing an action. | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | markdown | A message associated with the result | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | uri | A link to further details on the result | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | BackboneElement | The assertion to perform | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | code | pass | skip | fail | warning | error Binding: TestReportActionResult (required): The results of executing an action. | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | markdown | A message associated with the result | |||||
![]() ![]() ![]() ![]() ![]() ![]() | 0..1 | string | A link to further details on the result | |||||
![]() ![]() ![]() | 0..* | BackboneElement | A test executed from the test script | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Tracking/logging name of this test | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Tracking/reporting short description of the test | |||||
![]() ![]() ![]() ![]() | C | 1..* | BackboneElement | A test operation or assert that was performed | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | See operation (TestReport) | The operation performed | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | See assert (TestReport) | The assertion performed | |||||
![]() ![]() ![]() | 0..1 | BackboneElement | The results of running the series of required clean up steps | |||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | 1..* | BackboneElement | One or more teardown operations performed | |||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() | 1..1 | See operation (TestReport) | The teardown operation performed | |||||
![]() |
Path | Conformance | ValueSet | ||||
TestReport.language | preferred | CommonLanguages
| ||||
TestReport.status | required | TestReportStatus | ||||
TestReport.result | required | TestReportResult | ||||
TestReport.participant.type | required | TestReportParticipantType | ||||
TestReport.setup.action.operation.result | required | TestReportActionResult | ||||
TestReport.setup.action.assert.result | required | TestReportActionResult |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
inv-1 | error | TestReport.setup.action | Setup action SHALL contain either an operation or assert but not both. : operation.exists() xor assert.exists() | |
inv-2 | error | TestReport.test.action | Test action SHALL contain either an operation or assert but not both. : operation.exists() xor assert.exists() |
This structure is derived from TestReport
Other representations of profile: CSV, Excel, Schematron
IG © 2022+ MITRE. Package testscriptengineig#0.0.1 based on FHIR 4.0.1. Generated 2022-12-29
Links: Table of Contents |
QA Report