Class TestScript
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.BaseResource
-
- org.hl7.fhir.dstu2016may.model.Resource
-
- org.hl7.fhir.dstu2016may.model.DomainResource
-
- org.hl7.fhir.dstu2016may.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
TestScript is a resource that specifies a suite of tests against a FHIR server 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<TestScript.TestScriptContactComponent>contactContacts to assist a user in finding and communicating with the publisher.protected StringTypecopyrightA copyright statement relating to the Test Script and/or its contents.protected DateTimeTypedateThe date this version of the test tcript was published.protected StringTypedescriptionA free text natural language description of the TestScript and its use.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 BooleanTypeexperimentalThis TestScript was 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 IdentifieridentifierIdentifier for the TestScript assigned for external purposes outside the context of FHIR.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierprotected TestScript.TestScriptMetadataComponentmetadataThe required capability must exist and are assumed to function correctly on the FHIR server being tested.protected StringTypenameA free text natural language name identifying the TestScript.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 List<Resource>profileTargetThe actual objects that are the target of the reference (Reference to the profile to be used for validation.)protected StringTypepublisherThe name of the individual or organization that published the Test Script.protected StringTyperequirementsExplains why this Test Script is needed and why it's been constrained as it has.protected List<TestScript.TestScriptRuleComponent>ruleAssert rule to be used in one or more asserts within the test script.protected List<TestScript.TestScriptRulesetComponent>rulesetContains one or more rules.protected TestScript.TestScriptSetupComponentsetupA series of required setup operations before tests are executed.static StringSP_DESCRIPTIONSearch parameter: descriptionstatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_NAMESearch parameter: namestatic StringSP_TESTSCRIPT_CAPABILITYSearch parameter: testscript-capabilitystatic StringSP_TESTSCRIPT_SETUP_CAPABILITYSearch parameter: testscript-setup-capabilitystatic StringSP_TESTSCRIPT_TEST_CAPABILITYSearch parameter: testscript-test-capabilitystatic StringSP_URLSearch parameter: urlprotected Enumeration<Enumerations.ConformanceResourceStatus>statusThe status of the TestScript.protected TestScript.TestScriptTeardownComponentteardownA series of operations required to clean up after the 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-capabilitystatic ca.uhn.fhir.rest.gclient.StringClientParamTESTSCRIPT_SETUP_CAPABILITYFluent Client search parameter constant for testscript-setup-capabilitystatic ca.uhn.fhir.rest.gclient.StringClientParamTESTSCRIPT_TEST_CAPABILITYFluent Client search parameter constant for testscript-test-capabilityprotected UriTypeurlAn absolute URL that is used to identify this Test Script.static ca.uhn.fhir.rest.gclient.UriClientParamURLFluent Client search parameter constant for urlprotected List<CodeableConcept>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 TestScript.-
Fields inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2016may.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description TestScript()ConstructorTestScript(UriType url, StringType name, Enumeration<Enumerations.ConformanceResourceStatus> status)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, 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, 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 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.
-
version
protected StringType version
The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually.
-
name
protected StringType name
A free text natural language name identifying the TestScript.
-
status
protected Enumeration<Enumerations.ConformanceResourceStatus> status
The status of the TestScript.
-
identifier
protected Identifier identifier
Identifier for the TestScript assigned for external purposes outside the context of FHIR.
-
experimental
protected BooleanType experimental
This TestScript was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
publisher
protected StringType publisher
The name of the individual or organization that published the Test Script.
-
contact
protected List<TestScript.TestScriptContactComponent> contact
Contacts to assist a user in finding and communicating with the publisher.
-
date
protected DateTimeType 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.
-
description
protected StringType description
A free text natural language description of the TestScript and its use.
-
useContext
protected List<CodeableConcept> 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.
-
requirements
protected StringType requirements
Explains why this Test Script is needed and why it's been constrained as it has.
-
copyright
protected StringType 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.
-
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.
-
profileTarget
protected List<Resource> profileTarget
The actual objects that are the target of the reference (Reference to the profile to be used for validation.)
-
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.
-
rule
protected List<TestScript.TestScriptRuleComponent> rule
Assert rule to be used in one or more asserts within the test script.
-
ruleset
protected List<TestScript.TestScriptRulesetComponent> 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.
-
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 the all the tests are executed (successfully or otherwise).
-
SP_TESTSCRIPT_TEST_CAPABILITY
public static final String SP_TESTSCRIPT_TEST_CAPABILITY
Search parameter: testscript-test-capabilityDescription: TestScript test required and validated capability
Type: string
Path: TestScript.test.metadata.capability.description
- See Also:
- Constant Field Values
-
TESTSCRIPT_TEST_CAPABILITY
public static final ca.uhn.fhir.rest.gclient.StringClientParam TESTSCRIPT_TEST_CAPABILITY
Fluent Client search parameter constant for testscript-test-capabilityDescription: TestScript test required and validated capability
Type: string
Path: TestScript.test.metadata.capability.description
-
SP_TESTSCRIPT_SETUP_CAPABILITY
public static final String SP_TESTSCRIPT_SETUP_CAPABILITY
Search parameter: testscript-setup-capabilityDescription: TestScript setup required and validated capability
Type: string
Path: TestScript.setup.metadata.capability.description
- See Also:
- Constant Field Values
-
TESTSCRIPT_SETUP_CAPABILITY
public static final ca.uhn.fhir.rest.gclient.StringClientParam TESTSCRIPT_SETUP_CAPABILITY
Fluent Client search parameter constant for testscript-setup-capabilityDescription: TestScript setup required and validated capability
Type: string
Path: TestScript.setup.metadata.capability.description
-
SP_DESCRIPTION
public static final String SP_DESCRIPTION
Search parameter: descriptionDescription: Natural language description of the TestScript
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: Natural language description of the TestScript
Type: string
Path: TestScript.description
-
SP_NAME
public static final String SP_NAME
Search parameter: nameDescription: Informal name for this TestScript
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: Informal name for this TestScript
Type: string
Path: TestScript.name
-
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_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: External identifier
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
Type: token
Path: TestScript.identifier
-
SP_URL
public static final String SP_URL
Search parameter: urlDescription: Absolute URL used to reference this TestScript
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: Absolute URL used to reference this TestScript
Type: uri
Path: TestScript.url
-
-
Constructor Detail
-
TestScript
public TestScript()
Constructor
-
TestScript
public TestScript(UriType url, StringType name, Enumeration<Enumerations.ConformanceResourceStatus> status)
Constructor
-
-
Method Detail
-
getUrlElement
public UriType getUrlElement()
- Returns:
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 value
-
hasUrlElement
public boolean hasUrlElement()
-
hasUrl
public boolean hasUrl()
-
setUrlElement
public TestScript setUrlElement(UriType value)
- Parameters:
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 value
-
getUrl
public String getUrl()
- Returns:
- 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.
-
setUrl
public TestScript setUrl(String value)
- Parameters:
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.
-
getVersionElement
public StringType getVersionElement()
- Returns:
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 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 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 value
-
getVersion
public String getVersion()
- Returns:
- The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually.
-
setVersion
public TestScript setVersion(String value)
- Parameters:
value- The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually.
-
getNameElement
public StringType getNameElement()
- Returns:
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 value
-
hasNameElement
public boolean hasNameElement()
-
hasName
public boolean hasName()
-
setNameElement
public TestScript setNameElement(StringType value)
- Parameters:
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 value
-
getName
public String getName()
- Returns:
- A free text natural language name identifying the TestScript.
-
setName
public TestScript setName(String value)
- Parameters:
value- A free text natural language name identifying the TestScript.
-
getStatusElement
public Enumeration<Enumerations.ConformanceResourceStatus> getStatusElement()
- Returns:
status(The status of the TestScript.). 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.ConformanceResourceStatus> value)
- Parameters:
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 value
-
getStatus
public Enumerations.ConformanceResourceStatus getStatus()
- Returns:
- The status of the TestScript.
-
setStatus
public TestScript setStatus(Enumerations.ConformanceResourceStatus value)
- Parameters:
value- The status of the TestScript.
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier(Identifier for the TestScript assigned for external purposes outside the context of FHIR.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public TestScript setIdentifier(Identifier value)
- Parameters:
value-identifier(Identifier for the TestScript assigned for external purposes outside the context of FHIR.)
-
getExperimentalElement
public BooleanType getExperimentalElement()
- Returns:
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 value
-
hasExperimentalElement
public boolean hasExperimentalElement()
-
hasExperimental
public boolean hasExperimental()
-
setExperimentalElement
public TestScript setExperimentalElement(BooleanType value)
- Parameters:
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 value
-
getExperimental
public boolean getExperimental()
- Returns:
- This TestScript was 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- This TestScript was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
getPublisherElement
public StringType getPublisherElement()
- Returns:
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 value
-
hasPublisherElement
public boolean hasPublisherElement()
-
hasPublisher
public boolean hasPublisher()
-
setPublisherElement
public TestScript setPublisherElement(StringType value)
- Parameters:
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 value
-
getPublisher
public String getPublisher()
- Returns:
- The name of the individual or organization that published the Test Script.
-
setPublisher
public TestScript setPublisher(String value)
- Parameters:
value- The name of the individual or organization that published the Test Script.
-
getContact
public List<TestScript.TestScriptContactComponent> getContact()
- Returns:
contact(Contacts to assist a user in finding and communicating with the publisher.)
-
hasContact
public boolean hasContact()
-
addContact
public TestScript.TestScriptContactComponent addContact()
- Returns:
contact(Contacts to assist a user in finding and communicating with the publisher.)
-
addContact
public TestScript addContact(TestScript.TestScriptContactComponent t)
-
getDateElement
public DateTimeType getDateElement()
- Returns:
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 value
-
hasDateElement
public boolean hasDateElement()
-
hasDate
public boolean hasDate()
-
setDateElement
public TestScript setDateElement(DateTimeType value)
- Parameters:
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 value
-
getDate
public Date getDate()
- Returns:
- 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.
-
setDate
public TestScript setDate(Date value)
- Parameters:
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.
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
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 value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public TestScript setDescriptionElement(StringType value)
- Parameters:
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 value
-
getDescription
public String getDescription()
- Returns:
- A free text natural language description of the TestScript and its use.
-
setDescription
public TestScript setDescription(String value)
- Parameters:
value- A free text natural language description of the TestScript and its use.
-
getUseContext
public List<CodeableConcept> getUseContext()
- Returns:
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.)
-
hasUseContext
public boolean hasUseContext()
-
addUseContext
public CodeableConcept addUseContext()
- Returns:
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.)
-
addUseContext
public TestScript addUseContext(CodeableConcept t)
-
getRequirementsElement
public StringType getRequirementsElement()
- Returns:
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 value
-
hasRequirementsElement
public boolean hasRequirementsElement()
-
hasRequirements
public boolean hasRequirements()
-
setRequirementsElement
public TestScript setRequirementsElement(StringType value)
- Parameters:
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 value
-
getRequirements
public String getRequirements()
- Returns:
- Explains why this Test Script is needed and why it's been constrained as it has.
-
setRequirements
public TestScript setRequirements(String value)
- Parameters:
value- Explains why this Test Script is needed and why it's been constrained as it has.
-
getCopyrightElement
public StringType 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 details of the constraints and mappings.). 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(StringType 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 details of the constraints and mappings.). 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 details of the constraints and mappings.
-
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 details of the constraints and mappings.
-
getOrigin
public List<TestScript.TestScriptOriginComponent> getOrigin()
- Returns:
origin(An abstract server used in operations within this test script in the origin element.)
-
hasOrigin
public boolean hasOrigin()
-
addOrigin
public TestScript.TestScriptOriginComponent addOrigin()
- Returns:
origin(An abstract server used in operations within this test script in the origin element.)
-
addOrigin
public TestScript addOrigin(TestScript.TestScriptOriginComponent t)
-
getDestination
public List<TestScript.TestScriptDestinationComponent> getDestination()
- Returns:
destination(An abstract server used in operations within this test script in the destination element.)
-
hasDestination
public boolean hasDestination()
-
addDestination
public TestScript.TestScriptDestinationComponent addDestination()
- Returns:
destination(An abstract server used in operations within this test script in the destination element.)
-
addDestination
public TestScript addDestination(TestScript.TestScriptDestinationComponent t)
-
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.)
-
hasFixture
public boolean hasFixture()
-
addFixture
public TestScript.TestScriptFixtureComponent addFixture()
- Returns:
fixture(Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.)
-
addFixture
public TestScript addFixture(TestScript.TestScriptFixtureComponent t)
-
getProfile
public List<Reference> getProfile()
- Returns:
profile(Reference to the profile to be used for validation.)
-
hasProfile
public boolean hasProfile()
-
addProfile
public Reference addProfile()
- Returns:
profile(Reference to the profile to be used for validation.)
-
addProfile
public TestScript addProfile(Reference t)
-
getProfileTarget
public List<Resource> getProfileTarget()
- Returns:
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.)
-
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.)
-
hasVariable
public boolean hasVariable()
-
addVariable
public TestScript.TestScriptVariableComponent addVariable()
- Returns:
variable(Variable is set based either on element value in response body or on header field value in the response headers.)
-
addVariable
public TestScript addVariable(TestScript.TestScriptVariableComponent t)
-
getRule
public List<TestScript.TestScriptRuleComponent> getRule()
- Returns:
rule(Assert rule to be used in one or more asserts within the test script.)
-
hasRule
public boolean hasRule()
-
addRule
public TestScript.TestScriptRuleComponent addRule()
- Returns:
rule(Assert rule to be used in one or more asserts within the test script.)
-
addRule
public TestScript addRule(TestScript.TestScriptRuleComponent t)
-
getRuleset
public List<TestScript.TestScriptRulesetComponent> getRuleset()
- Returns:
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.)
-
hasRuleset
public boolean hasRuleset()
-
addRuleset
public TestScript.TestScriptRulesetComponent addRuleset()
- Returns:
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.)
-
addRuleset
public TestScript addRuleset(TestScript.TestScriptRulesetComponent t)
-
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.)
-
hasTest
public boolean hasTest()
-
addTest
public TestScript.TestScriptTestComponent addTest()
- Returns:
test(A test in this script.)
-
addTest
public TestScript addTest(TestScript.TestScriptTestComponent t)
-
getTeardown
public TestScript.TestScriptTeardownComponent getTeardown()
- Returns:
teardown(A series of operations required to clean up after the 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 the all the tests are executed (successfully or otherwise).)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
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 void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void 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
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classDomainResource- Returns:
- 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
-
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
-
-