Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
DomainResource | Describes a set of tests | |||
Σ | 1..1 | uri | Absolute URL used to reference this TestScript | |
Σ | 0..1 | string | Logical id for this version of the TestScript | |
Σ | 1..1 | string | Informal name for this TestScript | |
?! Σ | 1..1 | code | draft | active | retired ConformanceResourceStatus (Required) | |
Σ | 0..1 | Identifier | External identifier | |
Σ | 0..1 | boolean | If for testing purposes, not real usage | |
Σ | 0..1 | string | Name of the publisher (Organization or individual) | |
Σ | 0..* | BackboneElement | Contact details of the publisher | |
Σ | 0..1 | string | Name of a individual to contact | |
Σ | 0..* | ContactPoint | Contact details for individual or publisher | |
Σ | 0..1 | dateTime | Date for this version of the TestScript | |
Σ | 0..1 | string | Natural language description of the TestScript | |
Σ | 0..* | CodeableConcept | Content intends to support these contexts Context of Use ValueSet (Extensible) | |
0..1 | string | Scope and Usage this Test Script is for | ||
0..1 | string | Use and/or publishing restrictions | ||
I | 0..1 | BackboneElement | Required capability that is assumed to function correctly on the FHIR server being tested 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 | ||
1..* | BackboneElement | Capabilities that are assumed to function correctly on the FHIR server being tested | ||
0..1 | boolean | Are the capabilities required? | ||
0..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 | Reference(Conformance) | Required Conformance | ||
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 | code | FHIR-DSTU2-Client | FHIR-DSTU2-SDC-FormFiller ProfileOriginType (Required) | ||
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 | code | FHIR-DSTU2-Server | FHIR-DSTU2-SDC-FormManager | FHIR-DSTU2-SDC-FormReceiver | FHIR-DSTU2-SDC-FormProcessor ProfileDestinationType (Required) | ||
0..1 | boolean | Whether or not the tests apply to more than one FHIR server | ||
0..* | BackboneElement | Fixture in the test script - by reference (uri) | ||
0..1 | boolean | Whether or not to implicitly create the fixture during setup | ||
0..1 | boolean | Whether or not to implicitly delete the fixture during teardown | ||
0..1 | Reference(Any) | Reference of the resource | ||
0..* | Reference(Any) | Reference of the validation profile | ||
I | 0..* | BackboneElement | Placeholder for evaluated elements Variable cannot contain both headerField and path. | |
1..1 | string | Descriptive name for this variable | ||
0..1 | string | Default value for this variable | ||
0..1 | string | HTTP header field name for source | ||
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 | ||
I | 0..1 | see metadata | Capabilities that are assumed to function correctly on the FHIR server being tested Setup metadata capability SHALL contain required or validated or both. | |
I | 1..* | BackboneElement | A setup operation or assert to perform Setup action SHALL contain either an operation or assert but not both. | |
I | 0..1 | BackboneElement | The setup operation to perform Setup operation SHALL contain either sourceId or targetId or params or url. | |
0..1 | Coding | The setup operation type that will be executed TestScriptOperationCodes (Extensible) | ||
0..1 | code | Resource type FHIRDefinedType (Required) | ||
0..1 | string | Tracking/logging operation label | ||
0..1 | string | Tracking/reporting operation description | ||
0..1 | code | xml | json ContentType (Required) | ||
0..1 | code | xml | json ContentType (Required) | ||
0..1 | integer | Server responding to the request | ||
0..1 | boolean | Whether or not to send the request url in encoded format | ||
0..1 | integer | Server initiating the request | ||
0..1 | string | Explicitly defined path parameters | ||
0..* | BackboneElement | Each operation can have one ore more header elements | ||
1..1 | string | HTTP header field name | ||
1..1 | string | HTTP headerfield value | ||
0..1 | id | Fixture Id of mapped response | ||
0..1 | id | Fixture Id of body for PUT and POST requests | ||
0..1 | id | Id of fixture used for extracting the [id], [type], and [vid] for GET requests | ||
0..1 | string | Request URL | ||
I | 0..1 | BackboneElement | The assertion to perform Setup action assert shall contain both compareToSourceId and compareToSourcePath or neither. Only a single assertion SHALL be present within setup action assert element. | |
0..1 | string | Tracking/logging assertion label | ||
0..1 | string | Tracking/reporting assertion description | ||
0..1 | code | response | request AssertionDirectionType (Required) | ||
0..1 | string | Id of fixture used to compare the "sourceId/path" evaluations to | ||
0..1 | string | XPath or JSONPath expression against fixture used to compare the "sourceId/path" evaluations to | ||
0..1 | code | xml | json ContentType (Required) | ||
0..1 | string | HTTP header field name | ||
0..1 | string | Fixture Id of minimum content resource | ||
0..1 | boolean | Perform validation on navigation links? | ||
0..1 | code | equals | notEquals | in | notIn | greaterThan | lessThan | empty | notEmpty | contains | notContains AssertionOperatorType (Required) | ||
0..1 | string | XPath or JSONPath expression | ||
0..1 | code | Resource type FHIRDefinedType (Required) | ||
0..1 | code | okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable AssertionResponseTypes (Required) | ||
0..1 | string | HTTP response code to test | ||
0..1 | id | Fixture Id of source expression or headerField | ||
0..1 | id | Profile Id of validation profile reference | ||
0..1 | string | The value to compare to | ||
0..1 | boolean | Will this assert produce a warning only on error? | ||
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 | ||
I | 0..1 | see metadata | Capabilities that are expected to function correctly on the FHIR server being tested Test metadata capability SHALL contain required or validated or both. | |
I | 1..* | BackboneElement | A test operation or assert to perform Test action SHALL contain either an operation or assert but not both. | |
I | 0..1 | see operation | The setup operation to perform Test operation SHALL contain either sourceId or targetId or params or url. | |
I | 0..1 | see assert | The setup assertion to perform Test action assert shall contain both compareToSourceId and compareToSourcePath or neither. Only a single assertion SHALL be present within test action assert element. | |
0..1 | BackboneElement | A series of required clean up steps | ||
I | 1..* | BackboneElement | One or more teardown operations to perform Teardown action SHALL contain an operation. | |
I | 0..1 | see operation | The teardown operation to perform Teardown operation SHALL contain either sourceId or targetId or params or url. | |
![]() |