Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
DomainResource | Describes a set of tests Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension | |||
Σ | 1..1 | uri | Logical URI to reference this test script (globally unique) | |
Σ | 0..1 | Identifier | Additional identifier for the test script | |
Σ | 0..1 | string | Business version of the test script | |
Σ | 1..1 | string | Name for this test script (computer friendly) | |
Σ | 0..1 | string | Name for this test script (human friendly) | |
?!Σ | 1..1 | code | draft | active | retired | unknown PublicationStatus (Required) | |
?!Σ | 0..1 | boolean | For testing purposes, not real usage | |
Σ | 0..1 | dateTime | Date this was last changed | |
Σ | 0..1 | string | Name of the publisher (organization or individual) | |
Σ | 0..* | ContactDetail | Contact details for the publisher | |
0..1 | markdown | Natural language description of the test script | ||
Σ | 0..* | UsageContext | Context the content is intended to support | |
Σ | 0..* | CodeableConcept | Intended jurisdiction for test script (if applicable) Jurisdiction ValueSet (Extensible) | |
0..1 | markdown | Why this test script is defined | ||
0..1 | markdown | Use and/or publishing restrictions | ||
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 TestScriptProfileOriginType (Extensible) | ||
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 TestScriptProfileDestinationType (Extensible) | ||
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(CapabilityStatement) | Required Capability Statement | ||
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 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 | ||
0..1 | string | The fluentpath expression against the fixture body | ||
0..1 | string | HTTP header field name for source | ||
0..1 | string | Hint help text for default value to enter | ||
0..1 | string | XPath or JSONPath against the fixture body | ||
0..1 | id | Fixture Id of source expression or headerField within this variable | ||
0..* | BackboneElement | Assert rule used within the test script | ||
1..1 | Reference(Any) | Assert rule resource reference | ||
0..* | BackboneElement | Rule parameter template | ||
1..1 | string | Parameter name matching external assert rule parameter | ||
0..1 | string | Parameter value defined either explicitly or dynamically | ||
0..* | BackboneElement | Assert ruleset used within the test script | ||
1..1 | Reference(Any) | Assert ruleset resource reference | ||
1..* | BackboneElement | The referenced rule within the ruleset | ||
1..1 | id | Id of referenced rule within the ruleset | ||
0..* | BackboneElement | Ruleset rule parameter template | ||
1..1 | string | Parameter name matching external assert ruleset rule parameter | ||
0..1 | string | Parameter value defined either explicitly or dynamically | ||
0..1 | BackboneElement | A series of required setup operations before tests are executed | ||
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 operation code type that will be executed TestScriptOperationCode (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 | ttl | none ContentType (Required) | ||
0..1 | code | xml | json | ttl | none 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 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 | ||
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 + Only a single assertion SHALL be present within setup action assert element. + Setup action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither. + 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 | ||
0..1 | code | response | request AssertionDirectionType (Required) | ||
0..1 | string | Id of the source fixture to be evaluated | ||
0..1 | string | The fluentpath expression to evaluate against the source fixture | ||
0..1 | string | XPath or JSONPath expression to evaluate against the source fixture | ||
0..1 | code | xml | json | ttl | none ContentType (Required) | ||
0..1 | string | The fluentpath expression to be evaluated | ||
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 | eval AssertionOperatorType (Required) | ||
0..1 | string | XPath or JSONPath expression | ||
0..1 | code | delete | get | options | patch | post | put TestScriptRequestMethodCode (Required) | ||
0..1 | string | Request URL comparison value | ||
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 | BackboneElement | The reference to a TestScript.rule | ||
1..1 | id | Id of the TestScript.rule | ||
0..* | BackboneElement | Rule parameter template | ||
1..1 | string | Parameter name matching external assert rule parameter | ||
1..1 | string | Parameter value defined either explicitly or dynamically | ||
0..1 | BackboneElement | The reference to a TestScript.ruleset | ||
1..1 | id | Id of the TestScript.ruleset | ||
0..* | BackboneElement | The referenced rule within the ruleset | ||
1..1 | id | Id of referenced rule within the ruleset | ||
0..* | BackboneElement | Rule parameter template | ||
1..1 | string | Parameter name matching external assert ruleset rule parameter | ||
1..1 | string | Parameter value defined either explicitly or dynamically | ||
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 | 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 + Only a single assertion SHALL be present within test action assert element. + Test action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither. + 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 | ||
I | 1..1 | see operation | The teardown operation to perform + Teardown operation SHALL contain either sourceId or targetId or params or url. | |
![]() |