Skip to main content


class HS.FHIR.DTL.vR4.Model.Resource.TestScript extends HS.FHIR.DTL.vR4.Model.Base.DomainResource

Describes a set of tests.

Property Inventory


Inherited description: ELEMENTQUALIFIED controls the format of exported XML. The ELEMENTQUALIFIED specification should be based on the elementFormDefault attribute of the schema that defines the type. To maintain compatibility, ELEMENTQUALIFIED will default to 1 (true) for literal format export and will default to 0 (false) for encoded or encoded12 format export. These were the values always previously assumed for the elementFormDefault attribute.

NOTE: Direct use of XMLExport method does not support the ELEMENTQUALIFIED. The export must be done using %XML.Writer or SOAP support.

parameter XMLNAME = TestScript;
Inherited description: This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.
parameter XMLSEQUENCE = 1;
Inherited description: If the XMLSEQUENCE = 1, then the order of the XML elements must match the order of the class properties. This allows us to deal with XML where the same field appears multiple times and is distinguished by the order.
parameter XMLTYPE = TestScript;
Inherited description: This parameter provides the default XMLTYPE for the class. If it is empty then the class name will be used to construct a default XML type.

The default XMLTYPE is used when naming and referencing this type in a schema and the schema context did not provide an XML type name.


property contact as list of HS.FHIR.DTL.vR4.Model.Datatype.ContactDetail (XMLNAME = "contact", XMLPROJECTION = "ELEMENT");

Contact details for the publisher.

Property methods: contactBuildValueArray(), contactCollectionToDisplay(), contactCollectionToOdbc(), contactDisplayToCollection(), contactGet(), contactGetObject(), contactGetObjectId(), contactGetSwizzled(), contactIsValid(), contactOdbcToCollection(), contactSet(), contactSetObject(), contactSetObjectId()

Use and/or publishing restrictions.

Property methods: copyrightDisplayToLogical(), copyrightGet(), copyrightIsValid(), copyrightLogicalToDisplay(), copyrightLogicalToOdbc(), copyrightNormalize(), copyrightSet()
property date as %String (MAXLEN = 1000000, XMLNAME = "date", XMLPROJECTION = "ATTRIBUTE");

Date last changed.

Property methods: dateDisplayToLogical(), dateGet(), dateIsValid(), dateLogicalToDisplay(), dateLogicalToOdbc(), dateNormalize(), dateSet()
property description as %String (MAXLEN = 1000000, XMLNAME = "description", XMLPROJECTION = "ATTRIBUTE");

Natural language description of the test script.

Property methods: descriptionDisplayToLogical(), descriptionGet(), descriptionIsValid(), descriptionLogicalToDisplay(), descriptionLogicalToOdbc(), descriptionNormalize(), descriptionSet()
property destination as list of HS.FHIR.DTL.vR4.Model.Element.TestScript.destination (XMLNAME = "destination", XMLPROJECTION = "ELEMENT");

An abstract server representing a destination or receiver in a message exchange.

Property methods: destinationBuildValueArray(), destinationCollectionToDisplay(), destinationCollectionToOdbc(), destinationDisplayToCollection(), destinationGet(), destinationGetObject(), destinationGetObjectId(), destinationGetSwizzled(), destinationIsValid(), destinationOdbcToCollection(), destinationSet(), destinationSetObject(), destinationSetObjectId()
property experimental as %Boolean (XMLNAME = "experimental", XMLPROJECTION = "ATTRIBUTE");

For testing purposes, not real usage.

Property methods: experimentalDisplayToLogical(), experimentalGet(), experimentalIsValid(), experimentalLogicalToDisplay(), experimentalLogicalToXSD(), experimentalNormalize(), experimentalSet(), experimentalXSDToLogical()
property fixture as list of HS.FHIR.DTL.vR4.Model.Element.TestScript.fixture (XMLNAME = "fixture", XMLPROJECTION = "ELEMENT");

Fixture in the test script - by reference (uri)

Property methods: fixtureBuildValueArray(), fixtureCollectionToDisplay(), fixtureCollectionToOdbc(), fixtureDisplayToCollection(), fixtureGet(), fixtureGetObject(), fixtureGetObjectId(), fixtureGetSwizzled(), fixtureIsValid(), fixtureOdbcToCollection(), fixtureSet(), fixtureSetObject(), fixtureSetObjectId()
property identifier as HS.FHIR.DTL.vR4.Model.Datatype.Identifier (XMLNAME = "identifier", XMLPROJECTION = "ELEMENT");

Additional identifier for the test script.

Property methods: identifierGet(), identifierGetSwizzled(), identifierIsValid(), identifierNewObject(), identifierSet()
property jurisdiction as list of HS.FHIR.DTL.vR4.Model.Datatype.CodeableConcept (XMLNAME = "jurisdiction", XMLPROJECTION = "ELEMENT");

Intended jurisdiction for test script (if applicable)

jurisdiction is the REQUIRED FHIR4 ValueSet for codes, but if you need to express meanings not found in jurisdiction, you may formally EXTEND jurisdiction to add codes to it.

Property methods: jurisdictionBuildValueArray(), jurisdictionCollectionToDisplay(), jurisdictionCollectionToOdbc(), jurisdictionDisplayToCollection(), jurisdictionGet(), jurisdictionGetObject(), jurisdictionGetObjectId(), jurisdictionGetSwizzled(), jurisdictionIsValid(), jurisdictionOdbcToCollection(), jurisdictionSet(), jurisdictionSetObject(), jurisdictionSetObjectId()
property metadata as HS.FHIR.DTL.vR4.Model.Element.TestScript.metadata (XMLNAME = "metadata", XMLPROJECTION = "ELEMENT");

Required capability that is assumed to function correctly on the FHIR server being tested.

Property methods: metadataGet(), metadataGetSwizzled(), metadataIsValid(), metadataNewObject(), metadataSet()
property name as %String (MAXLEN = 1000000, XMLNAME = "name", XMLPROJECTION = "ATTRIBUTE") [ Required ];

Name for this test script (computer friendly)

Property methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()
property origin as list of HS.FHIR.DTL.vR4.Model.Element.TestScript.origin (XMLNAME = "origin", XMLPROJECTION = "ELEMENT");

An abstract server representing a client or sender in a message exchange.

Property methods: originBuildValueArray(), originCollectionToDisplay(), originCollectionToOdbc(), originDisplayToCollection(), originGet(), originGetObject(), originGetObjectId(), originGetSwizzled(), originIsValid(), originOdbcToCollection(), originSet(), originSetObject(), originSetObjectId()
property profile as list of HS.FHIR.DTL.vR4.Model.Base.Reference (XMLNAME = "profile", XMLPROJECTION = "ELEMENT");

Reference of the validation profile.

Any FHIR4 Resource may be indicated by this Reference

Property methods: profileBuildValueArray(), profileCollectionToDisplay(), profileCollectionToOdbc(), profileDisplayToCollection(), profileGet(), profileGetObject(), profileGetObjectId(), profileGetSwizzled(), profileIsValid(), profileOdbcToCollection(), profileSet(), profileSetObject(), profileSetObjectId()
property publisher as %String (MAXLEN = 1000000, XMLNAME = "publisher", XMLPROJECTION = "ATTRIBUTE");

Name of the publisher (organization or individual)

Property methods: publisherDisplayToLogical(), publisherGet(), publisherIsValid(), publisherLogicalToDisplay(), publisherLogicalToOdbc(), publisherNormalize(), publisherSet()
property purpose as %String (MAXLEN = 1000000, XMLNAME = "purpose", XMLPROJECTION = "ATTRIBUTE");

Why this test script is defined.

Property methods: purposeDisplayToLogical(), purposeGet(), purposeIsValid(), purposeLogicalToDisplay(), purposeLogicalToOdbc(), purposeNormalize(), purposeSet()
property setup as HS.FHIR.DTL.vR4.Model.Element.TestScript.setup (XMLNAME = "setup", XMLPROJECTION = "ELEMENT");

A series of required setup operations before tests are executed.

Property methods: setupGet(), setupGetSwizzled(), setupIsValid(), setupNewObject(), setupSet()
property status as %String (MAXLEN = 1000000, XMLNAME = "status", XMLPROJECTION = "ATTRIBUTE") [ Required ];

draft | active | retired | unknown

publication-status|4.0.1 is the REQUIRED FHIR4 ValueSet for codes; you may NOT extend publication-status|4.0.1 and you may NOT use codes from other ValueSets.

Property methods: statusDisplayToLogical(), statusGet(), statusIsValid(), statusLogicalToDisplay(), statusLogicalToOdbc(), statusNormalize(), statusSet()
property teardown as HS.FHIR.DTL.vR4.Model.Element.TestScript.teardown (XMLNAME = "teardown", XMLPROJECTION = "ELEMENT");

A series of required clean up steps.

Property methods: teardownGet(), teardownGetSwizzled(), teardownIsValid(), teardownNewObject(), teardownSet()
property test as list of HS.FHIR.DTL.vR4.Model.Element.TestScript.test (XMLNAME = "test", XMLPROJECTION = "ELEMENT");

A test in this script.

Property methods: testBuildValueArray(), testCollectionToDisplay(), testCollectionToOdbc(), testDisplayToCollection(), testGet(), testGetObject(), testGetObjectId(), testGetSwizzled(), testIsValid(), testOdbcToCollection(), testSet(), testSetObject(), testSetObjectId()
property title as %String (MAXLEN = 1000000, XMLNAME = "title", XMLPROJECTION = "ATTRIBUTE");

Name for this test script (human friendly)

Property methods: titleDisplayToLogical(), titleGet(), titleIsValid(), titleLogicalToDisplay(), titleLogicalToOdbc(), titleNormalize(), titleSet()
property url as %String (MAXLEN = 1000000, XMLNAME = "url", XMLPROJECTION = "ATTRIBUTE") [ Required ];

Canonical identifier for this test script, represented as a URI (globally unique)

Property methods: urlDisplayToLogical(), urlGet(), urlIsValid(), urlLogicalToDisplay(), urlLogicalToOdbc(), urlNormalize(), urlSet()
property useContext as list of HS.FHIR.DTL.vR4.Model.Datatype.UsageContext (XMLNAME = "useContext", XMLPROJECTION = "ELEMENT");

The context that the content is intended to support.

Property methods: useContextBuildValueArray(), useContextCollectionToDisplay(), useContextCollectionToOdbc(), useContextDisplayToCollection(), useContextGet(), useContextGetObject(), useContextGetObjectId(), useContextGetSwizzled(), useContextIsValid(), useContextOdbcToCollection(), useContextSet(), useContextSetObject(), useContextSetObjectId()
property variable as list of HS.FHIR.DTL.vR4.Model.Element.TestScript.variable (XMLNAME = "variable", XMLPROJECTION = "ELEMENT");

Placeholder for evaluated elements.

Property methods: variableBuildValueArray(), variableCollectionToDisplay(), variableCollectionToOdbc(), variableDisplayToCollection(), variableGet(), variableGetObject(), variableGetObjectId(), variableGetSwizzled(), variableIsValid(), variableOdbcToCollection(), variableSet(), variableSetObject(), variableSetObjectId()
property version as %String (MAXLEN = 1000000, XMLNAME = "version", XMLPROJECTION = "ATTRIBUTE");

Business version of the test script.

Property methods: versionDisplayToLogical(), versionGet(), versionIsValid(), versionLogicalToDisplay(), versionLogicalToOdbc(), versionNormalize(), versionSet()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab