Class TTestScriptAssert

Unit

Declaration

type TTestScriptAssert = class(TBackboneElement)

Description

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

Hierarchy

Overview

Methods

Public constructor Create; override;

Properties

Public property label_ : string read Getlabel_ write Setlabel_;
Public property label_Element : Tstring read Getlabel_Element write Setlabel_Element;
Public property description : string read Getdescription write Setdescription;
Public property descriptionElement : Tstring read GetdescriptionElement write SetdescriptionElement;
Public property direction : string read Getdirection write Setdirection;
Public property directionElement : TAssertionDirectionType read GetdirectionElement write SetdirectionElement;
Public property compareToSourceId : string read GetcompareToSourceId write SetcompareToSourceId;
Public property compareToSourceIdElement : Tstring read GetcompareToSourceIdElement write SetcompareToSourceIdElement;
Public property compareToSourceExpression : string read GetcompareToSourceExpression write SetcompareToSourceExpression;
Public property compareToSourceExpressionElement : Tstring read GetcompareToSourceExpressionElement write SetcompareToSourceExpressionElement;
Public property compareToSourcePath : string read GetcompareToSourcePath write SetcompareToSourcePath;
Public property compareToSourcePathElement : Tstring read GetcompareToSourcePathElement write SetcompareToSourcePathElement;
Public property contentType : string read GetcontentType write SetcontentType;
Public property contentTypeElement : Tcode read GetcontentTypeElement write SetcontentTypeElement;
Public property defaultManualCompletion : string read GetdefaultManualCompletion write SetdefaultManualCompletion;
Public property defaultManualCompletionElement : TAssertionManualCompletionType read GetdefaultManualCompletionElement write SetdefaultManualCompletionElement;
Public property expression : string read Getexpression write Setexpression;
Public property expressionElement : Tstring read GetexpressionElement write SetexpressionElement;
Public property headerField : string read GetheaderField write SetheaderField;
Public property headerFieldElement : Tstring read GetheaderFieldElement write SetheaderFieldElement;
Public property minimumId : string read GetminimumId write SetminimumId;
Public property minimumIdElement : Tstring read GetminimumIdElement write SetminimumIdElement;
Public property navigationLinks : boolean read GetnavigationLinks write SetnavigationLinks;
Public property navigationLinksElement : Tboolean read GetnavigationLinksElement write SetnavigationLinksElement;
Public property operator_ : string read Getoperator_ write Setoperator_;
Public property operator_Element : TAssertionOperatorType read Getoperator_Element write Setoperator_Element;
Public property path : string read Getpath write Setpath;
Public property pathElement : Tstring read GetpathElement write SetpathElement;
Public property requestMethod : string read GetrequestMethod write SetrequestMethod;
Public property requestMethodElement : TTestScriptRequestMethodCode read GetrequestMethodElement write SetrequestMethodElement;
Public property requestURL : string read GetrequestURL write SetrequestURL;
Public property requestURLElement : Tstring read GetrequestURLElement write SetrequestURLElement;
Public property resource : string read Getresource write Setresource;
Public property resourceElement : Turi read GetresourceElement write SetresourceElement;
Public property response : string read Getresponse write Setresponse;
Public property responseElement : TAssertionResponseTypes read GetresponseElement write SetresponseElement;
Public property responseCode : string read GetresponseCode write SetresponseCode;
Public property responseCodeElement : Tstring read GetresponseCodeElement write SetresponseCodeElement;
Public property sourceId : string read GetsourceId write SetsourceId;
Public property sourceIdElement : Tid read GetsourceIdElement write SetsourceIdElement;
Public property stopTestOnFail : boolean read GetstopTestOnFail write SetstopTestOnFail;
Public property stopTestOnFailElement : Tboolean read GetstopTestOnFailElement write SetstopTestOnFailElement;
Public property validateProfileId : string read GetvalidateProfileId write SetvalidateProfileId;
Public property validateProfileIdElement : Tid read GetvalidateProfileIdElement write SetvalidateProfileIdElement;
Public property value : string read Getvalue write Setvalue;
Public property valueElement : Tstring read GetvalueElement write SetvalueElement;
Public property warningOnly : boolean read GetwarningOnly write SetwarningOnly;
Public property warningOnlyElement : Tboolean read GetwarningOnlyElement write SetwarningOnlyElement;
Public property requirement : TTestScriptRequirementArray read GetrequirementArray;

Description

Methods

Public constructor Create; override;
 

Properties

Public property label_ : string read Getlabel_ write Setlabel_;

The label would be used for tracking/logging purposes by test engines.

Public property label_Element : Tstring read Getlabel_Element write Setlabel_Element;
 
Public property description : string read Getdescription write Setdescription;

The description would be used by test engines for tracking and reporting purposes.

Public property descriptionElement : Tstring read GetdescriptionElement write SetdescriptionElement;
 
Public property direction : string read Getdirection write Setdirection;

The direction to use for the assertion.

Public property directionElement : TAssertionDirectionType read GetdirectionElement write SetdirectionElement;
 
Public property compareToSourceId : string read GetcompareToSourceId write SetcompareToSourceId;

Id of the source fixture used as the contents to be evaluated by either the "source/expression" or "sourceId/path" definition.

Public property compareToSourceIdElement : Tstring read GetcompareToSourceIdElement write SetcompareToSourceIdElement;
 
Public property compareToSourceExpression : string read GetcompareToSourceExpression write SetcompareToSourceExpression;

The FHIRPath expression for a specific value to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.

Public property compareToSourceExpressionElement : Tstring read GetcompareToSourceExpressionElement write SetcompareToSourceExpressionElement;
 
Public property compareToSourcePath : string read GetcompareToSourcePath write SetcompareToSourcePath;

XPath or JSONPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.

Public property compareToSourcePathElement : Tstring read GetcompareToSourcePathElement write SetcompareToSourcePathElement;
 
Public property contentType : string read GetcontentType write SetcontentType;

The mime-type contents to compare against the request or response message 'Content-Type' header.

Public property contentTypeElement : Tcode read GetcontentTypeElement write SetcontentTypeElement;
 
Public property defaultManualCompletion : string read GetdefaultManualCompletion write SetdefaultManualCompletion;

The default manual completion outcome applied to this assertion.

Public property defaultManualCompletionElement : TAssertionManualCompletionType read GetdefaultManualCompletionElement write SetdefaultManualCompletionElement;
 
Public property expression : string read Getexpression write Setexpression;

The FHIRPath expression to be evaluated against the request or response message contents - HTTP headers and payload.

Public property expressionElement : Tstring read GetexpressionElement write SetexpressionElement;
 
Public property headerField : string read GetheaderField write SetheaderField;

The HTTP header field name e.g. 'Location'.

Public property headerFieldElement : Tstring read GetheaderFieldElement write SetheaderFieldElement;
 
Public property minimumId : string read GetminimumId write SetminimumId;

The ID of a fixture. Asserts that the response contains at a minimum the fixture specified by minimumId.

Public property minimumIdElement : Tstring read GetminimumIdElement write SetminimumIdElement;
 
Public property navigationLinks : boolean read GetnavigationLinks write SetnavigationLinks;

Whether or not the test execution performs validation on the bundle navigation links.

Public property navigationLinksElement : Tboolean read GetnavigationLinksElement write SetnavigationLinksElement;
 
Public property operator_ : string read Getoperator_ write Setoperator_;

The operator type defines the conditional behavior of the assert.

Public property operator_Element : TAssertionOperatorType read Getoperator_Element write Setoperator_Element;
 
Public property path : string read Getpath write Setpath;

The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.

Public property pathElement : Tstring read GetpathElement write SetpathElement;
 
Public property requestMethod : string read GetrequestMethod write SetrequestMethod;

The request method or HTTP operation code to compare against that used by the client system under test.

Public property requestMethodElement : TTestScriptRequestMethodCode read GetrequestMethodElement write SetrequestMethodElement;
 
Public property requestURL : string read GetrequestURL write SetrequestURL;

The value to use in a comparison against the request URL path string.

Public property requestURLElement : Tstring read GetrequestURLElement write SetrequestURLElement;
 
Public property resource : string read Getresource write Setresource;

The type of the resource. See the [resource list](resourcelist.html).

Public property resourceElement : Turi read GetresourceElement write SetresourceElement;
 
Public property response : string read Getresponse write Setresponse;

continue | switchingProtocols | okay | created | accepted | nonAuthoritativeInformation | noContent | resetContent | partialContent | multipleChoices | movedPermanently | found | seeOther | notModified | useProxy | temporaryRedirect | permanentRedirect | badRequest | unauthorized | paymentRequired | forbidden | notFound | methodNotAllowed | notAcceptable | proxyAuthenticationRequired | requestTimeout | conflict | gone | lengthRequired | preconditionFailed | contentTooLarge | uriTooLong | unsupportedMediaType | rangeNotSatisfiable | expectationFailed | misdirectedRequest | unprocessableContent | upgradeRequired | internalServerError | notImplemented | badGateway | serviceUnavailable | gatewayTimeout | httpVersionNotSupported.

Public property responseElement : TAssertionResponseTypes read GetresponseElement write SetresponseElement;
 
Public property responseCode : string read GetresponseCode write SetresponseCode;

The value of the HTTP response code to be tested.

Public property responseCodeElement : Tstring read GetresponseCodeElement write SetresponseCodeElement;
 
Public property sourceId : string read GetsourceId write SetsourceId;

Fixture to evaluate the XPath/JSONPath expression or the headerField against.

Public property sourceIdElement : Tid read GetsourceIdElement write SetsourceIdElement;
 
Public property stopTestOnFail : boolean read GetstopTestOnFail write SetstopTestOnFail;

Whether or not the current test execution will stop on failure for this assert.

Public property stopTestOnFailElement : Tboolean read GetstopTestOnFailElement write SetstopTestOnFailElement;
 
Public property validateProfileId : string read GetvalidateProfileId write SetvalidateProfileId;

The ID of the Profile to validate against.

Public property validateProfileIdElement : Tid read GetvalidateProfileIdElement write SetvalidateProfileIdElement;
 
Public property value : string read Getvalue write Setvalue;

The value to compare to.

Public property valueElement : Tstring read GetvalueElement write SetvalueElement;
 
Public property warningOnly : boolean read GetwarningOnly write SetwarningOnly;

Whether or not the test execution will produce a warning only on error for this assert.

Public property warningOnlyElement : Tboolean read GetwarningOnlyElement write SetwarningOnlyElement;
 
Public property requirement : TTestScriptRequirementArray read GetrequirementArray;

Links or references providing traceability to the testing requirements for this assert.


Generated by PasDoc 0.15.0.