public class TestReport extends DomainResource
| Modifier and Type | Class and 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 |
| Modifier and Type | Field and 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 identifier
|
static 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 issued
|
protected 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 participant
|
protected 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 result
|
protected 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: identifier
|
static String |
SP_ISSUED
Search parameter: issued
|
static String |
SP_PARTICIPANT
Search parameter: participant
|
static String |
SP_RESULT
Search parameter: result
|
static String |
SP_TESTER
Search parameter: tester
|
static String |
SP_TESTSCRIPT
Search parameter: testscript
|
protected 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 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 tester
|
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`.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
TESTSCRIPT
Fluent Client search parameter constant for testscript
|
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`.)
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
TestReport()
Constructor
|
TestReport(Enumeration<TestReport.TestReportStatus> status,
Reference testScript,
Enumeration<TestReport.TestReportResult> result)
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected Identifier identifier
protected StringType name
protected Enumeration<TestReport.TestReportStatus> status
protected Reference testScript
protected TestScript testScriptTarget
protected Enumeration<TestReport.TestReportResult> result
protected DecimalType score
protected StringType tester
protected DateTimeType issued
protected List<TestReport.TestReportParticipantComponent> participant
protected TestReport.TestReportSetupComponent setup
protected List<TestReport.TestReportTestComponent> test
protected TestReport.TestReportTeardownComponent teardown
public static final String SP_RESULT
Description: The result disposition of the test execution
Type: token
Path: TestReport.result
public static final ca.uhn.fhir.rest.gclient.TokenClientParam RESULT
Description: The result disposition of the test execution
Type: token
Path: TestReport.result
public static final String SP_IDENTIFIER
Description: An external identifier for the test report
Type: token
Path: TestReport.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: An external identifier for the test report
Type: token
Path: TestReport.identifier
public static final String SP_TESTER
Description: The name of the testing organization
Type: string
Path: TestReport.tester
public static final ca.uhn.fhir.rest.gclient.StringClientParam TESTER
Description: The name of the testing organization
Type: string
Path: TestReport.tester
public static final String SP_TESTSCRIPT
Description: The test script executed to produce this report
Type: reference
Path: TestReport.testScript
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TESTSCRIPT
Description: The test script executed to produce this report
Type: reference
Path: TestReport.testScript
public static final ca.uhn.fhir.model.api.Include INCLUDE_TESTSCRIPT
public static final String SP_ISSUED
Description: The test report generation date
Type: date
Path: TestReport.issued
public static final ca.uhn.fhir.rest.gclient.DateClientParam ISSUED
Description: The test report generation date
Type: date
Path: TestReport.issued
public static final String SP_PARTICIPANT
Description: The reference to a participant in the test execution
Type: uri
Path: TestReport.participant.uri
public static final ca.uhn.fhir.rest.gclient.UriClientParam PARTICIPANT
Description: The reference to a participant in the test execution
Type: uri
Path: TestReport.participant.uri
public TestReport()
public TestReport(Enumeration<TestReport.TestReportStatus> status, Reference testScript, Enumeration<TestReport.TestReportResult> result)
public Identifier getIdentifier()
identifier (Identifier for the TestScript assigned for external purposes outside the context of FHIR.)public boolean hasIdentifier()
public TestReport setIdentifier(Identifier value)
value - identifier (Identifier for the TestScript assigned for external purposes outside the context of FHIR.)public StringType getNameElement()
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 valuepublic boolean hasNameElement()
public boolean hasName()
public TestReport setNameElement(StringType value)
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 valuepublic String getName()
public TestReport setName(String value)
value - A free text natural language name identifying the executed TestScript.public Enumeration<TestReport.TestReportStatus> getStatusElement()
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 valuepublic boolean hasStatusElement()
public boolean hasStatus()
public TestReport setStatusElement(Enumeration<TestReport.TestReportStatus> value)
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 valuepublic TestReport.TestReportStatus getStatus()
public TestReport setStatus(TestReport.TestReportStatus value)
value - The current state of this test report.public Reference getTestScript()
testScript (Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.)public boolean hasTestScript()
public TestReport setTestScript(Reference value)
value - testScript (Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.)public TestScript getTestScriptTarget()
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`.)public TestReport setTestScriptTarget(TestScript value)
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`.)public Enumeration<TestReport.TestReportResult> getResultElement()
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 valuepublic boolean hasResultElement()
public boolean hasResult()
public TestReport setResultElement(Enumeration<TestReport.TestReportResult> value)
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 valuepublic TestReport.TestReportResult getResult()
public TestReport setResult(TestReport.TestReportResult value)
value - The overall result from the execution of the TestScript.public DecimalType getScoreElement()
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 valuepublic boolean hasScoreElement()
public boolean hasScore()
public TestReport setScoreElement(DecimalType value)
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 valuepublic BigDecimal getScore()
public TestReport setScore(BigDecimal value)
value - The final score (percentage of tests passed) resulting from the execution of the TestScript.public TestReport setScore(long value)
value - The final score (percentage of tests passed) resulting from the execution of the TestScript.public TestReport setScore(double value)
value - The final score (percentage of tests passed) resulting from the execution of the TestScript.public StringType getTesterElement()
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 valuepublic boolean hasTesterElement()
public boolean hasTester()
public TestReport setTesterElement(StringType value)
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 valuepublic String getTester()
public TestReport setTester(String value)
value - Name of the tester producing this report (Organization or individual).public DateTimeType getIssuedElement()
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 valuepublic boolean hasIssuedElement()
public boolean hasIssued()
public TestReport setIssuedElement(DateTimeType value)
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 valuepublic Date getIssued()
public TestReport setIssued(Date value)
value - When the TestScript was executed and this TestReport was generated.public List<TestReport.TestReportParticipantComponent> getParticipant()
participant (A participant in the test execution, either the execution engine, a client, or a server.)public TestReport setParticipant(List<TestReport.TestReportParticipantComponent> theParticipant)
this for easy method chainingpublic boolean hasParticipant()
public TestReport.TestReportParticipantComponent addParticipant()
public TestReport addParticipant(TestReport.TestReportParticipantComponent t)
public TestReport.TestReportParticipantComponent getParticipantFirstRep()
participant, creating it if it does not already existpublic TestReport.TestReportSetupComponent getSetup()
setup (The results of the series of required setup operations before the tests were executed.)public boolean hasSetup()
public TestReport setSetup(TestReport.TestReportSetupComponent value)
value - setup (The results of the series of required setup operations before the tests were executed.)public List<TestReport.TestReportTestComponent> getTest()
test (A test executed from the test script.)public TestReport setTest(List<TestReport.TestReportTestComponent> theTest)
this for easy method chainingpublic boolean hasTest()
public TestReport.TestReportTestComponent addTest()
public TestReport addTest(TestReport.TestReportTestComponent t)
public TestReport.TestReportTestComponent getTestFirstRep()
test, creating it if it does not already existpublic TestReport.TestReportTeardownComponent getTeardown()
teardown (The results of the series of operations required to clean up after all the tests were executed (successfully or otherwise).)public boolean hasTeardown()
public TestReport setTeardown(TestReport.TestReportTeardownComponent value)
value - teardown (The results of the series of operations required to clean up after all the tests were executed (successfully or otherwise).)protected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic TestReport copy()
copy in class DomainResourcepublic void copyValues(TestReport dst)
protected TestReport typedCopy()
public boolean equalsDeep(Base other_)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other_)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2021 Health Level 7. All rights reserved.