Skip to main content

HS.FHIR.DTL.vR4.Model.Element.TestScript.setup.action.assert

class HS.FHIR.DTL.vR4.Model.Element.TestScript.setup.action.assert extends HS.FHIR.DTL.vR4.Model.Base.BackboneElement

The assertion to perform.

Property Inventory

Parameters

parameter ELEMENTQUALIFIED = 1;
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.setup.action.assert;
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 XMLPROJECTION = ELEMENT;
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.setup.action.assert;
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.

Properties

property compareToSourceExpression as %String (MAXLEN = 1000000, XMLNAME = "compareToSourceExpression", XMLPROJECTION = "ATTRIBUTE");
string

The FHIRPath expression to evaluate against the source fixture.

Property methods: compareToSourceExpressionDisplayToLogical(), compareToSourceExpressionGet(), compareToSourceExpressionIsValid(), compareToSourceExpressionLogicalToDisplay(), compareToSourceExpressionLogicalToOdbc(), compareToSourceExpressionNormalize(), compareToSourceExpressionSet()
property compareToSourceId as %String (MAXLEN = 1000000, XMLNAME = "compareToSourceId", XMLPROJECTION = "ATTRIBUTE");
string

Id of the source fixture to be evaluated.

Property methods: compareToSourceIdDisplayToLogical(), compareToSourceIdGet(), compareToSourceIdIsValid(), compareToSourceIdLogicalToDisplay(), compareToSourceIdLogicalToOdbc(), compareToSourceIdNormalize(), compareToSourceIdSet()
property compareToSourcePath as %String (MAXLEN = 1000000, XMLNAME = "compareToSourcePath", XMLPROJECTION = "ATTRIBUTE");
string

XPath or JSONPath expression to evaluate against the source fixture.

Property methods: compareToSourcePathDisplayToLogical(), compareToSourcePathGet(), compareToSourcePathIsValid(), compareToSourcePathLogicalToDisplay(), compareToSourcePathLogicalToOdbc(), compareToSourcePathNormalize(), compareToSourcePathSet()
property contentType as %String (MAXLEN = 1000000, XMLNAME = "contentType", XMLPROJECTION = "ATTRIBUTE");
code

Mime type to compare against the 'Content-Type' header.

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

Property methods: contentTypeDisplayToLogical(), contentTypeGet(), contentTypeIsValid(), contentTypeLogicalToDisplay(), contentTypeLogicalToOdbc(), contentTypeNormalize(), contentTypeSet()
property description as %String (MAXLEN = 1000000, XMLNAME = "description", XMLPROJECTION = "ATTRIBUTE");
string

Tracking/reporting assertion description.

Property methods: descriptionDisplayToLogical(), descriptionGet(), descriptionIsValid(), descriptionLogicalToDisplay(), descriptionLogicalToOdbc(), descriptionNormalize(), descriptionSet()
property direction as %String (MAXLEN = 1000000, XMLNAME = "direction", XMLPROJECTION = "ATTRIBUTE");
code

response | request

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

Property methods: directionDisplayToLogical(), directionGet(), directionIsValid(), directionLogicalToDisplay(), directionLogicalToOdbc(), directionNormalize(), directionSet()
property expression as %String (MAXLEN = 1000000, XMLNAME = "expression", XMLPROJECTION = "ATTRIBUTE");
string

The FHIRPath expression to be evaluated.

Property methods: expressionDisplayToLogical(), expressionGet(), expressionIsValid(), expressionLogicalToDisplay(), expressionLogicalToOdbc(), expressionNormalize(), expressionSet()
property headerField as %String (MAXLEN = 1000000, XMLNAME = "headerField", XMLPROJECTION = "ATTRIBUTE");
string

HTTP header field name.

Property methods: headerFieldDisplayToLogical(), headerFieldGet(), headerFieldIsValid(), headerFieldLogicalToDisplay(), headerFieldLogicalToOdbc(), headerFieldNormalize(), headerFieldSet()
property label as %String (MAXLEN = 1000000, XMLNAME = "label", XMLPROJECTION = "ATTRIBUTE");
string

Tracking/logging assertion label.

Property methods: labelDisplayToLogical(), labelGet(), labelIsValid(), labelLogicalToDisplay(), labelLogicalToOdbc(), labelNormalize(), labelSet()
property minimumId as %String (MAXLEN = 1000000, XMLNAME = "minimumId", XMLPROJECTION = "ATTRIBUTE");
string

Fixture Id of minimum content resource.

Property methods: minimumIdDisplayToLogical(), minimumIdGet(), minimumIdIsValid(), minimumIdLogicalToDisplay(), minimumIdLogicalToOdbc(), minimumIdNormalize(), minimumIdSet()
boolean

Perform validation on navigation links?

Property methods: navigationLinksDisplayToLogical(), navigationLinksGet(), navigationLinksIsValid(), navigationLinksLogicalToDisplay(), navigationLinksLogicalToXSD(), navigationLinksNormalize(), navigationLinksSet(), navigationLinksXSDToLogical()
property operator as %String (MAXLEN = 1000000, XMLNAME = "operator", XMLPROJECTION = "ATTRIBUTE");
code

equals | notEquals | in | notIn | greaterThan | lessThan | empty | notEmpty | contains | notContains | eval

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

Property methods: operatorDisplayToLogical(), operatorGet(), operatorIsValid(), operatorLogicalToDisplay(), operatorLogicalToOdbc(), operatorNormalize(), operatorSet()
property path as %String (MAXLEN = 1000000, XMLNAME = "path", XMLPROJECTION = "ATTRIBUTE");
string

XPath or JSONPath expression.

Property methods: pathDisplayToLogical(), pathGet(), pathIsValid(), pathLogicalToDisplay(), pathLogicalToOdbc(), pathNormalize(), pathSet()
property requestMethod as %String (MAXLEN = 1000000, XMLNAME = "requestMethod", XMLPROJECTION = "ATTRIBUTE");
code

delete | get | options | patch | post | put | head

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

Property methods: requestMethodDisplayToLogical(), requestMethodGet(), requestMethodIsValid(), requestMethodLogicalToDisplay(), requestMethodLogicalToOdbc(), requestMethodNormalize(), requestMethodSet()
property requestURL as %String (MAXLEN = 1000000, XMLNAME = "requestURL", XMLPROJECTION = "ATTRIBUTE");
string

Request URL comparison value.

Property methods: requestURLDisplayToLogical(), requestURLGet(), requestURLIsValid(), requestURLLogicalToDisplay(), requestURLLogicalToOdbc(), requestURLNormalize(), requestURLSet()
property resource as %String (MAXLEN = 1000000, XMLNAME = "resource", XMLPROJECTION = "ATTRIBUTE");
code

Resource type.

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

Property methods: resourceDisplayToLogical(), resourceGet(), resourceIsValid(), resourceLogicalToDisplay(), resourceLogicalToOdbc(), resourceNormalize(), resourceSet()
property response as %String (MAXLEN = 1000000, XMLNAME = "response", XMLPROJECTION = "ATTRIBUTE");
code

okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable

assert-response-code-types|4.0.1 is the REQUIRED FHIR4 ValueSet for codes; you may NOT extend assert-response-code-types|4.0.1 and you may NOT use codes from other ValueSets.

Property methods: responseDisplayToLogical(), responseGet(), responseIsValid(), responseLogicalToDisplay(), responseLogicalToOdbc(), responseNormalize(), responseSet()
property responseCode as %String (MAXLEN = 1000000, XMLNAME = "responseCode", XMLPROJECTION = "ATTRIBUTE");
string

HTTP response code to test.

Property methods: responseCodeDisplayToLogical(), responseCodeGet(), responseCodeIsValid(), responseCodeLogicalToDisplay(), responseCodeLogicalToOdbc(), responseCodeNormalize(), responseCodeSet()
property sourceId as %String (MAXLEN = 1000000, XMLNAME = "sourceId", XMLPROJECTION = "ATTRIBUTE");
id

Fixture Id of source expression or headerField.

Property methods: sourceIdDisplayToLogical(), sourceIdGet(), sourceIdIsValid(), sourceIdLogicalToDisplay(), sourceIdLogicalToOdbc(), sourceIdNormalize(), sourceIdSet()
property validateProfileId as %String (MAXLEN = 1000000, XMLNAME = "validateProfileId", XMLPROJECTION = "ATTRIBUTE");
id

Profile Id of validation profile reference.

Property methods: validateProfileIdDisplayToLogical(), validateProfileIdGet(), validateProfileIdIsValid(), validateProfileIdLogicalToDisplay(), validateProfileIdLogicalToOdbc(), validateProfileIdNormalize(), validateProfileIdSet()
property value as %String (MAXLEN = 1000000, XMLNAME = "value", XMLPROJECTION = "ATTRIBUTE");
string

The value to compare to.

Property methods: valueDisplayToLogical(), valueGet(), valueIsValid(), valueLogicalToDisplay(), valueLogicalToOdbc(), valueNormalize(), valueSet()
property warningOnly as %Boolean (XMLNAME = "warningOnly", XMLPROJECTION = "ATTRIBUTE") [ Required ];
boolean

Will this assert produce a warning only on error?

Property methods: warningOnlyDisplayToLogical(), warningOnlyGet(), warningOnlyIsValid(), warningOnlyLogicalToDisplay(), warningOnlyLogicalToXSD(), warningOnlyNormalize(), warningOnlySet(), warningOnlyXSDToLogical()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab