Test Report API FHIRsmith Test Reports API: A FHIR repository for TestReports
Machine-readable description (OpenAPI 3.1.0): openapi.json · openapi.yaml
Receives FHIR TestReports - from TxTester, and from any other tool that produces them - and makes them available for reading and searching. This is a small FHIR R5 server with one resource type, TestReport, and three interactions: create, read and search.
testScript).meta.lastUpdated, drops
meta.versionId, and each POST is a new report, even of the same report.issued is a valid dateTime and score a number). The schema describes a valid
report; reports that don't conform to it in other ways may still be accepted, but
shouldn't be sent.Content negotiation. Read and search return an HTML page to a browser (an
Accept containing text/html); _format=json or _format=html overrides that.
See also: The TestReport resource (FHIR R5)
/testing/TestReport — Search reportsReturns a searchset Bundle, newest received first unless _sort says otherwise.
total is always present.
Comma separated values are ORed; repeated parameters are ANDed. The search
parameters aren't yet formally defined as SearchParameter resources; their
behaviour is as described here. Modifiers are written after the name
(name:exact=...).
Unknown parameters are ignored, with a warning OperationOutcome entry
(search.mode = outcome) in the Bundle - unless the request has
Prefer: handling=strict, when they're a 400. Values that can't be understood (a
bad date or number) are always a 400.
| Name | In | Schema | Description |
|---|---|---|---|
_id | query | string | The report's id. |
name | query | string |
|
tester | query | string |
|
status | query | string |
|
result | query | string |
|
testscript | query | string |
|
participant | query | string | The |
score | query | string |
|
issued | query | string |
|
_lastUpdated | query | string | When the report was received, with a prefix. |
_sort | query | string | Any of the parameters above except |
_count | query | integer | Page size; defaults to 50, at most 500. |
_offset | query | integer | Where the page starts. The Bundle has first, previous, next and last links. |
_summary | query | string one of count |
|
_format | query | string |
|
_total | query | string | Accepted, and has no effect - the total is always returned. |
_pretty | query | string | Accepted, and has no effect - responses are always indented. |
Prefer | header | string |
|
| Status | Description | Content |
|---|---|---|
| 200 | The matching reports | application/fhir+json: TestReportSearchBundletext/html: string |
| 400 | The request isn't acceptable - the issues say why | application/fhir+json: OperationOutcome |
/testing/TestReport — Submit a reportStores the report and returns it with its new id and meta.lastUpdated. Reports
are limited in size (500 KB by default) and submissions are rate limited.
If the server is configured with a token, every submission must carry it, in the
Authorization header by default (Bearer <token>; the header is configurable).
| Name | In | Schema | Description |
|---|---|---|---|
Prefer | header | string |
|
| Status | Description | Content |
|---|---|---|
| 201 | Stored. The body is the stored report, nothing, or an OperationOutcome, as | application/fhir+json: TestReport or OperationOutcome |
| 400 | The request isn't acceptable - the issues say why | application/fhir+json: OperationOutcome |
| 401 | A token is required and wasn't supplied, or is wrong | application/fhir+json: OperationOutcome |
| 413 | The report is too big | application/fhir+json: OperationOutcome |
| 415 | The body isn't JSON | application/fhir+json: OperationOutcome |
| 429 | Too many submissions; try again later | application/fhir+json: OperationOutcome |
/testing/TestReport/{id} — Read a report| Name | In | Schema | Description |
|---|---|---|---|
id required | path | string |
| Status | Description | Content |
|---|---|---|
| 200 | The report, or a rendering of it for a browser | application/fhir+json: TestReporttext/html: string |
| 404 | No such report | application/fhir+json: OperationOutcome |
/testing/metadata — The server's CapabilityStatementLists the interactions and search parameters. The search parameters have no definitions (see the search operation for what they do).
| Status | Description | Content |
|---|---|---|
| 200 | A CapabilityStatement | application/fhir+json: AnyResource |
AnyResourceA FHIR resource of any type. Not described further here.
| Property | Schema | Description |
|---|---|---|
resourceType required | string |
Other properties: any
BundleA container for a collection of resources.
| Property | Schema | Description |
|---|---|---|
resourceType required | "Bundle" | |
id | string | Logical id of this artifact |
meta | Meta | Metadata about the resource |
implicitRules | string (FHIR uri) matching ^(\S*)$ | A set of rules under which this content was created |
_implicitRules | Element | |
language | string (FHIR code) matching ^([^\s]+( [^\s]+)*)$ | Language of the resource content |
_language | Element | |
identifier | Identifier | Persistent identifier for the bundle |
type required | string (FHIR code) one of document, message, transaction, transaction-response, batch, batch-response, history, searchset, collection, subscription-notification | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification |
_type | Element | |
timestamp | string (FHIR instant) pattern^(([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))$ | When the bundle was assembled |
_timestamp | Element | |
total | integer (FHIR unsignedInt) | If search, the total number of matches |
_total | Element | |
link | array of Bundle_Link | Links related to this Bundle |
entry | array of Bundle_Entry | Entry in the bundle - will have a resource or information |
signature | Signature | Digital Signature |
issues | AnyResource | Issues with the Bundle |
Bundle_EntryAn entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
link | array of Bundle_Link | Links related to this entry |
fullUrl | string (FHIR uri) matching ^(\S*)$ | URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.) |
_fullUrl | Element | |
resource | AnyResource | A resource in the bundle |
search | Bundle_Entry_Search | Search related information |
request | Bundle_Entry_Request | Additional execution information (transaction/batch/history) |
response | Bundle_Entry_Response | Results of execution (transaction/batch/history) |
Bundle_Entry_RequestAdditional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
method required | string (FHIR code) one of GET, HEAD, POST, PUT, DELETE, PATCH | GET | HEAD | POST | PUT | DELETE | PATCH |
_method | Element | |
url required | string (FHIR uri) matching ^(\S*)$ | URL for HTTP equivalent of this entry |
_url | Element | |
ifNoneMatch | string (FHIR string) matching ^[\s\S]+$ | For managing cache validation |
_ifNoneMatch | Element | |
ifModifiedSince | string (FHIR instant) pattern^(([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))$ | For managing cache currency |
_ifModifiedSince | Element | |
ifMatch | string (FHIR string) matching ^[\s\S]+$ | For managing update contention |
_ifMatch | Element | |
ifNoneExist | string (FHIR string) matching ^[\s\S]+$ | For conditional creates |
_ifNoneExist | Element |
Bundle_Entry_ResponseIndicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
status required | string (FHIR string) matching ^[\s\S]+$ | Status response code (text optional) |
_status | Element | |
location | string (FHIR uri) matching ^(\S*)$ | The location (if the operation returns a location) |
_location | Element | |
etag | string (FHIR string) matching ^[\s\S]+$ | The Etag for the resource (if relevant) |
_etag | Element | |
lastModified | string (FHIR instant) pattern^(([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))$ | Server's date time modified |
_lastModified | Element | |
outcome | AnyResource | OperationOutcome with hints and warnings (for batch/transaction) |
Bundle_Entry_SearchInformation about the search process that lead to the creation of this entry.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
mode | string (FHIR code) one of match, include, outcome | match | include - why this is in the result set |
_mode | Element | |
score | number (FHIR decimal) | Search ranking (between 0 and 1) |
_score | Element |
Bundle_LinkA series of links that provide context to this bundle.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
relation required | string (FHIR code) one of about, acl, alternate, amphtml, appendix, apple-touch-icon, apple-touch-startup-image, archives, author, blocked-by, bookmark, canonical, chapter, cite-as, collection, contents, convertedFrom, copyright, create-form, current, describedby, describes, disclosure, dns-prefetch, duplicate, edit, edit-form, edit-media, enclosure, external, first, glossary, help, hosts, hub, icon, index, intervalAfter, intervalBefore, intervalContains, intervalDisjoint, intervalDuring, intervalEquals, intervalFinishedBy, intervalFinishes, intervalIn, intervalMeets, intervalMetBy, intervalOverlappedBy, intervalOverlaps, intervalStartedBy, intervalStarts, item, last, latest-version, license, linkset, lrdd, manifest, mask-icon, media-feed, memento, micropub, modulepreload, monitor, monitor-group, next, next-archive, nofollow, noopener, noreferrer, opener, openid2.local_id, openid2.provider, original, P3Pv1, payment, pingback, preconnect, predecessor-version, prefetch, preload, prerender, prev, preview, previous, prev-archive, privacy-policy, profile, publication, related, restconf, replies, ruleinput, search, section, self, service, service-desc, service-doc, service-meta, sponsored, start, status, stylesheet, subsection, successor-version, sunset, tag, terms-of-service, timegate, timemap, type, ugc, up, version-history, via, webmention, working-copy, working-copy-of | See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1 |
_relation | Element | |
url required | string (FHIR uri) matching ^(\S*)$ | Reference details for the link |
_url | Element |
CodeableConceptCodeableConcept Type: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
coding | array of Coding | Code defined by a terminology system |
text | string (FHIR string) matching ^[\s\S]+$ | Plain text representation of the concept |
_text | Element |
CodingCoding Type: A reference to a code defined by a terminology system.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
system | string (FHIR uri) matching ^(\S*)$ | Identity of the terminology system |
_system | Element | |
version | string (FHIR string) matching ^[\s\S]+$ | Version of the system - if relevant |
_version | Element | |
code | string (FHIR code) matching ^([^\s]+( [^\s]+)*)$ | Symbol in syntax defined by the system |
_code | Element | |
display | string (FHIR string) matching ^[\s\S]+$ | Representation defined by the system |
_display | Element | |
userSelected | boolean (FHIR boolean) | If this coding was chosen directly by the user |
_userSelected | Element |
ElementElement Type: Base definition for all elements in a resource.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
ExtensionAn extension. The value (value[x]) can be any FHIR datatype, and is not described further here.
| Property | Schema | Description |
|---|---|---|
id | string | |
url required | string | The extension's definition |
extension | array of Extension |
IdentifierIdentifier Type: An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
use | string (FHIR code) one of usual, official, temp, secondary, old | usual | official | temp | secondary | old (If known) |
_use | Element | |
type | CodeableConcept | Description of identifier |
system | string (FHIR uri) matching ^(\S*)$ | The namespace for the identifier value |
_system | Element | |
value | string (FHIR string) matching ^[\s\S]+$ | The value that is unique |
_value | Element | |
period | Period | Time period when id is/was valid for use |
assigner | Reference | Organization that issued id (may be just text) |
MetaMeta Type: The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
versionId | string (FHIR id) matching ^([A-Za-z0-9\-\.]{1,64})$ | Version specific identifier |
_versionId | Element | |
lastUpdated | string (FHIR instant) pattern^(([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))$ | When the resource version last changed |
_lastUpdated | Element | |
source | string (FHIR uri) matching ^(\S*)$ | Identifies where the resource comes from |
_source | Element | |
profile | array of string (FHIR canonical) matching ^(\S*)$ or null | Profiles this resource claims to conform to |
_profile | array of Element or null | |
security | array of Coding | Security Labels applied to this resource |
tag | array of Coding | Tags applied to this resource |
NarrativeNarrative Type: A human-readable summary of the resource conveying the essential clinical and business information for the resource.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
status required | string (FHIR code) one of generated, extensions, additional, empty | generated | extensions | additional | empty |
_status | Element | |
div required | string (FHIR xhtml) | Limited xhtml content |
_div | Element |
OperationOutcomeA collection of error, warning, or information messages that result from a system action.
| Property | Schema | Description |
|---|---|---|
resourceType required | "OperationOutcome" | |
id | string | Logical id of this artifact |
meta | Meta | Metadata about the resource |
implicitRules | string (FHIR uri) matching ^(\S*)$ | A set of rules under which this content was created |
_implicitRules | Element | |
language | string (FHIR code) matching ^([^\s]+( [^\s]+)*)$ | Language of the resource content |
_language | Element | |
text | Narrative | Text summary of the resource, for human interpretation |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored |
issue required | array of OperationOutcome_Issue | A single issue associated with the action |
OperationOutcome_IssueAn error, warning, or information message that results from a system action.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
severity required | string (FHIR code) one of fatal, error, warning, information, success | fatal | error | warning | information | success |
_severity | Element | |
code required | string (FHIR code) one of invalid, structure, required, value, invariant, security, login, unknown, expired, forbidden, suppressed, processing, not-supported, duplicate, multiple-matches, not-found, deleted, too-long, code-invalid, extension, too-costly, business-rule, conflict, limited-filter, transient, lock-error, no-store, exception, timeout, incomplete, throttled, informational, success | Error or warning code |
_code | Element | |
details | CodeableConcept | Additional details about the error |
diagnostics | string (FHIR string) matching ^[\s\S]+$ | Additional diagnostic information about the issue |
_diagnostics | Element | |
location | array of string (FHIR string) matching ^[\s\S]+$ or null | Deprecated: Path of element(s) related to issue |
_location | array of Element or null | |
expression | array of string (FHIR string) matching ^[\s\S]+$ or null | FHIRPath of element(s) related to issue |
_expression | array of Element or null |
PeriodPeriod Type: A time period defined by a start and end date and optionally time.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
start | string (FHIR dateTime) pattern^(([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?)$ | Starting time with inclusive boundary |
_start | Element | |
end | string (FHIR dateTime) pattern^(([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?)$ | End time with inclusive boundary, if not ongoing |
_end | Element |
ReferenceReference Type: A reference from one resource to another.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
reference | string (FHIR string) matching ^[\s\S]+$ | Literal reference, Relative, internal or absolute URL |
_reference | Element | |
type | string (FHIR uri) matching ^(\S*)$ | Type the reference refers to (e.g. "Patient") - must be a resource in resources |
_type | Element | |
identifier | Identifier | Logical reference, when literal reference is not known |
display | string (FHIR string) matching ^[\s\S]+$ | Text alternative for the resource |
_display | Element |
SignatureSignature Type: A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
type | array of Coding | Indication of the reason the entity signed the object(s) |
when | string (FHIR instant) pattern^(([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))$ | When the signature was created |
_when | Element | |
who | Reference | Who signed |
onBehalfOf | Reference | The party represented |
targetFormat | string (FHIR code) matching ^([^\s]+( [^\s]+)*)$ | The technical format of the signed resources |
_targetFormat | Element | |
sigFormat | string (FHIR code) matching ^([^\s]+( [^\s]+)*)$ | The technical format of the signature |
_sigFormat | Element | |
data | string (FHIR base64Binary) pattern^((?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?)$ | The actual signature content (XML DigSig. JWS, picture, etc.) |
_data | Element |
TestReportA TestReport, as this server accepts it: an R5 TestReport (or an R4 one - see testScript), with name, tester, issued and at least one participant, and no contained resources.
| Property | Schema | Description |
|---|---|---|
resourceType required | "TestReport" | |
id | string | Logical id of this artifact |
meta | Meta | Metadata about the resource |
implicitRules | string (FHIR uri) matching ^(\S*)$ | A set of rules under which this content was created |
_implicitRules | Element | |
language | string (FHIR code) matching ^([^\s]+( [^\s]+)*)$ | Language of the resource content |
_language | Element | |
text | Narrative | Text summary of the resource, for human interpretation |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored |
identifier | Identifier | External identifier |
name required | string (FHIR string) matching ^[\s\S]+$ | Informal name of the executed TestReport |
_name | Element | |
status required | string (FHIR code) one of completed, in-progress, waiting, stopped, entered-in-error | completed | in-progress | waiting | stopped | entered-in-error |
_status | Element | |
testScript required | string or Reference | The TestScript that was run: a canonical (R5), or a Reference (R4) |
_testScript | Element | |
result required | string (FHIR code) one of pass, fail, pending | pass | fail | pending |
_result | Element | |
score | number (FHIR decimal) | The final score (percentage of tests passed) resulting from the execution of the TestScript |
_score | Element | |
tester required | string (FHIR string) matching ^[\s\S]+$ | Name of the tester producing this report (Organization or individual) |
_tester | Element | |
issued required | string (FHIR dateTime) pattern^(([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]{1,9})?)?)?(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?)$ | When the TestScript was executed and this TestReport was generated |
_issued | Element | |
participant required | array of TestReport_Participant | A participant in the test execution, either the execution engine, a client, or a server |
setup | TestReport_Setup | The results of the series of required setup operations before the tests were executed |
test | array of TestReport_Test | A test executed from the test script |
teardown | TestReport_Teardown | The results of running the series of required clean up steps |
TestReport_ParticipantA participant in the test execution, either the execution engine, a client, or a server.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
type required | string (FHIR code) one of test-engine, client, server | test-engine | client | server |
_type | Element | |
uri required | string (FHIR uri) matching ^(\S*)$ | The uri of the participant. An absolute URL is preferred |
_uri | Element | |
display | string (FHIR string) matching ^[\s\S]+$ | The display name of the participant |
_display | Element |
TestReport_SetupThe results of the series of required setup operations before the tests were executed.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
action required | array of TestReport_Setup_Action | A setup operation or assert that was executed |
TestReport_Setup_ActionAction would contain either an operation or an assertion.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
operation | TestReport_Setup_Action_Operation | The operation to perform |
assert | TestReport_Setup_Action_Assert | The assertion to perform |
TestReport_Setup_Action_AssertThe results of the assertion performed on the previous operations.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
result required | string (FHIR code) one of pass, skip, fail, warning, error | pass | skip | fail | warning | error |
_result | Element | |
message | string (FHIR markdown) matching ^[\s\S]+$ | A message associated with the result |
_message | Element | |
detail | string (FHIR string) matching ^[\s\S]+$ | A link to further details on the result |
_detail | Element | |
requirement | array of TestReport_Setup_Action_Assert_Requirement | Links or references to the testing requirements |
TestReport_Setup_Action_Assert_RequirementLinks or references providing traceability to the testing requirements for this assert.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
linkUri | string (FHIR uri) matching ^(\S*)$ | Link or reference to the testing requirement |
_linkUri | Element | |
linkCanonical | string (FHIR canonical) matching ^(\S*)$ | Link or reference to the testing requirement |
_linkCanonical | Element |
TestReport_Setup_Action_OperationThe operation performed.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
result required | string (FHIR code) one of pass, skip, fail, warning, error | pass | skip | fail | warning | error |
_result | Element | |
message | string (FHIR markdown) matching ^[\s\S]+$ | A message associated with the result |
_message | Element | |
detail | string (FHIR uri) matching ^(\S*)$ | A link to further details on the result |
_detail | Element |
TestReport_TeardownThe results of the series of operations required to clean up after all the tests were executed (successfully or otherwise).
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
action required | array of TestReport_Teardown_Action | One or more teardown operations performed |
TestReport_Teardown_ActionThe teardown action will only contain an operation.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
operation required | TestReport_Setup_Action_Operation | The teardown operation performed |
TestReport_TestA test executed from the test script.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
name | string (FHIR string) matching ^[\s\S]+$ | Tracking/logging name of this test |
_name | Element | |
description | string (FHIR string) matching ^[\s\S]+$ | Tracking/reporting short description of the test |
_description | Element | |
action required | array of TestReport_Test_Action | A test operation or assert that was performed |
TestReport_Test_ActionAction would contain either an operation or an assertion.
| Property | Schema | Description |
|---|---|---|
id | string | Unique id for inter-element referencing |
extension | array of Extension | Additional content defined by implementations |
modifierExtension | array of Extension | Extensions that cannot be ignored even if unrecognized |
operation | TestReport_Setup_Action_Operation | The operation performed |
assert | TestReport_Setup_Action_Assert | The assertion performed |