Class TestReport
- 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
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static enum
static class
static class
static enum
static class
static enum
static class
static class
static enum
static class
static class
static class
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
Modifier and TypeFieldDescriptionprotected Identifier
Identifier for the TestReport assigned for external purposes outside the context of FHIR.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.protected DateTimeType
When the TestScript was executed and this TestReport was generated.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for issuedprotected StringType
A free text natural language name identifying the executed TestReport.protected List
<TestReport.TestReportParticipantComponent> A participant in the test execution, either the execution engine, a client, or a server.static final ca.uhn.fhir.rest.gclient.UriClientParam
Fluent Client search parameter constant for participantprotected Enumeration
<TestReport.TestReportResult> The overall result from the execution of the TestScript.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for resultprotected DecimalType
The final score (percentage of tests passed) resulting from the execution of the TestScript.protected TestReport.TestReportSetupComponent
The results of the series of required setup operations before the tests were executed.static final String
Search parameter: identifierstatic final String
Search parameter: issuedstatic final String
Search parameter: participantstatic final String
Search parameter: resultstatic final String
Search parameter: statusstatic final String
Search parameter: testerstatic final String
Search parameter: testscriptprotected Enumeration
<TestReport.TestReportStatus> The current state of this test report.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusprotected TestReport.TestReportTeardownComponent
The results of the series of operations required to clean up after all the tests were executed (successfully or otherwise).protected List
<TestReport.TestReportTestComponent> A test executed from the test script.protected StringType
Name of the tester producing this report (Organization or individual).static final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for testerprotected CanonicalType
Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for testscriptFields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
Fields 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_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionConstructorTestReport
(TestReport.TestReportStatus status, String testScript, TestReport.TestReportResult result) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddTest()
copy()
void
copyValues
(TestReport dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getName()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) getScore()
getSetup()
getTest()
String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
hasName()
boolean
boolean
boolean
boolean
boolean
hasScore()
boolean
boolean
hasSetup()
boolean
boolean
boolean
boolean
hasTest()
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) setIdentifier
(Identifier value) setIssuedElement
(DateTimeType value) setNameElement
(StringType value) setParticipant
(List<TestReport.TestReportParticipantComponent> theParticipant) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setScore
(double value) setScore
(long value) setScore
(BigDecimal value) setScoreElement
(DecimalType value) setTest
(List<TestReport.TestReportTestComponent> theTest) setTesterElement
(StringType value) setTestScript
(String value) protected TestReport
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getStandardsStatus, getText, hasContained, hasExtension, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setStandardsStatus, setText
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, getSourcePackage, getWebPath, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, hasSourcePackage, hasWebPath, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta, setSourcePackage, setWebPath
Methods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
Identifier for the TestReport assigned for external purposes outside the context of FHIR. -
name
A free text natural language name identifying the executed TestReport. -
status
The current state of this test report. -
testScript
Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`. -
result
The overall result from the execution of the TestScript. -
score
The final score (percentage of tests passed) resulting from the execution of the TestScript. -
tester
Name of the tester producing this report (Organization or individual). -
issued
When the TestScript was executed and this TestReport was generated. -
participant
A participant in the test execution, either the execution engine, a client, or a server. -
setup
The results of the series of required setup operations before the tests were executed. -
test
A test executed from the test script. -
teardown
The results of the series of operations required to clean up after all the tests were executed (successfully or otherwise). -
SP_IDENTIFIER
Search parameter: identifierDescription: An external identifier for the test report
Type: token
Path: TestReport.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: An external identifier for the test report
Type: token
Path: TestReport.identifier
-
SP_ISSUED
Search parameter: issuedDescription: The test report generation date
Type: date
Path: TestReport.issued
- See Also:
-
ISSUED
Fluent Client search parameter constant for issuedDescription: The test report generation date
Type: date
Path: TestReport.issued
-
SP_PARTICIPANT
Search parameter: participantDescription: The reference to a participant in the test execution
Type: uri
Path: TestReport.participant.uri
- See Also:
-
PARTICIPANT
Fluent Client search parameter constant for participantDescription: The reference to a participant in the test execution
Type: uri
Path: TestReport.participant.uri
-
SP_RESULT
Search parameter: resultDescription: The result disposition of the test execution
Type: token
Path: TestReport.result
- See Also:
-
RESULT
Fluent Client search parameter constant for resultDescription: The result disposition of the test execution
Type: token
Path: TestReport.result
-
SP_STATUS
Search parameter: statusDescription: The current status of the test report
Type: token
Path: TestReport.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: The current status of the test report
Type: token
Path: TestReport.status
-
SP_TESTER
Search parameter: testerDescription: The name of the testing organization
Type: string
Path: TestReport.tester
- See Also:
-
TESTER
Fluent Client search parameter constant for testerDescription: The name of the testing organization
Type: string
Path: TestReport.tester
-
SP_TESTSCRIPT
Search parameter: testscriptDescription: The test script executed to produce this report
Type: reference
Path: TestReport.testScript
- See Also:
-
TESTSCRIPT
Fluent Client search parameter constant for testscriptDescription: The test script executed to produce this report
Type: reference
Path: TestReport.testScript
-
INCLUDE_TESTSCRIPT
Constant for fluent queries to be used to add include statements. Specifies the path value of "TestReport:testscript".
-
-
Constructor Details
-
TestReport
public TestReport()Constructor -
TestReport
public TestReport(TestReport.TestReportStatus status, String testScript, TestReport.TestReportResult result) Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Identifier for the TestReport assigned for external purposes outside the context of FHIR.)
-
hasIdentifier
-
setIdentifier
- Parameters:
value
-identifier
(Identifier for the TestReport assigned for external purposes outside the context of FHIR.)
-
getNameElement
- Returns:
name
(A free text natural language name identifying the executed TestReport.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
-
hasName
-
setNameElement
- Parameters:
value
-name
(A free text natural language name identifying the executed TestReport.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
- Returns:
- A free text natural language name identifying the executed TestReport.
-
setName
- Parameters:
value
- A free text natural language name identifying the executed TestReport.
-
getStatusElement
- Returns:
status
(The current state of this test report.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value
-status
(The current state of this test report.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- The current state of this test report.
-
setStatus
- Parameters:
value
- The current state of this test report.
-
getTestScriptElement
- Returns:
testScript
(Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.). This is the underlying object with id, value and extensions. The accessor "getTestScript" gives direct access to the value
-
hasTestScriptElement
-
hasTestScript
-
setTestScriptElement
- Parameters:
value
-testScript
(Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.). This is the underlying object with id, value and extensions. The accessor "getTestScript" gives direct access to the value
-
getTestScript
- Returns:
- Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.
-
setTestScript
- Parameters:
value
- Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.
-
getResultElement
- Returns:
result
(The overall result from the execution of the TestScript.). This is the underlying object with id, value and extensions. The accessor "getResult" gives direct access to the value
-
hasResultElement
-
hasResult
-
setResultElement
- Parameters:
value
-result
(The overall result from the execution of the TestScript.). This is the underlying object with id, value and extensions. The accessor "getResult" gives direct access to the value
-
getResult
- Returns:
- The overall result from the execution of the TestScript.
-
setResult
- Parameters:
value
- The overall result from the execution of the TestScript.
-
getScoreElement
- Returns:
score
(The final score (percentage of tests passed) resulting from the execution of the TestScript.). This is the underlying object with id, value and extensions. The accessor "getScore" gives direct access to the value
-
hasScoreElement
-
hasScore
-
setScoreElement
- Parameters:
value
-score
(The final score (percentage of tests passed) resulting from the execution of the TestScript.). This is the underlying object with id, value and extensions. The accessor "getScore" gives direct access to the value
-
getScore
- Returns:
- The final score (percentage of tests passed) resulting from the execution of the TestScript.
-
setScore
- Parameters:
value
- The final score (percentage of tests passed) resulting from the execution of the TestScript.
-
setScore
- Parameters:
value
- The final score (percentage of tests passed) resulting from the execution of the TestScript.
-
setScore
- Parameters:
value
- The final score (percentage of tests passed) resulting from the execution of the TestScript.
-
getTesterElement
- Returns:
tester
(Name of the tester producing this report (Organization or individual).). This is the underlying object with id, value and extensions. The accessor "getTester" gives direct access to the value
-
hasTesterElement
-
hasTester
-
setTesterElement
- Parameters:
value
-tester
(Name of the tester producing this report (Organization or individual).). This is the underlying object with id, value and extensions. The accessor "getTester" gives direct access to the value
-
getTester
- Returns:
- Name of the tester producing this report (Organization or individual).
-
setTester
- Parameters:
value
- Name of the tester producing this report (Organization or individual).
-
getIssuedElement
- Returns:
issued
(When the TestScript was executed and this TestReport was generated.). This is the underlying object with id, value and extensions. The accessor "getIssued" gives direct access to the value
-
hasIssuedElement
-
hasIssued
-
setIssuedElement
- Parameters:
value
-issued
(When the TestScript was executed and this TestReport was generated.). This is the underlying object with id, value and extensions. The accessor "getIssued" gives direct access to the value
-
getIssued
- Returns:
- When the TestScript was executed and this TestReport was generated.
-
setIssued
- Parameters:
value
- When the TestScript was executed and this TestReport was generated.
-
getParticipant
- Returns:
participant
(A participant in the test execution, either the execution engine, a client, or a server.)
-
setParticipant
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasParticipant
-
addParticipant
-
addParticipant
-
getParticipantFirstRep
- Returns:
- The first repetition of repeating field
participant
, creating it if it does not already exist {3}
-
getSetup
- Returns:
setup
(The results of the series of required setup operations before the tests were executed.)
-
hasSetup
-
setSetup
- Parameters:
value
-setup
(The results of the series of required setup operations before the tests were executed.)
-
getTest
- Returns:
test
(A test executed from the test script.)
-
setTest
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasTest
-
addTest
-
addTest
-
getTestFirstRep
- Returns:
- The first repetition of repeating field
test
, creating it if it does not already exist {3}
-
getTeardown
- Returns:
teardown
(The results of the series of operations required to clean up after all the tests were executed (successfully or otherwise).)
-
hasTeardown
-
setTeardown
- Parameters:
value
-teardown
(The results of the series of operations required to clean up after all the tests were executed (successfully or otherwise).)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copy
in classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-