public class TestScript extends DomainResource
| Modifier and Type | Field and Description |
|---|---|
protected List<TestScript.TestScriptContactComponent> |
contact
Contacts to assist a user in finding and communicating with the publisher.
|
protected StringType |
copyright
A copyright statement relating to the Test Script and/or its contents.
|
protected DateTimeType |
date
The date this version of the test tcript was published.
|
protected StringType |
description
A free text natural language description of the TestScript and its use.
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
DESCRIPTION
Fluent Client search parameter constant for description
|
protected List<TestScript.TestScriptDestinationComponent> |
destination
An abstract server used in operations within this test script in the destination element.
|
protected BooleanType |
experimental
This TestScript was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
|
protected List<TestScript.TestScriptFixtureComponent> |
fixture
Fixture in the test script - by reference (uri).
|
protected Identifier |
identifier
Identifier for the TestScript assigned for external purposes outside the context of FHIR.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
protected TestScript.TestScriptMetadataComponent |
metadata
The required capability must exist and are assumed to function correctly on the FHIR server being tested.
|
protected StringType |
name
A free text natural language name identifying the TestScript.
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
NAME
Fluent Client search parameter constant for name
|
protected List<TestScript.TestScriptOriginComponent> |
origin
An abstract server used in operations within this test script in the origin element.
|
protected List<Reference> |
profile
Reference to the profile to be used for validation.
|
protected List<Resource> |
profileTarget
The actual objects that are the target of the reference (Reference to the profile to be used for validation.)
|
protected StringType |
publisher
The name of the individual or organization that published the Test Script.
|
protected StringType |
requirements
Explains why this Test Script is needed and why it's been constrained as it has.
|
protected List<TestScript.TestScriptRuleComponent> |
rule
Assert rule to be used in one or more asserts within the test script.
|
protected List<TestScript.TestScriptRulesetComponent> |
ruleset
Contains one or more rules.
|
protected TestScript.TestScriptSetupComponent |
setup
A series of required setup operations before tests are executed.
|
static String |
SP_DESCRIPTION
Search parameter: description
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_NAME
Search parameter: name
|
static String |
SP_TESTSCRIPT_CAPABILITY
Search parameter: testscript-capability
|
static String |
SP_TESTSCRIPT_SETUP_CAPABILITY
Search parameter: testscript-setup-capability
|
static String |
SP_TESTSCRIPT_TEST_CAPABILITY
Search parameter: testscript-test-capability
|
static String |
SP_URL
Search parameter: url
|
protected Enumeration<Enumerations.ConformanceResourceStatus> |
status
The status of the TestScript.
|
protected TestScript.TestScriptTeardownComponent |
teardown
A series of operations required to clean up after the all the tests are executed (successfully or otherwise).
|
protected List<TestScript.TestScriptTestComponent> |
test
A test in this script.
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
TESTSCRIPT_CAPABILITY
Fluent Client search parameter constant for testscript-capability
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
TESTSCRIPT_SETUP_CAPABILITY
Fluent Client search parameter constant for testscript-setup-capability
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
TESTSCRIPT_TEST_CAPABILITY
Fluent Client search parameter constant for testscript-test-capability
|
protected UriType |
url
An absolute URL that is used to identify this Test Script.
|
static ca.uhn.fhir.rest.gclient.UriClientParam |
URL
Fluent Client search parameter constant for url
|
protected List<CodeableConcept> |
useContext
The content was developed with a focus and intent of supporting the contexts that are listed.
|
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.
|
protected StringType |
version
The identifier that is used to identify this version of the TestScript.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
TestScript()
Constructor
|
TestScript(UriType url,
StringType name,
Enumeration<Enumerations.ConformanceResourceStatus> status)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, setIdcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected UriType url
protected StringType version
protected StringType name
protected Enumeration<Enumerations.ConformanceResourceStatus> status
protected Identifier identifier
protected BooleanType experimental
protected StringType publisher
protected List<TestScript.TestScriptContactComponent> contact
protected DateTimeType date
protected StringType description
protected List<CodeableConcept> useContext
protected StringType requirements
protected StringType copyright
protected List<TestScript.TestScriptOriginComponent> origin
protected List<TestScript.TestScriptDestinationComponent> destination
protected TestScript.TestScriptMetadataComponent metadata
protected List<TestScript.TestScriptFixtureComponent> fixture
protected List<Resource> profileTarget
protected List<TestScript.TestScriptVariableComponent> variable
protected List<TestScript.TestScriptRuleComponent> rule
protected List<TestScript.TestScriptRulesetComponent> ruleset
protected TestScript.TestScriptSetupComponent setup
protected List<TestScript.TestScriptTestComponent> test
protected TestScript.TestScriptTeardownComponent teardown
public static final String SP_TESTSCRIPT_TEST_CAPABILITY
Description: TestScript test required and validated capability
Type: string
Path: TestScript.test.metadata.capability.description
public static final ca.uhn.fhir.rest.gclient.StringClientParam TESTSCRIPT_TEST_CAPABILITY
Description: TestScript test required and validated capability
Type: string
Path: TestScript.test.metadata.capability.description
public static final String SP_TESTSCRIPT_SETUP_CAPABILITY
Description: TestScript setup required and validated capability
Type: string
Path: TestScript.setup.metadata.capability.description
public static final ca.uhn.fhir.rest.gclient.StringClientParam TESTSCRIPT_SETUP_CAPABILITY
Description: TestScript setup required and validated capability
Type: string
Path: TestScript.setup.metadata.capability.description
public static final String SP_DESCRIPTION
Description: Natural language description of the TestScript
Type: string
Path: TestScript.description
public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION
Description: Natural language description of the TestScript
Type: string
Path: TestScript.description
public static final String SP_NAME
Description: Informal name for this TestScript
Type: string
Path: TestScript.name
public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME
Description: Informal name for this TestScript
Type: string
Path: TestScript.name
public static final String SP_TESTSCRIPT_CAPABILITY
Description: TestScript required and validated capability
Type: string
Path: TestScript.metadata.capability.description
public static final ca.uhn.fhir.rest.gclient.StringClientParam TESTSCRIPT_CAPABILITY
Description: TestScript required and validated capability
Type: string
Path: TestScript.metadata.capability.description
public static final String SP_IDENTIFIER
Description: External identifier
Type: token
Path: TestScript.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: External identifier
Type: token
Path: TestScript.identifier
public static final String SP_URL
Description: Absolute URL used to reference this TestScript
Type: uri
Path: TestScript.url
public static final ca.uhn.fhir.rest.gclient.UriClientParam URL
Description: Absolute URL used to reference this TestScript
Type: uri
Path: TestScript.url
public TestScript()
public TestScript(UriType url, StringType name, Enumeration<Enumerations.ConformanceResourceStatus> status)
public UriType getUrlElement()
url (An absolute URL that is used to identify this Test Script. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Test Script is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic boolean hasUrlElement()
public boolean hasUrl()
public TestScript setUrlElement(UriType value)
value - url (An absolute URL that is used to identify this Test Script. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Test Script is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic String getUrl()
public TestScript setUrl(String value)
value - An absolute URL that is used to identify this Test Script. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Test Script is (or will be) published.public StringType getVersionElement()
version (The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the valuepublic boolean hasVersionElement()
public boolean hasVersion()
public TestScript setVersionElement(StringType value)
value - version (The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the valuepublic String getVersion()
public TestScript setVersion(String value)
value - The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually.public StringType getNameElement()
name (A free text natural language name identifying the TestScript.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic boolean hasNameElement()
public boolean hasName()
public TestScript setNameElement(StringType value)
value - name (A free text natural language name identifying the TestScript.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic String getName()
public TestScript setName(String value)
value - A free text natural language name identifying the TestScript.public Enumeration<Enumerations.ConformanceResourceStatus> getStatusElement()
status (The status of the TestScript.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public TestScript setStatusElement(Enumeration<Enumerations.ConformanceResourceStatus> value)
value - status (The status of the TestScript.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic Enumerations.ConformanceResourceStatus getStatus()
public TestScript setStatus(Enumerations.ConformanceResourceStatus value)
value - The status of the TestScript.public Identifier getIdentifier()
identifier (Identifier for the TestScript assigned for external purposes outside the context of FHIR.)public boolean hasIdentifier()
public TestScript setIdentifier(Identifier value)
value - identifier (Identifier for the TestScript assigned for external purposes outside the context of FHIR.)public BooleanType getExperimentalElement()
experimental (This TestScript was 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 valuepublic boolean hasExperimentalElement()
public boolean hasExperimental()
public TestScript setExperimentalElement(BooleanType value)
value - experimental (This TestScript was 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 valuepublic boolean getExperimental()
public TestScript setExperimental(boolean value)
value - This TestScript was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.public StringType getPublisherElement()
publisher (The name of the individual or organization that published the Test Script.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the valuepublic boolean hasPublisherElement()
public boolean hasPublisher()
public TestScript setPublisherElement(StringType value)
value - publisher (The name of the individual or organization that published the Test Script.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the valuepublic String getPublisher()
public TestScript setPublisher(String value)
value - The name of the individual or organization that published the Test Script.public List<TestScript.TestScriptContactComponent> getContact()
contact (Contacts to assist a user in finding and communicating with the publisher.)public boolean hasContact()
public TestScript.TestScriptContactComponent addContact()
contact (Contacts to assist a user in finding and communicating with the publisher.)public TestScript addContact(TestScript.TestScriptContactComponent t)
public DateTimeType getDateElement()
date (The date this version of the test tcript was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the test cases change.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the valuepublic boolean hasDateElement()
public boolean hasDate()
public TestScript setDateElement(DateTimeType value)
value - date (The date this version of the test tcript was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the test cases change.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the valuepublic Date getDate()
public TestScript setDate(Date value)
value - The date this version of the test tcript was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the test cases change.public StringType getDescriptionElement()
description (A free text natural language description of the TestScript and its use.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public TestScript setDescriptionElement(StringType value)
value - description (A free text natural language description of the TestScript and its use.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic String getDescription()
public TestScript setDescription(String value)
value - A free text natural language description of the TestScript and its use.public List<CodeableConcept> getUseContext()
useContext (The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of Test Scripts.)public boolean hasUseContext()
public CodeableConcept addUseContext()
useContext (The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of Test Scripts.)public TestScript addUseContext(CodeableConcept t)
public StringType getRequirementsElement()
requirements (Explains why this Test Script is needed and why it's been constrained as it has.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the valuepublic boolean hasRequirementsElement()
public boolean hasRequirements()
public TestScript setRequirementsElement(StringType value)
value - requirements (Explains why this Test Script is needed and why it's been constrained as it has.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the valuepublic String getRequirements()
public TestScript setRequirements(String value)
value - Explains why this Test Script is needed and why it's been constrained as it has.public StringType getCopyrightElement()
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 details of the constraints and mappings.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the valuepublic boolean hasCopyrightElement()
public boolean hasCopyright()
public TestScript setCopyrightElement(StringType value)
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 details of the constraints and mappings.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the valuepublic String getCopyright()
public TestScript setCopyright(String value)
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 details of the constraints and mappings.public List<TestScript.TestScriptOriginComponent> getOrigin()
origin (An abstract server used in operations within this test script in the origin element.)public boolean hasOrigin()
public TestScript.TestScriptOriginComponent addOrigin()
origin (An abstract server used in operations within this test script in the origin element.)public TestScript addOrigin(TestScript.TestScriptOriginComponent t)
public List<TestScript.TestScriptDestinationComponent> getDestination()
destination (An abstract server used in operations within this test script in the destination element.)public boolean hasDestination()
public TestScript.TestScriptDestinationComponent addDestination()
destination (An abstract server used in operations within this test script in the destination element.)public TestScript addDestination(TestScript.TestScriptDestinationComponent t)
public TestScript.TestScriptMetadataComponent getMetadata()
metadata (The required capability must exist and are assumed to function correctly on the FHIR server being tested.)public boolean hasMetadata()
public TestScript setMetadata(TestScript.TestScriptMetadataComponent value)
value - metadata (The required capability must exist and are assumed to function correctly on the FHIR server being tested.)public List<TestScript.TestScriptFixtureComponent> getFixture()
fixture (Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.)public boolean hasFixture()
public TestScript.TestScriptFixtureComponent addFixture()
fixture (Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.)public TestScript addFixture(TestScript.TestScriptFixtureComponent t)
public List<Reference> getProfile()
profile (Reference to the profile to be used for validation.)public boolean hasProfile()
public Reference addProfile()
profile (Reference to the profile to be used for validation.)public TestScript addProfile(Reference t)
public List<Resource> getProfileTarget()
profile (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Reference to the profile to be used for validation.)public List<TestScript.TestScriptVariableComponent> getVariable()
variable (Variable is set based either on element value in response body or on header field value in the response headers.)public boolean hasVariable()
public TestScript.TestScriptVariableComponent addVariable()
variable (Variable is set based either on element value in response body or on header field value in the response headers.)public TestScript addVariable(TestScript.TestScriptVariableComponent t)
public List<TestScript.TestScriptRuleComponent> getRule()
rule (Assert rule to be used in one or more asserts within the test script.)public boolean hasRule()
public TestScript.TestScriptRuleComponent addRule()
rule (Assert rule to be used in one or more asserts within the test script.)public TestScript addRule(TestScript.TestScriptRuleComponent t)
public List<TestScript.TestScriptRulesetComponent> getRuleset()
ruleset (Contains one or more rules. Offers a way to group rules so assertions could reference the group of rules and have them all applied.)public boolean hasRuleset()
public TestScript.TestScriptRulesetComponent addRuleset()
ruleset (Contains one or more rules. Offers a way to group rules so assertions could reference the group of rules and have them all applied.)public TestScript addRuleset(TestScript.TestScriptRulesetComponent t)
public TestScript.TestScriptSetupComponent getSetup()
setup (A series of required setup operations before tests are executed.)public boolean hasSetup()
public TestScript setSetup(TestScript.TestScriptSetupComponent value)
value - setup (A series of required setup operations before tests are executed.)public List<TestScript.TestScriptTestComponent> getTest()
test (A test in this script.)public boolean hasTest()
public TestScript.TestScriptTestComponent addTest()
test (A test in this script.)public TestScript addTest(TestScript.TestScriptTestComponent t)
public TestScript.TestScriptTeardownComponent getTeardown()
teardown (A series of operations required to clean up after the all the tests are executed (successfully or otherwise).)public boolean hasTeardown()
public TestScript setTeardown(TestScript.TestScriptTeardownComponent value)
value - teardown (A series of operations required to clean up after the all the tests are executed (successfully or otherwise).)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic TestScript copy()
copy in class DomainResourceprotected TestScript typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.