public class AdverseReaction extends BaseResource implements IResource
Definition: Records an unexpected reaction suspected to be related to the exposure of the reaction subject to a substance
Requirements: Used to track reactions when it is unknown the exact cause but there's a desire to flag/track potential causes. Also used to capture reactions that are significant for inclusion in the health record or as evidence for an allergy or intolerance.
Profile Definition: http://hl7.org/fhir/profiles/AdverseReaction
| Modifier and Type | Class and Description |
|---|---|
static class |
AdverseReaction.Exposure
Block class for child element: AdverseReaction.exposure (Suspected substance)
|
static class |
AdverseReaction.Symptom
Block class for child element: AdverseReaction.symptom (What was reaction?)
|
| Modifier and Type | Field and Description |
|---|---|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static Include |
INCLUDE_EXPOSURE_SUBSTANCE
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static String |
SP_DATE
Search parameter constant for date
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static String |
SP_SUBSTANCE
Search parameter constant for substance
|
static String |
SP_SYMPTOM
Search parameter constant for symptom
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
static ReferenceClientParam |
SUBSTANCE
Fluent Client search parameter constant for substance
|
static TokenClientParam |
SYMPTOM
Fluent Client search parameter constant for symptom
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
AdverseReaction() |
| Modifier and Type | Method and Description |
|---|---|
AdverseReaction.Exposure |
addExposure()
Adds and returns a new value for exposure (Suspected substance)
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (External Ids for this adverse reaction)
|
AdverseReaction |
addIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Adds a new value for identifier (External Ids for this adverse reaction)
|
AdverseReaction |
addIdentifier(String theSystem,
String theValue)
Adds a new value for identifier (External Ids for this adverse reaction)
|
AdverseReaction.Symptom |
addSymptom()
Adds and returns a new value for symptom (What was reaction?)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
DateTimeDt |
getDate()
Gets the value(s) for date (When the reaction occurred).
|
BooleanDt |
getDidNotOccurFlag()
Gets the value(s) for didNotOccurFlag (Indicates lack of reaction).
|
List<AdverseReaction.Exposure> |
getExposure()
Gets the value(s) for exposure (Suspected substance).
|
AdverseReaction.Exposure |
getExposureFirstRep()
Gets the first repetition for exposure (Suspected substance),
creating it if it does not already exist.
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (External Ids for this adverse reaction).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (External Ids for this adverse reaction),
creating it if it does not already exist.
|
ResourceReferenceDt |
getRecorder()
Gets the value(s) for recorder (Who recorded the reaction).
|
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (Who had the reaction).
|
List<AdverseReaction.Symptom> |
getSymptom()
Gets the value(s) for symptom (What was reaction?).
|
AdverseReaction.Symptom |
getSymptomFirstRep()
Gets the first repetition for symptom (What was reaction?),
creating it if it does not already exist.
|
boolean |
isEmpty() |
AdverseReaction |
setDate(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for date (When the reaction occurred)
|
AdverseReaction |
setDate(DateTimeDt theValue)
Sets the value(s) for date (When the reaction occurred)
|
AdverseReaction |
setDateWithSecondsPrecision(Date theDate)
Sets the value for date (When the reaction occurred)
|
AdverseReaction |
setDidNotOccurFlag(boolean theBoolean)
Sets the value for didNotOccurFlag (Indicates lack of reaction)
|
AdverseReaction |
setDidNotOccurFlag(BooleanDt theValue)
Sets the value(s) for didNotOccurFlag (Indicates lack of reaction)
|
AdverseReaction |
setExposure(List<AdverseReaction.Exposure> theValue)
Sets the value(s) for exposure (Suspected substance)
|
AdverseReaction |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (External Ids for this adverse reaction)
|
AdverseReaction |
setRecorder(ResourceReferenceDt theValue)
Sets the value(s) for recorder (Who recorded the reaction)
|
AdverseReaction |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (Who had the reaction)
|
AdverseReaction |
setSymptom(List<AdverseReaction.Symptom> theValue)
Sets the value(s) for symptom (What was reaction?)
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatapublic static final String SP_SYMPTOM
Description: One of the symptoms of the reaction
Type: token
Path: AdverseReaction.symptom.code
public static final TokenClientParam SYMPTOM
Description: One of the symptoms of the reaction
Type: token
Path: AdverseReaction.symptom.code
public static final String SP_SUBSTANCE
Description: The name or code of the substance that produces the sensitivity
Type: reference
Path: AdverseReaction.exposure.substance
public static final ReferenceClientParam SUBSTANCE
Description: The name or code of the substance that produces the sensitivity
Type: reference
Path: AdverseReaction.exposure.substance
public static final Include INCLUDE_EXPOSURE_SUBSTANCE
public static final String SP_DATE
Description: The date of the reaction
Type: date
Path: AdverseReaction.date
public static final DateClientParam DATE
Description: The date of the reaction
Type: date
Path: AdverseReaction.date
public static final String SP_SUBJECT
Description: The subject that the sensitivity is about
Type: reference
Path: AdverseReaction.subject
public static final ReferenceClientParam SUBJECT
Description: The subject that the sensitivity is about
Type: reference
Path: AdverseReaction.subject
public static final Include INCLUDE_SUBJECT
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic List<IdentifierDt> getIdentifier()
null.
Definition: This records identifiers associated with this reaction that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
public AdverseReaction setIdentifier(List<IdentifierDt> theValue)
Definition: This records identifiers associated with this reaction that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
public IdentifierDt addIdentifier()
Definition: This records identifiers associated with this reaction that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
public IdentifierDt getIdentifierFirstRep()
Definition: This records identifiers associated with this reaction that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
public AdverseReaction addIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition: This records identifiers associated with this reaction that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
public AdverseReaction addIdentifier(String theSystem, String theValue)
Definition: This records identifiers associated with this reaction that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
public DateTimeDt getDate()
null.
Definition: The date (and possibly time) when the reaction began
public AdverseReaction setDate(DateTimeDt theValue)
Definition: The date (and possibly time) when the reaction began
public AdverseReaction setDateWithSecondsPrecision(Date theDate)
Definition: The date (and possibly time) when the reaction began
public AdverseReaction setDate(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The date (and possibly time) when the reaction began
public ResourceReferenceDt getSubject()
null.
Definition: The subject of the adverse reaction
public AdverseReaction setSubject(ResourceReferenceDt theValue)
Definition: The subject of the adverse reaction
public BooleanDt getDidNotOccurFlag()
null.
Definition: If true, indicates that no reaction occurred.
public AdverseReaction setDidNotOccurFlag(BooleanDt theValue)
Definition: If true, indicates that no reaction occurred.
public AdverseReaction setDidNotOccurFlag(boolean theBoolean)
Definition: If true, indicates that no reaction occurred.
public ResourceReferenceDt getRecorder()
null.
Definition: Identifies the individual responsible for the information in the reaction record.
public AdverseReaction setRecorder(ResourceReferenceDt theValue)
Definition: Identifies the individual responsible for the information in the reaction record.
public List<AdverseReaction.Symptom> getSymptom()
null.
Definition: The signs and symptoms that were observed as part of the reaction
public AdverseReaction setSymptom(List<AdverseReaction.Symptom> theValue)
Definition: The signs and symptoms that were observed as part of the reaction
public AdverseReaction.Symptom addSymptom()
Definition: The signs and symptoms that were observed as part of the reaction
public AdverseReaction.Symptom getSymptomFirstRep()
Definition: The signs and symptoms that were observed as part of the reaction
public List<AdverseReaction.Exposure> getExposure()
null.
Definition: An exposure to a substance that preceded a reaction occurrence
public AdverseReaction setExposure(List<AdverseReaction.Exposure> theValue)
Definition: An exposure to a substance that preceded a reaction occurrence
public AdverseReaction.Exposure addExposure()
Definition: An exposure to a substance that preceded a reaction occurrence
public AdverseReaction.Exposure getExposureFirstRep()
Definition: An exposure to a substance that preceded a reaction occurrence
Copyright © 2014 University Health Network. All rights reserved.