
Class TestReport
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.BaseResource
-
- org.hl7.fhir.dstu3.model.Resource
-
- org.hl7.fhir.dstu3.model.DomainResource
-
- org.hl7.fhir.dstu3.model.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
public class TestReport extends DomainResource
A summary of information based on the results of executing a TestScript.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestReport.SetupActionAssertComponent
static class
TestReport.SetupActionComponent
static class
TestReport.SetupActionOperationComponent
static class
TestReport.TeardownActionComponent
static class
TestReport.TestActionComponent
static class
TestReport.TestReportActionResult
static class
TestReport.TestReportActionResultEnumFactory
static class
TestReport.TestReportParticipantComponent
static class
TestReport.TestReportParticipantType
static class
TestReport.TestReportParticipantTypeEnumFactory
static class
TestReport.TestReportResult
static class
TestReport.TestReportResultEnumFactory
static class
TestReport.TestReportSetupComponent
static class
TestReport.TestReportStatus
static class
TestReport.TestReportStatusEnumFactory
static class
TestReport.TestReportTeardownComponent
static class
TestReport.TestReportTestComponent
-
Field Summary
Fields Modifier and Type Field Description protected Identifier
identifier
Identifier for the TestScript assigned for external purposes outside the context of FHIR.static ca.uhn.fhir.rest.gclient.TokenClientParam
IDENTIFIER
Fluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.Include
INCLUDE_TESTSCRIPT
Constant for fluent queries to be used to add include statements.protected DateTimeType
issued
When the TestScript was executed and this TestReport was generated.static ca.uhn.fhir.rest.gclient.DateClientParam
ISSUED
Fluent Client search parameter constant for issuedprotected StringType
name
A free text natural language name identifying the executed TestScript.protected List<TestReport.TestReportParticipantComponent>
participant
A participant in the test execution, either the execution engine, a client, or a server.static ca.uhn.fhir.rest.gclient.UriClientParam
PARTICIPANT
Fluent Client search parameter constant for participantprotected Enumeration<TestReport.TestReportResult>
result
The overall result from the execution of the TestScript.static ca.uhn.fhir.rest.gclient.TokenClientParam
RESULT
Fluent Client search parameter constant for resultprotected DecimalType
score
The final score (percentage of tests passed) resulting from the execution of the TestScript.protected TestReport.TestReportSetupComponent
setup
The results of the series of required setup operations before the tests were executed.static String
SP_IDENTIFIER
Search parameter: identifierstatic String
SP_ISSUED
Search parameter: issuedstatic String
SP_PARTICIPANT
Search parameter: participantstatic String
SP_RESULT
Search parameter: resultstatic String
SP_TESTER
Search parameter: testerstatic String
SP_TESTSCRIPT
Search parameter: testscriptprotected Enumeration<TestReport.TestReportStatus>
status
The current state of this test report.protected TestReport.TestReportTeardownComponent
teardown
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>
test
A test executed from the test script.protected StringType
tester
Name of the tester producing this report (Organization or individual).static ca.uhn.fhir.rest.gclient.StringClientParam
TESTER
Fluent Client search parameter constant for testerprotected Reference
testScript
Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
TESTSCRIPT
Fluent Client search parameter constant for testscriptprotected TestScript
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`.)-
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
-
-
Constructor Summary
Constructors Constructor Description TestReport()
ConstructorTestReport(Enumeration<TestReport.TestReportStatus> status, Reference testScript, Enumeration<TestReport.TestReportResult> result)
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, 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
-
-
-
-
Field Detail
-
identifier
protected Identifier identifier
Identifier for the TestScript assigned for external purposes outside the context of FHIR.
-
name
protected StringType name
A free text natural language name identifying the executed TestScript.
-
status
protected Enumeration<TestReport.TestReportStatus> status
The current state of this test report.
-
testScript
protected Reference testScript
Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.
-
testScriptTarget
protected TestScript 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
protected Enumeration<TestReport.TestReportResult> result
The overall result from the execution of the TestScript.
-
score
protected DecimalType score
The final score (percentage of tests passed) resulting from the execution of the TestScript.
-
tester
protected StringType tester
Name of the tester producing this report (Organization or individual).
-
issued
protected DateTimeType issued
When the TestScript was executed and this TestReport was generated.
-
participant
protected List<TestReport.TestReportParticipantComponent> participant
A participant in the test execution, either the execution engine, a client, or a server.
-
setup
protected TestReport.TestReportSetupComponent setup
The results of the series of required setup operations before the tests were executed.
-
test
protected List<TestReport.TestReportTestComponent> test
A test executed from the test script.
-
teardown
protected TestReport.TestReportTeardownComponent teardown
The results of the series of operations required to clean up after the all the tests were executed (successfully or otherwise).
-
SP_RESULT
public static final String SP_RESULT
Search parameter: resultDescription: The result disposition of the test execution
Type: token
Path: TestReport.result
- See Also:
- Constant Field Values
-
RESULT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam RESULT
Fluent Client search parameter constant for resultDescription: The result disposition of the test execution
Type: token
Path: TestReport.result
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: An external identifier for the test report
Type: token
Path: TestReport.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: An external identifier for the test report
Type: token
Path: TestReport.identifier
-
SP_TESTER
public static final String SP_TESTER
Search parameter: testerDescription: The name of the testing organization
Type: string
Path: TestReport.tester
- See Also:
- Constant Field Values
-
TESTER
public static final ca.uhn.fhir.rest.gclient.StringClientParam TESTER
Fluent Client search parameter constant for testerDescription: The name of the testing organization
Type: string
Path: TestReport.tester
-
SP_TESTSCRIPT
public static final String SP_TESTSCRIPT
Search parameter: testscriptDescription: The test script executed to produce this report
Type: reference
Path: TestReport.testScript
- See Also:
- Constant Field Values
-
TESTSCRIPT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TESTSCRIPT
Fluent Client search parameter constant for testscriptDescription: The test script executed to produce this report
Type: reference
Path: TestReport.testScript
-
INCLUDE_TESTSCRIPT
public static final ca.uhn.fhir.model.api.Include INCLUDE_TESTSCRIPT
Constant for fluent queries to be used to add include statements. Specifies the path value of "TestReport:testscript".
-
SP_ISSUED
public static final String SP_ISSUED
Search parameter: issuedDescription: The test report generation date
Type: date
Path: TestReport.issued
- See Also:
- Constant Field Values
-
ISSUED
public static final ca.uhn.fhir.rest.gclient.DateClientParam ISSUED
Fluent Client search parameter constant for issuedDescription: The test report generation date
Type: date
Path: TestReport.issued
-
SP_PARTICIPANT
public static final String SP_PARTICIPANT
Search parameter: participantDescription: The reference to a participant in the test execution
Type: uri
Path: TestReport.participant.uri
- See Also:
- Constant Field Values
-
PARTICIPANT
public static final ca.uhn.fhir.rest.gclient.UriClientParam PARTICIPANT
Fluent Client search parameter constant for participantDescription: The reference to a participant in the test execution
Type: uri
Path: TestReport.participant.uri
-
-
Constructor Detail
-
TestReport
public TestReport()
Constructor
-
TestReport
public TestReport(Enumeration<TestReport.TestReportStatus> status, Reference testScript, Enumeration<TestReport.TestReportResult> result)
Constructor
-
-
Method Detail
-
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 TestReport setIdentifier(Identifier value)
- Parameters:
value
-identifier
(Identifier for the TestScript assigned for external purposes outside the context of FHIR.)
-
getNameElement
public StringType 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
public boolean hasNameElement()
-
hasName
public boolean hasName()
-
setNameElement
public TestReport setNameElement(StringType value)
- 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
public String getName()
- Returns:
- A free text natural language name identifying the executed TestScript.
-
setName
public TestReport setName(String value)
- Parameters:
value
- A free text natural language name identifying the executed TestScript.
-
getStatusElement
public Enumeration<TestReport.TestReportStatus> 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
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public TestReport setStatusElement(Enumeration<TestReport.TestReportStatus> value)
- 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
public TestReport.TestReportStatus getStatus()
- Returns:
- The current state of this test report.
-
setStatus
public TestReport setStatus(TestReport.TestReportStatus value)
- Parameters:
value
- The current state of this test report.
-
getTestScript
public Reference 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
public boolean hasTestScript()
-
setTestScript
public TestReport setTestScript(Reference value)
- 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
public TestScript 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
public TestReport setTestScriptTarget(TestScript value)
- 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
public Enumeration<TestReport.TestReportResult> 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
public boolean hasResultElement()
-
hasResult
public boolean hasResult()
-
setResultElement
public TestReport setResultElement(Enumeration<TestReport.TestReportResult> value)
- 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
public TestReport.TestReportResult getResult()
- Returns:
- The overall result from the execution of the TestScript.
-
setResult
public TestReport setResult(TestReport.TestReportResult value)
- Parameters:
value
- The overall result from the execution of the TestScript.
-
getScoreElement
public DecimalType 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
public boolean hasScoreElement()
-
hasScore
public boolean hasScore()
-
setScoreElement
public TestReport setScoreElement(DecimalType value)
- 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
public BigDecimal getScore()
- Returns:
- The final score (percentage of tests passed) resulting from the execution of the TestScript.
-
setScore
public TestReport setScore(BigDecimal value)
- Parameters:
value
- The final score (percentage of tests passed) resulting from the execution of the TestScript.
-
setScore
public TestReport setScore(long value)
- Parameters:
value
- The final score (percentage of tests passed) resulting from the execution of the TestScript.
-
setScore
public TestReport setScore(double value)
- Parameters:
value
- The final score (percentage of tests passed) resulting from the execution of the TestScript.
-
getTesterElement
public StringType 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
public boolean hasTesterElement()
-
hasTester
public boolean hasTester()
-
setTesterElement
public TestReport setTesterElement(StringType value)
- 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
public String getTester()
- Returns:
- Name of the tester producing this report (Organization or individual).
-
setTester
public TestReport setTester(String value)
- Parameters:
value
- Name of the tester producing this report (Organization or individual).
-
getIssuedElement
public DateTimeType 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
public boolean hasIssuedElement()
-
hasIssued
public boolean hasIssued()
-
setIssuedElement
public TestReport setIssuedElement(DateTimeType value)
- 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
public Date getIssued()
- Returns:
- When the TestScript was executed and this TestReport was generated.
-
setIssued
public TestReport setIssued(Date value)
- Parameters:
value
- When the TestScript was executed and this TestReport was generated.
-
getParticipant
public List<TestReport.TestReportParticipantComponent> getParticipant()
- Returns:
participant
(A participant in the test execution, either the execution engine, a client, or a server.)
-
setParticipant
public TestReport setParticipant(List<TestReport.TestReportParticipantComponent> theParticipant)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasParticipant
public boolean hasParticipant()
-
addParticipant
public TestReport.TestReportParticipantComponent addParticipant()
-
addParticipant
public TestReport addParticipant(TestReport.TestReportParticipantComponent t)
-
getParticipantFirstRep
public TestReport.TestReportParticipantComponent getParticipantFirstRep()
- Returns:
- The first repetition of repeating field
participant
, creating it if it does not already exist
-
getSetup
public TestReport.TestReportSetupComponent getSetup()
- Returns:
setup
(The results of the series of required setup operations before the tests were executed.)
-
hasSetup
public boolean hasSetup()
-
setSetup
public TestReport setSetup(TestReport.TestReportSetupComponent value)
- Parameters:
value
-setup
(The results of the series of required setup operations before the tests were executed.)
-
getTest
public List<TestReport.TestReportTestComponent> getTest()
- Returns:
test
(A test executed from the test script.)
-
setTest
public TestReport setTest(List<TestReport.TestReportTestComponent> theTest)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasTest
public boolean hasTest()
-
addTest
public TestReport.TestReportTestComponent addTest()
-
addTest
public TestReport addTest(TestReport.TestReportTestComponent t)
-
getTestFirstRep
public TestReport.TestReportTestComponent getTestFirstRep()
- Returns:
- The first repetition of repeating field
test
, creating it if it does not already exist
-
getTeardown
public TestReport.TestReportTeardownComponent 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
public boolean hasTeardown()
-
setTeardown
public TestReport setTeardown(TestReport.TestReportTeardownComponent value)
- 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
protected void listChildren(List<Property> children)
- 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
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- 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
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
public TestReport copy()
- Specified by:
copy
in classDomainResource
-
typedCopy
protected TestReport typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceType
in classResource
-
-