
Class 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
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic enumstatic classstatic enumstatic classstatic enumstatic classstatic enumstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic enumstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MarkdownTypeA copyright statement relating to the test script and/or its contents.static final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for datestatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for descriptionprotected List<TestScript.TestScriptDestinationComponent> An abstract server used in operations within this test script in the destination element.protected List<TestScript.TestScriptFixtureComponent> Fixture in the test script - by reference (uri).protected IdentifierA formal identifier that is used to identify this test script when it is represented in other formats, or referenced in a specification, model, design or an instance.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for identifierstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for jurisdictionprotected TestScript.TestScriptMetadataComponentThe required capability must exist and are assumed to function correctly on the FHIR server being tested.static final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for nameprotected List<TestScript.TestScriptOriginComponent> An abstract server used in operations within this test script in the origin element.Reference to the profile to be used for validation.The actual objects that are the target of the reference (Reference to the profile to be used for validation.)static final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for publisherprotected MarkdownTypeExplaination of why this test script is needed and why it has been designed as it has.protected List<TestScript.TestScriptRuleComponent> Assert rule to be used in one or more asserts within the test script.protected List<TestScript.TestScriptRulesetComponent> Contains one or more rules.protected TestScript.TestScriptSetupComponentA series of required setup operations before tests are executed.static final StringSearch parameter: datestatic final StringSearch parameter: descriptionstatic final StringSearch parameter: identifierstatic final StringSearch parameter: jurisdictionstatic final StringSearch parameter: namestatic final StringSearch parameter: publisherstatic final StringSearch parameter: statusstatic final StringSearch parameter: testscript-capabilitystatic final StringSearch parameter: titlestatic final StringSearch parameter: urlstatic final StringSearch parameter: versionstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for statusprotected TestScript.TestScriptTeardownComponentA series of operations required to clean up after the all the tests are executed (successfully or otherwise).protected List<TestScript.TestScriptTestComponent> A test in this script.static final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for testscript-capabilitystatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for titlestatic final ca.uhn.fhir.rest.gclient.UriClientParamFluent Client search parameter constant for urlprotected List<TestScript.TestScriptVariableComponent> Variable is set based either on element value in response body or on header field value in the response headers.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for versionFields inherited from class org.hl7.fhir.dstu3.model.MetadataResource
contact, date, description, experimental, jurisdiction, name, publisher, status, title, url, useContext, versionFields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
ConstructorsConstructorDescriptionConstructorTestScript(UriType url, StringType name, Enumeration<Enumerations.PublicationStatus> status) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddRule()addTest()copy()booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getDate()booleangetName()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) getRule()getSetup()getTest()getTitle()String[]getTypesForProperty(int hash, String name) getUrl()booleanbooleanbooleanbooleanhasDate()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasName()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasRule()booleanbooleanhasSetup()booleanbooleanbooleanbooleanhasTest()booleanhasTitle()booleanbooleanhasUrl()booleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setContact(List<ContactDetail> theContact) setCopyright(String value) setCopyrightElement(MarkdownType value) setDateElement(DateTimeType value) setDescription(String value) setDestination(List<TestScript.TestScriptDestinationComponent> theDestination) setExperimental(boolean value) setFixture(List<TestScript.TestScriptFixtureComponent> theFixture) setIdentifier(Identifier value) setJurisdiction(List<CodeableConcept> theJurisdiction) setNameElement(StringType value) setOrigin(List<TestScript.TestScriptOriginComponent> theOrigin) setProfile(List<Reference> theProfile) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setPublisher(String value) setPublisherElement(StringType value) setPurpose(String value) setPurposeElement(MarkdownType value) setRule(List<TestScript.TestScriptRuleComponent> theRule) setRuleset(List<TestScript.TestScriptRulesetComponent> theRuleset) setTest(List<TestScript.TestScriptTestComponent> theTest) setTitleElement(StringType value) setUrlElement(UriType value) setUseContext(List<UsageContext> theUseContext) setVariable(List<TestScript.TestScriptVariableComponent> theVariable) setVersion(String value) setVersionElement(StringType value) protected TestScriptMethods inherited from class org.hl7.fhir.dstu3.model.MetadataResource
checkCanUseUrl, copyValues, toStringMethods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetaMethods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
A formal identifier that is used to identify this test script when it is represented in other formats, or referenced in a specification, model, design or an instance. -
purpose
Explaination of why this test script is needed and why it has been designed as it has. -
copyright
A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script. -
origin
An abstract server used in operations within this test script in the origin element. -
destination
An abstract server used in operations within this test script in the destination element. -
metadata
The required capability must exist and are assumed to function correctly on the FHIR server being tested. -
fixture
Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute. -
profile
Reference to the profile to be used for validation. -
profileTarget
The actual objects that are the target of the reference (Reference to the profile to be used for validation.) -
variable
Variable is set based either on element value in response body or on header field value in the response headers. -
rule
Assert rule to be used in one or more asserts within the test script. -
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
A series of required setup operations before tests are executed. -
test
A test in this script. -
teardown
A series of operations required to clean up after the all the tests are executed (successfully or otherwise). -
SP_DATE
Search parameter: dateDescription: The test script publication date
Type: date
Path: TestScript.date
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription: The test script publication date
Type: date
Path: TestScript.date
-
SP_IDENTIFIER
Search parameter: identifierDescription: External identifier for the test script
Type: token
Path: TestScript.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: External identifier for the test script
Type: token
Path: TestScript.identifier
-
SP_JURISDICTION
Search parameter: jurisdictionDescription: Intended jurisdiction for the test script
Type: token
Path: TestScript.jurisdiction
- See Also:
-
JURISDICTION
Fluent Client search parameter constant for jurisdictionDescription: Intended jurisdiction for the test script
Type: token
Path: TestScript.jurisdiction
-
SP_NAME
Search parameter: nameDescription: Computationally friendly name of the test script
Type: string
Path: TestScript.name
- See Also:
-
NAME
Fluent Client search parameter constant for nameDescription: Computationally friendly name of the test script
Type: string
Path: TestScript.name
-
SP_DESCRIPTION
Search parameter: descriptionDescription: The description of the test script
Type: string
Path: TestScript.description
- See Also:
-
DESCRIPTION
Fluent Client search parameter constant for descriptionDescription: The description of the test script
Type: string
Path: TestScript.description
-
SP_PUBLISHER
Search parameter: publisherDescription: Name of the publisher of the test script
Type: string
Path: TestScript.publisher
- See Also:
-
PUBLISHER
Fluent Client search parameter constant for publisherDescription: Name of the publisher of the test script
Type: string
Path: TestScript.publisher
-
SP_TESTSCRIPT_CAPABILITY
Search parameter: testscript-capabilityDescription: TestScript required and validated capability
Type: string
Path: TestScript.metadata.capability.description
- See Also:
-
TESTSCRIPT_CAPABILITY
Fluent Client search parameter constant for testscript-capabilityDescription: TestScript required and validated capability
Type: string
Path: TestScript.metadata.capability.description
-
SP_TITLE
Search parameter: titleDescription: The human-friendly name of the test script
Type: string
Path: TestScript.title
- See Also:
-
TITLE
Fluent Client search parameter constant for titleDescription: The human-friendly name of the test script
Type: string
Path: TestScript.title
-
SP_VERSION
Search parameter: versionDescription: The business version of the test script
Type: token
Path: TestScript.version
- See Also:
-
VERSION
Fluent Client search parameter constant for versionDescription: The business version of the test script
Type: token
Path: TestScript.version
-
SP_URL
Search parameter: urlDescription: The uri that identifies the test script
Type: uri
Path: TestScript.url
- See Also:
-
URL
Fluent Client search parameter constant for urlDescription: The uri that identifies the test script
Type: uri
Path: TestScript.url
-
SP_STATUS
Search parameter: statusDescription: The current status of the test script
Type: token
Path: TestScript.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: The current status of the test script
Type: token
Path: TestScript.status
-
-
Constructor Details
-
TestScript
public TestScript()Constructor -
TestScript
Constructor
-
-
Method Details
-
getUrlElement
- Overrides:
getUrlElementin classMetadataResource- Returns:
MetadataResource.url(An absolute URI that is used to identify this test script when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this test script is (or will be) published. The URL SHOULD include the major version of the test script. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
hasUrlElement
- Overrides:
hasUrlElementin classMetadataResource
-
hasUrl
- Overrides:
hasUrlin classMetadataResource
-
setUrlElement
- Overrides:
setUrlElementin classMetadataResource- Parameters:
value-MetadataResource.url(An absolute URI that is used to identify this test script when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this test script is (or will be) published. The URL SHOULD include the major version of the test script. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
getUrl
- Overrides:
getUrlin classMetadataResource- Returns:
- An absolute URI that is used to identify this test script when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this test script is (or will be) published. The URL SHOULD include the major version of the test script. For more information see [Technical and Business Versions](resource.html#versions).
-
setUrl
- Overrides:
setUrlin classMetadataResource- Parameters:
value- An absolute URI that is used to identify this test script when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this test script is (or will be) published. The URL SHOULD include the major version of the test script. For more information see [Technical and Business Versions](resource.html#versions).
-
getIdentifier
- Returns:
identifier(A formal identifier that is used to identify this test script when it is represented in other formats, or referenced in a specification, model, design or an instance.)
-
hasIdentifier
-
setIdentifier
- Parameters:
value-identifier(A formal identifier that is used to identify this test script when it is represented in other formats, or referenced in a specification, model, design or an instance.)
-
getVersionElement
- Overrides:
getVersionElementin classMetadataResource- Returns:
MetadataResource.version(The identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test script author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
hasVersionElement
- Overrides:
hasVersionElementin classMetadataResource
-
hasVersion
- Overrides:
hasVersionin classMetadataResource
-
setVersionElement
- Overrides:
setVersionElementin classMetadataResource- Parameters:
value-MetadataResource.version(The identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test script author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
getVersion
- Overrides:
getVersionin classMetadataResource- Returns:
- The identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test script author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.
-
setVersion
- Overrides:
setVersionin classMetadataResource- Parameters:
value- The identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test script author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.
-
getNameElement
- Overrides:
getNameElementin classMetadataResource- Returns:
MetadataResource.name(A natural language name identifying the test script. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
- Overrides:
hasNameElementin classMetadataResource
-
hasName
- Overrides:
hasNamein classMetadataResource
-
setNameElement
- Overrides:
setNameElementin classMetadataResource- Parameters:
value-MetadataResource.name(A natural language name identifying the test script. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
- Overrides:
getNamein classMetadataResource- Returns:
- A natural language name identifying the test script. This name should be usable as an identifier for the module by machine processing applications such as code generation.
-
setName
- Overrides:
setNamein classMetadataResource- Parameters:
value- A natural language name identifying the test script. This name should be usable as an identifier for the module by machine processing applications such as code generation.
-
getTitleElement
- Overrides:
getTitleElementin classMetadataResource- Returns:
MetadataResource.title(A short, descriptive, user-friendly title for the test script.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
hasTitleElement
- Overrides:
hasTitleElementin classMetadataResource
-
hasTitle
- Overrides:
hasTitlein classMetadataResource
-
setTitleElement
- Overrides:
setTitleElementin classMetadataResource- Parameters:
value-MetadataResource.title(A short, descriptive, user-friendly title for the test script.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
getTitle
- Overrides:
getTitlein classMetadataResource- Returns:
- A short, descriptive, user-friendly title for the test script.
-
setTitle
- Overrides:
setTitlein classMetadataResource- Parameters:
value- A short, descriptive, user-friendly title for the test script.
-
getStatusElement
- Overrides:
getStatusElementin classMetadataResource- Returns:
MetadataResource.status(The status of this test script. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
- Overrides:
hasStatusElementin classMetadataResource
-
hasStatus
- Overrides:
hasStatusin classMetadataResource
-
setStatusElement
- Overrides:
setStatusElementin classMetadataResource- Parameters:
value-MetadataResource.status(The status of this test script. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Overrides:
getStatusin classMetadataResource- Returns:
- The status of this test script. Enables tracking the life-cycle of the content.
-
setStatus
- Overrides:
setStatusin classMetadataResource- Parameters:
value- The status of this test script. Enables tracking the life-cycle of the content.
-
getExperimentalElement
- Overrides:
getExperimentalElementin classMetadataResource- Returns:
MetadataResource.experimental(A boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
-
hasExperimentalElement
- Overrides:
hasExperimentalElementin classMetadataResource
-
hasExperimental
- Overrides:
hasExperimentalin classMetadataResource
-
setExperimentalElement
- Overrides:
setExperimentalElementin classMetadataResource- Parameters:
value-MetadataResource.experimental(A boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
-
getExperimental
- Overrides:
getExperimentalin classMetadataResource- Returns:
- A boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
setExperimental
- Overrides:
setExperimentalin classMetadataResource- Parameters:
value- A boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
getDateElement
- Overrides:
getDateElementin classMetadataResource- Returns:
MetadataResource.date(The date (and optionally time) when the test script was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test script changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
- Overrides:
hasDateElementin classMetadataResource
-
hasDate
- Overrides:
hasDatein classMetadataResource
-
setDateElement
- Overrides:
setDateElementin classMetadataResource- Parameters:
value-MetadataResource.date(The date (and optionally time) when the test script was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test script changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
- Overrides:
getDatein classMetadataResource- Returns:
- The date (and optionally time) when the test script was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test script changes.
-
setDate
- Overrides:
setDatein classMetadataResource- Parameters:
value- The date (and optionally time) when the test script was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test script changes.
-
getPublisherElement
- Overrides:
getPublisherElementin classMetadataResource- Returns:
MetadataResource.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
- Overrides:
hasPublisherElementin classMetadataResource
-
hasPublisher
- Overrides:
hasPublisherin classMetadataResource
-
setPublisherElement
- Overrides:
setPublisherElementin classMetadataResource- Parameters:
value-MetadataResource.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
- Overrides:
getPublisherin classMetadataResource- Returns:
- The name of the individual or organization that published the test script.
-
setPublisher
- Overrides:
setPublisherin classMetadataResource- Parameters:
value- The name of the individual or organization that published the test script.
-
getContact
- Overrides:
getContactin classMetadataResource- Returns:
MetadataResource.contact(Contact details to assist a user in finding and communicating with the publisher.)
-
setContact
- Overrides:
setContactin classMetadataResource- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasContact
- Overrides:
hasContactin classMetadataResource
-
addContact
- Overrides:
addContactin classMetadataResource
-
addContact
- Overrides:
addContactin classMetadataResource
-
getContactFirstRep
- Overrides:
getContactFirstRepin classMetadataResource- Returns:
- The first repetition of repeating field
MetadataResource.contact, creating it if it does not already exist
-
getDescriptionElement
- Overrides:
getDescriptionElementin classMetadataResource- Returns:
MetadataResource.description(A free text natural language description of the test script from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
- Overrides:
hasDescriptionElementin classMetadataResource
-
hasDescription
- Overrides:
hasDescriptionin classMetadataResource
-
setDescriptionElement
- Overrides:
setDescriptionElementin classMetadataResource- Parameters:
value-MetadataResource.description(A free text natural language description of the test script from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
- Overrides:
getDescriptionin classMetadataResource- Returns:
- A free text natural language description of the test script from a consumer's perspective.
-
setDescription
- Overrides:
setDescriptionin classMetadataResource- Parameters:
value- A free text natural language description of the test script from a consumer's perspective.
-
getUseContext
- Overrides:
getUseContextin classMetadataResource- Returns:
MetadataResource.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 for appropriate test script instances.)
-
setUseContext
- Overrides:
setUseContextin classMetadataResource- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasUseContext
- Overrides:
hasUseContextin classMetadataResource
-
addUseContext
- Overrides:
addUseContextin classMetadataResource
-
addUseContext
- Overrides:
addUseContextin classMetadataResource
-
getUseContextFirstRep
- Overrides:
getUseContextFirstRepin classMetadataResource- Returns:
- The first repetition of repeating field
MetadataResource.useContext, creating it if it does not already exist
-
getJurisdiction
- Overrides:
getJurisdictionin classMetadataResource- Returns:
MetadataResource.jurisdiction(A legal or geographic region in which the test script is intended to be used.)
-
setJurisdiction
- Overrides:
setJurisdictionin classMetadataResource- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasJurisdiction
- Overrides:
hasJurisdictionin classMetadataResource
-
addJurisdiction
- Overrides:
addJurisdictionin classMetadataResource
-
addJurisdiction
- Overrides:
addJurisdictionin classMetadataResource
-
getJurisdictionFirstRep
- Overrides:
getJurisdictionFirstRepin classMetadataResource- Returns:
- The first repetition of repeating field
MetadataResource.jurisdiction, creating it if it does not already exist
-
getPurposeElement
- Returns:
purpose(Explaination of why this test script is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value
-
hasPurposeElement
-
hasPurpose
-
setPurposeElement
- Parameters:
value-purpose(Explaination of why this test script is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value
-
getPurpose
- Returns:
- Explaination of why this test script is needed and why it has been designed as it has.
-
setPurpose
- Parameters:
value- Explaination of why this test script is needed and why it has been designed as it has.
-
getCopyrightElement
- Returns:
copyright(A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
-
hasCopyrightElement
-
hasCopyright
-
setCopyrightElement
- Parameters:
value-copyright(A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
-
getCopyright
- Returns:
- A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script.
-
setCopyright
- Parameters:
value- A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script.
-
getOrigin
- Returns:
origin(An abstract server used in operations within this test script in the origin element.)
-
setOrigin
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasOrigin
-
addOrigin
-
addOrigin
-
getOriginFirstRep
- Returns:
- The first repetition of repeating field
origin, creating it if it does not already exist
-
getDestination
- Returns:
destination(An abstract server used in operations within this test script in the destination element.)
-
setDestination
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDestination
-
addDestination
-
addDestination
-
getDestinationFirstRep
- Returns:
- The first repetition of repeating field
destination, creating it if it does not already exist
-
getMetadata
- Returns:
metadata(The required capability must exist and are assumed to function correctly on the FHIR server being tested.)
-
hasMetadata
-
setMetadata
- Parameters:
value-metadata(The required capability must exist and are assumed to function correctly on the FHIR server being tested.)
-
getFixture
- Returns:
fixture(Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.)
-
setFixture
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasFixture
-
addFixture
-
addFixture
-
getFixtureFirstRep
- Returns:
- The first repetition of repeating field
fixture, creating it if it does not already exist
-
getProfile
- Returns:
profile(Reference to the profile to be used for validation.)
-
setProfile
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasProfile
-
addProfile
-
addProfile
-
getProfileFirstRep
- Returns:
- The first repetition of repeating field
profile, creating it if it does not already exist
-
getVariable
- Returns:
variable(Variable is set based either on element value in response body or on header field value in the response headers.)
-
setVariable
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasVariable
-
addVariable
-
addVariable
-
getVariableFirstRep
- Returns:
- The first repetition of repeating field
variable, creating it if it does not already exist
-
getRule
- Returns:
rule(Assert rule to be used in one or more asserts within the test script.)
-
setRule
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRule
-
addRule
-
addRule
-
getRuleFirstRep
- Returns:
- The first repetition of repeating field
rule, creating it if it does not already exist
-
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.)
-
setRuleset
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRuleset
-
addRuleset
-
addRuleset
-
getRulesetFirstRep
- Returns:
- The first repetition of repeating field
ruleset, creating it if it does not already exist
-
getSetup
- Returns:
setup(A series of required setup operations before tests are executed.)
-
hasSetup
-
setSetup
- Parameters:
value-setup(A series of required setup operations before tests are executed.)
-
getTest
- Returns:
test(A test in this script.)
-
setTest
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTest
-
addTest
-
addTest
-
getTestFirstRep
- Returns:
- The first repetition of repeating field
test, creating it if it does not already exist
-
getTeardown
- Returns:
teardown(A series of operations required to clean up after the all the tests are executed (successfully or otherwise).)
-
hasTeardown
-
setTeardown
- Parameters:
value-teardown(A series of operations required to clean up after the all the tests are executed (successfully or otherwise).)
-
listChildren
- Overrides:
listChildrenin classMetadataResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classMetadataResource
-
copy
- Specified by:
copyin classMetadataResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classMetadataResource
-
equalsShallow
- Overrides:
equalsShallowin classMetadataResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classMetadataResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-