| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
| TU | DomainResource | Describes a set of tests + Warning: Name should be usable as an identifier for the module by machine processing applications such as code generation Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension Interfaces Implemented: CanonicalResource | ||
| ΣC | 0..1 | uri | Canonical identifier for this test script, represented as a URI (globally unique) + Warning: URL should not contain | or # - these characters make processing canonical references problematic | |
| Σ | 0..* | Identifier | Additional identifier for the test script | |
| Σ | 0..1 | string | Business version of the test script | |
| Σ | 0..1 | How to compare versions Binding: Version Algorithm (Extensible) | ||
| string | ||||
| Coding | ||||
| ΣC | 1..1 | string | Name for this test script (computer friendly) | |
| ΣT | 0..1 | string | Name for this test script (human friendly) | |
| ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (Required) | |
| Σ | 0..1 | boolean | For testing purposes, not real usage | |
| Σ | 0..1 | dateTime | Date last changed | |
| ΣT | 0..1 | string | Name of the publisher/steward (organization or individual) | |
| Σ | 0..* | ContactDetail | Contact details for the publisher | |
| T | 0..1 | markdown | Natural language description of the test script | |
| Σ | 0..* | UsageContext | The context that the content is intended to support | |
| ΣXD | 0..* | CodeableConcept | Intended jurisdiction for test script (if applicable) Binding: Jurisdiction ValueSet (Extensible) | |
| T | 0..1 | markdown | Why this test script is defined | |
| T | 0..1 | markdown | Use and/or publishing restrictions | |
| T | 0..1 | string | Copyright holder and year(s) | |
| 0..* | BackboneElement | An abstract server representing a client or sender in a message exchange | ||
| 1..1 | integer | The index of the abstract origin server starting at 1 | ||
| 1..1 | Coding | FHIR-Client | FHIR-SDC-FormFiller Binding: Test Script Profile Origin Type (Extensible) | ||
| 0..1 | url | The url path of the origin server | ||
| 0..* | BackboneElement | An abstract server representing a destination or receiver in a message exchange | ||
| 1..1 | integer | The index of the abstract destination server starting at 1 | ||
| 1..1 | Coding | FHIR-Server | FHIR-SDC-FormManager | FHIR-SDC-FormReceiver | FHIR-SDC-FormProcessor Binding: Test Script Profile Destination Type (Extensible) | ||
| 0..1 | url | The url path of the destination server | ||
| C | 0..1 | BackboneElement | Required capability that is assumed to function correctly on the FHIR server being tested + Rule: TestScript metadata capability SHALL contain required or validated or both. | |
| 0..* | BackboneElement | Links to the FHIR specification | ||
| 1..1 | uri | URL to the specification | ||
| 0..1 | string | Short description | ||
| C | 1..* | BackboneElement | Capabilities that are assumed to function correctly on the FHIR server being tested | |
| C | 1..1 | boolean | Are the capabilities required? | |
| C | 1..1 | boolean | Are the capabilities validated? | |
| 0..1 | string | The expected capabilities of the server | ||
| 0..* | integer | Which origin server these requirements apply to | ||
| 0..1 | integer | Which server these requirements apply to | ||
| 0..* | uri | Links to the FHIR specification | ||
| 1..1 | canonical(CapabilityStatement) | Required Capability Statement | ||
| 0..* | BackboneElement | Indication of the artifact(s) that are tested by this test case | ||
| 1..1 | canonical(Any) | The specific conformance artifact being tested | ||
| 0..1 | CodeableConcept | required | optional | strict Binding: Test Script Scope Conformance Type (Extensible) | ||
| 0..1 | CodeableConcept | unit | integration | production Binding: Test Script Scope Phase Type (Extensible) | ||
| 0..* | BackboneElement | Fixture in the test script - by reference (uri) | ||
| 1..1 | boolean | Whether or not to implicitly create the fixture during setup | ||
| 1..1 | boolean | Whether or not to implicitly delete the fixture during teardown | ||
| 0..1 | Reference(Any) | Reference of the resource | ||
| 0..* | canonical(StructureDefinition) | Reference of the validation profile | ||
| C | 0..* | BackboneElement | Placeholder for evaluated elements + Rule: Variable can only contain one of expression, headerField or path. | |
| 1..1 | string | Descriptive name for this variable | ||
| 0..1 | string | Default, hard-coded, or user-defined value for this variable | ||
| 0..1 | string | Natural language description of the variable | ||
| C | 0..1 | string | The FHIRPath expression against the fixture body | |
| C | 0..1 | string | HTTP header field name for source | |
| 0..1 | string | Hint help text for default value to enter | ||
| C | 0..1 | string | XPath or JSONPath against the fixture body | |
| 0..1 | id | Fixture Id of source expression or headerField within this variable | ||
| 0..1 | BackboneElement | A series of required setup operations before tests are executed | ||
| C | 1..* | BackboneElement | A setup operation or assert to perform + Rule: Setup action SHALL contain either an operation or assert but not both. | |
| C | 0..1 | BackboneElement | The setup operation to perform + Rule: Setup operation SHALL contain either sourceId or targetId or params or url. | |
| C | 0..1 | Coding | The operation code type that will be executed Binding: Test Script Operation Code (Extensible) | |
| 0..1 | uri | Resource type Binding: Concrete FHIR Types (Extensible) | ||
| 0..1 | string | Tracking/logging operation label | ||
| 0..1 | string | Tracking/reporting operation description | ||
| 0..1 | code | Mime type to accept in the payload of the response, with charset etc Binding: Mime Types (Required) | ||
| 0..1 | code | Mime type of the request payload contents, with charset etc Binding: Mime Types (Required) | ||
| 0..1 | integer | Server responding to the request | ||
| 1..1 | boolean | Whether or not to send the request url in encoded format | ||
| 0..1 | code | delete | get | options | patch | post | put | head Binding: Test Script Request Method Code (Required) | ||
| 0..1 | integer | Server initiating the request | ||
| C | 0..1 | string | Explicitly defined path parameters | |
| 0..* | BackboneElement | Each operation can have one or more header elements | ||
| 1..1 | string | HTTP header field name | ||
| 1..1 | string | HTTP headerfield value | ||
| 0..1 | id | Fixture Id of mapped request | ||
| 0..1 | id | Fixture Id of mapped response | ||
| C | 0..1 | id | Fixture Id of body for PUT and POST requests | |
| C | 0..1 | id | Id of fixture used for extracting the [id], [type], and [vid] for GET requests | |
| C | 0..1 | string | Request URL | |
| C | 0..1 | BackboneElement | The assertion to perform + Rule: Only a single assertion SHALL be present within setup action assert element. + Rule: Setup action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither. + Rule: Setup action assert response and responseCode SHALL be empty when direction equals request | |
| 0..1 | string | Tracking/logging assertion label | ||
| 0..1 | string | Tracking/reporting assertion description | ||
| C | 0..1 | code | response | request Binding: Assertion Direction Type (Required) | |
| C | 0..1 | string | Id of the source fixture to be evaluated | |
| C | 0..1 | string | The FHIRPath expression to evaluate against the source fixture | |
| C | 0..1 | string | XPath or JSONPath expression to evaluate against the source fixture | |
| C | 0..1 | code | Mime type to compare against the 'Content-Type' header Binding: Mime Types (Required) | |
| 0..1 | code | fail | pass | skip | stop Binding: Assertion Manual Completion Type (Required) | ||
| C | 0..1 | string | The FHIRPath expression to be evaluated | |
| C | 0..1 | string | HTTP header field name | |
| C | 0..1 | string | Fixture Id of minimum content resource | |
| C | 0..1 | boolean | Perform validation on navigation links? | |
| 0..1 | code | equals | notEquals | in | notIn | greaterThan | lessThan | empty | notEmpty | contains | notContains | eval | manualEval Binding: Assertion Operator Type (Required) | ||
| C | 0..1 | string | XPath or JSONPath expression | |
| C | 0..1 | code | delete | get | options | patch | post | put | head Binding: Test Script Request Method Code (Required) | |
| 0..1 | string | Request URL comparison value | ||
| C | 0..1 | uri | Resource type Binding: Concrete FHIR Types (Extensible) | |
| C | 0..1 | code | continue | switchingProtocols | okay | created | accepted | nonAuthoritativeInformation | noContent | resetContent | partialContent | multipleChoices | movedPermanently | found | seeOther | notModified | useProxy | temporaryRedirect | permanentRedirect | badRequest | unauthorized | paymentRequired | forbidden | notFound | methodNotAllowed | notAcceptable | proxyAuthenticationRequired | requestTimeout | conflict | gone | lengthRequired | preconditionFailed | contentTooLarge | uriTooLong | unsupportedMediaType | rangeNotSatisfiable | expectationFailed | misdirectedRequest | unprocessableContent | upgradeRequired | internalServerError | notImplemented | badGateway | serviceUnavailable | gatewayTimeout | httpVersionNotSupported Binding: Assertion Response Types (Required) | |
| C | 0..1 | string | HTTP response code to test | |
| 0..1 | id | Fixture Id of source expression or headerField | ||
| 1..1 | boolean | If this assert fails, will the current test execution stop? | ||
| C | 0..1 | id | Profile Id of validation profile reference | |
| 0..1 | string | The value to compare to | ||
| 1..1 | boolean | Will this assert produce a warning only on error? | ||
| 0..* | BackboneElement | Links or references to the testing requirements | ||
| 0..1 | Link or reference to the testing requirement | |||
| uri | ||||
| canonical(Requirements) | ||||
| 0..* | BackboneElement | A test in this script | ||
| 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 to perform + Rule: Test action SHALL contain either an operation or assert but not both. | |
| C | 0..1 | see operation | The setup operation to perform + Rule: Test operation SHALL contain either sourceId or targetId or params or url. | |
| C | 0..1 | see assert | The setup assertion to perform + Rule: Only a single assertion SHALL be present within test action assert element. + Rule: Test action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither. + Rule: Test action assert response and response and responseCode SHALL be empty when direction equals request | |
| 0..1 | BackboneElement | A series of required clean up steps | ||
| 1..* | BackboneElement | One or more teardown operations to perform | ||
| C | 1..1 | see operation | The teardown operation to perform + Rule: Teardown operation SHALL contain either sourceId or targetId or params or url. | |