Show / Hide Table of Contents

Class TestScript

TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification.

Inheritance
System.Object
Resource
DomainResource
TestScript
Implements
IFhirJsonSerializable
Inherited Members
DomainResource.Contained
DomainResource.Extension
DomainResource.ModifierExtension
DomainResource.Text
Resource.Id
Resource._Id
Resource.ImplicitRules
Resource._ImplicitRules
Resource.Language
Resource._Language
Resource.Meta
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class TestScript : DomainResource, IFhirJsonSerializable

Properties

| Improve this Doc View Source

_Copyright

Extension container element for Copyright

Declaration
public Element _Copyright { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Date

Extension container element for Date

Declaration
public Element _Date { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Description

Extension container element for Description

Declaration
public Element _Description { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Experimental

Extension container element for Experimental

Declaration
public Element _Experimental { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Multiserver

Extension container element for Multiserver

Declaration
public Element _Multiserver { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Name

Extension container element for Name

Declaration
public Element _Name { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Publisher

Extension container element for Publisher

Declaration
public Element _Publisher { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Requirements

Extension container element for Requirements

Declaration
public Element _Requirements { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Status

Extension container element for Status

Declaration
public Element _Status { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Url

Extension container element for Url

Declaration
public Element _Url { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Version

Extension container element for Version

Declaration
public Element _Version { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

Contact

Contacts to assist a user in finding and communicating with the publisher.

Declaration
public List<TestScriptContact> Contact { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<TestScriptContact>
| Improve this Doc View Source

Copyright

A copyright statement relating to the Test Script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.

Declaration
public string Copyright { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Date

The date this version of the test tcript was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the test cases change.

Declaration
public string Date { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Description

A free text natural language description of the TestScript and its use.

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Experimental

Allows filtering of TestScripts that are appropriate for use vs. not.

Declaration
public bool? Experimental { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

Fixture

Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.

Declaration
public List<TestScriptFixture> Fixture { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<TestScriptFixture>
| Improve this Doc View Source

Identifier

Identifier for the TestScript assigned for external purposes outside the context of FHIR.

Declaration
public Identifier Identifier { get; set; }
Property Value
Type Description
Identifier
| Improve this Doc View Source

Metadata

The required capability must exist and are assumed to function correctly on the FHIR server being tested.

Declaration
public TestScriptMetadata Metadata { get; set; }
Property Value
Type Description
TestScriptMetadata
| Improve this Doc View Source

Multiserver

If the tests apply to more than one FHIR server (e.g. cross-server interoperability tests) then multiserver=true. Defaults to false if value is unspecified.

Declaration
public bool? Multiserver { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

Name

A free text natural language name identifying the TestScript.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Profile

Reference to the profile to be used for validation.

Declaration
public List<Reference> Profile { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<Reference>
| Improve this Doc View Source

Publisher

Helps establish the "authority/credibility" of the Test Script. May also allow for contact.

Declaration
public string Publisher { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Requirements

Explains why this Test Script is needed and why it's been constrained as it has.

Declaration
public string Requirements { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ResourceType

Resource Type Name

Declaration
public override string ResourceType { get; }
Property Value
Type Description
System.String
Overrides
Resource.ResourceType
| Improve this Doc View Source

Setup

A series of required setup operations before tests are executed.

Declaration
public TestScriptSetup Setup { get; set; }
Property Value
Type Description
TestScriptSetup
| Improve this Doc View Source

Status

Allows filtering of TestScripts that are appropriate for use vs. not.

Declaration
public string Status { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Teardown

A series of operations required to clean up after the all the tests are executed (successfully or otherwise).

Declaration
public TestScriptTeardown Teardown { get; set; }
Property Value
Type Description
TestScriptTeardown
| Improve this Doc View Source

Test

A test in this script.

Declaration
public List<TestScriptTest> Test { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<TestScriptTest>
| Improve this Doc View Source

Url

An absolute URL that is used to identify this Test Script. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Test Script is (or will be) published.

Declaration
public string Url { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

UseContext

Assist in searching for appropriate content.

Declaration
public List<CodeableConcept> UseContext { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<CodeableConcept>
| Improve this Doc View Source

Variable

Variable is set based either on element value in response body or on header field value in the response headers.

Declaration
public List<TestScriptVariable> Variable { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<TestScriptVariable>
| Improve this Doc View Source

Version

There may be multiple resource versions of the TestScript that have this same identifier. The resource version id will change for technical reasons, whereas the stated version number needs to be under the author's control.

Declaration
public string Version { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

DeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)

Deserialize a JSON object

Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
| Improve this Doc View Source

DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)

Deserialize a JSON property

Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
System.String propertyName
| Improve this Doc View Source

SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)

Serialize to a JSON object

Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
Type Name Description
Utf8JsonWriter writer
JsonSerializerOptions options
System.Boolean includeStartObject

Implements

IFhirJsonSerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX