Extensions for Using Data Elements from FHIR R5 in FHIR STU3
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R5 in FHIR STU3 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R5_TestReport_R3

Official URL: http://hl7.org/fhir/5.0/StructureDefinition/profile-TestReport Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R5_TestReport_R3

This cross-version profile allows R5 TestReport content to be represented via FHIR STU3 TestReport resources.

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. TestReport 0..* TestReport Describes the results of a TestScript execution
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code completed | in-progress | waiting | stopped | entered-in-error
Binding: TestReportStatus (required): The current status of the test report.
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:testScript 1..1 uri R5: Canonical URL to the version-specific TestScript that was executed to produce this TestReport additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestReport.testScript
... result Σ 1..1 code pass | fail | pending
Binding: TestReportResult (required): The reported execution result.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
TestReport.status Base required TestReportStatus 📍3.0.2 FHIR Std.
TestReport.result Base required TestReportResult 📍3.0.2 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error TestReport If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
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 contained.where(('#'+id in %resource.descendants().reference).not()).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()

This structure is derived from TestReport

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. TestReport 0..* TestReport Describes the results of a TestScript execution
... testScript
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:testScript 0..1 uri R5: Canonical URL to the version-specific TestScript that was executed to produce this TestReport additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestReport.testScript
... setup
.... action
..... assert
...... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:requirement 0..* (Complex) R5: Links or references to the testing requirements (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestReport.setup.action.assert.requirement

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. TestReport 0..* TestReport Describes the results of a TestScript execution
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional Content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..1 Identifier External identifier
... name Σ 0..1 string Informal name of the executed TestScript
... status ?!Σ 1..1 code completed | in-progress | waiting | stopped | entered-in-error
Binding: TestReportStatus (required): The current status of the test report.
... testScript Σ 1..1 Reference(TestScript) Reference to the version-specific TestScript that was executed to produce this TestReport
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:testScript 1..1 uri R5: Canonical URL to the version-specific TestScript that was executed to produce this TestReport additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestReport.testScript
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... result Σ 1..1 code pass | fail | pending
Binding: TestReportResult (required): The reported execution result.
... score Σ 0..1 decimal The final score (percentage of tests passed) resulting from the execution of the TestScript
... tester Σ 0..1 string Name of the tester producing this report (Organization or individual)
... issued Σ 0..1 dateTime When the TestScript was executed and this TestReport was generated
... participant 0..* BackboneElement A participant in the test execution, either the execution engine, a client, or a server
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... type 1..1 code test-engine | client | server
Binding: TestReportParticipantType (required): The type of participant.
.... uri 1..1 uri The uri of the participant. An absolute URL is preferred
.... display 0..1 string The display name of the participant
... setup 0..1 BackboneElement The results of the series of required setup operations before the tests were executed
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... action C 1..* BackboneElement A setup operation or assert that was executed
Constraints: inv-1
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
..... operation 0..1 BackboneElement The operation to perform
...... id 0..1 string xml:id (or equivalent in JSON)
...... extension 0..* Extension Additional Content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
...... result 1..1 code pass | skip | fail | warning | error
Binding: TestReportActionResult (required): The results of executing an action.
...... message 0..1 markdown A message associated with the result
...... detail 0..1 uri A link to further details on the result
..... assert 0..1 BackboneElement The assertion to perform
...... id 0..1 string xml:id (or equivalent in JSON)
...... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:requirement 0..* (Complex) R5: Links or references to the testing requirements (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestReport.setup.action.assert.requirement
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
...... result 1..1 code pass | skip | fail | warning | error
Binding: TestReportActionResult (required): The results of executing an action.
...... message 0..1 markdown A message associated with the result
...... detail 0..1 string A link to further details on the result
... test 0..* BackboneElement A test executed from the test script
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... name 0..1 string Tracking/logging name of this test
.... description 0..1 string Tracking/reporting short description of the test
.... action C 1..* BackboneElement A test operation or assert that was performed
Constraints: inv-2
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
..... operation 0..1 See operation (TestReport) The operation performed
..... assert 0..1 See assert (TestReport) The assertion performed
... teardown 0..1 BackboneElement The results of running the series of required clean up steps
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... action 1..* BackboneElement One or more teardown operations performed
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
..... operation 1..1 See operation (TestReport) The teardown operation performed

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
TestReport.language Base extensible Common Languages . 📍3.0.2 tx.fhir.org
TestReport.status Base required TestReportStatus 📍3.0.2 FHIR Std.
TestReport.result Base required TestReportResult 📍3.0.2 FHIR Std.
TestReport.participant.​type Base required TestReportParticipantType 📍3.0.2 FHIR Std.
TestReport.setup.action.​operation.result Base required TestReportActionResult 📍3.0.2 FHIR Std.
TestReport.setup.action.​assert.result Base required TestReportActionResult 📍3.0.2 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error TestReport If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
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 contained.where(('#'+id in %resource.descendants().reference).not()).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()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (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()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. TestReport 0..* TestReport Describes the results of a TestScript execution
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code completed | in-progress | waiting | stopped | entered-in-error
Binding: TestReportStatus (required): The current status of the test report.
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:testScript 1..1 uri R5: Canonical URL to the version-specific TestScript that was executed to produce this TestReport additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestReport.testScript
... result Σ 1..1 code pass | fail | pending
Binding: TestReportResult (required): The reported execution result.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
TestReport.status Base required TestReportStatus 📍3.0.2 FHIR Std.
TestReport.result Base required TestReportResult 📍3.0.2 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error TestReport If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
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 contained.where(('#'+id in %resource.descendants().reference).not()).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()

Differential View

This structure is derived from TestReport

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. TestReport 0..* TestReport Describes the results of a TestScript execution
... testScript
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:testScript 0..1 uri R5: Canonical URL to the version-specific TestScript that was executed to produce this TestReport additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestReport.testScript
... setup
.... action
..... assert
...... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:requirement 0..* (Complex) R5: Links or references to the testing requirements (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestReport.setup.action.assert.requirement

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. TestReport 0..* TestReport Describes the results of a TestScript execution
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional Content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..1 Identifier External identifier
... name Σ 0..1 string Informal name of the executed TestScript
... status ?!Σ 1..1 code completed | in-progress | waiting | stopped | entered-in-error
Binding: TestReportStatus (required): The current status of the test report.
... testScript Σ 1..1 Reference(TestScript) Reference to the version-specific TestScript that was executed to produce this TestReport
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:testScript 1..1 uri R5: Canonical URL to the version-specific TestScript that was executed to produce this TestReport additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestReport.testScript
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... result Σ 1..1 code pass | fail | pending
Binding: TestReportResult (required): The reported execution result.
... score Σ 0..1 decimal The final score (percentage of tests passed) resulting from the execution of the TestScript
... tester Σ 0..1 string Name of the tester producing this report (Organization or individual)
... issued Σ 0..1 dateTime When the TestScript was executed and this TestReport was generated
... participant 0..* BackboneElement A participant in the test execution, either the execution engine, a client, or a server
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... type 1..1 code test-engine | client | server
Binding: TestReportParticipantType (required): The type of participant.
.... uri 1..1 uri The uri of the participant. An absolute URL is preferred
.... display 0..1 string The display name of the participant
... setup 0..1 BackboneElement The results of the series of required setup operations before the tests were executed
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... action C 1..* BackboneElement A setup operation or assert that was executed
Constraints: inv-1
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
..... operation 0..1 BackboneElement The operation to perform
...... id 0..1 string xml:id (or equivalent in JSON)
...... extension 0..* Extension Additional Content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
...... result 1..1 code pass | skip | fail | warning | error
Binding: TestReportActionResult (required): The results of executing an action.
...... message 0..1 markdown A message associated with the result
...... detail 0..1 uri A link to further details on the result
..... assert 0..1 BackboneElement The assertion to perform
...... id 0..1 string xml:id (or equivalent in JSON)
...... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
....... extension:requirement 0..* (Complex) R5: Links or references to the testing requirements (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestReport.setup.action.assert.requirement
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
...... result 1..1 code pass | skip | fail | warning | error
Binding: TestReportActionResult (required): The results of executing an action.
...... message 0..1 markdown A message associated with the result
...... detail 0..1 string A link to further details on the result
... test 0..* BackboneElement A test executed from the test script
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... name 0..1 string Tracking/logging name of this test
.... description 0..1 string Tracking/reporting short description of the test
.... action C 1..* BackboneElement A test operation or assert that was performed
Constraints: inv-2
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
..... operation 0..1 See operation (TestReport) The operation performed
..... assert 0..1 See assert (TestReport) The assertion performed
... teardown 0..1 BackboneElement The results of running the series of required clean up steps
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... action 1..* BackboneElement One or more teardown operations performed
..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
..... operation 1..1 See operation (TestReport) The teardown operation performed

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
TestReport.language Base extensible Common Languages . 📍3.0.2 tx.fhir.org
TestReport.status Base required TestReportStatus 📍3.0.2 FHIR Std.
TestReport.result Base required TestReportResult 📍3.0.2 FHIR Std.
TestReport.participant.​type Base required TestReportParticipantType 📍3.0.2 FHIR Std.
TestReport.setup.action.​operation.result Base required TestReportActionResult 📍3.0.2 FHIR Std.
TestReport.setup.action.​assert.result Base required TestReportActionResult 📍3.0.2 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error TestReport If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
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 contained.where(('#'+id in %resource.descendants().reference).not()).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()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (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()

 

Other representations of profile: CSV, Excel, Schematron