Class DiagnosticReport

  • All Implemented Interfaces:
    Visitable

    @Generated("org.linuxforhealth.fhir.tools.CodeGenerator")
    public class DiagnosticReport
    extends DomainResource
    The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretations, and formatted representation of diagnostic reports.

    Maturity level: FMM3 (Trial Use)

    • Method Detail

      • getIdentifier

        public java.util.List<Identifier> getIdentifier()
        Identifiers assigned to this report by the performer or other systems.
        Returns:
        An unmodifiable list containing immutable objects of type Identifier that may be empty.
      • getBasedOn

        public java.util.List<Reference> getBasedOn()
        Details concerning a service requested.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getCategory

        public java.util.List<CodeableConcept> getCategory()
        A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getCode

        public CodeableConcept getCode()
        A code or name that describes this diagnostic report.
        Returns:
        An immutable object of type CodeableConcept that is non-null.
      • getSubject

        public Reference getSubject()
        The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources.
        Returns:
        An immutable object of type Reference that may be null.
      • getEncounter

        public Reference getEncounter()
        The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about.
        Returns:
        An immutable object of type Reference that may be null.
      • getEffective

        public Element getEffective()
        The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.
        Returns:
        An immutable object of type DateTime or Period that may be null.
      • getIssued

        public Instant getIssued()
        The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.
        Returns:
        An immutable object of type Instant that may be null.
      • getPerformer

        public java.util.List<Reference> getPerformer()
        The diagnostic service that is responsible for issuing the report.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getResultsInterpreter

        public java.util.List<Reference> getResultsInterpreter()
        The practitioner or organization that is responsible for the report's conclusions and interpretations.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getSpecimen

        public java.util.List<Reference> getSpecimen()
        Details about the specimens on which this diagnostic report is based.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getResult

        public java.util.List<Reference> getResult()
        [Observations](observation.html) that are part of this diagnostic report.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getImagingStudy

        public java.util.List<Reference> getImagingStudy()
        One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getMedia

        public java.util.List<DiagnosticReport.Media> getMedia()
        A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).
        Returns:
        An unmodifiable list containing immutable objects of type DiagnosticReport.Media that may be empty.
      • getConclusion

        public String getConclusion()
        Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.
        Returns:
        An immutable object of type String that may be null.
      • getConclusionCode

        public java.util.List<CodeableConcept> getConclusionCode()
        One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getPresentedForm

        public java.util.List<Attachment> getPresentedForm()
        Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.
        Returns:
        An unmodifiable list containing immutable objects of type Attachment that may be empty.
      • 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 interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object