Package com.ibm.fhir.model.resource
Class DiagnosticReport
- 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.DiagnosticReport
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DiagnosticReport.Builder
static class
DiagnosticReport.Media
A list of key images associated with this report.
-
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 void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static DiagnosticReport.Builder
builder()
boolean
equals(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.CodeableConcept
getCode()
A code or name that describes this diagnostic report.String
getConclusion()
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.Element
getEffective()
The time or time-period the observed values are related to.Reference
getEncounter()
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.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.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.DiagnosticReportStatus
getStatus()
The status of the diagnostic report.Reference
getSubject()
The subject of the report.boolean
hasChildren()
int
hashCode()
DiagnosticReport.Builder
toBuilder()
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
-
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.
-
getStatus
public DiagnosticReportStatus getStatus()
The status of the diagnostic report.- Returns:
- An immutable object of type
DiagnosticReportStatus
that 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
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.
-
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.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
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 interfaceVisitable
- Specified by:
accept
in 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public DiagnosticReport.Builder toBuilder()
Description copied from class:Resource
Create a new Builder from the contents of this Resource- Specified by:
toBuilder
in classDomainResource
-
builder
public static DiagnosticReport.Builder builder()
-
-