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.
|
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.
|
protected TestScript.TestScriptMetadataComponent |
metadata
The required capability must exist and are assumed to function correctly on the FHIR server being tested.
|
protected BooleanType |
multiserver
If the tests apply to more than one FHIR server (e.g.
|
protected StringType |
name
A free text natural language name identifying the TestScript.
|
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 TestScript.TestScriptSetupComponent |
setup
A series of required setup operations before tests are executed.
|
static String |
SP_DESCRIPTION |
static String |
SP_IDENTIFIER |
static String |
SP_NAME |
static String |
SP_TESTSCRIPTCAPABILITY |
static String |
SP_TESTSCRIPTSETUPCAPABILITY |
static String |
SP_TESTSCRIPTTESTCAPABILITY |
static String |
SP_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.
|
protected UriType |
url
An absolute URL that is used to identify this Test Script.
|
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() |
TestScript(UriType url,
StringType name,
Enumeration<Enumerations.ConformanceResourceStatus> status) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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 TestScript.TestScriptMetadataComponent metadata
protected BooleanType multiserver
protected List<TestScript.TestScriptFixtureComponent> fixture
protected List<Resource> profileTarget
protected List<TestScript.TestScriptVariableComponent> variable
protected TestScript.TestScriptSetupComponent setup
protected List<TestScript.TestScriptTestComponent> test
protected TestScript.TestScriptTeardownComponent teardown
public static final String SP_IDENTIFIER
public static final String SP_TESTSCRIPTTESTCAPABILITY
public static final String SP_TESTSCRIPTSETUPCAPABILITY
public static final String SP_NAME
public static final String SP_DESCRIPTION
public static final String SP_TESTSCRIPTCAPABILITY
public static final String SP_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 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 BooleanType getMultiserverElement()
multiserver (If the tests apply to more than one FHIR server (e.g. cross-server interoperability tests) then multiserver=true. Defaults to false if value is unspecified.). This is the underlying object with id, value and extensions. The accessor "getMultiserver" gives direct access to the valuepublic boolean hasMultiserverElement()
public boolean hasMultiserver()
public TestScript setMultiserverElement(BooleanType value)
value - multiserver (If the tests apply to more than one FHIR server (e.g. cross-server interoperability tests) then multiserver=true. Defaults to false if value is unspecified.). This is the underlying object with id, value and extensions. The accessor "getMultiserver" gives direct access to the valuepublic boolean getMultiserver()
public TestScript setMultiserver(boolean value)
value - If the tests apply to more than one FHIR server (e.g. cross-server interoperability tests) then multiserver=true. Defaults to false if value is unspecified.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 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 void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty 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.