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 enum
static class
static class
static enum
static class
static enum
static class
static class
static enum
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Identifier
Identifier for the TestScript 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 TestScript.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: testerstatic final String
Search parameter: testscriptprotected Enumeration
<TestReport.TestReportStatus> The current state of this test report.protected TestReport.TestReportTeardownComponent
The results of the series of operations required to clean up after the 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 Reference
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 testscriptprotected TestScript
The actual object that is the target of the reference (Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.)Fields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu3.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
(Enumeration<TestReport.TestReportStatus> status, Reference testScript, Enumeration<TestReport.TestReportResult> result) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddTest()
copy()
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
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) 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
(Reference value) setTestScriptTarget
(TestScript value) protected TestReport
Methods 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, setText
Methods 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, setMeta
Methods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods 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, 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
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 TestScript assigned for external purposes outside the context of FHIR. -
name
A free text natural language name identifying the executed TestScript. -
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`. -
testScriptTarget
The actual object that is the target of the reference (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 the all the tests were executed (successfully or otherwise). -
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_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_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". -
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
-
-
Constructor Details
-
TestReport
public TestReport()Constructor -
TestReport
public TestReport(Enumeration<TestReport.TestReportStatus> status, Reference testScript, Enumeration<TestReport.TestReportResult> result) Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Identifier for the TestScript assigned for external purposes outside the context of FHIR.)
-
hasIdentifier
-
setIdentifier
- Parameters:
value
-identifier
(Identifier for the TestScript assigned for external purposes outside the context of FHIR.)
-
getNameElement
- Returns:
name
(A free text natural language name identifying the executed TestScript.). 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 TestScript.). 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 TestScript.
-
setName
- Parameters:
value
- A free text natural language name identifying the executed TestScript.
-
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.
-
getTestScript
- Returns:
testScript
(Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.)
-
hasTestScript
-
setTestScript
- 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`.)
-
getTestScriptTarget
- Returns:
testScript
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.)
-
setTestScriptTarget
- Parameters:
value
-testScript
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (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
-
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
-
getTeardown
- Returns:
teardown
(The results of the series of operations required to clean up after the 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 the 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
-
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
-
copy
- Specified by:
copy
in classDomainResource
-
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
-