Skip to main content


class HS.FHIR.DTL.vDSTU2.Model.Resource.TestScript extends HS.FHIR.DTL.vDSTU2.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 (XMLNAME = "contact", XMLPROJECTION = "ELEMENT");

Contact details of 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 for this version of the TestScript.

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

Natural language description of the TestScript.

Property methods: descriptionDisplayToLogical(), descriptionGet(), descriptionIsValid(), descriptionLogicalToDisplay(), descriptionLogicalToOdbc(), descriptionNormalize(), descriptionSet()
property experimental as %Boolean (XMLNAME = "experimental", XMLPROJECTION = "ATTRIBUTE");

If for testing purposes, not real usage.

Property methods: experimentalDisplayToLogical(), experimentalGet(), experimentalIsValid(), experimentalLogicalToDisplay(), experimentalLogicalToXSD(), experimentalNormalize(), experimentalSet(), experimentalXSDToLogical()
property fixture as list of HS.FHIR.DTL.vDSTU2.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.vDSTU2.Model.Datatype.Identifier (XMLNAME = "identifier", XMLPROJECTION = "ELEMENT");

External identifier.

Property methods: identifierGet(), identifierGetSwizzled(), identifierIsValid(), identifierNewObject(), identifierSet()
property metadata as HS.FHIR.DTL.vDSTU2.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 multiserver as %Boolean (XMLNAME = "multiserver", XMLPROJECTION = "ATTRIBUTE");

Whether or not the tests apply to more than one FHIR server.

Property methods: multiserverDisplayToLogical(), multiserverGet(), multiserverIsValid(), multiserverLogicalToDisplay(), multiserverLogicalToXSD(), multiserverNormalize(), multiserverSet(), multiserverXSDToLogical()
property name as %String (MAXLEN = 1000000, XMLNAME = "name", XMLPROJECTION = "ATTRIBUTE") [ Required ];

Informal name for this TestScript.

Property methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()
property profile as list of HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "profile", XMLPROJECTION = "ELEMENT");

Reference of the validation profile.

Any FHIR2 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 requirements as %String (MAXLEN = 1000000, XMLNAME = "requirements", XMLPROJECTION = "ATTRIBUTE");

Scope and Usage this Test Script is for.

Property methods: requirementsDisplayToLogical(), requirementsGet(), requirementsIsValid(), requirementsLogicalToDisplay(), requirementsLogicalToOdbc(), requirementsNormalize(), requirementsSet()
property setup as HS.FHIR.DTL.vDSTU2.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

conformance-resource-status is the REQUIRED FHIR2 ValueSet for codes; you may NOT extend conformance-resource-status and you may NOT use codes from other ValueSets.

Property methods: statusDisplayToLogical(), statusGet(), statusIsValid(), statusLogicalToDisplay(), statusLogicalToOdbc(), statusNormalize(), statusSet()
property teardown as HS.FHIR.DTL.vDSTU2.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.vDSTU2.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 url as %String (MAXLEN = 1000000, XMLNAME = "url", XMLPROJECTION = "ATTRIBUTE") [ Required ];

Absolute URL used to reference this TestScript.

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

Content intends to support these contexts.

use-context is the REQUIRED FHIR2 ValueSet for codes, but if you need to express meanings not found in use-context, you may formally EXTEND use-context to add codes to it.

Property methods: useContextBuildValueArray(), useContextCollectionToDisplay(), useContextCollectionToOdbc(), useContextDisplayToCollection(), useContextGet(), useContextGetObject(), useContextGetObjectId(), useContextGetSwizzled(), useContextIsValid(), useContextOdbcToCollection(), useContextSet(), useContextSetObject(), useContextSetObjectId()
property variable as list of HS.FHIR.DTL.vDSTU2.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");

Logical id for this version of the TestScript.

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

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab