Package org.hl7.fhir.r4.model
Class VerificationResult
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.model.VerificationResult
-
- 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 VerificationResult extends DomainResource
Describes validation requirements, source(s), status and dates for one or more elements.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVerificationResult.Statusstatic classVerificationResult.StatusEnumFactorystatic classVerificationResult.VerificationResultAttestationComponentstatic classVerificationResult.VerificationResultPrimarySourceComponentstatic classVerificationResult.VerificationResultValidatorComponent
-
Field Summary
Fields Modifier and Type Field Description protected VerificationResult.VerificationResultAttestationComponentattestationInformation about the entity attesting to information.protected CodeableConceptfailureActionThe result if validation fails (fatal; warning; record only; none).protected TimingfrequencyFrequency of revalidation.static ca.uhn.fhir.model.api.IncludeINCLUDE_TARGETConstant for fluent queries to be used to add include statements.protected DateTimeTypelastPerformedThe date/time validation was last completed (including failed validations).protected CodeableConceptneedThe frequency with which the target must be validated (none; initial; periodic).protected DateTypenextScheduledThe date when target is next validated, if appropriate.protected List<VerificationResult.VerificationResultPrimarySourceComponent>primarySourceInformation about the primary source(s) involved in validation.static StringSP_TARGETSearch parameter: targetprotected Enumeration<VerificationResult.Status>statusThe validation status of the target (attested; validated; in process; requires revalidation; validation failed; revalidation failed).protected DateTimeTypestatusDateWhen the validation status was updated.protected List<Reference>targetA resource that was validated.static ca.uhn.fhir.rest.gclient.ReferenceClientParamTARGETFluent Client search parameter constant for targetprotected List<StringType>targetLocationThe fhirpath location(s) within the resource that was validated.protected List<Resource>targetTargetThe actual objects that are the target of the reference (A resource that was validated.)protected List<CodeableConcept>validationProcessThe primary process by which the target is validated (edit check; value set; primary source; multiple sources; standalone; in context).protected CodeableConceptvalidationTypeWhat the target is validated against (nothing; primary source; multiple sources).protected List<VerificationResult.VerificationResultValidatorComponent>validatorInformation about the entity validating information.-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description VerificationResult()ConstructorVerificationResult(Enumeration<VerificationResult.Status> status)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, 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.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, 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, 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
-
targetTarget
protected List<Resource> targetTarget
The actual objects that are the target of the reference (A resource that was validated.)
-
targetLocation
protected List<StringType> targetLocation
The fhirpath location(s) within the resource that was validated.
-
need
protected CodeableConcept need
The frequency with which the target must be validated (none; initial; periodic).
-
status
protected Enumeration<VerificationResult.Status> status
The validation status of the target (attested; validated; in process; requires revalidation; validation failed; revalidation failed).
-
statusDate
protected DateTimeType statusDate
When the validation status was updated.
-
validationType
protected CodeableConcept validationType
What the target is validated against (nothing; primary source; multiple sources).
-
validationProcess
protected List<CodeableConcept> validationProcess
The primary process by which the target is validated (edit check; value set; primary source; multiple sources; standalone; in context).
-
lastPerformed
protected DateTimeType lastPerformed
The date/time validation was last completed (including failed validations).
-
nextScheduled
protected DateType nextScheduled
The date when target is next validated, if appropriate.
-
failureAction
protected CodeableConcept failureAction
The result if validation fails (fatal; warning; record only; none).
-
primarySource
protected List<VerificationResult.VerificationResultPrimarySourceComponent> primarySource
Information about the primary source(s) involved in validation.
-
attestation
protected VerificationResult.VerificationResultAttestationComponent attestation
Information about the entity attesting to information.
-
validator
protected List<VerificationResult.VerificationResultValidatorComponent> validator
Information about the entity validating information.
-
SP_TARGET
public static final String SP_TARGET
Search parameter: targetDescription: A resource that was validated
Type: reference
Path: VerificationResult.target
- See Also:
- Constant Field Values
-
TARGET
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TARGET
Fluent Client search parameter constant for targetDescription: A resource that was validated
Type: reference
Path: VerificationResult.target
-
INCLUDE_TARGET
public static final ca.uhn.fhir.model.api.Include INCLUDE_TARGET
Constant for fluent queries to be used to add include statements. Specifies the path value of "VerificationResult:target".
-
-
Constructor Detail
-
VerificationResult
public VerificationResult()
Constructor
-
VerificationResult
public VerificationResult(Enumeration<VerificationResult.Status> status)
Constructor
-
-
Method Detail
-
setTarget
public VerificationResult setTarget(List<Reference> theTarget)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTarget
public boolean hasTarget()
-
addTarget
public VerificationResult addTarget(Reference t)
-
getTargetFirstRep
public Reference getTargetFirstRep()
- Returns:
- The first repetition of repeating field
target, creating it if it does not already exist
-
getTargetTarget
@Deprecated public List<Resource> getTargetTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getTargetLocation
public List<StringType> getTargetLocation()
- Returns:
targetLocation(The fhirpath location(s) within the resource that was validated.)
-
setTargetLocation
public VerificationResult setTargetLocation(List<StringType> theTargetLocation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTargetLocation
public boolean hasTargetLocation()
-
addTargetLocationElement
public StringType addTargetLocationElement()
- Returns:
targetLocation(The fhirpath location(s) within the resource that was validated.)
-
addTargetLocation
public VerificationResult addTargetLocation(String value)
- Parameters:
value-targetLocation(The fhirpath location(s) within the resource that was validated.)
-
hasTargetLocation
public boolean hasTargetLocation(String value)
- Parameters:
value-targetLocation(The fhirpath location(s) within the resource that was validated.)
-
getNeed
public CodeableConcept getNeed()
- Returns:
need(The frequency with which the target must be validated (none; initial; periodic).)
-
hasNeed
public boolean hasNeed()
-
setNeed
public VerificationResult setNeed(CodeableConcept value)
- Parameters:
value-need(The frequency with which the target must be validated (none; initial; periodic).)
-
getStatusElement
public Enumeration<VerificationResult.Status> getStatusElement()
- Returns:
status(The validation status of the target (attested; validated; in process; requires revalidation; validation failed; revalidation failed).). 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 VerificationResult setStatusElement(Enumeration<VerificationResult.Status> value)
- Parameters:
value-status(The validation status of the target (attested; validated; in process; requires revalidation; validation failed; revalidation failed).). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public VerificationResult.Status getStatus()
- Returns:
- The validation status of the target (attested; validated; in process; requires revalidation; validation failed; revalidation failed).
-
setStatus
public VerificationResult setStatus(VerificationResult.Status value)
- Parameters:
value- The validation status of the target (attested; validated; in process; requires revalidation; validation failed; revalidation failed).
-
getStatusDateElement
public DateTimeType getStatusDateElement()
- Returns:
statusDate(When the validation status was updated.). This is the underlying object with id, value and extensions. The accessor "getStatusDate" gives direct access to the value
-
hasStatusDateElement
public boolean hasStatusDateElement()
-
hasStatusDate
public boolean hasStatusDate()
-
setStatusDateElement
public VerificationResult setStatusDateElement(DateTimeType value)
- Parameters:
value-statusDate(When the validation status was updated.). This is the underlying object with id, value and extensions. The accessor "getStatusDate" gives direct access to the value
-
getStatusDate
public Date getStatusDate()
- Returns:
- When the validation status was updated.
-
setStatusDate
public VerificationResult setStatusDate(Date value)
- Parameters:
value- When the validation status was updated.
-
getValidationType
public CodeableConcept getValidationType()
- Returns:
validationType(What the target is validated against (nothing; primary source; multiple sources).)
-
hasValidationType
public boolean hasValidationType()
-
setValidationType
public VerificationResult setValidationType(CodeableConcept value)
- Parameters:
value-validationType(What the target is validated against (nothing; primary source; multiple sources).)
-
getValidationProcess
public List<CodeableConcept> getValidationProcess()
- Returns:
validationProcess(The primary process by which the target is validated (edit check; value set; primary source; multiple sources; standalone; in context).)
-
setValidationProcess
public VerificationResult setValidationProcess(List<CodeableConcept> theValidationProcess)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasValidationProcess
public boolean hasValidationProcess()
-
addValidationProcess
public CodeableConcept addValidationProcess()
-
addValidationProcess
public VerificationResult addValidationProcess(CodeableConcept t)
-
getValidationProcessFirstRep
public CodeableConcept getValidationProcessFirstRep()
- Returns:
- The first repetition of repeating field
validationProcess, creating it if it does not already exist
-
getFrequency
public Timing getFrequency()
- Returns:
frequency(Frequency of revalidation.)
-
hasFrequency
public boolean hasFrequency()
-
setFrequency
public VerificationResult setFrequency(Timing value)
- Parameters:
value-frequency(Frequency of revalidation.)
-
getLastPerformedElement
public DateTimeType getLastPerformedElement()
- Returns:
lastPerformed(The date/time validation was last completed (including failed validations).). This is the underlying object with id, value and extensions. The accessor "getLastPerformed" gives direct access to the value
-
hasLastPerformedElement
public boolean hasLastPerformedElement()
-
hasLastPerformed
public boolean hasLastPerformed()
-
setLastPerformedElement
public VerificationResult setLastPerformedElement(DateTimeType value)
- Parameters:
value-lastPerformed(The date/time validation was last completed (including failed validations).). This is the underlying object with id, value and extensions. The accessor "getLastPerformed" gives direct access to the value
-
getLastPerformed
public Date getLastPerformed()
- Returns:
- The date/time validation was last completed (including failed validations).
-
setLastPerformed
public VerificationResult setLastPerformed(Date value)
- Parameters:
value- The date/time validation was last completed (including failed validations).
-
getNextScheduledElement
public DateType getNextScheduledElement()
- Returns:
nextScheduled(The date when target is next validated, if appropriate.). This is the underlying object with id, value and extensions. The accessor "getNextScheduled" gives direct access to the value
-
hasNextScheduledElement
public boolean hasNextScheduledElement()
-
hasNextScheduled
public boolean hasNextScheduled()
-
setNextScheduledElement
public VerificationResult setNextScheduledElement(DateType value)
- Parameters:
value-nextScheduled(The date when target is next validated, if appropriate.). This is the underlying object with id, value and extensions. The accessor "getNextScheduled" gives direct access to the value
-
getNextScheduled
public Date getNextScheduled()
- Returns:
- The date when target is next validated, if appropriate.
-
setNextScheduled
public VerificationResult setNextScheduled(Date value)
- Parameters:
value- The date when target is next validated, if appropriate.
-
getFailureAction
public CodeableConcept getFailureAction()
- Returns:
failureAction(The result if validation fails (fatal; warning; record only; none).)
-
hasFailureAction
public boolean hasFailureAction()
-
setFailureAction
public VerificationResult setFailureAction(CodeableConcept value)
- Parameters:
value-failureAction(The result if validation fails (fatal; warning; record only; none).)
-
getPrimarySource
public List<VerificationResult.VerificationResultPrimarySourceComponent> getPrimarySource()
- Returns:
primarySource(Information about the primary source(s) involved in validation.)
-
setPrimarySource
public VerificationResult setPrimarySource(List<VerificationResult.VerificationResultPrimarySourceComponent> thePrimarySource)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPrimarySource
public boolean hasPrimarySource()
-
addPrimarySource
public VerificationResult.VerificationResultPrimarySourceComponent addPrimarySource()
-
addPrimarySource
public VerificationResult addPrimarySource(VerificationResult.VerificationResultPrimarySourceComponent t)
-
getPrimarySourceFirstRep
public VerificationResult.VerificationResultPrimarySourceComponent getPrimarySourceFirstRep()
- Returns:
- The first repetition of repeating field
primarySource, creating it if it does not already exist
-
getAttestation
public VerificationResult.VerificationResultAttestationComponent getAttestation()
- Returns:
attestation(Information about the entity attesting to information.)
-
hasAttestation
public boolean hasAttestation()
-
setAttestation
public VerificationResult setAttestation(VerificationResult.VerificationResultAttestationComponent value)
- Parameters:
value-attestation(Information about the entity attesting to information.)
-
getValidator
public List<VerificationResult.VerificationResultValidatorComponent> getValidator()
- Returns:
validator(Information about the entity validating information.)
-
setValidator
public VerificationResult setValidator(List<VerificationResult.VerificationResultValidatorComponent> theValidator)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasValidator
public boolean hasValidator()
-
addValidator
public VerificationResult.VerificationResultValidatorComponent addValidator()
-
addValidator
public VerificationResult addValidator(VerificationResult.VerificationResultValidatorComponent t)
-
getValidatorFirstRep
public VerificationResult.VerificationResultValidatorComponent getValidatorFirstRep()
- Returns:
- The first repetition of repeating field
validator, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- 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
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- 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
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public VerificationResult copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(VerificationResult dst)
-
typedCopy
protected VerificationResult typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-