TestScript

TestScript

draftResource176 elementsv5.0.0

A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification.

Metadata

hl7.org/fhir
Canonical URL
http://hl7.org/fhir/StructureDefinition/TestScript
ID
TestScript
Type
Base Definition
Derivation
specialization
Publisher
Health Level Seven International (FHIR Infrastructure)
Version
5.0.0
PathCard.TypeDescription
TestScript
0..*
Describes a set of tests
id
0..1
string
Logical id of this artifact
meta
0..1
Metadata about the resource
implicitRules
0..1
uri
A set of rules under which this content was created
language
0..1
code
Language of the resource contentrequired: all-languages
text
0..1
Text summary of the resource, for human interpretation
contained
0..*
Resource
Contained, inline Resources
extension
0..*
Additional content defined by implementations
modifierExtension
0..*
Extensions that cannot be ignored
url
0..1
uri
Canonical identifier for this test script, represented as a URI (globally unique)
identifier
0..*
Additional identifier for the test script
version
0..1
string
Business version of the test script
versionAlgorithm[x]
0..1
stringCoding
How to compare versionsextensible: version-algorithm
name
1..1
string
Name for this test script (computer friendly)
title
0..1
string
Name for this test script (human friendly)
status
1..1
code
draft | active | retired | unknownrequired: publication-status
experimental
0..1
boolean
For testing purposes, not real usage
date
0..1
dateTime
Date last changed
publisher
0..1
string
Name of the publisher/steward (organization or individual)
contact
0..*
Contact details for the publisher
description
0..1
markdown
Natural language description of the test script
useContext
0..*
The context that the content is intended to support
jurisdiction
0..*
Intended jurisdiction for test script (if applicable)extensible: jurisdiction
purpose
0..1
markdown
Why this test script is defined
copyright
0..1
markdown
Use and/or publishing restrictions
copyrightLabel
0..1
string
Copyright holder and year(s)
origin
0..*
BackboneElement
An abstract server representing a client or sender in a message exchange
destination
0..*
BackboneElement
An abstract server representing a destination or receiver in a message exchange
metadata
0..1
BackboneElement
Required capability that is assumed to function correctly on the FHIR server being tested
scope
0..*
BackboneElement
Indication of the artifact(s) that are tested by this test case
fixture
0..*
BackboneElement
Fixture in the test script - by reference (uri)
profile
0..*
canonical
Reference of the validation profile
variable
0..*
BackboneElement
Placeholder for evaluated elements
setup
0..1
BackboneElement
A series of required setup operations before tests are executed
test
0..*
BackboneElement
A test in this script
teardown
0..1
BackboneElement
A series of required clean up steps