Package org.hl7.fhir.dstu2.model
Class DetectedIssue
- 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.DetectedIssue
-
- 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
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDetectedIssue.DetectedIssueMitigationComponentstatic classDetectedIssue.DetectedIssueSeveritystatic classDetectedIssue.DetectedIssueSeverityEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected ReferenceauthorIndividual or device responsible for the issue being raised.protected ResourceauthorTargetThe actual object that is the target of the reference (Individual or device responsible for the issue being raised.protected CodeableConceptcategoryIdentifies the general type of issue identified.protected DateTimeTypedateThe date or date-time when the detected issue was initially identified.protected StringTypedetailA textual explanation of the detected issue.protected IdentifieridentifierBusiness identifier associated with the detected issue record.protected List<Reference>implicatedIndicates the resource representing the current activity or proposed activity that is potentially problematic.protected List<Resource>implicatedTargetThe actual objects that are the target of the reference (Indicates the resource representing the current activity or proposed activity that is potentially problematic.)protected List<DetectedIssue.DetectedIssueMitigationComponent>mitigationIndicates 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.protected ReferencepatientIndicates the patient whose record the detected issue is associated with.protected PatientpatientTargetThe actual object that is the target of the reference (Indicates the patient whose record the detected issue is associated with.)protected UriTypereferenceThe literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.protected Enumeration<DetectedIssue.DetectedIssueSeverity>severityIndicates the degree of importance associated with the identified issue based on the potential impact on the patient.static StringSP_AUTHORstatic StringSP_CATEGORYstatic StringSP_DATEstatic StringSP_IDENTIFIERstatic StringSP_IMPLICATEDstatic StringSP_PATIENT-
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
-
-
Constructor Summary
Constructors Constructor Description DetectedIssue()
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, 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
-
-
-
-
Field Detail
-
patient
protected Reference patient
Indicates the patient whose record the detected issue is associated with.
-
patientTarget
protected Patient patientTarget
The actual object that is the target of the reference (Indicates the patient whose record the detected issue is associated with.)
-
category
protected CodeableConcept category
Identifies the general type of issue identified.
-
severity
protected Enumeration<DetectedIssue.DetectedIssueSeverity> severity
Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.
-
implicated
protected List<Reference> implicated
Indicates the resource representing the current activity or proposed activity that is potentially problematic.
-
implicatedTarget
protected List<Resource> implicatedTarget
The actual objects that are the target of the reference (Indicates the resource representing the current activity or proposed activity that is potentially problematic.)
-
detail
protected StringType detail
A textual explanation of the detected issue.
-
date
protected DateTimeType date
The date or date-time when the detected issue was initially identified.
-
author
protected Reference author
Individual or device responsible for the issue being raised. For example, a decision support application or a pharmacist conducting a medication review.
-
authorTarget
protected Resource authorTarget
The actual object that is the target of the reference (Individual or device responsible for the issue being raised. For example, a decision support application or a pharmacist conducting a medication review.)
-
identifier
protected Identifier identifier
Business identifier associated with the detected issue record.
-
reference
protected UriType reference
The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.
-
mitigation
protected List<DetectedIssue.DetectedIssueMitigationComponent> mitigation
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.
-
SP_DATE
public static final String SP_DATE
- See Also:
- Constant Field Values
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
- See Also:
- Constant Field Values
-
SP_PATIENT
public static final String SP_PATIENT
- See Also:
- Constant Field Values
-
SP_AUTHOR
public static final String SP_AUTHOR
- See Also:
- Constant Field Values
-
SP_IMPLICATED
public static final String SP_IMPLICATED
- See Also:
- Constant Field Values
-
SP_CATEGORY
public static final String SP_CATEGORY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DetectedIssue
public DetectedIssue()
-
-
Method Detail
-
getPatient
public Reference getPatient()
- Returns:
patient(Indicates the patient whose record the detected issue is associated with.)
-
hasPatient
public boolean hasPatient()
-
setPatient
public DetectedIssue setPatient(Reference value)
- Parameters:
value-patient(Indicates the patient whose record the detected issue is associated with.)
-
getPatientTarget
public Patient getPatientTarget()
- Returns:
patientThe 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. (Indicates the patient whose record the detected issue is associated with.)
-
setPatientTarget
public DetectedIssue setPatientTarget(Patient value)
- Parameters:
value-patientThe 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. (Indicates the patient whose record the detected issue is associated with.)
-
getCategory
public CodeableConcept getCategory()
- Returns:
category(Identifies the general type of issue identified.)
-
hasCategory
public boolean hasCategory()
-
setCategory
public DetectedIssue setCategory(CodeableConcept value)
- Parameters:
value-category(Identifies the general type of issue identified.)
-
getSeverityElement
public Enumeration<DetectedIssue.DetectedIssueSeverity> getSeverityElement()
- Returns:
severity(Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.). This is the underlying object with id, value and extensions. The accessor "getSeverity" gives direct access to the value
-
hasSeverityElement
public boolean hasSeverityElement()
-
hasSeverity
public boolean hasSeverity()
-
setSeverityElement
public DetectedIssue setSeverityElement(Enumeration<DetectedIssue.DetectedIssueSeverity> value)
- Parameters:
value-severity(Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.). This is the underlying object with id, value and extensions. The accessor "getSeverity" gives direct access to the value
-
getSeverity
public DetectedIssue.DetectedIssueSeverity getSeverity()
- Returns:
- Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.
-
setSeverity
public DetectedIssue setSeverity(DetectedIssue.DetectedIssueSeverity value)
- Parameters:
value- Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.
-
getImplicated
public List<Reference> getImplicated()
- Returns:
implicated(Indicates the resource representing the current activity or proposed activity that is potentially problematic.)
-
hasImplicated
public boolean hasImplicated()
-
addImplicated
public Reference addImplicated()
- Returns:
implicated(Indicates the resource representing the current activity or proposed activity that is potentially problematic.)
-
addImplicated
public DetectedIssue addImplicated(Reference t)
-
getImplicatedTarget
public List<Resource> getImplicatedTarget()
- Returns:
implicated(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. Indicates the resource representing the current activity or proposed activity that is potentially problematic.)
-
getDetailElement
public StringType getDetailElement()
- Returns:
detail(A textual explanation of the detected issue.). This is the underlying object with id, value and extensions. The accessor "getDetail" gives direct access to the value
-
hasDetailElement
public boolean hasDetailElement()
-
hasDetail
public boolean hasDetail()
-
setDetailElement
public DetectedIssue setDetailElement(StringType value)
- Parameters:
value-detail(A textual explanation of the detected issue.). This is the underlying object with id, value and extensions. The accessor "getDetail" gives direct access to the value
-
setDetail
public DetectedIssue setDetail(String value)
- Parameters:
value- A textual explanation of the detected issue.
-
getDateElement
public DateTimeType getDateElement()
- Returns:
date(The date or date-time when the detected issue was initially identified.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
public boolean hasDateElement()
-
hasDate
public boolean hasDate()
-
setDateElement
public DetectedIssue setDateElement(DateTimeType value)
- Parameters:
value-date(The date or date-time when the detected issue was initially identified.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
public Date getDate()
- Returns:
- The date or date-time when the detected issue was initially identified.
-
setDate
public DetectedIssue setDate(Date value)
- Parameters:
value- The date or date-time when the detected issue was initially identified.
-
getAuthor
public Reference getAuthor()
- Returns:
author(Individual or device responsible for the issue being raised. For example, a decision support application or a pharmacist conducting a medication review.)
-
hasAuthor
public boolean hasAuthor()
-
setAuthor
public DetectedIssue setAuthor(Reference value)
- Parameters:
value-author(Individual or device responsible for the issue being raised. For example, a decision support application or a pharmacist conducting a medication review.)
-
getAuthorTarget
public Resource getAuthorTarget()
- Returns:
authorThe 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. (Individual or device responsible for the issue being raised. For example, a decision support application or a pharmacist conducting a medication review.)
-
setAuthorTarget
public DetectedIssue setAuthorTarget(Resource value)
- Parameters:
value-authorThe 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. (Individual or device responsible for the issue being raised. For example, a decision support application or a pharmacist conducting a medication review.)
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier(Business identifier associated with the detected issue record.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public DetectedIssue setIdentifier(Identifier value)
- Parameters:
value-identifier(Business identifier associated with the detected issue record.)
-
getReferenceElement
public UriType getReferenceElement()
- Returns:
reference(The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the value
-
hasReferenceElement
public boolean hasReferenceElement()
-
hasReference
public boolean hasReference()
-
setReferenceElement
public DetectedIssue setReferenceElement(UriType value)
- Parameters:
value-reference(The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the value
-
getReference
public String getReference()
- Returns:
- The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.
-
setReference
public DetectedIssue setReference(String value)
- Parameters:
value- The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.
-
getMitigation
public List<DetectedIssue.DetectedIssueMitigationComponent> getMitigation()
- Returns:
mitigation(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.)
-
hasMitigation
public boolean hasMitigation()
-
addMitigation
public DetectedIssue.DetectedIssueMitigationComponent addMitigation()
- Returns:
mitigation(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.DetectedIssueMitigationComponent t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public DetectedIssue copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected DetectedIssue typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-