Class DetectedIssue

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IResource, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseResource

    public class DetectedIssue
    extends BaseResource
    implements ca.uhn.fhir.model.api.IResource
    HAPI/FHIR DetectedIssue Resource ()

    Definition: 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.

    Requirements:

    Profile Definition: http://hl7.org/fhir/profiles/DetectedIssue

    See Also:
    Serialized Form
    • Field Detail

      • CATEGORY

        public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
        Fluent Client search parameter constant for category

        Description:
        Type: token
        Path: DetectedIssue.category

      • DATE

        public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
        Fluent Client search parameter constant for date

        Description:
        Type: date
        Path: DetectedIssue.date

      • IDENTIFIER

        public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
        Fluent Client search parameter constant for identifier

        Description:
        Type: token
        Path: DetectedIssue.identifier

      • PATIENT

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
        Fluent Client search parameter constant for patient

        Description:
        Type: reference
        Path: DetectedIssue.patient

      • IMPLICATED

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam IMPLICATED
        Fluent Client search parameter constant for implicated

        Description:
        Type: reference
        Path: DetectedIssue.implicated

      • AUTHOR

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR
        Fluent Client search parameter constant for author

        Description:
        Type: reference
        Path: DetectedIssue.author

      • INCLUDE_AUTHOR

        public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR
        Constant for fluent queries to be used to add include statements. Specifies the path value of "DetectedIssue:author".
      • INCLUDE_IMPLICATED

        public static final ca.uhn.fhir.model.api.Include INCLUDE_IMPLICATED
        Constant for fluent queries to be used to add include statements. Specifies the path value of "DetectedIssue:implicated".
      • INCLUDE_PATIENT

        public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
        Constant for fluent queries to be used to add include statements. Specifies the path value of "DetectedIssue:patient".
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      • getAllPopulatedChildElementsOfType

        public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType​(Class<T> theType)
        Specified by:
        getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
      • getPatient

        public ResourceReferenceDt getPatient()
        Gets the value(s) for patient (). creating it if it does not exist. Will not return null.

        Definition: Indicates the patient whose record the detected issue is associated with.

      • getCategory

        public CodeableConceptDt getCategory()
        Gets the value(s) for category (). creating it if it does not exist. Will not return null.

        Definition: Identifies the general type of issue identified.

      • getSeverityElement

        public ca.uhn.fhir.model.primitive.BoundCodeDt<DetectedIssueSeverityEnumgetSeverityElement()
        Gets the value(s) for severity (). creating it if it does not exist. Will not return null.

        Definition: Indicates the degree of importance associated with the identified issue based on the potential impact on the patient

      • getSeverity

        public String getSeverity()
        Gets the value(s) for severity (). creating it if it does not exist. This method may return null.

        Definition: Indicates the degree of importance associated with the identified issue based on the potential impact on the patient

      • setSeverity

        public DetectedIssue setSeverity​(ca.uhn.fhir.model.primitive.BoundCodeDt<DetectedIssueSeverityEnum> theValue)
        Sets the value(s) for severity ()

        Definition: Indicates the degree of importance associated with the identified issue based on the potential impact on the patient

      • setSeverity

        public DetectedIssue setSeverity​(DetectedIssueSeverityEnum theValue)
        Sets the value(s) for severity ()

        Definition: Indicates the degree of importance associated with the identified issue based on the potential impact on the patient

      • getImplicated

        public List<ResourceReferenceDtgetImplicated()
        Gets the value(s) for implicated (). creating it if it does not exist. Will not return null.

        Definition: Indicates the resource representing the current activity or proposed activity that is potentially problematic

      • setImplicated

        public DetectedIssue setImplicated​(List<ResourceReferenceDt> theValue)
        Sets the value(s) for implicated ()

        Definition: Indicates the resource representing the current activity or proposed activity that is potentially problematic

      • addImplicated

        public ResourceReferenceDt addImplicated()
        Adds and returns a new value for implicated ()

        Definition: Indicates the resource representing the current activity or proposed activity that is potentially problematic

      • getDetailElement

        public ca.uhn.fhir.model.primitive.StringDt getDetailElement()
        Gets the value(s) for detail (). creating it if it does not exist. Will not return null.

        Definition: A textual explanation of the detected issue

      • getDetail

        public String getDetail()
        Gets the value(s) for detail (). creating it if it does not exist. This method may return null.

        Definition: A textual explanation of the detected issue

      • setDetail

        public DetectedIssue setDetail​(ca.uhn.fhir.model.primitive.StringDt theValue)
        Sets the value(s) for detail ()

        Definition: A textual explanation of the detected issue

      • setDetail

        public DetectedIssue setDetail​(String theString)
        Sets the value for detail ()

        Definition: A textual explanation of the detected issue

      • getDateElement

        public ca.uhn.fhir.model.primitive.DateTimeDt getDateElement()
        Gets the value(s) for date (). creating it if it does not exist. Will not return null.

        Definition: The date or date-time when the detected issue was initially identified.

      • getDate

        public Date getDate()
        Gets the value(s) for date (). creating it if it does not exist. This method may return null.

        Definition: The date or date-time when the detected issue was initially identified.

      • setDate

        public DetectedIssue setDate​(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
        Sets the value(s) for date ()

        Definition: The date or date-time when the detected issue was initially identified.

      • setDate

        public DetectedIssue setDate​(Date theDate,
                                     ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
        Sets the value for date ()

        Definition: The date or date-time when the detected issue was initially identified.

      • getAuthor

        public ResourceReferenceDt getAuthor()
        Gets the value(s) for author (). creating it if it does not exist. Will not return null.

        Definition: Individual or device responsible for the issue being raised. For example, a decision support application or a pharmacist conducting a medication review

      • setAuthor

        public DetectedIssue setAuthor​(ResourceReferenceDt theValue)
        Sets the value(s) for author ()

        Definition: Individual or device responsible for the issue being raised. For example, a decision support application or a pharmacist conducting a medication review

      • getIdentifier

        public IdentifierDt getIdentifier()
        Gets the value(s) for identifier (). creating it if it does not exist. Will not return null.

        Definition: Business identifier associated with the detected issue record

      • getReferenceElement

        public ca.uhn.fhir.model.primitive.UriDt getReferenceElement()
        Gets the value(s) for reference (). creating it if it does not exist. Will not return null.

        Definition: The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified

      • getReference

        public String getReference()
        Gets the value(s) for reference (). creating it if it does not exist. This method may return null.

        Definition: The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified

      • setReference

        public DetectedIssue setReference​(ca.uhn.fhir.model.primitive.UriDt theValue)
        Sets the value(s) for reference ()

        Definition: The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified

      • setReference

        public DetectedIssue setReference​(String theUri)
        Sets the value for reference ()

        Definition: The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified

      • getMitigation

        public List<DetectedIssue.MitigationgetMitigation()
        Gets the value(s) for mitigation (). creating it if it does not exist. Will not return null.

        Definition: Indicates an action that has been taken or is committed to 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.

      • setMitigation

        public DetectedIssue setMitigation​(List<DetectedIssue.Mitigation> theValue)
        Sets the value(s) for mitigation ()

        Definition: Indicates an action that has been taken or is committed to 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.

      • addMitigation

        public DetectedIssue.Mitigation addMitigation()
        Adds and returns a new value for mitigation ()

        Definition: Indicates an action that has been taken or is committed to 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.

      • addMitigation

        public DetectedIssue addMitigation​(DetectedIssue.Mitigation theValue)
        Adds a given new value for mitigation ()

        Definition: Indicates an action that has been taken or is committed to 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.

        Parameters:
        theValue - The mitigation to add (must not be null)
      • getMitigationFirstRep

        public DetectedIssue.Mitigation getMitigationFirstRep()
        Gets the first repetition for mitigation (), creating it if it does not already exist.

        Definition: Indicates an action that has been taken or is committed to 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.

      • getResourceName

        public String getResourceName()
        Specified by:
        getResourceName in interface ca.uhn.fhir.model.api.IResource
      • getStructureFhirVersionEnum

        public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
        Specified by:
        getStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResource
        Specified by:
        getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResource