Class DiagnosticReport
- 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.DiagnosticReport
-
- All Implemented Interfaces:
Visitable
@Generated("org.linuxforhealth.fhir.tools.CodeGenerator") public class DiagnosticReport extends DomainResourceThe 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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiagnosticReport.Builderstatic classDiagnosticReport.MediaA list of key images associated with this report.
-
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 voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static DiagnosticReport.Builderbuilder()booleanequals(java.lang.Object obj)java.util.List<Reference>getBasedOn()Details concerning a service requested.java.util.List<CodeableConcept>getCategory()A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g.CodeableConceptgetCode()A code or name that describes this diagnostic report.StringgetConclusion()Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.java.util.List<CodeableConcept>getConclusionCode()One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.ElementgetEffective()The time or time-period the observed values are related to.ReferencegetEncounter()The healthcare event (e.g.java.util.List<Identifier>getIdentifier()Identifiers assigned to this report by the performer or other systems.java.util.List<Reference>getImagingStudy()One or more links to full details of any imaging performed during the diagnostic investigation.InstantgetIssued()The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.java.util.List<DiagnosticReport.Media>getMedia()A list of key images associated with this report.java.util.List<Reference>getPerformer()The diagnostic service that is responsible for issuing the report.java.util.List<Attachment>getPresentedForm()Rich text representation of the entire result as issued by the diagnostic service.java.util.List<Reference>getResult()[Observations](observation.html) that are part of this diagnostic report.java.util.List<Reference>getResultsInterpreter()The practitioner or organization that is responsible for the report's conclusions and interpretations.java.util.List<Reference>getSpecimen()Details about the specimens on which this diagnostic report is based.DiagnosticReportStatusgetStatus()The status of the diagnostic report.ReferencegetSubject()The subject of the report.booleanhasChildren()inthashCode()DiagnosticReport.BuildertoBuilder()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
-
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
Identifierthat may be empty.
-
getBasedOn
public java.util.List<Reference> getBasedOn()
Details concerning a service requested.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getStatus
public DiagnosticReportStatus getStatus()
The status of the diagnostic report.- Returns:
- An immutable object of type
DiagnosticReportStatusthat is non-null.
-
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
CodeableConceptthat may be empty.
-
getCode
public CodeableConcept getCode()
A code or name that describes this diagnostic report.- Returns:
- An immutable object of type
CodeableConceptthat 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
Referencethat 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
Referencethat 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.
-
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
Instantthat 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
Referencethat 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
Referencethat 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
Referencethat 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
Referencethat 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
Referencethat 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.Mediathat 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
Stringthat 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
CodeableConceptthat 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
Attachmentthat 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 DiagnosticReport.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static DiagnosticReport.Builder builder()
-
-