TestScript
A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification.
Endpoints
alpha
https://api.dev.ovok.com/fhir/R4/TestScript| Interaction | Method | Path |
|---|---|---|
| Read | GET | /fhir/R4/TestScript/[id] |
| Vread | GET | /fhir/R4/TestScript/[id]/_history/[vid] |
| Update | PUT | /fhir/R4/TestScript/[id] |
| Patch | PATCH | /fhir/R4/TestScript/[id] |
| Delete | DELETE | /fhir/R4/TestScript/[id] |
| Create | POST | /fhir/R4/TestScript |
| Search | GET | /fhir/R4/TestScript |
| History | GET | /fhir/R4/TestScript/[id]/_history |
Top-level elements
| Element | Type(s) | Cardinality | Description |
|---|---|---|---|
url | uri | 1..1 | Canonical identifier for this test script, represented as a URI (globally unique) |
identifier | Identifier | 0..1 | Additional identifier for the test script |
version | string | 0..1 | Business version of the test script |
name | string | 1..1 | Name for this test script (computer friendly) |
title | string | 0..1 | Name for this test script (human friendly) |
status | code | 1..1 | draft | active | retired | unknown modifier |
experimental | boolean | 0..1 | For testing purposes, not real usage |
date | dateTime | 0..1 | Date last changed |
publisher | string | 0..1 | Name of the publisher (organization or individual) |
contact | ContactDetail | 0..* | Contact details for the publisher |
description | markdown | 0..1 | Natural language description of the test script |
useContext | UsageContext | 0..* | The context that the content is intended to support |
jurisdiction | CodeableConcept | 0..* | Intended jurisdiction for test script (if applicable) |
purpose | markdown | 0..1 | Why this test script is defined |
copyright | markdown | 0..1 | Use and/or publishing restrictions |
origin | BackboneElement | 0..* | An abstract server representing a client or sender in a message exchange |
destination | BackboneElement | 0..* | An abstract server representing a destination or receiver in a message exchange |
metadata | BackboneElement | 0..1 | Required capability that is assumed to function correctly on the FHIR server being tested |
fixture | BackboneElement | 0..* | Fixture in the test script - by reference (uri) |
profile | Reference | 0..* | Reference of the validation profile |
variable | BackboneElement | 0..* | Placeholder for evaluated elements |
setup | BackboneElement | 0..1 | A series of required setup operations before tests are executed |
test | BackboneElement | 0..* | A test in this script |
teardown | BackboneElement | 0..1 | A series of required clean up steps |
Resource-specific search parameters
Reference
- Official FHIR R4 spec:
TestScript - Maturity: Trial Use 2 (FMM 2).