Class AdverseEvent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.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
Actual or potential/avoided event causing unintended physical injury resulting from or contributed to by medical care, a research study or other healthcare setting factors that requires additional monitoring, treatment, or hospitalization, or that results in death.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdverseEvent.AdverseEventActualitystatic classAdverseEvent.AdverseEventActualityEnumFactorystatic 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 List<Reference>contributorParties that may or should contribute or have contributed information to the adverse event, which can consist of one or more activities.protected List<Resource>contributorTargetThe actual objects that are the target of the reference (Parties that may or should contribute or have contributed information to the adverse event, which can consist of one or more activities.protected DateTimeTypedateThe date (and perhaps time) when the adverse event occurred.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 during which AdverseEvent was created or to which the creation of this record is tightly associated.protected EncounterencounterTargetThe actual object that is the target of the reference (The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.)protected CodeableConcepteventThis element defines the specific type of event that occurred or that was prevented from occurring.static ca.uhn.fhir.rest.gclient.TokenClientParamEVENTFluent Client search parameter constant for eventprotected IdentifieridentifierBusiness 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.model.api.IncludeINCLUDE_LOCATIONConstant 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 LocationlocationTargetThe actual object that is the target of the reference (The information about where the adverse event occurred.)protected CodeableConceptoutcomeDescribes the type of outcome from 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 ResourcerecorderTargetThe actual object that is the target of the reference (Information on who recorded the adverse event.protected List<Reference>referenceDocumentAdverseEvent.referenceDocument.protected List<DocumentReference>referenceDocumentTargetThe actual objects that are the target of the reference (AdverseEvent.referenceDocument.)protected List<Reference>resultingConditionIncludes information about the reaction that occurred as a result of exposure to a substance (for example, a drug or a chemical).static ca.uhn.fhir.rest.gclient.ReferenceClientParamRESULTINGCONDITIONFluent Client search parameter constant for resultingconditionprotected List<Condition>resultingConditionTargetThe actual objects that are the target of the reference (Includes information about the reaction that occurred as a result of exposure to a substance (for example, a drug or a chemical).)protected CodeableConceptseriousnessAssessment whether this event was of real importance.static ca.uhn.fhir.rest.gclient.TokenClientParamSERIOUSNESSFluent Client search parameter constant for seriousnessprotected CodeableConceptseverityDescribes the severity of the adverse event, in relation to the subject.static ca.uhn.fhir.rest.gclient.TokenClientParamSEVERITYFluent Client search parameter constant for severitystatic StringSP_ACTUALITYSearch parameter: actualitystatic StringSP_CATEGORYSearch parameter: categorystatic StringSP_DATESearch parameter: datestatic StringSP_EVENTSearch parameter: eventstatic StringSP_LOCATIONSearch parameter: locationstatic StringSP_RECORDERSearch parameter: recorderstatic StringSP_RESULTINGCONDITIONSearch parameter: resultingconditionstatic StringSP_SERIOUSNESSSearch parameter: seriousnessstatic StringSP_SEVERITYSearch parameter: severitystatic StringSP_STUDYSearch parameter: studystatic StringSP_SUBJECTSearch parameter: subjectstatic StringSP_SUBSTANCESearch parameter: substanceprotected List<Reference>studyAdverseEvent.study.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSTUDYFluent Client search parameter constant for studyprotected List<ResearchStudy>studyTargetThe actual objects that are the target of the reference (AdverseEvent.study.)protected ReferencesubjectThis subject or group impacted by the event.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectprotected List<Reference>subjectMedicalHistoryAdverseEvent.subjectMedicalHistory.protected List<Resource>subjectMedicalHistoryTargetThe actual objects that are the target of the reference (AdverseEvent.subjectMedicalHistory.)protected ResourcesubjectTargetThe actual object that is the target of the reference (This subject or group impacted by the event.)static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBSTANCEFluent Client search parameter constant for substanceprotected List<AdverseEvent.AdverseEventSuspectEntityComponent>suspectEntityDescribes the entity that is suspected to have caused the adverse event.-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description AdverseEvent()ConstructorAdverseEvent(Enumeration<AdverseEvent.AdverseEventActuality> actuality, Reference subject)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.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.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, 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 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.
-
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.
-
event
protected CodeableConcept event
This element defines the specific type of event that occurred or that was prevented from occurring.
-
subjectTarget
protected Resource subjectTarget
The actual object that is the target of the reference (This subject or group impacted by the event.)
-
encounter
protected Reference encounter
The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.
-
encounterTarget
protected Encounter encounterTarget
The actual object that is the target of the reference (The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.)
-
date
protected DateTimeType date
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
Includes information about the reaction that occurred as a result of exposure to a substance (for example, a drug or a chemical).
-
resultingConditionTarget
protected List<Condition> resultingConditionTarget
The actual objects that are the target of the reference (Includes information about the reaction that occurred as a result of exposure to a substance (for example, a drug or a chemical).)
-
locationTarget
protected Location locationTarget
The actual object that is the target of the reference (The information about where the adverse event occurred.)
-
seriousness
protected CodeableConcept seriousness
Assessment whether this event was of real importance.
-
severity
protected CodeableConcept severity
Describes the severity of the adverse event, in relation to the subject. Contrast to AdverseEvent.seriousness - a severe rash might not be serious, but a mild heart problem is.
-
outcome
protected CodeableConcept outcome
Describes the type of outcome from the adverse event.
-
recorder
protected Reference recorder
Information on who recorded the adverse event. May be the patient or a practitioner.
-
recorderTarget
protected Resource recorderTarget
The actual object that is the target of the reference (Information on who recorded the adverse event. May be the patient or a practitioner.)
-
contributor
protected List<Reference> contributor
Parties that may or should contribute or have contributed information to the adverse event, which can consist of one or more activities. Such information includes information leading to the decision to perform the activity and how to perform the activity (e.g. consultant), information that the activity itself seeks to reveal (e.g. informant of clinical history), or information about what activity was performed (e.g. informant witness).
-
contributorTarget
protected List<Resource> contributorTarget
The actual objects that are the target of the reference (Parties that may or should contribute or have contributed information to the adverse event, which can consist of one or more activities. Such information includes information leading to the decision to perform the activity and how to perform the activity (e.g. consultant), information that the activity itself seeks to reveal (e.g. informant of clinical history), or information about what activity was performed (e.g. informant witness).)
-
suspectEntity
protected List<AdverseEvent.AdverseEventSuspectEntityComponent> suspectEntity
Describes the entity that is suspected to have caused the adverse event.
-
subjectMedicalHistory
protected List<Reference> subjectMedicalHistory
AdverseEvent.subjectMedicalHistory.
-
subjectMedicalHistoryTarget
protected List<Resource> subjectMedicalHistoryTarget
The actual objects that are the target of the reference (AdverseEvent.subjectMedicalHistory.)
-
referenceDocument
protected List<Reference> referenceDocument
AdverseEvent.referenceDocument.
-
referenceDocumentTarget
protected List<DocumentReference> referenceDocumentTarget
The actual objects that are the target of the reference (AdverseEvent.referenceDocument.)
-
studyTarget
protected List<ResearchStudy> studyTarget
The actual objects that are the target of the reference (AdverseEvent.study.)
-
SP_DATE
public static final String SP_DATE
Search parameter: dateDescription: When the event occurred
Type: date
Path: AdverseEvent.date
- 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.date
-
SP_SEVERITY
public static final String SP_SEVERITY
Search parameter: severityDescription: mild | moderate | severe
Type: token
Path: AdverseEvent.severity
- See Also:
- Constant Field Values
-
SEVERITY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SEVERITY
Fluent Client search parameter constant for severityDescription: mild | moderate | severe
Type: token
Path: AdverseEvent.severity
-
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_STUDY
public static final String SP_STUDY
Search parameter: studyDescription: AdverseEvent.study
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: AdverseEvent.study
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_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_SERIOUSNESS
public static final String SP_SERIOUSNESS
Search parameter: seriousnessDescription: Seriousness 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 of the event
Type: token
Path: AdverseEvent.seriousness
-
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_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_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
- 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
-
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".
-
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_CATEGORY
public static final String SP_CATEGORY
Search parameter: categoryDescription: product-problem | product-quality | product-use-error | wrong-dose | incorrect-prescribing-information | wrong-technique | wrong-route-of-administration | wrong-rate | wrong-duration | wrong-time | expired-drug | medical-device-use-error | problem-different-manufacturer | unsafe-physical-environment
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: product-problem | product-quality | product-use-error | wrong-dose | incorrect-prescribing-information | wrong-technique | wrong-route-of-administration | wrong-rate | wrong-duration | wrong-time | expired-drug | medical-device-use-error | problem-different-manufacturer | unsafe-physical-environment
Type: token
Path: AdverseEvent.category
-
SP_EVENT
public static final String SP_EVENT
Search parameter: eventDescription: Type of the event itself in relation to the subject
Type: token
Path: AdverseEvent.event
- See Also:
- Constant Field Values
-
EVENT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam EVENT
Fluent Client search parameter constant for eventDescription: Type of the event itself in relation to the subject
Type: token
Path: AdverseEvent.event
-
-
Constructor Detail
-
AdverseEvent
public AdverseEvent()
Constructor
-
AdverseEvent
public AdverseEvent(Enumeration<AdverseEvent.AdverseEventActuality> actuality, Reference subject)
Constructor
-
-
Method Detail
-
getIdentifier
public 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.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public AdverseEvent setIdentifier(Identifier value)
- Parameters:
value-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.)
-
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
-
getEvent
public CodeableConcept getEvent()
- Returns:
event(This element defines the specific type of event that occurred or that was prevented from occurring.)
-
hasEvent
public boolean hasEvent()
-
setEvent
public AdverseEvent setEvent(CodeableConcept value)
- Parameters:
value-event(This element defines the specific type of event that occurred or that was prevented from occurring.)
-
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.)
-
getSubjectTarget
public Resource getSubjectTarget()
- Returns:
subjectThe 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. (This subject or group impacted by the event.)
-
setSubjectTarget
public AdverseEvent setSubjectTarget(Resource value)
- Parameters:
value-subjectThe 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. (This subject or group impacted by the event.)
-
getEncounter
public Reference getEncounter()
- Returns:
encounter(The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.)
-
hasEncounter
public boolean hasEncounter()
-
setEncounter
public AdverseEvent setEncounter(Reference value)
- Parameters:
value-encounter(The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.)
-
getEncounterTarget
public Encounter getEncounterTarget()
- Returns:
encounterThe 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. (The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.)
-
setEncounterTarget
public AdverseEvent setEncounterTarget(Encounter value)
- Parameters:
value-encounterThe 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. (The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.)
-
getDateElement
public DateTimeType getDateElement()
- Returns:
date(The date (and perhaps time) when the adverse event occurred.). 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 AdverseEvent setDateElement(DateTimeType value)
- Parameters:
value-date(The date (and perhaps time) when the adverse event occurred.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
setDate
public AdverseEvent setDate(Date value)
- Parameters:
value- 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(Includes information about the reaction that occurred as a result of exposure to a substance (for example, a drug or a chemical).)
-
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
-
getResultingConditionTarget
@Deprecated public List<Condition> getResultingConditionTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addResultingConditionTarget
@Deprecated public Condition addResultingConditionTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
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.)
-
getLocationTarget
public Location getLocationTarget()
- Returns:
locationThe 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. (The information about where the adverse event occurred.)
-
setLocationTarget
public AdverseEvent setLocationTarget(Location value)
- Parameters:
value-locationThe 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. (The information about where the adverse event occurred.)
-
getSeriousness
public CodeableConcept getSeriousness()
- Returns:
seriousness(Assessment whether this event was of real importance.)
-
hasSeriousness
public boolean hasSeriousness()
-
setSeriousness
public AdverseEvent setSeriousness(CodeableConcept value)
- Parameters:
value-seriousness(Assessment whether this event was of real importance.)
-
getSeverity
public CodeableConcept getSeverity()
- Returns:
severity(Describes the severity of the adverse event, in relation to the subject. Contrast to AdverseEvent.seriousness - a severe rash might not be serious, but a mild heart problem is.)
-
hasSeverity
public boolean hasSeverity()
-
setSeverity
public AdverseEvent setSeverity(CodeableConcept value)
- Parameters:
value-severity(Describes the severity of the adverse event, in relation to the subject. Contrast to AdverseEvent.seriousness - a severe rash might not be serious, but a mild heart problem is.)
-
getOutcome
public CodeableConcept getOutcome()
- Returns:
outcome(Describes the type of outcome from the adverse event.)
-
hasOutcome
public boolean hasOutcome()
-
setOutcome
public AdverseEvent setOutcome(CodeableConcept value)
- Parameters:
value-outcome(Describes the type of outcome from the adverse event.)
-
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.)
-
getRecorderTarget
public Resource getRecorderTarget()
- Returns:
recorderThe 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. (Information on who recorded the adverse event. May be the patient or a practitioner.)
-
setRecorderTarget
public AdverseEvent setRecorderTarget(Resource value)
- Parameters:
value-recorderThe 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. (Information on who recorded the adverse event. May be the patient or a practitioner.)
-
getContributor
public List<Reference> getContributor()
- Returns:
contributor(Parties that may or should contribute or have contributed information to the adverse event, which can consist of one or more activities. Such information includes information leading to the decision to perform the activity and how to perform the activity (e.g. consultant), information that the activity itself seeks to reveal (e.g. informant of clinical history), or information about what activity was performed (e.g. informant witness).)
-
setContributor
public AdverseEvent setContributor(List<Reference> theContributor)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasContributor
public boolean hasContributor()
-
addContributor
public Reference addContributor()
-
addContributor
public AdverseEvent addContributor(Reference t)
-
getContributorFirstRep
public Reference getContributorFirstRep()
- Returns:
- The first repetition of repeating field
contributor, creating it if it does not already exist
-
getContributorTarget
@Deprecated public List<Resource> getContributorTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
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
-
getSubjectMedicalHistory
public List<Reference> getSubjectMedicalHistory()
- Returns:
subjectMedicalHistory(AdverseEvent.subjectMedicalHistory.)
-
setSubjectMedicalHistory
public AdverseEvent setSubjectMedicalHistory(List<Reference> theSubjectMedicalHistory)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSubjectMedicalHistory
public boolean hasSubjectMedicalHistory()
-
addSubjectMedicalHistory
public Reference addSubjectMedicalHistory()
-
addSubjectMedicalHistory
public AdverseEvent addSubjectMedicalHistory(Reference t)
-
getSubjectMedicalHistoryFirstRep
public Reference getSubjectMedicalHistoryFirstRep()
- Returns:
- The first repetition of repeating field
subjectMedicalHistory, creating it if it does not already exist
-
getSubjectMedicalHistoryTarget
@Deprecated public List<Resource> getSubjectMedicalHistoryTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getReferenceDocument
public List<Reference> getReferenceDocument()
- Returns:
referenceDocument(AdverseEvent.referenceDocument.)
-
setReferenceDocument
public AdverseEvent setReferenceDocument(List<Reference> theReferenceDocument)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReferenceDocument
public boolean hasReferenceDocument()
-
addReferenceDocument
public Reference addReferenceDocument()
-
addReferenceDocument
public AdverseEvent addReferenceDocument(Reference t)
-
getReferenceDocumentFirstRep
public Reference getReferenceDocumentFirstRep()
- Returns:
- The first repetition of repeating field
referenceDocument, creating it if it does not already exist
-
getReferenceDocumentTarget
@Deprecated public List<DocumentReference> getReferenceDocumentTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addReferenceDocumentTarget
@Deprecated public DocumentReference addReferenceDocumentTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
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
-
getStudyTarget
@Deprecated public List<ResearchStudy> getStudyTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addStudyTarget
@Deprecated public ResearchStudy addStudyTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
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
-
-