Package com.ibm.fhir.model.resource
Class DetectedIssue
- 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.DetectedIssue
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDetectedIssue.Builderstatic classDetectedIssue.EvidenceSupporting evidence or manifestations that provide the basis for identifying the detected issue such as a GuidanceResponse or MeasureReport.static classDetectedIssue.MitigationIndicates 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 com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class com.ibm.fhir.model.resource.Resource
id, implicitRules, language, meta
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static DetectedIssue.Builderbuilder()booleanequals(Object obj)ReferencegetAuthor()Individual or device responsible for the issue being raised.CodeableConceptgetCode()Identifies the general type of issue identified.StringgetDetail()A textual explanation of the detected issue.List<DetectedIssue.Evidence>getEvidence()Supporting evidence or manifestations that provide the basis for identifying the detected issue such as a GuidanceResponse or MeasureReport.ElementgetIdentified()The date or period when the detected issue was initially identified.List<Identifier>getIdentifier()Business identifier associated with the detected issue record.List<Reference>getImplicated()Indicates the resource representing the current activity or proposed activity that is potentially problematic.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.ReferencegetPatient()Indicates the patient whose record the detected issue is associated with.UrigetReference()The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.DetectedIssueSeveritygetSeverity()Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.DetectedIssueStatusgetStatus()Indicates the status of the detected issue.booleanhasChildren()inthashCode()DetectedIssue.BuildertoBuilder()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 List<Identifier> getIdentifier()
Business identifier associated with the detected issue record.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getStatus
public DetectedIssueStatus getStatus()
Indicates the status of the detected issue.- Returns:
- An immutable object of type
DetectedIssueStatusthat is non-null.
-
getCode
public CodeableConcept getCode()
Identifies the general type of issue identified.- Returns:
- An immutable object of type
CodeableConceptthat 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
DetectedIssueSeveritythat may be null.
-
getPatient
public Reference getPatient()
Indicates the patient whose record the detected issue is associated with.- Returns:
- An immutable object of type
Referencethat may be null.
-
getIdentified
public Element getIdentified()
The date or period when the detected issue was initially identified.- Returns:
- An immutable object of type
Elementthat may be null.
-
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
Referencethat may be null.
-
getImplicated
public 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
Referencethat may be empty.
-
getEvidence
public 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.Evidencethat may be empty.
-
getDetail
public String getDetail()
A textual explanation of the detected issue.- Returns:
- An immutable object of type
Stringthat 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
Urithat may be null.
-
getMitigation
public 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.Mitigationthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(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
-
toBuilder
public DetectedIssue.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static DetectedIssue.Builder builder()
-
-