
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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic enumstatic classstatic classstatic enumstatic classstatic enumstatic classstatic classstatic enumstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IdentifierIdentifier for the TestScript assigned for external purposes outside the context of FHIR.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.protected DateTimeTypeWhen the TestScript was executed and this TestReport was generated.static final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for issuedprotected StringTypeA 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.UriClientParamFluent 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.TokenClientParamFluent Client search parameter constant for resultprotected DecimalTypeThe final score (percentage of tests passed) resulting from the execution of the TestScript.protected TestReport.TestReportSetupComponentThe results of the series of required setup operations before the tests were executed.static final StringSearch parameter: identifierstatic final StringSearch parameter: issuedstatic final StringSearch parameter: participantstatic final StringSearch parameter: resultstatic final StringSearch parameter: testerstatic final StringSearch parameter: testscriptprotected Enumeration<TestReport.TestReportStatus> The current state of this test report.protected TestReport.TestReportTeardownComponentThe 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 StringTypeName of the tester producing this report (Organization or individual).static final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for testerprotected ReferenceIdeally 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.ReferenceClientParamFluent Client search parameter constant for testscriptprotected TestScriptThe 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, 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
ConstructorsConstructorDescriptionConstructorTestReport(Enumeration<TestReport.TestReportStatus> status, Reference testScript, Enumeration<TestReport.TestReportResult> result) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddTest()copy()booleanequalsDeep(Base other_) booleanequalsShallow(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) booleanbooleanbooleanbooleanhasName()booleanbooleanbooleanbooleanbooleanhasScore()booleanbooleanhasSetup()booleanbooleanbooleanbooleanhasTest()booleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(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 TestReportMethods 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, toString, 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
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:
testScriptThe 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-testScriptThe 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
thisfor 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
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(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:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-