Class DetectedIssue
- 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.DetectedIssue
-
- All Implemented Interfaces:
Visitable
@Generated("org.linuxforhealth.fhir.tools.CodeGenerator") public class DetectedIssue extends DomainResource
Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc.Maturity level: FMM1 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DetectedIssue.Builder
static class
DetectedIssue.Evidence
Supporting evidence or manifestations that provide the basis for identifying the detected issue such as a GuidanceResponse or MeasureReport.static class
DetectedIssue.Mitigation
Indicates an action that has been taken or is committed to reduce or eliminate the likelihood of the risk identified by the detected issue from manifesting.
-
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 void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static DetectedIssue.Builder
builder()
boolean
equals(java.lang.Object obj)
Reference
getAuthor()
Individual or device responsible for the issue being raised.CodeableConcept
getCode()
Identifies the general type of issue identified.String
getDetail()
A textual explanation of the detected issue.java.util.List<DetectedIssue.Evidence>
getEvidence()
Supporting evidence or manifestations that provide the basis for identifying the detected issue such as a GuidanceResponse or MeasureReport.Element
getIdentified()
The date or period when the detected issue was initially identified.java.util.List<Identifier>
getIdentifier()
Business identifier associated with the detected issue record.java.util.List<Reference>
getImplicated()
Indicates the resource representing the current activity or proposed activity that is potentially problematic.java.util.List<DetectedIssue.Mitigation>
getMitigation()
Indicates an action that has been taken or is committed to reduce or eliminate the likelihood of the risk identified by the detected issue from manifesting.Reference
getPatient()
Indicates the patient whose record the detected issue is associated with.Uri
getReference()
The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.DetectedIssueSeverity
getSeverity()
Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.DetectedIssueStatus
getStatus()
Indicates the status of the detected issue.boolean
hasChildren()
int
hashCode()
DetectedIssue.Builder
toBuilder()
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()
Business identifier associated with the detected issue record.- Returns:
- An unmodifiable list containing immutable objects of type
Identifier
that may be empty.
-
getStatus
public DetectedIssueStatus getStatus()
Indicates the status of the detected issue.- Returns:
- An immutable object of type
DetectedIssueStatus
that is non-null.
-
getCode
public CodeableConcept getCode()
Identifies the general type of issue identified.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getSeverity
public DetectedIssueSeverity getSeverity()
Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.- Returns:
- An immutable object of type
DetectedIssueSeverity
that may be null.
-
getPatient
public Reference getPatient()
Indicates the patient whose record the detected issue is associated with.- Returns:
- An immutable object of type
Reference
that may be null.
-
getIdentified
public Element getIdentified()
The date or period when the detected issue was initially identified.
-
getAuthor
public Reference getAuthor()
Individual or device responsible for the issue being raised. For example, a decision support application or a pharmacist conducting a medication review.- Returns:
- An immutable object of type
Reference
that may be null.
-
getImplicated
public java.util.List<Reference> getImplicated()
Indicates the resource representing the current activity or proposed activity that is potentially problematic.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getEvidence
public java.util.List<DetectedIssue.Evidence> getEvidence()
Supporting evidence or manifestations that provide the basis for identifying the detected issue such as a GuidanceResponse or MeasureReport.- Returns:
- An unmodifiable list containing immutable objects of type
DetectedIssue.Evidence
that may be empty.
-
getDetail
public String getDetail()
A textual explanation of the detected issue.- Returns:
- An immutable object of type
String
that may be null.
-
getReference
public Uri getReference()
The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.- Returns:
- An immutable object of type
Uri
that may be null.
-
getMitigation
public java.util.List<DetectedIssue.Mitigation> getMitigation()
Indicates an action that has been taken or is committed to reduce or eliminate the likelihood of the risk identified by the detected issue from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action.- Returns:
- An unmodifiable list containing immutable objects of type
DetectedIssue.Mitigation
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 DetectedIssue.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 DetectedIssue.Builder builder()
-
-