Class TestScript
- java.lang.Object
-
- org.hl7.fhir.r4b.model.Base
-
- org.hl7.fhir.r4b.model.BaseResource
-
- org.hl7.fhir.r4b.model.Resource
-
- org.hl7.fhir.r4b.model.DomainResource
-
- org.hl7.fhir.r4b.model.TestScript
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class TestScript extends DomainResource
A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected List<ContactDetail>contactContact details to assist a user in finding and communicating with the publisher.static ca.uhn.fhir.rest.gclient.TokenClientParamCONTEXTFluent Client search parameter constant for contextstatic ca.uhn.fhir.rest.gclient.QuantityClientParamCONTEXT_QUANTITYFluent Client search parameter constant for context-quantitystatic ca.uhn.fhir.rest.gclient.TokenClientParamCONTEXT_TYPEFluent Client search parameter constant for context-typestatic ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.QuantityClientParam>CONTEXT_TYPE_QUANTITYFluent Client search parameter constant for context-type-quantitystatic ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.TokenClientParam>CONTEXT_TYPE_VALUEFluent Client search parameter constant for context-type-valueprotected MarkdownTypecopyrightA copyright statement relating to the test script and/or its contents.protected DateTimeTypedateThe date (and optionally time) when the test script was published.static ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for dateprotected MarkdownTypedescriptionA free text natural language description of the test script from a consumer's perspective.static ca.uhn.fhir.rest.gclient.StringClientParamDESCRIPTIONFluent Client search parameter constant for descriptionprotected List<TestScript.TestScriptDestinationComponent>destinationAn abstract server used in operations within this test script in the destination element.protected BooleanTypeexperimentalA Boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.protected List<TestScript.TestScriptFixtureComponent>fixtureFixture in the test script - by reference (uri).protected IdentifieridentifierA formal identifier that is used to identify this test script when it is represented in other formats, or referenced in a specification, model, design or an instance.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierprotected List<CodeableConcept>jurisdictionA legal or geographic region in which the test script is intended to be used.static ca.uhn.fhir.rest.gclient.TokenClientParamJURISDICTIONFluent Client search parameter constant for jurisdictionprotected TestScript.TestScriptMetadataComponentmetadataThe required capability must exist and are assumed to function correctly on the FHIR server being tested.protected StringTypenameA natural language name identifying the test script.static ca.uhn.fhir.rest.gclient.StringClientParamNAMEFluent Client search parameter constant for nameprotected List<TestScript.TestScriptOriginComponent>originAn abstract server used in operations within this test script in the origin element.protected List<Reference>profileReference to the profile to be used for validation.protected StringTypepublisherThe name of the organization or individual that published the test script.static ca.uhn.fhir.rest.gclient.StringClientParamPUBLISHERFluent Client search parameter constant for publisherprotected MarkdownTypepurposeExplanation of why this test script is needed and why it has been designed as it has.protected TestScript.TestScriptSetupComponentsetupA series of required setup operations before tests are executed.static StringSP_CONTEXTSearch parameter: contextstatic StringSP_CONTEXT_QUANTITYSearch parameter: context-quantitystatic StringSP_CONTEXT_TYPESearch parameter: context-typestatic StringSP_CONTEXT_TYPE_QUANTITYSearch parameter: context-type-quantitystatic StringSP_CONTEXT_TYPE_VALUESearch parameter: context-type-valuestatic StringSP_DATESearch parameter: datestatic StringSP_DESCRIPTIONSearch parameter: descriptionstatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_JURISDICTIONSearch parameter: jurisdictionstatic StringSP_NAMESearch parameter: namestatic StringSP_PUBLISHERSearch parameter: publisherstatic StringSP_STATUSSearch parameter: statusstatic StringSP_TESTSCRIPT_CAPABILITYSearch parameter: testscript-capabilitystatic StringSP_TITLESearch parameter: titlestatic StringSP_URLSearch parameter: urlstatic StringSP_VERSIONSearch parameter: versionprotected Enumeration<Enumerations.PublicationStatus>statusThe status of this test script.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected TestScript.TestScriptTeardownComponentteardownA series of operations required to clean up after all the tests are executed (successfully or otherwise).protected List<TestScript.TestScriptTestComponent>testA test in this script.static ca.uhn.fhir.rest.gclient.StringClientParamTESTSCRIPT_CAPABILITYFluent Client search parameter constant for testscript-capabilityprotected StringTypetitleA short, descriptive, user-friendly title for the test script.static ca.uhn.fhir.rest.gclient.StringClientParamTITLEFluent Client search parameter constant for titleprotected UriTypeurlAn absolute URI that is used to identify this test script when it is referenced in a specification, model, design or an instance; also called its canonical identifier.static ca.uhn.fhir.rest.gclient.UriClientParamURLFluent Client search parameter constant for urlprotected List<UsageContext>useContextThe content was developed with a focus and intent of supporting the contexts that are listed.protected List<TestScript.TestScriptVariableComponent>variableVariable is set based either on element value in response body or on header field value in the response headers.protected StringTypeversionThe identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance.static ca.uhn.fhir.rest.gclient.TokenClientParamVERSIONFluent Client search parameter constant for version-
Fields inherited from class org.hl7.fhir.r4b.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
-
Fields inherited from class org.hl7.fhir.r4b.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description TestScript()ConstructorTestScript(String url, String name, Enumerations.PublicationStatus status)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4b.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4b.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r4b.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4b.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
url
protected UriType url
An absolute URI that is used to identify this test script when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this test script is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test script is stored on different servers.
-
identifier
protected Identifier identifier
A formal identifier that is used to identify this test script when it is represented in other formats, or referenced in a specification, model, design or an instance.
-
version
protected StringType version
The identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test script author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.
-
name
protected StringType name
A natural language name identifying the test script. This name should be usable as an identifier for the module by machine processing applications such as code generation.
-
title
protected StringType title
A short, descriptive, user-friendly title for the test script.
-
status
protected Enumeration<Enumerations.PublicationStatus> status
The status of this test script. Enables tracking the life-cycle of the content.
-
experimental
protected BooleanType experimental
A Boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.
-
date
protected DateTimeType date
The date (and optionally time) when the test script was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test script changes.
-
publisher
protected StringType publisher
The name of the organization or individual that published the test script.
-
contact
protected List<ContactDetail> contact
Contact details to assist a user in finding and communicating with the publisher.
-
description
protected MarkdownType description
A free text natural language description of the test script from a consumer's perspective.
-
useContext
protected List<UsageContext> useContext
The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate test script instances.
-
jurisdiction
protected List<CodeableConcept> jurisdiction
A legal or geographic region in which the test script is intended to be used.
-
purpose
protected MarkdownType purpose
Explanation of why this test script is needed and why it has been designed as it has.
-
copyright
protected MarkdownType copyright
A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script.
-
origin
protected List<TestScript.TestScriptOriginComponent> origin
An abstract server used in operations within this test script in the origin element.
-
destination
protected List<TestScript.TestScriptDestinationComponent> destination
An abstract server used in operations within this test script in the destination element.
-
metadata
protected TestScript.TestScriptMetadataComponent metadata
The required capability must exist and are assumed to function correctly on the FHIR server being tested.
-
fixture
protected List<TestScript.TestScriptFixtureComponent> fixture
Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.
-
variable
protected List<TestScript.TestScriptVariableComponent> variable
Variable is set based either on element value in response body or on header field value in the response headers.
-
setup
protected TestScript.TestScriptSetupComponent setup
A series of required setup operations before tests are executed.
-
test
protected List<TestScript.TestScriptTestComponent> test
A test in this script.
-
teardown
protected TestScript.TestScriptTeardownComponent teardown
A series of operations required to clean up after all the tests are executed (successfully or otherwise).
-
SP_CONTEXT_QUANTITY
public static final String SP_CONTEXT_QUANTITY
Search parameter: context-quantityDescription: A quantity- or range-valued use context assigned to the test script
Type: quantity
Path: (TestScript.useContext.value as Quantity) | (TestScript.useContext.value as Range)
- See Also:
- Constant Field Values
-
CONTEXT_QUANTITY
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY
Fluent Client search parameter constant for context-quantityDescription: A quantity- or range-valued use context assigned to the test script
Type: quantity
Path: (TestScript.useContext.value as Quantity) | (TestScript.useContext.value as Range)
-
SP_CONTEXT_TYPE_QUANTITY
public static final String SP_CONTEXT_TYPE_QUANTITY
Search parameter: context-type-quantityDescription: A use context type and quantity- or range-based value assigned to the test script
Type: composite
Path: TestScript.useContext
- See Also:
- Constant Field Values
-
CONTEXT_TYPE_QUANTITY
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.QuantityClientParam> CONTEXT_TYPE_QUANTITY
Fluent Client search parameter constant for context-type-quantityDescription: A use context type and quantity- or range-based value assigned to the test script
Type: composite
Path: TestScript.useContext
-
SP_CONTEXT_TYPE_VALUE
public static final String SP_CONTEXT_TYPE_VALUE
Search parameter: context-type-valueDescription: A use context type and value assigned to the test script
Type: composite
Path: TestScript.useContext
- See Also:
- Constant Field Values
-
CONTEXT_TYPE_VALUE
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.TokenClientParam> CONTEXT_TYPE_VALUE
Fluent Client search parameter constant for context-type-valueDescription: A use context type and value assigned to the test script
Type: composite
Path: TestScript.useContext
-
SP_CONTEXT_TYPE
public static final String SP_CONTEXT_TYPE
Search parameter: context-typeDescription: A type of use context assigned to the test script
Type: token
Path: TestScript.useContext.code
- See Also:
- Constant Field Values
-
CONTEXT_TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE
Fluent Client search parameter constant for context-typeDescription: A type of use context assigned to the test script
Type: token
Path: TestScript.useContext.code
-
SP_CONTEXT
public static final String SP_CONTEXT
Search parameter: contextDescription: A use context assigned to the test script
Type: token
Path: (TestScript.useContext.value as CodeableConcept)
- See Also:
- Constant Field Values
-
CONTEXT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT
Fluent Client search parameter constant for contextDescription: A use context assigned to the test script
Type: token
Path: (TestScript.useContext.value as CodeableConcept)
-
SP_DATE
public static final String SP_DATE
Search parameter: dateDescription: The test script publication date
Type: date
Path: TestScript.date
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription: The test script publication date
Type: date
Path: TestScript.date
-
SP_DESCRIPTION
public static final String SP_DESCRIPTION
Search parameter: descriptionDescription: The description of the test script
Type: string
Path: TestScript.description
- See Also:
- Constant Field Values
-
DESCRIPTION
public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION
Fluent Client search parameter constant for descriptionDescription: The description of the test script
Type: string
Path: TestScript.description
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: External identifier for the test script
Type: token
Path: TestScript.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: External identifier for the test script
Type: token
Path: TestScript.identifier
-
SP_JURISDICTION
public static final String SP_JURISDICTION
Search parameter: jurisdictionDescription: Intended jurisdiction for the test script
Type: token
Path: TestScript.jurisdiction
- See Also:
- Constant Field Values
-
JURISDICTION
public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION
Fluent Client search parameter constant for jurisdictionDescription: Intended jurisdiction for the test script
Type: token
Path: TestScript.jurisdiction
-
SP_NAME
public static final String SP_NAME
Search parameter: nameDescription: Computationally friendly name of the test script
Type: string
Path: TestScript.name
- See Also:
- Constant Field Values
-
NAME
public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME
Fluent Client search parameter constant for nameDescription: Computationally friendly name of the test script
Type: string
Path: TestScript.name
-
SP_PUBLISHER
public static final String SP_PUBLISHER
Search parameter: publisherDescription: Name of the publisher of the test script
Type: string
Path: TestScript.publisher
- See Also:
- Constant Field Values
-
PUBLISHER
public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER
Fluent Client search parameter constant for publisherDescription: Name of the publisher of the test script
Type: string
Path: TestScript.publisher
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: The current status of the test script
Type: token
Path: TestScript.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription: The current status of the test script
Type: token
Path: TestScript.status
-
SP_TESTSCRIPT_CAPABILITY
public static final String SP_TESTSCRIPT_CAPABILITY
Search parameter: testscript-capabilityDescription: TestScript required and validated capability
Type: string
Path: TestScript.metadata.capability.description
- See Also:
- Constant Field Values
-
TESTSCRIPT_CAPABILITY
public static final ca.uhn.fhir.rest.gclient.StringClientParam TESTSCRIPT_CAPABILITY
Fluent Client search parameter constant for testscript-capabilityDescription: TestScript required and validated capability
Type: string
Path: TestScript.metadata.capability.description
-
SP_TITLE
public static final String SP_TITLE
Search parameter: titleDescription: The human-friendly name of the test script
Type: string
Path: TestScript.title
- See Also:
- Constant Field Values
-
TITLE
public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE
Fluent Client search parameter constant for titleDescription: The human-friendly name of the test script
Type: string
Path: TestScript.title
-
SP_URL
public static final String SP_URL
Search parameter: urlDescription: The uri that identifies the test script
Type: uri
Path: TestScript.url
- See Also:
- Constant Field Values
-
URL
public static final ca.uhn.fhir.rest.gclient.UriClientParam URL
Fluent Client search parameter constant for urlDescription: The uri that identifies the test script
Type: uri
Path: TestScript.url
-
SP_VERSION
public static final String SP_VERSION
Search parameter: versionDescription: The business version of the test script
Type: token
Path: TestScript.version
- See Also:
- Constant Field Values
-
VERSION
public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION
Fluent Client search parameter constant for versionDescription: The business version of the test script
Type: token
Path: TestScript.version
-
-
Constructor Detail
-
TestScript
public TestScript()
Constructor
-
TestScript
public TestScript(String url, String name, Enumerations.PublicationStatus status)
Constructor
-
-
Method Detail
-
getUrlElement
public UriType getUrlElement()
- Returns:
url(An absolute URI that is used to identify this test script when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this test script is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test script is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
hasUrlElement
public boolean hasUrlElement()
-
hasUrl
public boolean hasUrl()
-
setUrlElement
public TestScript setUrlElement(UriType value)
- Parameters:
value-url(An absolute URI that is used to identify this test script when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this test script is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test script is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
getUrl
public String getUrl()
- Returns:
- An absolute URI that is used to identify this test script when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this test script is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test script is stored on different servers.
-
setUrl
public TestScript setUrl(String value)
- Parameters:
value- An absolute URI that is used to identify this test script when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this test script is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test script is stored on different servers.
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier(A formal identifier that is used to identify this test script when it is represented in other formats, or referenced in a specification, model, design or an instance.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public TestScript setIdentifier(Identifier value)
- Parameters:
value-identifier(A formal identifier that is used to identify this test script when it is represented in other formats, or referenced in a specification, model, design or an instance.)
-
getVersionElement
public StringType getVersionElement()
- Returns:
version(The identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test script author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
hasVersionElement
public boolean hasVersionElement()
-
hasVersion
public boolean hasVersion()
-
setVersionElement
public TestScript setVersionElement(StringType value)
- Parameters:
value-version(The identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test script author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
getVersion
public String getVersion()
- Returns:
- The identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test script author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.
-
setVersion
public TestScript setVersion(String value)
- Parameters:
value- The identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test script author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.
-
getNameElement
public StringType getNameElement()
- Returns:
name(A natural language name identifying the test script. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
public boolean hasNameElement()
-
hasName
public boolean hasName()
-
setNameElement
public TestScript setNameElement(StringType value)
- Parameters:
value-name(A natural language name identifying the test script. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
public String getName()
- Returns:
- A natural language name identifying the test script. This name should be usable as an identifier for the module by machine processing applications such as code generation.
-
setName
public TestScript setName(String value)
- Parameters:
value- A natural language name identifying the test script. This name should be usable as an identifier for the module by machine processing applications such as code generation.
-
getTitleElement
public StringType getTitleElement()
- Returns:
title(A short, descriptive, user-friendly title for the test script.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
hasTitleElement
public boolean hasTitleElement()
-
hasTitle
public boolean hasTitle()
-
setTitleElement
public TestScript setTitleElement(StringType value)
- Parameters:
value-title(A short, descriptive, user-friendly title for the test script.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
getTitle
public String getTitle()
- Returns:
- A short, descriptive, user-friendly title for the test script.
-
setTitle
public TestScript setTitle(String value)
- Parameters:
value- A short, descriptive, user-friendly title for the test script.
-
getStatusElement
public Enumeration<Enumerations.PublicationStatus> getStatusElement()
- Returns:
status(The status of this test script. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public TestScript setStatusElement(Enumeration<Enumerations.PublicationStatus> value)
- Parameters:
value-status(The status of this test script. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public Enumerations.PublicationStatus getStatus()
- Returns:
- The status of this test script. Enables tracking the life-cycle of the content.
-
setStatus
public TestScript setStatus(Enumerations.PublicationStatus value)
- Parameters:
value- The status of this test script. Enables tracking the life-cycle of the content.
-
getExperimentalElement
public BooleanType getExperimentalElement()
- Returns:
experimental(A Boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
-
hasExperimentalElement
public boolean hasExperimentalElement()
-
hasExperimental
public boolean hasExperimental()
-
setExperimentalElement
public TestScript setExperimentalElement(BooleanType value)
- Parameters:
value-experimental(A Boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
-
getExperimental
public boolean getExperimental()
- Returns:
- A Boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.
-
setExperimental
public TestScript setExperimental(boolean value)
- Parameters:
value- A Boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.
-
getDateElement
public DateTimeType getDateElement()
- Returns:
date(The date (and optionally time) when the test script was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test script changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
public boolean hasDateElement()
-
hasDate
public boolean hasDate()
-
setDateElement
public TestScript setDateElement(DateTimeType value)
- Parameters:
value-date(The date (and optionally time) when the test script was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test script changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
public Date getDate()
- Returns:
- The date (and optionally time) when the test script was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test script changes.
-
setDate
public TestScript setDate(Date value)
- Parameters:
value- The date (and optionally time) when the test script was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test script changes.
-
getPublisherElement
public StringType getPublisherElement()
- Returns:
publisher(The name of the organization or individual that published the test script.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
-
hasPublisherElement
public boolean hasPublisherElement()
-
hasPublisher
public boolean hasPublisher()
-
setPublisherElement
public TestScript setPublisherElement(StringType value)
- Parameters:
value-publisher(The name of the organization or individual that published the test script.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
-
getPublisher
public String getPublisher()
- Returns:
- The name of the organization or individual that published the test script.
-
setPublisher
public TestScript setPublisher(String value)
- Parameters:
value- The name of the organization or individual that published the test script.
-
getContact
public List<ContactDetail> getContact()
- Returns:
contact(Contact details to assist a user in finding and communicating with the publisher.)
-
setContact
public TestScript setContact(List<ContactDetail> theContact)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasContact
public boolean hasContact()
-
addContact
public ContactDetail addContact()
-
addContact
public TestScript addContact(ContactDetail t)
-
getContactFirstRep
public ContactDetail getContactFirstRep()
- Returns:
- The first repetition of repeating field
contact, creating it if it does not already exist {3}
-
getDescriptionElement
public MarkdownType getDescriptionElement()
- Returns:
description(A free text natural language description of the test script from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public TestScript setDescriptionElement(MarkdownType value)
- Parameters:
value-description(A free text natural language description of the test script from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
public String getDescription()
- Returns:
- A free text natural language description of the test script from a consumer's perspective.
-
setDescription
public TestScript setDescription(String value)
- Parameters:
value- A free text natural language description of the test script from a consumer's perspective.
-
getUseContext
public List<UsageContext> getUseContext()
- Returns:
useContext(The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate test script instances.)
-
setUseContext
public TestScript setUseContext(List<UsageContext> theUseContext)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasUseContext
public boolean hasUseContext()
-
addUseContext
public UsageContext addUseContext()
-
addUseContext
public TestScript addUseContext(UsageContext t)
-
getUseContextFirstRep
public UsageContext getUseContextFirstRep()
- Returns:
- The first repetition of repeating field
useContext, creating it if it does not already exist {3}
-
getJurisdiction
public List<CodeableConcept> getJurisdiction()
- Returns:
jurisdiction(A legal or geographic region in which the test script is intended to be used.)
-
setJurisdiction
public TestScript setJurisdiction(List<CodeableConcept> theJurisdiction)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasJurisdiction
public boolean hasJurisdiction()
-
addJurisdiction
public CodeableConcept addJurisdiction()
-
addJurisdiction
public TestScript addJurisdiction(CodeableConcept t)
-
getJurisdictionFirstRep
public CodeableConcept getJurisdictionFirstRep()
- Returns:
- The first repetition of repeating field
jurisdiction, creating it if it does not already exist {3}
-
getPurposeElement
public MarkdownType getPurposeElement()
- Returns:
purpose(Explanation of why this test script is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value
-
hasPurposeElement
public boolean hasPurposeElement()
-
hasPurpose
public boolean hasPurpose()
-
setPurposeElement
public TestScript setPurposeElement(MarkdownType value)
- Parameters:
value-purpose(Explanation of why this test script is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value
-
getPurpose
public String getPurpose()
- Returns:
- Explanation of why this test script is needed and why it has been designed as it has.
-
setPurpose
public TestScript setPurpose(String value)
- Parameters:
value- Explanation of why this test script is needed and why it has been designed as it has.
-
getCopyrightElement
public MarkdownType getCopyrightElement()
- Returns:
copyright(A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
-
hasCopyrightElement
public boolean hasCopyrightElement()
-
hasCopyright
public boolean hasCopyright()
-
setCopyrightElement
public TestScript setCopyrightElement(MarkdownType value)
- Parameters:
value-copyright(A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
-
getCopyright
public String getCopyright()
- Returns:
- A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script.
-
setCopyright
public TestScript setCopyright(String value)
- Parameters:
value- A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script.
-
getOrigin
public List<TestScript.TestScriptOriginComponent> getOrigin()
- Returns:
origin(An abstract server used in operations within this test script in the origin element.)
-
setOrigin
public TestScript setOrigin(List<TestScript.TestScriptOriginComponent> theOrigin)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasOrigin
public boolean hasOrigin()
-
addOrigin
public TestScript.TestScriptOriginComponent addOrigin()
-
addOrigin
public TestScript addOrigin(TestScript.TestScriptOriginComponent t)
-
getOriginFirstRep
public TestScript.TestScriptOriginComponent getOriginFirstRep()
- Returns:
- The first repetition of repeating field
origin, creating it if it does not already exist {3}
-
getDestination
public List<TestScript.TestScriptDestinationComponent> getDestination()
- Returns:
destination(An abstract server used in operations within this test script in the destination element.)
-
setDestination
public TestScript setDestination(List<TestScript.TestScriptDestinationComponent> theDestination)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDestination
public boolean hasDestination()
-
addDestination
public TestScript.TestScriptDestinationComponent addDestination()
-
addDestination
public TestScript addDestination(TestScript.TestScriptDestinationComponent t)
-
getDestinationFirstRep
public TestScript.TestScriptDestinationComponent getDestinationFirstRep()
- Returns:
- The first repetition of repeating field
destination, creating it if it does not already exist {3}
-
getMetadata
public TestScript.TestScriptMetadataComponent getMetadata()
- Returns:
metadata(The required capability must exist and are assumed to function correctly on the FHIR server being tested.)
-
hasMetadata
public boolean hasMetadata()
-
setMetadata
public TestScript setMetadata(TestScript.TestScriptMetadataComponent value)
- Parameters:
value-metadata(The required capability must exist and are assumed to function correctly on the FHIR server being tested.)
-
getFixture
public List<TestScript.TestScriptFixtureComponent> getFixture()
- Returns:
fixture(Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.)
-
setFixture
public TestScript setFixture(List<TestScript.TestScriptFixtureComponent> theFixture)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasFixture
public boolean hasFixture()
-
addFixture
public TestScript.TestScriptFixtureComponent addFixture()
-
addFixture
public TestScript addFixture(TestScript.TestScriptFixtureComponent t)
-
getFixtureFirstRep
public TestScript.TestScriptFixtureComponent getFixtureFirstRep()
- Returns:
- The first repetition of repeating field
fixture, creating it if it does not already exist {3}
-
getProfile
public List<Reference> getProfile()
- Returns:
profile(Reference to the profile to be used for validation.)
-
setProfile
public TestScript setProfile(List<Reference> theProfile)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasProfile
public boolean hasProfile()
-
addProfile
public Reference addProfile()
-
addProfile
public TestScript addProfile(Reference t)
-
getProfileFirstRep
public Reference getProfileFirstRep()
- Returns:
- The first repetition of repeating field
profile, creating it if it does not already exist {3}
-
getVariable
public List<TestScript.TestScriptVariableComponent> getVariable()
- Returns:
variable(Variable is set based either on element value in response body or on header field value in the response headers.)
-
setVariable
public TestScript setVariable(List<TestScript.TestScriptVariableComponent> theVariable)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasVariable
public boolean hasVariable()
-
addVariable
public TestScript.TestScriptVariableComponent addVariable()
-
addVariable
public TestScript addVariable(TestScript.TestScriptVariableComponent t)
-
getVariableFirstRep
public TestScript.TestScriptVariableComponent getVariableFirstRep()
- Returns:
- The first repetition of repeating field
variable, creating it if it does not already exist {3}
-
getSetup
public TestScript.TestScriptSetupComponent getSetup()
- Returns:
setup(A series of required setup operations before tests are executed.)
-
hasSetup
public boolean hasSetup()
-
setSetup
public TestScript setSetup(TestScript.TestScriptSetupComponent value)
- Parameters:
value-setup(A series of required setup operations before tests are executed.)
-
getTest
public List<TestScript.TestScriptTestComponent> getTest()
- Returns:
test(A test in this script.)
-
setTest
public TestScript setTest(List<TestScript.TestScriptTestComponent> theTest)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTest
public boolean hasTest()
-
addTest
public TestScript.TestScriptTestComponent addTest()
-
addTest
public TestScript addTest(TestScript.TestScriptTestComponent t)
-
getTestFirstRep
public TestScript.TestScriptTestComponent getTestFirstRep()
- Returns:
- The first repetition of repeating field
test, creating it if it does not already exist {3}
-
getTeardown
public TestScript.TestScriptTeardownComponent getTeardown()
- Returns:
teardown(A series of operations required to clean up after all the tests are executed (successfully or otherwise).)
-
hasTeardown
public boolean hasTeardown()
-
setTeardown
public TestScript setTeardown(TestScript.TestScriptTeardownComponent value)
- Parameters:
value-teardown(A series of operations required to clean up after all the tests are executed (successfully or otherwise).)
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public TestScript copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(TestScript dst)
-
typedCopy
protected TestScript typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-