Class AdverseEvent
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.BaseResource
-
- org.hl7.fhir.r5.model.Resource
-
- org.hl7.fhir.r5.model.DomainResource
-
- org.hl7.fhir.r5.model.AdverseEvent
-
- 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 AdverseEvent extends DomainResource
An event (i.e. any change to current patient status) that may be related to unintended effects on a patient or research subject. The unintended effects may require additional monitoring, treatment or hospitalization or may result in death. The AdverseEvent resource also extends to potential or avoided events that could have had such effects.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdverseEvent.AdverseEventActualitystatic classAdverseEvent.AdverseEventActualityEnumFactorystatic classAdverseEvent.AdverseEventContributingFactorComponentstatic classAdverseEvent.AdverseEventMitigatingActionComponentstatic classAdverseEvent.AdverseEventParticipantComponentstatic classAdverseEvent.AdverseEventPreventiveActionComponentstatic classAdverseEvent.AdverseEventStatusstatic classAdverseEvent.AdverseEventStatusEnumFactorystatic classAdverseEvent.AdverseEventSupportingInfoComponentstatic classAdverseEvent.AdverseEventSuspectEntityCausalityComponentstatic classAdverseEvent.AdverseEventSuspectEntityComponent
-
Field Summary
Fields Modifier and Type Field Description protected Enumeration<AdverseEvent.AdverseEventActuality>actualityWhether the event actually happened, or just had the potential to.static ca.uhn.fhir.rest.gclient.TokenClientParamACTUALITYFluent Client search parameter constant for actualityprotected List<CodeableConcept>categoryThe overall type of event, intended for search and filtering purposes.static ca.uhn.fhir.rest.gclient.TokenClientParamCATEGORYFluent Client search parameter constant for categoryprotected CodeableConceptcodeSpecific event that occurred or that was averted, such as patient fall, wrong organ removed, or wrong blood transfused.static ca.uhn.fhir.rest.gclient.TokenClientParamCODEFluent Client search parameter constant for codeprotected List<AdverseEvent.AdverseEventContributingFactorComponent>contributingFactorThe contributing factors suspected to have increased the probability or severity of the adverse event.static ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for dateprotected DateTimeTypedetectedEstimated or actual date the AdverseEvent began, in the opinion of the reporter.protected ReferenceencounterThe Encounter associated with the start of the AdverseEvent.protected List<Identifier>identifierBusiness identifiers assigned to this adverse event by the performer or other systems which remain constant as the resource is updated and propagates from server to server.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_LOCATIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_RECORDERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_RESULTINGCONDITIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_STUDYConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBSTANCEConstant for fluent queries to be used to add include statements.protected ReferencelocationThe information about where the adverse event occurred.static ca.uhn.fhir.rest.gclient.ReferenceClientParamLOCATIONFluent Client search parameter constant for locationprotected List<AdverseEvent.AdverseEventMitigatingActionComponent>mitigatingActionThe ameliorating action taken after the adverse event occured in order to reduce the extent of harm.protected DataTypeoccurrenceThe date (and perhaps time) when the adverse event occurred.protected List<CodeableConcept>outcomeDescribes the type of outcome from the adverse event, such as resolved, recovering, ongoing, resolved-with-sequelae, or fatal.protected List<AdverseEvent.AdverseEventParticipantComponent>participantIndicates who or what participated in the adverse event and how they were involved.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientprotected List<AdverseEvent.AdverseEventPreventiveActionComponent>preventiveActionPreventive actions that contributed to avoiding the adverse event.protected DateTimeTyperecordedDateThe date on which the existence of the AdverseEvent was first recorded.protected ReferencerecorderInformation on who recorded the adverse event.static ca.uhn.fhir.rest.gclient.ReferenceClientParamRECORDERFluent Client search parameter constant for recorderprotected List<Reference>resultingConditionInformation about the condition that occurred as a result of the adverse event, such as hives due to the exposure to a substance (for example, a drug or a chemical) or a broken leg as a result of the fall.static ca.uhn.fhir.rest.gclient.ReferenceClientParamRESULTINGCONDITIONFluent Client search parameter constant for resultingconditionprotected CodeableConceptseriousnessAssessment whether this event, or averted event, was of clinical importance.static ca.uhn.fhir.rest.gclient.TokenClientParamSERIOUSNESSFluent Client search parameter constant for seriousnessstatic StringSP_ACTUALITYSearch parameter: actualitystatic StringSP_CATEGORYSearch parameter: categorystatic StringSP_CODESearch parameter: codestatic StringSP_DATESearch parameter: datestatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_LOCATIONSearch parameter: locationstatic StringSP_PATIENTSearch parameter: patientstatic StringSP_RECORDERSearch parameter: recorderstatic StringSP_RESULTINGCONDITIONSearch parameter: resultingconditionstatic StringSP_SERIOUSNESSSearch parameter: seriousnessstatic StringSP_STATUSSearch parameter: statusstatic StringSP_STUDYSearch parameter: studystatic StringSP_SUBJECTSearch parameter: subjectstatic StringSP_SUBSTANCESearch parameter: substanceprotected Enumeration<AdverseEvent.AdverseEventStatus>statusThe current state of the adverse event or potential adverse event.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected List<Reference>studyThe research study that the subject is enrolled in.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSTUDYFluent Client search parameter constant for studyprotected ReferencesubjectThis subject or group impacted by the event.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBSTANCEFluent Client search parameter constant for substanceprotected List<AdverseEvent.AdverseEventSupportingInfoComponent>supportingInfoSupporting information relevant to the event.protected List<AdverseEvent.AdverseEventSuspectEntityComponent>suspectEntityDescribes the entity that is suspected to have caused the adverse event.-
Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
-
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description AdverseEvent()ConstructorAdverseEvent(AdverseEvent.AdverseEventStatus status, AdverseEvent.AdverseEventActuality actuality, Reference subject)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, 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
-
identifier
protected List<Identifier> identifier
Business identifiers assigned to this adverse event by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
-
status
protected Enumeration<AdverseEvent.AdverseEventStatus> status
The current state of the adverse event or potential adverse event.
-
actuality
protected Enumeration<AdverseEvent.AdverseEventActuality> actuality
Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.
-
category
protected List<CodeableConcept> category
The overall type of event, intended for search and filtering purposes.
-
code
protected CodeableConcept code
Specific event that occurred or that was averted, such as patient fall, wrong organ removed, or wrong blood transfused.
-
encounter
protected Reference encounter
The Encounter associated with the start of the AdverseEvent.
-
occurrence
protected DataType occurrence
The date (and perhaps time) when the adverse event occurred.
-
detected
protected DateTimeType detected
Estimated or actual date the AdverseEvent began, in the opinion of the reporter.
-
recordedDate
protected DateTimeType recordedDate
The date on which the existence of the AdverseEvent was first recorded.
-
resultingCondition
protected List<Reference> resultingCondition
Information about the condition that occurred as a result of the adverse event, such as hives due to the exposure to a substance (for example, a drug or a chemical) or a broken leg as a result of the fall.
-
seriousness
protected CodeableConcept seriousness
Assessment whether this event, or averted event, was of clinical importance.
-
outcome
protected List<CodeableConcept> outcome
Describes the type of outcome from the adverse event, such as resolved, recovering, ongoing, resolved-with-sequelae, or fatal.
-
recorder
protected Reference recorder
Information on who recorded the adverse event. May be the patient or a practitioner.
-
participant
protected List<AdverseEvent.AdverseEventParticipantComponent> participant
Indicates who or what participated in the adverse event and how they were involved.
-
suspectEntity
protected List<AdverseEvent.AdverseEventSuspectEntityComponent> suspectEntity
Describes the entity that is suspected to have caused the adverse event.
-
contributingFactor
protected List<AdverseEvent.AdverseEventContributingFactorComponent> contributingFactor
The contributing factors suspected to have increased the probability or severity of the adverse event.
-
preventiveAction
protected List<AdverseEvent.AdverseEventPreventiveActionComponent> preventiveAction
Preventive actions that contributed to avoiding the adverse event.
-
mitigatingAction
protected List<AdverseEvent.AdverseEventMitigatingActionComponent> mitigatingAction
The ameliorating action taken after the adverse event occured in order to reduce the extent of harm.
-
supportingInfo
protected List<AdverseEvent.AdverseEventSupportingInfoComponent> supportingInfo
Supporting information relevant to the event.
-
SP_ACTUALITY
public static final String SP_ACTUALITY
Search parameter: actualityDescription: actual | potential
Type: token
Path: AdverseEvent.actuality
- See Also:
- Constant Field Values
-
ACTUALITY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTUALITY
Fluent Client search parameter constant for actualityDescription: actual | potential
Type: token
Path: AdverseEvent.actuality
-
SP_CATEGORY
public static final String SP_CATEGORY
Search parameter: categoryDescription: wrong-patient | procedure-mishap | medication-mishap | device | unsafe-physical-environment | hospital-aquired-infection | wrong-body-site
Type: token
Path: AdverseEvent.category
- See Also:
- Constant Field Values
-
CATEGORY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Fluent Client search parameter constant for categoryDescription: wrong-patient | procedure-mishap | medication-mishap | device | unsafe-physical-environment | hospital-aquired-infection | wrong-body-site
Type: token
Path: AdverseEvent.category
-
SP_CODE
public static final String SP_CODE
Search parameter: codeDescription: Event or incident that occurred or was averted
Type: token
Path: AdverseEvent.code
- See Also:
- Constant Field Values
-
CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Fluent Client search parameter constant for codeDescription: Event or incident that occurred or was averted
Type: token
Path: AdverseEvent.code
-
SP_DATE
public static final String SP_DATE
Search parameter: dateDescription: When the event occurred
Type: date
Path: AdverseEvent.occurrence
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription: When the event occurred
Type: date
Path: AdverseEvent.occurrence
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: Business identifier for the event
Type: token
Path: AdverseEvent.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Business identifier for the event
Type: token
Path: AdverseEvent.identifier
-
SP_LOCATION
public static final String SP_LOCATION
Search parameter: locationDescription: Location where adverse event occurred
Type: reference
Path: AdverseEvent.location
- See Also:
- Constant Field Values
-
LOCATION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION
Fluent Client search parameter constant for locationDescription: Location where adverse event occurred
Type: reference
Path: AdverseEvent.location
-
INCLUDE_LOCATION
public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "AdverseEvent:location".
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: Subject impacted by event
Type: reference
Path: AdverseEvent.subject
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: Subject impacted by event
Type: reference
Path: AdverseEvent.subject
-
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 "AdverseEvent:patient".
-
SP_RECORDER
public static final String SP_RECORDER
Search parameter: recorderDescription: Who recorded the adverse event
Type: reference
Path: AdverseEvent.recorder
- See Also:
- Constant Field Values
-
RECORDER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECORDER
Fluent Client search parameter constant for recorderDescription: Who recorded the adverse event
Type: reference
Path: AdverseEvent.recorder
-
INCLUDE_RECORDER
public static final ca.uhn.fhir.model.api.Include INCLUDE_RECORDER
Constant for fluent queries to be used to add include statements. Specifies the path value of "AdverseEvent:recorder".
-
SP_RESULTINGCONDITION
public static final String SP_RESULTINGCONDITION
Search parameter: resultingconditionDescription: Effect on the subject due to this event
Type: reference
Path: AdverseEvent.resultingCondition
- See Also:
- Constant Field Values
-
RESULTINGCONDITION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESULTINGCONDITION
Fluent Client search parameter constant for resultingconditionDescription: Effect on the subject due to this event
Type: reference
Path: AdverseEvent.resultingCondition
-
INCLUDE_RESULTINGCONDITION
public static final ca.uhn.fhir.model.api.Include INCLUDE_RESULTINGCONDITION
Constant for fluent queries to be used to add include statements. Specifies the path value of "AdverseEvent:resultingcondition".
-
SP_SERIOUSNESS
public static final String SP_SERIOUSNESS
Search parameter: seriousnessDescription: Seriousness or gravity of the event
Type: token
Path: AdverseEvent.seriousness
- See Also:
- Constant Field Values
-
SERIOUSNESS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERIOUSNESS
Fluent Client search parameter constant for seriousnessDescription: Seriousness or gravity of the event
Type: token
Path: AdverseEvent.seriousness
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: in-progress | completed | entered-in-error | unknown
Type: token
Path: AdverseEvent.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription: in-progress | completed | entered-in-error | unknown
Type: token
Path: AdverseEvent.status
-
SP_STUDY
public static final String SP_STUDY
Search parameter: studyDescription: Research study that the subject is enrolled in
Type: reference
Path: AdverseEvent.study
- See Also:
- Constant Field Values
-
STUDY
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam STUDY
Fluent Client search parameter constant for studyDescription: Research study that the subject is enrolled in
Type: reference
Path: AdverseEvent.study
-
INCLUDE_STUDY
public static final ca.uhn.fhir.model.api.Include INCLUDE_STUDY
Constant for fluent queries to be used to add include statements. Specifies the path value of "AdverseEvent:study".
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: Subject impacted by event
Type: reference
Path: AdverseEvent.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription: Subject impacted by event
Type: reference
Path: AdverseEvent.subject
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "AdverseEvent:subject".
-
SP_SUBSTANCE
public static final String SP_SUBSTANCE
Search parameter: substanceDescription: Refers to the specific entity that caused the adverse event
Type: reference
Path: (AdverseEvent.suspectEntity.instance as Reference)
- See Also:
- Constant Field Values
-
SUBSTANCE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBSTANCE
Fluent Client search parameter constant for substanceDescription: Refers to the specific entity that caused the adverse event
Type: reference
Path: (AdverseEvent.suspectEntity.instance as Reference)
-
INCLUDE_SUBSTANCE
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBSTANCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "AdverseEvent:substance".
-
-
Constructor Detail
-
AdverseEvent
public AdverseEvent()
Constructor
-
AdverseEvent
public AdverseEvent(AdverseEvent.AdverseEventStatus status, AdverseEvent.AdverseEventActuality actuality, Reference subject)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Business identifiers assigned to this adverse event by the performer or other systems which remain constant as the resource is updated and propagates from server to server.)
-
setIdentifier
public AdverseEvent setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public AdverseEvent addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist {3}
-
getStatusElement
public Enumeration<AdverseEvent.AdverseEventStatus> getStatusElement()
- Returns:
status(The current state of the adverse event or potential adverse event.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public AdverseEvent setStatusElement(Enumeration<AdverseEvent.AdverseEventStatus> value)
- Parameters:
value-status(The current state of the adverse event or potential adverse event.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public AdverseEvent.AdverseEventStatus getStatus()
- Returns:
- The current state of the adverse event or potential adverse event.
-
setStatus
public AdverseEvent setStatus(AdverseEvent.AdverseEventStatus value)
- Parameters:
value- The current state of the adverse event or potential adverse event.
-
getActualityElement
public Enumeration<AdverseEvent.AdverseEventActuality> getActualityElement()
- Returns:
actuality(Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.). This is the underlying object with id, value and extensions. The accessor "getActuality" gives direct access to the value
-
hasActualityElement
public boolean hasActualityElement()
-
hasActuality
public boolean hasActuality()
-
setActualityElement
public AdverseEvent setActualityElement(Enumeration<AdverseEvent.AdverseEventActuality> value)
- Parameters:
value-actuality(Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.). This is the underlying object with id, value and extensions. The accessor "getActuality" gives direct access to the value
-
getActuality
public AdverseEvent.AdverseEventActuality getActuality()
- Returns:
- Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.
-
setActuality
public AdverseEvent setActuality(AdverseEvent.AdverseEventActuality value)
- Parameters:
value- Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.
-
getCategory
public List<CodeableConcept> getCategory()
- Returns:
category(The overall type of event, intended for search and filtering purposes.)
-
setCategory
public AdverseEvent setCategory(List<CodeableConcept> theCategory)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCategory
public boolean hasCategory()
-
addCategory
public CodeableConcept addCategory()
-
addCategory
public AdverseEvent addCategory(CodeableConcept t)
-
getCategoryFirstRep
public CodeableConcept getCategoryFirstRep()
- Returns:
- The first repetition of repeating field
category, creating it if it does not already exist {3}
-
getCode
public CodeableConcept getCode()
- Returns:
code(Specific event that occurred or that was averted, such as patient fall, wrong organ removed, or wrong blood transfused.)
-
hasCode
public boolean hasCode()
-
setCode
public AdverseEvent setCode(CodeableConcept value)
- Parameters:
value-code(Specific event that occurred or that was averted, such as patient fall, wrong organ removed, or wrong blood transfused.)
-
getSubject
public Reference getSubject()
- Returns:
subject(This subject or group impacted by the event.)
-
hasSubject
public boolean hasSubject()
-
setSubject
public AdverseEvent setSubject(Reference value)
- Parameters:
value-subject(This subject or group impacted by the event.)
-
getEncounter
public Reference getEncounter()
- Returns:
encounter(The Encounter associated with the start of the AdverseEvent.)
-
hasEncounter
public boolean hasEncounter()
-
setEncounter
public AdverseEvent setEncounter(Reference value)
- Parameters:
value-encounter(The Encounter associated with the start of the AdverseEvent.)
-
getOccurrence
public DataType getOccurrence()
- Returns:
occurrence(The date (and perhaps time) when the adverse event occurred.)
-
getOccurrenceDateTimeType
public DateTimeType getOccurrenceDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
occurrence(The date (and perhaps time) when the adverse event occurred.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurrenceDateTimeType
public boolean hasOccurrenceDateTimeType()
-
getOccurrencePeriod
public Period getOccurrencePeriod() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
occurrence(The date (and perhaps time) when the adverse event occurred.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurrencePeriod
public boolean hasOccurrencePeriod()
-
getOccurrenceTiming
public Timing getOccurrenceTiming() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
occurrence(The date (and perhaps time) when the adverse event occurred.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurrenceTiming
public boolean hasOccurrenceTiming()
-
hasOccurrence
public boolean hasOccurrence()
-
setOccurrence
public AdverseEvent setOccurrence(DataType value)
- Parameters:
value-occurrence(The date (and perhaps time) when the adverse event occurred.)
-
getDetectedElement
public DateTimeType getDetectedElement()
- Returns:
detected(Estimated or actual date the AdverseEvent began, in the opinion of the reporter.). This is the underlying object with id, value and extensions. The accessor "getDetected" gives direct access to the value
-
hasDetectedElement
public boolean hasDetectedElement()
-
hasDetected
public boolean hasDetected()
-
setDetectedElement
public AdverseEvent setDetectedElement(DateTimeType value)
- Parameters:
value-detected(Estimated or actual date the AdverseEvent began, in the opinion of the reporter.). This is the underlying object with id, value and extensions. The accessor "getDetected" gives direct access to the value
-
getDetected
public Date getDetected()
- Returns:
- Estimated or actual date the AdverseEvent began, in the opinion of the reporter.
-
setDetected
public AdverseEvent setDetected(Date value)
- Parameters:
value- Estimated or actual date the AdverseEvent began, in the opinion of the reporter.
-
getRecordedDateElement
public DateTimeType getRecordedDateElement()
- Returns:
recordedDate(The date on which the existence of the AdverseEvent was first recorded.). This is the underlying object with id, value and extensions. The accessor "getRecordedDate" gives direct access to the value
-
hasRecordedDateElement
public boolean hasRecordedDateElement()
-
hasRecordedDate
public boolean hasRecordedDate()
-
setRecordedDateElement
public AdverseEvent setRecordedDateElement(DateTimeType value)
- Parameters:
value-recordedDate(The date on which the existence of the AdverseEvent was first recorded.). This is the underlying object with id, value and extensions. The accessor "getRecordedDate" gives direct access to the value
-
getRecordedDate
public Date getRecordedDate()
- Returns:
- The date on which the existence of the AdverseEvent was first recorded.
-
setRecordedDate
public AdverseEvent setRecordedDate(Date value)
- Parameters:
value- The date on which the existence of the AdverseEvent was first recorded.
-
getResultingCondition
public List<Reference> getResultingCondition()
- Returns:
resultingCondition(Information about the condition that occurred as a result of the adverse event, such as hives due to the exposure to a substance (for example, a drug or a chemical) or a broken leg as a result of the fall.)
-
setResultingCondition
public AdverseEvent setResultingCondition(List<Reference> theResultingCondition)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasResultingCondition
public boolean hasResultingCondition()
-
addResultingCondition
public Reference addResultingCondition()
-
addResultingCondition
public AdverseEvent addResultingCondition(Reference t)
-
getResultingConditionFirstRep
public Reference getResultingConditionFirstRep()
- Returns:
- The first repetition of repeating field
resultingCondition, creating it if it does not already exist {3}
-
getLocation
public Reference getLocation()
- Returns:
location(The information about where the adverse event occurred.)
-
hasLocation
public boolean hasLocation()
-
setLocation
public AdverseEvent setLocation(Reference value)
- Parameters:
value-location(The information about where the adverse event occurred.)
-
getSeriousness
public CodeableConcept getSeriousness()
- Returns:
seriousness(Assessment whether this event, or averted event, was of clinical importance.)
-
hasSeriousness
public boolean hasSeriousness()
-
setSeriousness
public AdverseEvent setSeriousness(CodeableConcept value)
- Parameters:
value-seriousness(Assessment whether this event, or averted event, was of clinical importance.)
-
getOutcome
public List<CodeableConcept> getOutcome()
- Returns:
outcome(Describes the type of outcome from the adverse event, such as resolved, recovering, ongoing, resolved-with-sequelae, or fatal.)
-
setOutcome
public AdverseEvent setOutcome(List<CodeableConcept> theOutcome)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasOutcome
public boolean hasOutcome()
-
addOutcome
public CodeableConcept addOutcome()
-
addOutcome
public AdverseEvent addOutcome(CodeableConcept t)
-
getOutcomeFirstRep
public CodeableConcept getOutcomeFirstRep()
- Returns:
- The first repetition of repeating field
outcome, creating it if it does not already exist {3}
-
getRecorder
public Reference getRecorder()
- Returns:
recorder(Information on who recorded the adverse event. May be the patient or a practitioner.)
-
hasRecorder
public boolean hasRecorder()
-
setRecorder
public AdverseEvent setRecorder(Reference value)
- Parameters:
value-recorder(Information on who recorded the adverse event. May be the patient or a practitioner.)
-
getParticipant
public List<AdverseEvent.AdverseEventParticipantComponent> getParticipant()
- Returns:
participant(Indicates who or what participated in the adverse event and how they were involved.)
-
setParticipant
public AdverseEvent setParticipant(List<AdverseEvent.AdverseEventParticipantComponent> theParticipant)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasParticipant
public boolean hasParticipant()
-
addParticipant
public AdverseEvent.AdverseEventParticipantComponent addParticipant()
-
addParticipant
public AdverseEvent addParticipant(AdverseEvent.AdverseEventParticipantComponent t)
-
getParticipantFirstRep
public AdverseEvent.AdverseEventParticipantComponent getParticipantFirstRep()
- Returns:
- The first repetition of repeating field
participant, creating it if it does not already exist {3}
-
getSuspectEntity
public List<AdverseEvent.AdverseEventSuspectEntityComponent> getSuspectEntity()
- Returns:
suspectEntity(Describes the entity that is suspected to have caused the adverse event.)
-
setSuspectEntity
public AdverseEvent setSuspectEntity(List<AdverseEvent.AdverseEventSuspectEntityComponent> theSuspectEntity)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSuspectEntity
public boolean hasSuspectEntity()
-
addSuspectEntity
public AdverseEvent.AdverseEventSuspectEntityComponent addSuspectEntity()
-
addSuspectEntity
public AdverseEvent addSuspectEntity(AdverseEvent.AdverseEventSuspectEntityComponent t)
-
getSuspectEntityFirstRep
public AdverseEvent.AdverseEventSuspectEntityComponent getSuspectEntityFirstRep()
- Returns:
- The first repetition of repeating field
suspectEntity, creating it if it does not already exist {3}
-
getContributingFactor
public List<AdverseEvent.AdverseEventContributingFactorComponent> getContributingFactor()
- Returns:
contributingFactor(The contributing factors suspected to have increased the probability or severity of the adverse event.)
-
setContributingFactor
public AdverseEvent setContributingFactor(List<AdverseEvent.AdverseEventContributingFactorComponent> theContributingFactor)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasContributingFactor
public boolean hasContributingFactor()
-
addContributingFactor
public AdverseEvent.AdverseEventContributingFactorComponent addContributingFactor()
-
addContributingFactor
public AdverseEvent addContributingFactor(AdverseEvent.AdverseEventContributingFactorComponent t)
-
getContributingFactorFirstRep
public AdverseEvent.AdverseEventContributingFactorComponent getContributingFactorFirstRep()
- Returns:
- The first repetition of repeating field
contributingFactor, creating it if it does not already exist {3}
-
getPreventiveAction
public List<AdverseEvent.AdverseEventPreventiveActionComponent> getPreventiveAction()
- Returns:
preventiveAction(Preventive actions that contributed to avoiding the adverse event.)
-
setPreventiveAction
public AdverseEvent setPreventiveAction(List<AdverseEvent.AdverseEventPreventiveActionComponent> thePreventiveAction)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPreventiveAction
public boolean hasPreventiveAction()
-
addPreventiveAction
public AdverseEvent.AdverseEventPreventiveActionComponent addPreventiveAction()
-
addPreventiveAction
public AdverseEvent addPreventiveAction(AdverseEvent.AdverseEventPreventiveActionComponent t)
-
getPreventiveActionFirstRep
public AdverseEvent.AdverseEventPreventiveActionComponent getPreventiveActionFirstRep()
- Returns:
- The first repetition of repeating field
preventiveAction, creating it if it does not already exist {3}
-
getMitigatingAction
public List<AdverseEvent.AdverseEventMitigatingActionComponent> getMitigatingAction()
- Returns:
mitigatingAction(The ameliorating action taken after the adverse event occured in order to reduce the extent of harm.)
-
setMitigatingAction
public AdverseEvent setMitigatingAction(List<AdverseEvent.AdverseEventMitigatingActionComponent> theMitigatingAction)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasMitigatingAction
public boolean hasMitigatingAction()
-
addMitigatingAction
public AdverseEvent.AdverseEventMitigatingActionComponent addMitigatingAction()
-
addMitigatingAction
public AdverseEvent addMitigatingAction(AdverseEvent.AdverseEventMitigatingActionComponent t)
-
getMitigatingActionFirstRep
public AdverseEvent.AdverseEventMitigatingActionComponent getMitigatingActionFirstRep()
- Returns:
- The first repetition of repeating field
mitigatingAction, creating it if it does not already exist {3}
-
getSupportingInfo
public List<AdverseEvent.AdverseEventSupportingInfoComponent> getSupportingInfo()
- Returns:
supportingInfo(Supporting information relevant to the event.)
-
setSupportingInfo
public AdverseEvent setSupportingInfo(List<AdverseEvent.AdverseEventSupportingInfoComponent> theSupportingInfo)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSupportingInfo
public boolean hasSupportingInfo()
-
addSupportingInfo
public AdverseEvent.AdverseEventSupportingInfoComponent addSupportingInfo()
-
addSupportingInfo
public AdverseEvent addSupportingInfo(AdverseEvent.AdverseEventSupportingInfoComponent t)
-
getSupportingInfoFirstRep
public AdverseEvent.AdverseEventSupportingInfoComponent getSupportingInfoFirstRep()
- Returns:
- The first repetition of repeating field
supportingInfo, creating it if it does not already exist {3}
-
getStudy
public List<Reference> getStudy()
- Returns:
study(The research study that the subject is enrolled in.)
-
setStudy
public AdverseEvent setStudy(List<Reference> theStudy)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasStudy
public boolean hasStudy()
-
addStudy
public AdverseEvent addStudy(Reference t)
-
getStudyFirstRep
public Reference getStudyFirstRep()
- Returns:
- The first repetition of repeating field
study, creating it if it does not already exist {3}
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin 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 AdverseEvent copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(AdverseEvent dst)
-
typedCopy
protected AdverseEvent 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
-
-