TestScript
TestScript
draftFHIR R3 package : Core3.0.2resource30 key elements
Base StructureDefinition for TestScript Resource
Metadata
hl7.org/fhir- Canonical URL
- http://hl7.org/fhir/StructureDefinition/TestScript
- ID
- TestScript
- Type
- TestScript
- Base Definition
- DomainResource
- Derivation
- specialization
Mandatory and Must-Support Elements
Elements with cardinality > 0 or marked as Must Support (S)
| Path | Card. | Type | Flags | Description |
|---|---|---|---|---|
| url | 1..1 | uri | 1+ | Logical URI to reference this test script (globally unique) |
| name | 1..1 | string | 1+ | Name for this test script (computer friendly) |
| status | 1..1 | code | 1+ | draft | active | retired | unknown |
| origin.index | 1..1 | integer | 1+ | The index of the abstract origin server starting at 1 |
| origin.profile | 1..1 | Coding | 1+ | FHIR-Client | FHIR-SDC-FormFiller |
| destination.index | 1..1 | integer | 1+ | The index of the abstract destination server starting at 1 |
| destination.profile | 1..1 | Coding | 1+ | FHIR-Server | FHIR-SDC-FormManager | FHIR-SDC-FormReceiver | FHIR-SDC-FormProcessor |
| metadata.link.url | 1..1 | uri | 1+ | URL to the specification |
| metadata.capability | 1..* | BackboneElement | 1+ | Capabilities that are assumed to function correctly on the FHIR server being tested |
| metadata.capability.capabilities | 1..1 | Reference | 1+ | Required Capability Statement |
| variable.name | 1..1 | string | 1+ | Descriptive name for this variable |
| rule.resource | 1..1 | Reference | 1+ | Assert rule resource reference |
| rule.param.name | 1..1 | string | 1+ | Parameter name matching external assert rule parameter |
| ruleset.resource | 1..1 | Reference | 1+ | Assert ruleset resource reference |
| ruleset.rule | 1..* | BackboneElement | 1+ | The referenced rule within the ruleset |
| ruleset.rule.ruleId | 1..1 | id | 1+ | Id of referenced rule within the ruleset |
| ruleset.rule.param.name | 1..1 | string | 1+ | Parameter name matching external assert ruleset rule parameter |
| setup.action | 1..* | BackboneElement | 1+ | A setup operation or assert to perform |
| setup.action.operation.requestHeader.field | 1..1 | string | 1+ | HTTP header field name |
| setup.action.operation.requestHeader.value | 1..1 | string | 1+ | HTTP headerfield value |
| setup.action.assert.rule.ruleId | 1..1 | id | 1+ | Id of the TestScript.rule |
| setup.action.assert.rule.param.name | 1..1 | string | 1+ | Parameter name matching external assert rule parameter |
| setup.action.assert.rule.param.value | 1..1 | string | 1+ | Parameter value defined either explicitly or dynamically |
| setup.action.assert.ruleset.rulesetId | 1..1 | id | 1+ | Id of the TestScript.ruleset |
| setup.action.assert.ruleset.rule.ruleId | 1..1 | id | 1+ | Id of referenced rule within the ruleset |
| setup.action.assert.ruleset.rule.param.name | 1..1 | string | 1+ | Parameter name matching external assert ruleset rule parameter |
| setup.action.assert.ruleset.rule.param.value | 1..1 | string | 1+ | Parameter value defined either explicitly or dynamically |
| test.action | 1..* | BackboneElement | 1+ | A test operation or assert to perform |
| teardown.action | 1..* | BackboneElement | 1+ | One or more teardown operations to perform |
| teardown.action.operation | 1..1 | 1+ | The teardown operation to perform |