TestScript

TestScript

draftResource158 elementsv4.0.1

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
4.0.1
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 contentpreferred: 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
1..1
uri
Canonical identifier for this test script, represented as a URI (globally unique)
identifier
0..1
Additional identifier for the test script
version
0..1
string
Business version of the test script
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 (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
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
fixture
0..*
BackboneElement
Fixture in the test script - by reference (uri)
profile
0..*
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