Package org.hl7.fhir.dstu2.model
Class DiagnosticReport
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.DiagnosticReport
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
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.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected CodeableConcept
A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g.protected CodeableConcept
A code or name that describes this diagnostic report.protected List
<CodeableConcept> Codes for the conclusion.protected StringType
Concise and clinically contextualized narrative interpretation of the diagnostic report.protected Type
The time or time-period the observed values are related to.protected Reference
The link to the health care event (encounter) when the order was made.protected Encounter
The actual object that is the target of the reference (The link to the health care event (encounter) when the order was made.)protected List
<Identifier> The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.A list of key images associated with this report.One or more links to full details of any imaging performed during the diagnostic investigation.The actual objects that are the target of the reference (One or more links to full details of any imaging performed during the diagnostic investigation.protected InstantType
The date and time that this version of the report was released from the source diagnostic service.protected Reference
The diagnostic service that is responsible for issuing the report.protected Resource
The actual object that is the target of the reference (The diagnostic service that is responsible for issuing the report.)protected List
<Attachment> Rich text representation of the entire result as issued by the diagnostic service.Details concerning a test or procedure requested.The actual objects that are the target of the reference (Details concerning a test or procedure requested.)Observations that are part of this diagnostic report.protected List
<Observation> The actual objects that are the target of the reference (Observations that are part of this diagnostic report.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Details about the specimens on which this diagnostic report is based.The actual objects that are the target of the reference (Details about the specimens on which this diagnostic report is based.)The status of the diagnostic report as a whole.protected Reference
The subject of the report.protected Resource
The actual object that is the target of the reference (The subject of the report.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionDiagnosticReport
(Enumeration<DiagnosticReport.DiagnosticReportStatus> status, CodeableConcept code, Reference subject, Type effective, InstantType issued, Reference performer) -
Method Summary
Modifier and TypeMethodDescriptionaddImage()
copy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getCode()
getImage()
boolean
boolean
hasCode()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasImage()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setCategory
(CodeableConcept value) setCode
(CodeableConcept value) setConclusion
(String value) setConclusionElement
(StringType value) setEffective
(Type value) setEncounter
(Reference value) setEncounterTarget
(Encounter value) setIssuedElement
(InstantType value) setPerformer
(Reference value) setPerformerTarget
(Resource value) void
setProperty
(String name, Base value) setSubject
(Reference value) setSubjectTarget
(Resource value) protected DiagnosticReport
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider. -
status
The status of the diagnostic report as a whole. -
category
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. -
code
A code or name that describes this diagnostic report. -
subject
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. -
subjectTarget
The actual object that is the target of the reference (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.) -
encounter
The link to the health care event (encounter) when the order was made. -
encounterTarget
The actual object that is the target of the reference (The link to the health care event (encounter) when the order was made.) -
effective
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. -
issued
The date and time that this version of the report was released from the source diagnostic service. -
performer
The diagnostic service that is responsible for issuing the report. -
performerTarget
The actual object that is the target of the reference (The diagnostic service that is responsible for issuing the report.) -
request
Details concerning a test or procedure requested. -
requestTarget
The actual objects that are the target of the reference (Details concerning a test or procedure requested.) -
specimen
Details about the specimens on which this diagnostic report is based. -
specimenTarget
The actual objects that are the target of the reference (Details about the specimens on which this diagnostic report is based.) -
result
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"). -
resultTarget
The actual objects that are the target of the reference (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").) -
imagingStudy
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. -
imagingStudyTarget
The actual objects that are the target of the reference (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.) -
image
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). -
conclusion
Concise and clinically contextualized narrative interpretation of the diagnostic report. -
codedDiagnosis
Codes for the conclusion. -
presentedForm
Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent. -
SP_DATE
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_IMAGE
- See Also:
-
SP_REQUEST
- See Also:
-
SP_PERFORMER
- See Also:
-
SP_CODE
- See Also:
-
SP_SUBJECT
- See Also:
-
SP_DIAGNOSIS
- See Also:
-
SP_ENCOUNTER
- See Also:
-
SP_RESULT
- See Also:
-
SP_PATIENT
- See Also:
-
SP_SPECIMEN
- See Also:
-
SP_ISSUED
- See Also:
-
SP_CATEGORY
- See Also:
-
SP_STATUS
- See Also:
-
-
Constructor Details
-
DiagnosticReport
public DiagnosticReport() -
DiagnosticReport
public DiagnosticReport(Enumeration<DiagnosticReport.DiagnosticReportStatus> status, CodeableConcept code, Reference subject, Type effective, InstantType issued, Reference performer)
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.)
-
addIdentifier
-
getStatusElement
- Returns:
status
(The status of the diagnostic report as a whole.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
public DiagnosticReport setStatusElement(Enumeration<DiagnosticReport.DiagnosticReportStatus> value) - Parameters:
value
-status
(The status of the diagnostic report as a whole.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- The status of the diagnostic report as a whole.
-
setStatus
- Parameters:
value
- The status of the diagnostic report as a whole.
-
getCategory
- Returns:
category
(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.)
-
hasCategory
-
setCategory
- Parameters:
value
-category
(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.)
-
getCode
- Returns:
code
(A code or name that describes this diagnostic report.)
-
hasCode
-
setCode
- Parameters:
value
-code
(A code or name that describes this diagnostic report.)
-
getSubject
- Returns:
subject
(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.)
-
hasSubject
-
setSubject
- Parameters:
value
-subject
(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.)
-
getSubjectTarget
- Returns:
subject
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (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.)
-
setSubjectTarget
- Parameters:
value
-subject
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (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.)
-
getEncounter
- Returns:
encounter
(The link to the health care event (encounter) when the order was made.)
-
hasEncounter
-
setEncounter
- Parameters:
value
-encounter
(The link to the health care event (encounter) when the order was made.)
-
getEncounterTarget
- Returns:
encounter
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The link to the health care event (encounter) when the order was made.)
-
setEncounterTarget
- Parameters:
value
-encounter
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The link to the health care event (encounter) when the order was made.)
-
getEffective
- Returns:
effective
(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.)
-
getEffectiveDateTimeType
- Returns:
effective
(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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasEffectiveDateTimeType
-
getEffectivePeriod
- Returns:
effective
(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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasEffectivePeriod
-
hasEffective
-
setEffective
- Parameters:
value
-effective
(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.)
-
getIssuedElement
- Returns:
issued
(The date and time that this version of the report was released from the source diagnostic service.). This is the underlying object with id, value and extensions. The accessor "getIssued" gives direct access to the value
-
hasIssuedElement
-
hasIssued
-
setIssuedElement
- Parameters:
value
-issued
(The date and time that this version of the report was released from the source diagnostic service.). This is the underlying object with id, value and extensions. The accessor "getIssued" gives direct access to the value
-
getIssued
- Returns:
- The date and time that this version of the report was released from the source diagnostic service.
-
setIssued
- Parameters:
value
- The date and time that this version of the report was released from the source diagnostic service.
-
getPerformer
- Returns:
performer
(The diagnostic service that is responsible for issuing the report.)
-
hasPerformer
-
setPerformer
- Parameters:
value
-performer
(The diagnostic service that is responsible for issuing the report.)
-
getPerformerTarget
- Returns:
performer
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The diagnostic service that is responsible for issuing the report.)
-
setPerformerTarget
- Parameters:
value
-performer
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The diagnostic service that is responsible for issuing the report.)
-
getRequest
- Returns:
request
(Details concerning a test or procedure requested.)
-
hasRequest
-
addRequest
- Returns:
request
(Details concerning a test or procedure requested.)
-
addRequest
-
getRequestTarget
- Returns:
request
(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Details concerning a test or procedure requested.)
-
getSpecimen
- Returns:
specimen
(Details about the specimens on which this diagnostic report is based.)
-
hasSpecimen
-
addSpecimen
- Returns:
specimen
(Details about the specimens on which this diagnostic report is based.)
-
addSpecimen
-
getSpecimenTarget
- Returns:
specimen
(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Details about the specimens on which this diagnostic report is based.)
-
addSpecimenTarget
- Returns:
specimen
(Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. Details about the specimens on which this diagnostic report is based.)
-
getResult
- Returns:
result
(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").)
-
hasResult
-
addResult
- Returns:
result
(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").)
-
addResult
-
getResultTarget
- Returns:
result
(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. 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").)
-
addResultTarget
- Returns:
result
(Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. 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").)
-
getImagingStudy
- Returns:
imagingStudy
(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.)
-
hasImagingStudy
-
addImagingStudy
- Returns:
imagingStudy
(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.)
-
addImagingStudy
-
getImagingStudyTarget
- Returns:
imagingStudy
(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. 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.)
-
getImage
- Returns:
image
(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).)
-
hasImage
-
addImage
- Returns:
image
(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).)
-
addImage
-
getConclusionElement
- Returns:
conclusion
(Concise and clinically contextualized narrative interpretation of the diagnostic report.). This is the underlying object with id, value and extensions. The accessor "getConclusion" gives direct access to the value
-
hasConclusionElement
-
hasConclusion
-
setConclusionElement
- Parameters:
value
-conclusion
(Concise and clinically contextualized narrative interpretation of the diagnostic report.). This is the underlying object with id, value and extensions. The accessor "getConclusion" gives direct access to the value
-
getConclusion
- Returns:
- Concise and clinically contextualized narrative interpretation of the diagnostic report.
-
setConclusion
- Parameters:
value
- Concise and clinically contextualized narrative interpretation of the diagnostic report.
-
getCodedDiagnosis
- Returns:
codedDiagnosis
(Codes for the conclusion.)
-
hasCodedDiagnosis
-
addCodedDiagnosis
- Returns:
codedDiagnosis
(Codes for the conclusion.)
-
addCodedDiagnosis
-
getPresentedForm
- Returns:
presentedForm
(Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.)
-
hasPresentedForm
-
addPresentedForm
- Returns:
presentedForm
(Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.)
-
addPresentedForm
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-