Class VerificationResult.Builder

    • Method Detail

      • id

        public VerificationResult.Builder id​(java.lang.String id)
        The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
        Overrides:
        id in class DomainResource.Builder
        Parameters:
        id - Logical id of this artifact
        Returns:
        A reference to this Builder instance
      • meta

        public VerificationResult.Builder meta​(Meta meta)
        The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
        Overrides:
        meta in class DomainResource.Builder
        Parameters:
        meta - Metadata about the resource
        Returns:
        A reference to this Builder instance
      • implicitRules

        public VerificationResult.Builder implicitRules​(Uri implicitRules)
        A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
        Overrides:
        implicitRules in class DomainResource.Builder
        Parameters:
        implicitRules - A set of rules under which this content was created
        Returns:
        A reference to this Builder instance
      • text

        public VerificationResult.Builder text​(Narrative text)
        A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
        Overrides:
        text in class DomainResource.Builder
        Parameters:
        text - Text summary of the resource, for human interpretation
        Returns:
        A reference to this Builder instance
      • contained

        public VerificationResult.Builder contained​(Resource... contained)
        These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Overrides:
        contained in class DomainResource.Builder
        Parameters:
        contained - Contained, inline Resources
        Returns:
        A reference to this Builder instance
      • contained

        public VerificationResult.Builder contained​(java.util.Collection<Resource> contained)
        These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Overrides:
        contained in class DomainResource.Builder
        Parameters:
        contained - Contained, inline Resources
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • extension

        public VerificationResult.Builder extension​(Extension... extension)
        May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Overrides:
        extension in class DomainResource.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
      • extension

        public VerificationResult.Builder extension​(java.util.Collection<Extension> extension)
        May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Overrides:
        extension in class DomainResource.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • modifierExtension

        public VerificationResult.Builder modifierExtension​(Extension... modifierExtension)
        May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

        Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Overrides:
        modifierExtension in class DomainResource.Builder
        Parameters:
        modifierExtension - Extensions that cannot be ignored
        Returns:
        A reference to this Builder instance
      • modifierExtension

        public VerificationResult.Builder modifierExtension​(java.util.Collection<Extension> modifierExtension)
        May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

        Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Overrides:
        modifierExtension in class DomainResource.Builder
        Parameters:
        modifierExtension - Extensions that cannot be ignored
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • target

        public VerificationResult.Builder target​(Reference... target)
        A resource that was validated.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Parameters:
        target - A resource that was validated
        Returns:
        A reference to this Builder instance
      • target

        public VerificationResult.Builder target​(java.util.Collection<Reference> target)
        A resource that was validated.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Parameters:
        target - A resource that was validated
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • targetLocation

        public VerificationResult.Builder targetLocation​(java.lang.String... targetLocation)
        Convenience method for setting targetLocation.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Parameters:
        targetLocation - The fhirpath location(s) within the resource that was validated
        Returns:
        A reference to this Builder instance
        See Also:
        #targetLocation(org.linuxforhealth.fhir.model.type.String)
      • targetLocation

        public VerificationResult.Builder targetLocation​(String... targetLocation)
        The fhirpath location(s) within the resource that was validated.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Parameters:
        targetLocation - The fhirpath location(s) within the resource that was validated
        Returns:
        A reference to this Builder instance
      • targetLocation

        public VerificationResult.Builder targetLocation​(java.util.Collection<String> targetLocation)
        The fhirpath location(s) within the resource that was validated.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Parameters:
        targetLocation - The fhirpath location(s) within the resource that was validated
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • need

        public VerificationResult.Builder need​(CodeableConcept need)
        The frequency with which the target must be validated (none; initial; periodic).
        Parameters:
        need - none | initial | periodic
        Returns:
        A reference to this Builder instance
      • status

        public VerificationResult.Builder status​(Status status)
        The validation status of the target (attested; validated; in process; requires revalidation; validation failed; revalidation failed).

        This element is required.

        Parameters:
        status - attested | validated | in-process | req-revalid | val-fail | reval-fail
        Returns:
        A reference to this Builder instance
      • statusDate

        public VerificationResult.Builder statusDate​(DateTime statusDate)
        When the validation status was updated.
        Parameters:
        statusDate - When the validation status was updated
        Returns:
        A reference to this Builder instance
      • validationType

        public VerificationResult.Builder validationType​(CodeableConcept validationType)
        What the target is validated against (nothing; primary source; multiple sources).
        Parameters:
        validationType - nothing | primary | multiple
        Returns:
        A reference to this Builder instance
      • validationProcess

        public VerificationResult.Builder validationProcess​(CodeableConcept... validationProcess)
        The primary process by which the target is validated (edit check; value set; primary source; multiple sources; standalone; in context).

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Parameters:
        validationProcess - The primary process by which the target is validated (edit check; value set; primary source; multiple sources; standalone; in context)
        Returns:
        A reference to this Builder instance
      • validationProcess

        public VerificationResult.Builder validationProcess​(java.util.Collection<CodeableConcept> validationProcess)
        The primary process by which the target is validated (edit check; value set; primary source; multiple sources; standalone; in context).

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Parameters:
        validationProcess - The primary process by which the target is validated (edit check; value set; primary source; multiple sources; standalone; in context)
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • frequency

        public VerificationResult.Builder frequency​(Timing frequency)
        Frequency of revalidation.
        Parameters:
        frequency - Frequency of revalidation
        Returns:
        A reference to this Builder instance
      • lastPerformed

        public VerificationResult.Builder lastPerformed​(DateTime lastPerformed)
        The date/time validation was last completed (including failed validations).
        Parameters:
        lastPerformed - The date/time validation was last completed (including failed validations)
        Returns:
        A reference to this Builder instance
      • nextScheduled

        public VerificationResult.Builder nextScheduled​(Date nextScheduled)
        The date when target is next validated, if appropriate.
        Parameters:
        nextScheduled - The date when target is next validated, if appropriate
        Returns:
        A reference to this Builder instance
      • failureAction

        public VerificationResult.Builder failureAction​(CodeableConcept failureAction)
        The result if validation fails (fatal; warning; record only; none).
        Parameters:
        failureAction - fatal | warn | rec-only | none
        Returns:
        A reference to this Builder instance
      • primarySource

        public VerificationResult.Builder primarySource​(VerificationResult.PrimarySource... primarySource)
        Information about the primary source(s) involved in validation.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Parameters:
        primarySource - Information about the primary source(s) involved in validation
        Returns:
        A reference to this Builder instance
      • primarySource

        public VerificationResult.Builder primarySource​(java.util.Collection<VerificationResult.PrimarySource> primarySource)
        Information about the primary source(s) involved in validation.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Parameters:
        primarySource - Information about the primary source(s) involved in validation
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • attestation

        public VerificationResult.Builder attestation​(VerificationResult.Attestation attestation)
        Information about the entity attesting to information.
        Parameters:
        attestation - Information about the entity attesting to information
        Returns:
        A reference to this Builder instance
      • validator

        public VerificationResult.Builder validator​(VerificationResult.Validator... validator)
        Information about the entity validating information.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Parameters:
        validator - Information about the entity validating information
        Returns:
        A reference to this Builder instance
      • validator

        public VerificationResult.Builder validator​(java.util.Collection<VerificationResult.Validator> validator)
        Information about the entity validating information.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Parameters:
        validator - Information about the entity validating information
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null