Package com.ibm.fhir.model.resource
Class VerificationResult
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.VerificationResult
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class VerificationResult extends DomainResourceDescribes 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 classVerificationResult.AttestationInformation about the entity attesting to information.static classVerificationResult.Builderstatic classVerificationResult.PrimarySourceInformation about the primary source(s) involved in validation.static classVerificationResult.ValidatorInformation about the entity validating information.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static VerificationResult.Builderbuilder()booleanequals(java.lang.Object obj)VerificationResult.AttestationgetAttestation()Information about the entity attesting to information.CodeableConceptgetFailureAction()The result if validation fails (fatal; warning; record only; none).TiminggetFrequency()Frequency of revalidation.DateTimegetLastPerformed()The date/time validation was last completed (including failed validations).CodeableConceptgetNeed()The frequency with which the target must be validated (none; initial; periodic).DategetNextScheduled()The date when target is next validated, if appropriate.java.util.List<VerificationResult.PrimarySource>getPrimarySource()Information about the primary source(s) involved in validation.StatusgetStatus()The validation status of the target (attested; validated; in process; requires revalidation; validation failed; revalidation failed).DateTimegetStatusDate()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).CodeableConceptgetValidationType()What the target is validated against (nothing; primary source; multiple sources).java.util.List<VerificationResult.Validator>getValidator()Information about the entity validating information.booleanhasChildren()inthashCode()VerificationResult.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.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
Referencethat 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
Stringthat 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
CodeableConceptthat 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
Statusthat is non-null.
-
getStatusDate
public DateTime getStatusDate()
When the validation status was updated.- Returns:
- An immutable object of type
DateTimethat may be null.
-
getValidationType
public CodeableConcept getValidationType()
What the target is validated against (nothing; primary source; multiple sources).- Returns:
- An immutable object of type
CodeableConceptthat 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
CodeableConceptthat may be empty.
-
getFrequency
public Timing getFrequency()
Frequency of revalidation.- Returns:
- An immutable object of type
Timingthat may be null.
-
getLastPerformed
public DateTime getLastPerformed()
The date/time validation was last completed (including failed validations).- Returns:
- An immutable object of type
DateTimethat may be null.
-
getNextScheduled
public Date getNextScheduled()
The date when target is next validated, if appropriate.- Returns:
- An immutable object of type
Datethat may be null.
-
getFailureAction
public CodeableConcept getFailureAction()
The result if validation fails (fatal; warning; record only; none).- Returns:
- An immutable object of type
CodeableConceptthat 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.PrimarySourcethat may be empty.
-
getAttestation
public VerificationResult.Attestation getAttestation()
Information about the entity attesting to information.- Returns:
- An immutable object of type
VerificationResult.Attestationthat 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.Validatorthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)Description copied from interface:VisitableAccept 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:
acceptin interfaceVisitable- Specified by:
acceptin 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public VerificationResult.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static VerificationResult.Builder builder()
-
-