public class DiagnosticReport extends BaseResource implements IResource
Definition: 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.
Requirements: To support reporting for any diagnostic report into a clinical data repository.
Profile Definition: http://hl7.org/fhir/profiles/DiagnosticReport
| Modifier and Type | Class and Description |
|---|---|
static class |
DiagnosticReport.Image
Block class for child element: DiagnosticReport.image ()
|
| Modifier and Type | Field and Description |
|---|---|
static TokenClientParam |
CATEGORY
Fluent Client search parameter constant for category
|
static TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static TokenClientParam |
DIAGNOSIS
Fluent Client search parameter constant for diagnosis
|
static ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ReferenceClientParam |
IMAGE
Fluent Client search parameter constant for image
|
static Include |
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_IMAGE
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PERFORMER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_REQUEST
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_RESULT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SPECIMEN
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static DateClientParam |
ISSUED
Fluent Client search parameter constant for issued
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static ReferenceClientParam |
PERFORMER
Fluent Client search parameter constant for performer
|
static ReferenceClientParam |
REQUEST
Fluent Client search parameter constant for request
|
static ReferenceClientParam |
RESULT
Fluent Client search parameter constant for result
|
static String |
SP_CATEGORY
Search parameter constant for category
|
static String |
SP_CODE
Search parameter constant for code
|
static String |
SP_DATE
Search parameter constant for date
|
static String |
SP_DIAGNOSIS
Search parameter constant for diagnosis
|
static String |
SP_ENCOUNTER
Search parameter constant for encounter
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_IMAGE
Search parameter constant for image
|
static String |
SP_ISSUED
Search parameter constant for issued
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_PERFORMER
Search parameter constant for performer
|
static String |
SP_REQUEST
Search parameter constant for request
|
static String |
SP_RESULT
Search parameter constant for result
|
static String |
SP_SPECIMEN
Search parameter constant for specimen
|
static String |
SP_STATUS
Search parameter constant for status
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static ReferenceClientParam |
SPECIMEN
Fluent Client search parameter constant for specimen
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
DiagnosticReport() |
| Modifier and Type | Method and Description |
|---|---|
CodeableConceptDt |
addCodedDiagnosis()
Adds and returns a new value for codedDiagnosis ()
|
DiagnosticReport |
addCodedDiagnosis(CodeableConceptDt theValue)
Adds a given new value for codedDiagnosis ()
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (id)
|
DiagnosticReport |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)
|
DiagnosticReport.Image |
addImage()
Adds and returns a new value for image ()
|
DiagnosticReport |
addImage(DiagnosticReport.Image theValue)
Adds a given new value for image ()
|
ResourceReferenceDt |
addImagingStudy()
Adds and returns a new value for imagingStudy ()
|
AttachmentDt |
addPresentedForm()
Adds and returns a new value for presentedForm ()
|
DiagnosticReport |
addPresentedForm(AttachmentDt theValue)
Adds a given new value for presentedForm ()
|
ResourceReferenceDt |
addRequest()
Adds and returns a new value for request ()
|
ResourceReferenceDt |
addResult()
Adds and returns a new value for result ()
|
ResourceReferenceDt |
addSpecimen()
Adds and returns a new value for specimen ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
CodeableConceptDt |
getCategory()
Gets the value(s) for category (class).
|
CodeableConceptDt |
getCode()
Gets the value(s) for code (what).
|
List<CodeableConceptDt> |
getCodedDiagnosis()
Gets the value(s) for codedDiagnosis ().
|
CodeableConceptDt |
getCodedDiagnosisFirstRep()
Gets the first repetition for codedDiagnosis (),
creating it if it does not already exist.
|
String |
getConclusion()
Gets the value(s) for conclusion ().
|
StringDt |
getConclusionElement()
Gets the value(s) for conclusion ().
|
IDatatype |
getEffective()
Gets the value(s) for effective[x] (when.done).
|
ResourceReferenceDt |
getEncounter()
Gets the value(s) for encounter (context).
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (id).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (id),
creating it if it does not already exist.
|
List<DiagnosticReport.Image> |
getImage()
Gets the value(s) for image ().
|
DiagnosticReport.Image |
getImageFirstRep()
Gets the first repetition for image (),
creating it if it does not already exist.
|
List<ResourceReferenceDt> |
getImagingStudy()
Gets the value(s) for imagingStudy ().
|
Date |
getIssued()
Gets the value(s) for issued (when.recorded).
|
InstantDt |
getIssuedElement()
Gets the value(s) for issued (when.recorded).
|
ResourceReferenceDt |
getPerformer()
Gets the value(s) for performer (who.witness).
|
List<AttachmentDt> |
getPresentedForm()
Gets the value(s) for presentedForm ().
|
AttachmentDt |
getPresentedFormFirstRep()
Gets the first repetition for presentedForm (),
creating it if it does not already exist.
|
List<ResourceReferenceDt> |
getRequest()
Gets the value(s) for request ().
|
String |
getResourceName() |
List<ResourceReferenceDt> |
getResult()
Gets the value(s) for result ().
|
List<ResourceReferenceDt> |
getSpecimen()
Gets the value(s) for specimen ().
|
String |
getStatus()
Gets the value(s) for status (status).
|
BoundCodeDt<DiagnosticReportStatusEnum> |
getStatusElement()
Gets the value(s) for status (status).
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (who.focus).
|
boolean |
isEmpty() |
DiagnosticReport |
setCategory(CodeableConceptDt theValue)
Sets the value(s) for category (class)
|
DiagnosticReport |
setCode(CodeableConceptDt theValue)
Sets the value(s) for code (what)
|
DiagnosticReport |
setCodedDiagnosis(List<CodeableConceptDt> theValue)
Sets the value(s) for codedDiagnosis ()
|
DiagnosticReport |
setConclusion(String theString)
Sets the value for conclusion ()
|
DiagnosticReport |
setConclusion(StringDt theValue)
Sets the value(s) for conclusion ()
|
DiagnosticReport |
setEffective(IDatatype theValue)
Sets the value(s) for effective[x] (when.done)
|
DiagnosticReport |
setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter (context)
|
DiagnosticReport |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)
|
DiagnosticReport |
setImage(List<DiagnosticReport.Image> theValue)
Sets the value(s) for image ()
|
DiagnosticReport |
setImagingStudy(List<ResourceReferenceDt> theValue)
Sets the value(s) for imagingStudy ()
|
DiagnosticReport |
setIssued(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for issued (when.recorded)
|
DiagnosticReport |
setIssued(InstantDt theValue)
Sets the value(s) for issued (when.recorded)
|
DiagnosticReport |
setIssuedWithMillisPrecision(Date theDate)
Sets the value for issued (when.recorded)
|
DiagnosticReport |
setPerformer(ResourceReferenceDt theValue)
Sets the value(s) for performer (who.witness)
|
DiagnosticReport |
setPresentedForm(List<AttachmentDt> theValue)
Sets the value(s) for presentedForm ()
|
DiagnosticReport |
setRequest(List<ResourceReferenceDt> theValue)
Sets the value(s) for request ()
|
DiagnosticReport |
setResult(List<ResourceReferenceDt> theValue)
Sets the value(s) for result ()
|
DiagnosticReport |
setSpecimen(List<ResourceReferenceDt> theValue)
Sets the value(s) for specimen ()
|
DiagnosticReport |
setStatus(BoundCodeDt<DiagnosticReportStatusEnum> theValue)
Sets the value(s) for status (status)
|
DiagnosticReport |
setStatus(DiagnosticReportStatusEnum theValue)
Sets the value(s) for status (status)
|
DiagnosticReport |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (who.focus)
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_STATUS
Description: The status of the report
Type: token
Path: DiagnosticReport.status
public static final TokenClientParam STATUS
Description: The status of the report
Type: token
Path: DiagnosticReport.status
public static final String SP_ISSUED
Description: When the report was issued
Type: date
Path: DiagnosticReport.issued
public static final DateClientParam ISSUED
Description: When the report was issued
Type: date
Path: DiagnosticReport.issued
public static final String SP_SUBJECT
Description: The subject of the report
Type: reference
Path: DiagnosticReport.subject
public static final ReferenceClientParam SUBJECT
Description: The subject of the report
Type: reference
Path: DiagnosticReport.subject
public static final String SP_PERFORMER
Description: Who was the source of the report (organization)
Type: reference
Path: DiagnosticReport.performer
public static final ReferenceClientParam PERFORMER
Description: Who was the source of the report (organization)
Type: reference
Path: DiagnosticReport.performer
public static final String SP_IDENTIFIER
Description: An identifier for the report
Type: token
Path: DiagnosticReport.identifier
public static final TokenClientParam IDENTIFIER
Description: An identifier for the report
Type: token
Path: DiagnosticReport.identifier
public static final String SP_CATEGORY
Description: Which diagnostic discipline/department created the report
Type: token
Path: DiagnosticReport.category
public static final TokenClientParam CATEGORY
Description: Which diagnostic discipline/department created the report
Type: token
Path: DiagnosticReport.category
public static final String SP_DATE
Description: The clinically relevant time of the report
Type: date
Path: DiagnosticReport.effective[x]
public static final DateClientParam DATE
Description: The clinically relevant time of the report
Type: date
Path: DiagnosticReport.effective[x]
public static final String SP_SPECIMEN
Description: The specimen details
Type: reference
Path: DiagnosticReport.specimen
public static final ReferenceClientParam SPECIMEN
Description: The specimen details
Type: reference
Path: DiagnosticReport.specimen
public static final String SP_CODE
Description: The code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result
Type: token
Path: DiagnosticReport.code
public static final TokenClientParam CODE
Description: The code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result
Type: token
Path: DiagnosticReport.code
public static final String SP_RESULT
Description: Link to an atomic result (observation resource)
Type: reference
Path: DiagnosticReport.result
public static final ReferenceClientParam RESULT
Description: Link to an atomic result (observation resource)
Type: reference
Path: DiagnosticReport.result
public static final String SP_DIAGNOSIS
Description: A coded diagnosis on the report
Type: token
Path: DiagnosticReport.codedDiagnosis
public static final TokenClientParam DIAGNOSIS
Description: A coded diagnosis on the report
Type: token
Path: DiagnosticReport.codedDiagnosis
public static final String SP_IMAGE
Description: A reference to the image source.
Type: reference
Path: DiagnosticReport.image.link
public static final ReferenceClientParam IMAGE
Description: A reference to the image source.
Type: reference
Path: DiagnosticReport.image.link
public static final String SP_REQUEST
Description: Reference to the test or procedure request.
Type: reference
Path: DiagnosticReport.request
public static final ReferenceClientParam REQUEST
Description: Reference to the test or procedure request.
Type: reference
Path: DiagnosticReport.request
public static final String SP_PATIENT
Description: The subject of the report if a patient
Type: reference
Path: DiagnosticReport.subject
public static final ReferenceClientParam PATIENT
Description: The subject of the report if a patient
Type: reference
Path: DiagnosticReport.subject
public static final String SP_ENCOUNTER
Description: The Encounter when the order was made
Type: reference
Path: DiagnosticReport.encounter
public static final ReferenceClientParam ENCOUNTER
Description: The Encounter when the order was made
Type: reference
Path: DiagnosticReport.encounter
public static final Include INCLUDE_ENCOUNTER
public static final Include INCLUDE_IMAGE
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_PERFORMER
public static final Include INCLUDE_REQUEST
public static final Include INCLUDE_RESULT
public static final Include INCLUDE_SPECIMEN
public static final Include INCLUDE_SUBJECT
public DiagnosticReport()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic List<IdentifierDt> getIdentifier()
null.
Definition: The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider
public DiagnosticReport setIdentifier(List<IdentifierDt> theValue)
Definition: The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider
public IdentifierDt addIdentifier()
Definition: The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider
public DiagnosticReport addIdentifier(IdentifierDt theValue)
Definition: The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider
public BoundCodeDt<DiagnosticReportStatusEnum> getStatusElement()
null.
Definition: The status of the diagnostic report as a whole
public String getStatus()
null.
Definition: The status of the diagnostic report as a whole
public DiagnosticReport setStatus(BoundCodeDt<DiagnosticReportStatusEnum> theValue)
Definition: The status of the diagnostic report as a whole
public DiagnosticReport setStatus(DiagnosticReportStatusEnum theValue)
Definition: The status of the diagnostic report as a whole
public CodeableConceptDt getCategory()
null.
Definition: 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.
public DiagnosticReport setCategory(CodeableConceptDt theValue)
Definition: 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.
public CodeableConceptDt getCode()
null.
Definition: A code or name that describes this diagnostic report
public DiagnosticReport setCode(CodeableConceptDt theValue)
Definition: A code or name that describes this diagnostic report
public ResourceReferenceDt getSubject()
null.
Definition: 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.
public DiagnosticReport setSubject(ResourceReferenceDt theValue)
Definition: 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.
public ResourceReferenceDt getEncounter()
null.
Definition: The link to the health care event (encounter) when the order was made.
public DiagnosticReport setEncounter(ResourceReferenceDt theValue)
Definition: The link to the health care event (encounter) when the order was made.
public IDatatype getEffective()
null.
Definition: 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.
public DiagnosticReport setEffective(IDatatype theValue)
Definition: 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.
public InstantDt getIssuedElement()
null.
Definition: The date and time that this version of the report was released from the source diagnostic service
public Date getIssued()
null.
Definition: The date and time that this version of the report was released from the source diagnostic service
public DiagnosticReport setIssued(InstantDt theValue)
Definition: The date and time that this version of the report was released from the source diagnostic service
public DiagnosticReport setIssuedWithMillisPrecision(Date theDate)
Definition: The date and time that this version of the report was released from the source diagnostic service
public DiagnosticReport setIssued(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The date and time that this version of the report was released from the source diagnostic service
public ResourceReferenceDt getPerformer()
null.
Definition: The diagnostic service that is responsible for issuing the report
public DiagnosticReport setPerformer(ResourceReferenceDt theValue)
Definition: The diagnostic service that is responsible for issuing the report
public List<ResourceReferenceDt> getRequest()
null.
Definition: Details concerning a test or procedure requested.
public DiagnosticReport setRequest(List<ResourceReferenceDt> theValue)
Definition: Details concerning a test or procedure requested.
public ResourceReferenceDt addRequest()
Definition: Details concerning a test or procedure requested.
public List<ResourceReferenceDt> getSpecimen()
null.
Definition: Details about the specimens on which this diagnostic report is based
public DiagnosticReport setSpecimen(List<ResourceReferenceDt> theValue)
Definition: Details about the specimens on which this diagnostic report is based
public ResourceReferenceDt addSpecimen()
Definition: Details about the specimens on which this diagnostic report is based
public List<ResourceReferenceDt> getResult()
null.
Definition: Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").
public DiagnosticReport setResult(List<ResourceReferenceDt> theValue)
Definition: Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").
public ResourceReferenceDt addResult()
Definition: Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").
public List<ResourceReferenceDt> getImagingStudy()
null.
Definition: 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.
public DiagnosticReport setImagingStudy(List<ResourceReferenceDt> theValue)
Definition: 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.
public ResourceReferenceDt addImagingStudy()
Definition: 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.
public List<DiagnosticReport.Image> getImage()
null.
Definition: 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).
public DiagnosticReport setImage(List<DiagnosticReport.Image> theValue)
Definition: 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).
public DiagnosticReport.Image addImage()
Definition: 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).
public DiagnosticReport addImage(DiagnosticReport.Image theValue)
Definition: 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).
theValue - The image to add (must not be null)public DiagnosticReport.Image getImageFirstRep()
Definition: 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).
public StringDt getConclusionElement()
null.
Definition: Concise and clinically contextualized narrative interpretation of the diagnostic report
public String getConclusion()
null.
Definition: Concise and clinically contextualized narrative interpretation of the diagnostic report
public DiagnosticReport setConclusion(StringDt theValue)
Definition: Concise and clinically contextualized narrative interpretation of the diagnostic report
public DiagnosticReport setConclusion(String theString)
Definition: Concise and clinically contextualized narrative interpretation of the diagnostic report
public List<CodeableConceptDt> getCodedDiagnosis()
null.
Definition:
public DiagnosticReport setCodedDiagnosis(List<CodeableConceptDt> theValue)
Definition:
public CodeableConceptDt addCodedDiagnosis()
Definition:
public DiagnosticReport addCodedDiagnosis(CodeableConceptDt theValue)
Definition:
theValue - The codedDiagnosis to add (must not be null)public CodeableConceptDt getCodedDiagnosisFirstRep()
Definition:
public List<AttachmentDt> getPresentedForm()
null.
Definition: Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.
public DiagnosticReport setPresentedForm(List<AttachmentDt> theValue)
Definition: Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.
public AttachmentDt addPresentedForm()
Definition: Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.
public DiagnosticReport addPresentedForm(AttachmentDt theValue)
Definition: Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.
theValue - The presentedForm to add (must not be null)public AttachmentDt getPresentedFormFirstRep()
Definition: Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.