Class VerificationResult
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.resource.Resource
-
- org.linuxforhealth.fhir.model.resource.DomainResource
-
- org.linuxforhealth.fhir.model.resource.VerificationResult
-
- All Implemented Interfaces:
Visitable
@Generated("org.linuxforhealth.fhir.tools.CodeGenerator") public class VerificationResult extends DomainResource
Describes validation requirements, source(s), status and dates for one or more elements.Maturity level: FMM0 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VerificationResult.Attestation
Information about the entity attesting to information.static class
VerificationResult.Builder
static class
VerificationResult.PrimarySource
Information about the primary source(s) involved in validation.static class
VerificationResult.Validator
Information about the entity validating information.
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static VerificationResult.Builder
builder()
boolean
equals(java.lang.Object obj)
VerificationResult.Attestation
getAttestation()
Information about the entity attesting to information.CodeableConcept
getFailureAction()
The result if validation fails (fatal; warning; record only; none).Timing
getFrequency()
Frequency of revalidation.DateTime
getLastPerformed()
The date/time validation was last completed (including failed validations).CodeableConcept
getNeed()
The frequency with which the target must be validated (none; initial; periodic).Date
getNextScheduled()
The date when target is next validated, if appropriate.java.util.List<VerificationResult.PrimarySource>
getPrimarySource()
Information about the primary source(s) involved in validation.Status
getStatus()
The validation status of the target (attested; validated; in process; requires revalidation; validation failed; revalidation failed).DateTime
getStatusDate()
When the validation status was updated.java.util.List<Reference>
getTarget()
A resource that was validated.java.util.List<String>
getTargetLocation()
The fhirpath location(s) within the resource that was validated.java.util.List<CodeableConcept>
getValidationProcess()
The primary process by which the target is validated (edit check; value set; primary source; multiple sources; standalone; in context).CodeableConcept
getValidationType()
What the target is validated against (nothing; primary source; multiple sources).java.util.List<VerificationResult.Validator>
getValidator()
Information about the entity validating information.boolean
hasChildren()
int
hashCode()
VerificationResult.Builder
toBuilder()
Create a new Builder from the contents of this Resource-
Methods inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class org.linuxforhealth.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getTarget
public java.util.List<Reference> getTarget()
A resource that was validated.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getTargetLocation
public java.util.List<String> getTargetLocation()
The fhirpath location(s) within the resource that was validated.- Returns:
- An unmodifiable list containing immutable objects of type
String
that may be empty.
-
getNeed
public CodeableConcept getNeed()
The frequency with which the target must be validated (none; initial; periodic).- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getStatus
public Status getStatus()
The validation status of the target (attested; validated; in process; requires revalidation; validation failed; revalidation failed).- Returns:
- An immutable object of type
Status
that is non-null.
-
getStatusDate
public DateTime getStatusDate()
When the validation status was updated.- Returns:
- An immutable object of type
DateTime
that may be null.
-
getValidationType
public CodeableConcept getValidationType()
What the target is validated against (nothing; primary source; multiple sources).- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getValidationProcess
public java.util.List<CodeableConcept> getValidationProcess()
The primary process by which the target is validated (edit check; value set; primary source; multiple sources; standalone; in context).- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that may be empty.
-
getFrequency
public Timing getFrequency()
Frequency of revalidation.- Returns:
- An immutable object of type
Timing
that may be null.
-
getLastPerformed
public DateTime getLastPerformed()
The date/time validation was last completed (including failed validations).- Returns:
- An immutable object of type
DateTime
that may be null.
-
getNextScheduled
public Date getNextScheduled()
The date when target is next validated, if appropriate.- Returns:
- An immutable object of type
Date
that may be null.
-
getFailureAction
public CodeableConcept getFailureAction()
The result if validation fails (fatal; warning; record only; none).- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getPrimarySource
public java.util.List<VerificationResult.PrimarySource> getPrimarySource()
Information about the primary source(s) involved in validation.- Returns:
- An unmodifiable list containing immutable objects of type
VerificationResult.PrimarySource
that may be empty.
-
getAttestation
public VerificationResult.Attestation getAttestation()
Information about the entity attesting to information.- Returns:
- An immutable object of type
VerificationResult.Attestation
that may be null.
-
getValidator
public java.util.List<VerificationResult.Validator> getValidator()
Information about the entity validating information.- Returns:
- An unmodifiable list containing immutable objects of type
VerificationResult.Validator
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }
- Specified by:
accept
in interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public VerificationResult.Builder toBuilder()
Description copied from class:Resource
Create a new Builder from the contents of this Resource- Specified by:
toBuilder
in classDomainResource
-
builder
public static VerificationResult.Builder builder()
-
-