TestScript

open class TestScript: DomainResource

Describes a set of tests.

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

  • Describes a set of tests.

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

    Declaration

    Swift

    override open class var resourceType: String
  • Contact details for the publisher.

    Declaration

    Swift

    public var contact: [ContactDetail]?
  • Use and/or publishing restrictions.

    Declaration

    Swift

    public var copyright: FHIRString?
  • Date this was last changed.

    Declaration

    Swift

    public var date: DateTime?
  • Natural language description of the test script.

    Declaration

    Swift

    public var description_fhir: FHIRString?
  • An abstract server representing a destination or receiver in a message exchange.

    Declaration

    Swift

    public var destination: [TestScriptDestination]?
  • For testing purposes, not real usage.

    Declaration

    Swift

    public var experimental: FHIRBool?
  • Fixture in the test script - by reference (uri).

    Declaration

    Swift

    public var fixture: [TestScriptFixture]?
  • Additional identifier for the test script.

    Declaration

    Swift

    public var identifier: Identifier?
  • Intended jurisdiction for test script (if applicable).

    Declaration

    Swift

    public var jurisdiction: [CodeableConcept]?
  • Required capability that is assumed to function correctly on the FHIR server being tested.

    Declaration

    Swift

    public var metadata: TestScriptMetadata?
  • Name for this test script (computer friendly).

    Declaration

    Swift

    public var name: FHIRString?
  • An abstract server representing a client or sender in a message exchange.

    Declaration

    Swift

    public var origin: [TestScriptOrigin]?
  • Reference of the validation profile.

    Declaration

    Swift

    public var profile: [Reference]?
  • Name of the publisher (organization or individual).

    Declaration

    Swift

    public var publisher: FHIRString?
  • Why this test script is defined.

    Declaration

    Swift

    public var purpose: FHIRString?
  • Assert rule used within the test script.

    Declaration

    Swift

    public var rule: [TestScriptRule]?
  • Assert ruleset used within the test script.

    Declaration

    Swift

    public var ruleset: [TestScriptRuleset]?
  • A series of required setup operations before tests are executed.

    Declaration

    Swift

    public var setup: TestScriptSetup?
  • The status of this test script. Enables tracking the life-cycle of the content.

    Declaration

    Swift

    public var status: PublicationStatus?
  • A series of required clean up steps.

    Declaration

    Swift

    public var teardown: TestScriptTeardown?
  • A test in this script.

    Declaration

    Swift

    public var test: [TestScriptTest]?
  • Name for this test script (human friendly).

    Declaration

    Swift

    public var title: FHIRString?
  • url

    Logical URI to reference this test script (globally unique).

    Declaration

    Swift

    public var url: FHIRURL?
  • Context the content is intended to support.

    Declaration

    Swift

    public var useContext: [UsageContext]?
  • Placeholder for evaluated elements.

    Declaration

    Swift

    public var variable: [TestScriptVariable]?
  • Business version of the test script.

    Declaration

    Swift

    public var version: FHIRString?
  • Convenience initializer, taking all required properties as arguments.

    Declaration

    Swift

    public convenience init(name: FHIRString, status: PublicationStatus, url: FHIRURL)
  • Convenience initializer, taking all required properties as arguments.

    Declaration

    Swift

    override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext)
  • Undocumented

    Declaration

    Swift

    open class TestScript: DomainResource