public class TestScript extends BaseResource implements IResource
Definition: TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/TestScript
| Modifier and Type | Class and Description |
|---|---|
static class |
TestScript.Contact
Block class for child element: TestScript.contact ()
|
static class |
TestScript.Fixture
Block class for child element: TestScript.fixture ()
|
static class |
TestScript.Metadata
Block class for child element: TestScript.metadata ()
|
static class |
TestScript.MetadataCapability
Block class for child element: TestScript.metadata.capability ()
|
static class |
TestScript.MetadataLink
Block class for child element: TestScript.metadata.link ()
|
static class |
TestScript.Setup
Block class for child element: TestScript.setup ()
|
static class |
TestScript.SetupAction
Block class for child element: TestScript.setup.action ()
|
static class |
TestScript.SetupActionAssert
Block class for child element: TestScript.setup.action.assert ()
|
static class |
TestScript.SetupActionOperation
Block class for child element: TestScript.setup.action.operation ()
|
static class |
TestScript.SetupActionOperationRequestHeader
Block class for child element: TestScript.setup.action.operation.requestHeader ()
|
static class |
TestScript.Teardown
Block class for child element: TestScript.teardown ()
|
static class |
TestScript.TeardownAction
Block class for child element: TestScript.teardown.action ()
|
static class |
TestScript.Test
Block class for child element: TestScript.test ()
|
static class |
TestScript.TestAction
Block class for child element: TestScript.test.action ()
|
static class |
TestScript.Variable
Block class for child element: TestScript.variable ()
|
| Modifier and Type | Field and Description |
|---|---|
static StringClientParam |
DESCRIPTION
Fluent Client search parameter constant for description
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static StringClientParam |
NAME
Fluent Client search parameter constant for name
|
static String |
SP_DESCRIPTION
Search parameter constant for description
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_NAME
Search parameter constant for name
|
static String |
SP_TESTSCRIPT_CAPABILITY
Search parameter constant for testscript-capability
|
static String |
SP_TESTSCRIPT_SETUP_CAPABILITY
Search parameter constant for testscript-setup-capability
|
static String |
SP_TESTSCRIPT_TEST_CAPABILITY
Search parameter constant for testscript-test-capability
|
static String |
SP_URL
Search parameter constant for url
|
static StringClientParam |
TESTSCRIPT_CAPABILITY
Fluent Client search parameter constant for testscript-capability
|
static StringClientParam |
TESTSCRIPT_SETUP_CAPABILITY
Fluent Client search parameter constant for testscript-setup-capability
|
static StringClientParam |
TESTSCRIPT_TEST_CAPABILITY
Fluent Client search parameter constant for testscript-test-capability
|
static UriClientParam |
URL
Fluent Client search parameter constant for url
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
TestScript() |
| Modifier and Type | Method and Description |
|---|---|
TestScript.Contact |
addContact()
Adds and returns a new value for contact ()
|
TestScript |
addContact(TestScript.Contact theValue)
Adds a given new value for contact ()
|
TestScript.Fixture |
addFixture()
Adds and returns a new value for fixture ()
|
TestScript |
addFixture(TestScript.Fixture theValue)
Adds a given new value for fixture ()
|
ResourceReferenceDt |
addProfile()
Adds and returns a new value for profile ()
|
TestScript.Test |
addTest()
Adds and returns a new value for test ()
|
TestScript |
addTest(TestScript.Test theValue)
Adds a given new value for test ()
|
CodeableConceptDt |
addUseContext()
Adds and returns a new value for useContext ()
|
TestScript |
addUseContext(CodeableConceptDt theValue)
Adds a given new value for useContext ()
|
TestScript.Variable |
addVariable()
Adds and returns a new value for variable ()
|
TestScript |
addVariable(TestScript.Variable theValue)
Adds a given new value for variable ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
List<TestScript.Contact> |
getContact()
Gets the value(s) for contact ().
|
TestScript.Contact |
getContactFirstRep()
Gets the first repetition for contact (),
creating it if it does not already exist.
|
String |
getCopyright()
Gets the value(s) for copyright ().
|
StringDt |
getCopyrightElement()
Gets the value(s) for copyright ().
|
Date |
getDate()
Gets the value(s) for date ().
|
DateTimeDt |
getDateElement()
Gets the value(s) for date ().
|
String |
getDescription()
Gets the value(s) for description ().
|
StringDt |
getDescriptionElement()
Gets the value(s) for description ().
|
Boolean |
getExperimental()
Gets the value(s) for experimental ().
|
BooleanDt |
getExperimentalElement()
Gets the value(s) for experimental ().
|
List<TestScript.Fixture> |
getFixture()
Gets the value(s) for fixture ().
|
TestScript.Fixture |
getFixtureFirstRep()
Gets the first repetition for fixture (),
creating it if it does not already exist.
|
IdentifierDt |
getIdentifier()
Gets the value(s) for identifier ().
|
TestScript.Metadata |
getMetadata()
Gets the value(s) for metadata ().
|
Boolean |
getMultiserver()
Gets the value(s) for multiserver ().
|
BooleanDt |
getMultiserverElement()
Gets the value(s) for multiserver ().
|
String |
getName()
Gets the value(s) for name ().
|
StringDt |
getNameElement()
Gets the value(s) for name ().
|
List<ResourceReferenceDt> |
getProfile()
Gets the value(s) for profile ().
|
String |
getPublisher()
Gets the value(s) for publisher ().
|
StringDt |
getPublisherElement()
Gets the value(s) for publisher ().
|
String |
getRequirements()
Gets the value(s) for requirements ().
|
StringDt |
getRequirementsElement()
Gets the value(s) for requirements ().
|
String |
getResourceName() |
TestScript.Setup |
getSetup()
Gets the value(s) for setup ().
|
String |
getStatus()
Gets the value(s) for status ().
|
BoundCodeDt<ConformanceResourceStatusEnum> |
getStatusElement()
Gets the value(s) for status ().
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
TestScript.Teardown |
getTeardown()
Gets the value(s) for teardown ().
|
List<TestScript.Test> |
getTest()
Gets the value(s) for test ().
|
TestScript.Test |
getTestFirstRep()
Gets the first repetition for test (),
creating it if it does not already exist.
|
String |
getUrl()
Gets the value(s) for url ().
|
UriDt |
getUrlElement()
Gets the value(s) for url ().
|
List<CodeableConceptDt> |
getUseContext()
Gets the value(s) for useContext ().
|
CodeableConceptDt |
getUseContextFirstRep()
Gets the first repetition for useContext (),
creating it if it does not already exist.
|
List<TestScript.Variable> |
getVariable()
Gets the value(s) for variable ().
|
TestScript.Variable |
getVariableFirstRep()
Gets the first repetition for variable (),
creating it if it does not already exist.
|
String |
getVersion()
Gets the value(s) for version ().
|
StringDt |
getVersionElement()
Gets the value(s) for version ().
|
boolean |
isEmpty() |
TestScript |
setContact(List<TestScript.Contact> theValue)
Sets the value(s) for contact ()
|
TestScript |
setCopyright(String theString)
Sets the value for copyright ()
|
TestScript |
setCopyright(StringDt theValue)
Sets the value(s) for copyright ()
|
TestScript |
setDate(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for date ()
|
TestScript |
setDate(DateTimeDt theValue)
Sets the value(s) for date ()
|
TestScript |
setDateWithSecondsPrecision(Date theDate)
Sets the value for date ()
|
TestScript |
setDescription(String theString)
Sets the value for description ()
|
TestScript |
setDescription(StringDt theValue)
Sets the value(s) for description ()
|
TestScript |
setExperimental(boolean theBoolean)
Sets the value for experimental ()
|
TestScript |
setExperimental(BooleanDt theValue)
Sets the value(s) for experimental ()
|
TestScript |
setFixture(List<TestScript.Fixture> theValue)
Sets the value(s) for fixture ()
|
TestScript |
setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier ()
|
TestScript |
setMetadata(TestScript.Metadata theValue)
Sets the value(s) for metadata ()
|
TestScript |
setMultiserver(boolean theBoolean)
Sets the value for multiserver ()
|
TestScript |
setMultiserver(BooleanDt theValue)
Sets the value(s) for multiserver ()
|
TestScript |
setName(String theString)
Sets the value for name ()
|
TestScript |
setName(StringDt theValue)
Sets the value(s) for name ()
|
TestScript |
setProfile(List<ResourceReferenceDt> theValue)
Sets the value(s) for profile ()
|
TestScript |
setPublisher(String theString)
Sets the value for publisher ()
|
TestScript |
setPublisher(StringDt theValue)
Sets the value(s) for publisher ()
|
TestScript |
setRequirements(String theString)
Sets the value for requirements ()
|
TestScript |
setRequirements(StringDt theValue)
Sets the value(s) for requirements ()
|
TestScript |
setSetup(TestScript.Setup theValue)
Sets the value(s) for setup ()
|
TestScript |
setStatus(BoundCodeDt<ConformanceResourceStatusEnum> theValue)
Sets the value(s) for status ()
|
TestScript |
setStatus(ConformanceResourceStatusEnum theValue)
Sets the value(s) for status ()
|
TestScript |
setTeardown(TestScript.Teardown theValue)
Sets the value(s) for teardown ()
|
TestScript |
setTest(List<TestScript.Test> theValue)
Sets the value(s) for test ()
|
TestScript |
setUrl(String theUri)
Sets the value for url ()
|
TestScript |
setUrl(UriDt theValue)
Sets the value(s) for url ()
|
TestScript |
setUseContext(List<CodeableConceptDt> theValue)
Sets the value(s) for useContext ()
|
TestScript |
setVariable(List<TestScript.Variable> theValue)
Sets the value(s) for variable ()
|
TestScript |
setVersion(String theString)
Sets the value for version ()
|
TestScript |
setVersion(StringDt theValue)
Sets the value(s) for version ()
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_URL
Description:
Type: uri
Path: TestScript.url
public static final UriClientParam URL
Description:
Type: uri
Path: TestScript.url
public static final String SP_IDENTIFIER
Description:
Type: token
Path: TestScript.identifier
public static final TokenClientParam IDENTIFIER
Description:
Type: token
Path: TestScript.identifier
public static final String SP_NAME
Description:
Type: string
Path: TestScript.name
public static final StringClientParam NAME
Description:
Type: string
Path: TestScript.name
public static final String SP_DESCRIPTION
Description:
Type: string
Path: TestScript.description
public static final StringClientParam DESCRIPTION
Description:
Type: string
Path: TestScript.description
public static final String SP_TESTSCRIPT_CAPABILITY
Description: TestScript required and validated capability
Type: string
Path: TestScript.metadata.capability.description
public static final StringClientParam TESTSCRIPT_CAPABILITY
Description: TestScript required and validated capability
Type: string
Path: TestScript.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 StringClientParam TESTSCRIPT_SETUP_CAPABILITY
Description: TestScript setup required and validated capability
Type: string
Path: TestScript.setup.metadata.capability.description
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 StringClientParam TESTSCRIPT_TEST_CAPABILITY
Description: TestScript test required and validated capability
Type: string
Path: TestScript.test.metadata.capability.description
public TestScript()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic UriDt getUrlElement()
null.
Definition: 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 String getUrl()
null.
Definition: 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 TestScript setUrl(UriDt theValue)
Definition: 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 TestScript setUrl(String theUri)
Definition: 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 StringDt getVersionElement()
null.
Definition: The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually
public String getVersion()
null.
Definition: The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually
public TestScript setVersion(StringDt theValue)
Definition: The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually
public TestScript setVersion(String theString)
Definition: The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually
public StringDt getNameElement()
null.
Definition: A free text natural language name identifying the TestScript
public String getName()
null.
Definition: A free text natural language name identifying the TestScript
public TestScript setName(StringDt theValue)
Definition: A free text natural language name identifying the TestScript
public TestScript setName(String theString)
Definition: A free text natural language name identifying the TestScript
public BoundCodeDt<ConformanceResourceStatusEnum> getStatusElement()
null.
Definition: The status of the TestScript
public String getStatus()
null.
Definition: The status of the TestScript
public TestScript setStatus(BoundCodeDt<ConformanceResourceStatusEnum> theValue)
Definition: The status of the TestScript
public TestScript setStatus(ConformanceResourceStatusEnum theValue)
Definition: The status of the TestScript
public IdentifierDt getIdentifier()
null.
Definition: Identifier for the TestScript assigned for external purposes outside the context of FHIR.
public TestScript setIdentifier(IdentifierDt theValue)
Definition: Identifier for the TestScript assigned for external purposes outside the context of FHIR.
public BooleanDt getExperimentalElement()
null.
Definition: This TestScript was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
public Boolean getExperimental()
null.
Definition: This TestScript was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
public TestScript setExperimental(BooleanDt theValue)
Definition: This TestScript was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
public TestScript setExperimental(boolean theBoolean)
Definition: This TestScript was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage
public StringDt getPublisherElement()
null.
Definition: The name of the individual or organization that published the Test Script
public String getPublisher()
null.
Definition: The name of the individual or organization that published the Test Script
public TestScript setPublisher(StringDt theValue)
Definition: The name of the individual or organization that published the Test Script
public TestScript setPublisher(String theString)
Definition: The name of the individual or organization that published the Test Script
public List<TestScript.Contact> getContact()
null.
Definition: Contacts to assist a user in finding and communicating with the publisher
public TestScript setContact(List<TestScript.Contact> theValue)
Definition: Contacts to assist a user in finding and communicating with the publisher
public TestScript.Contact addContact()
Definition: Contacts to assist a user in finding and communicating with the publisher
public TestScript addContact(TestScript.Contact theValue)
Definition: Contacts to assist a user in finding and communicating with the publisher
theValue - The contact to add (must not be null)public TestScript.Contact getContactFirstRep()
Definition: Contacts to assist a user in finding and communicating with the publisher
public DateTimeDt getDateElement()
null.
Definition: 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 Date getDate()
null.
Definition: 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 TestScript setDate(DateTimeDt theValue)
Definition: 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 TestScript setDate(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: 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 TestScript setDateWithSecondsPrecision(Date theDate)
Definition: 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 StringDt getDescriptionElement()
null.
Definition: A free text natural language description of the TestScript and its use
public String getDescription()
null.
Definition: A free text natural language description of the TestScript and its use
public TestScript setDescription(StringDt theValue)
Definition: A free text natural language description of the TestScript and its use
public TestScript setDescription(String theString)
Definition: A free text natural language description of the TestScript and its use
public List<CodeableConceptDt> getUseContext()
null.
Definition: 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 setUseContext(List<CodeableConceptDt> theValue)
Definition: 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 CodeableConceptDt addUseContext()
Definition: 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(CodeableConceptDt theValue)
Definition: 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.
theValue - The useContext to add (must not be null)public CodeableConceptDt getUseContextFirstRep()
Definition: 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 StringDt getRequirementsElement()
null.
Definition: Explains why this Test Script is needed and why it's been constrained as it has
public String getRequirements()
null.
Definition: Explains why this Test Script is needed and why it's been constrained as it has
public TestScript setRequirements(StringDt theValue)
Definition: Explains why this Test Script is needed and why it's been constrained as it has
public TestScript setRequirements(String theString)
Definition: Explains why this Test Script is needed and why it's been constrained as it has
public StringDt getCopyrightElement()
null.
Definition: 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 String getCopyright()
null.
Definition: 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 setCopyright(StringDt theValue)
Definition: 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 setCopyright(String theString)
Definition: 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.Metadata getMetadata()
null.
Definition: The required capability must exist and are assumed to function correctly on the FHIR server being tested.
public TestScript setMetadata(TestScript.Metadata theValue)
Definition: The required capability must exist and are assumed to function correctly on the FHIR server being tested.
public BooleanDt getMultiserverElement()
null.
Definition: 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 Boolean getMultiserver()
null.
Definition: 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 TestScript setMultiserver(BooleanDt theValue)
Definition: 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 TestScript setMultiserver(boolean theBoolean)
Definition: 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.Fixture> getFixture()
null.
Definition: Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.
public TestScript setFixture(List<TestScript.Fixture> theValue)
Definition: Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.
public TestScript.Fixture addFixture()
Definition: Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.
public TestScript addFixture(TestScript.Fixture theValue)
Definition: Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.
theValue - The fixture to add (must not be null)public TestScript.Fixture getFixtureFirstRep()
Definition: Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.
public List<ResourceReferenceDt> getProfile()
null.
Definition: Reference to the profile to be used for validation.
public TestScript setProfile(List<ResourceReferenceDt> theValue)
Definition: Reference to the profile to be used for validation.
public ResourceReferenceDt addProfile()
Definition: Reference to the profile to be used for validation.
public List<TestScript.Variable> getVariable()
null.
Definition: Variable is set based either on element value in response body or on header field value in the response headers.
public TestScript setVariable(List<TestScript.Variable> theValue)
Definition: Variable is set based either on element value in response body or on header field value in the response headers.
public TestScript.Variable addVariable()
Definition: Variable is set based either on element value in response body or on header field value in the response headers.
public TestScript addVariable(TestScript.Variable theValue)
Definition: Variable is set based either on element value in response body or on header field value in the response headers.
theValue - The variable to add (must not be null)public TestScript.Variable getVariableFirstRep()
Definition: Variable is set based either on element value in response body or on header field value in the response headers.
public TestScript.Setup getSetup()
null.
Definition: A series of required setup operations before tests are executed.
public TestScript setSetup(TestScript.Setup theValue)
Definition: A series of required setup operations before tests are executed.
public List<TestScript.Test> getTest()
null.
Definition: A test in this script.
public TestScript setTest(List<TestScript.Test> theValue)
Definition: A test in this script.
public TestScript.Test addTest()
Definition: A test in this script.
public TestScript addTest(TestScript.Test theValue)
Definition: A test in this script.
theValue - The test to add (must not be null)public TestScript.Test getTestFirstRep()
Definition: A test in this script.
public TestScript.Teardown getTeardown()
null.
Definition: A series of operations required to clean up after the all the tests are executed (successfully or otherwise).
public TestScript setTeardown(TestScript.Teardown theValue)
Definition: A series of operations required to clean up after the all the tests are executed (successfully or otherwise).
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.