Class AdverseEvent
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.BaseResource
-
- org.hl7.fhir.dstu3.model.Resource
-
- org.hl7.fhir.dstu3.model.DomainResource
-
- org.hl7.fhir.dstu3.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.AdverseEventCategorystatic classAdverseEvent.AdverseEventCategoryEnumFactorystatic classAdverseEvent.AdverseEventCausalitystatic classAdverseEvent.AdverseEventCausalityEnumFactorystatic classAdverseEvent.AdverseEventSuspectEntityComponent
-
Field Summary
Fields Modifier and Type Field Description protected Enumeration<AdverseEvent.AdverseEventCategory>categoryThe type of event which is important to characterize what occurred and caused harm to the subject, or had the potential to cause harm to the subject.static ca.uhn.fhir.rest.gclient.TokenClientParamCATEGORYFluent Client search parameter constant for categoryprotected DateTimeTypedateThe date (and perhaps time) when the adverse event occurred.static ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for dateprotected StringTypedescriptionDescribes the adverse event in text.protected ReferenceeventParticipantParties that may or should contribute or have contributed information to the Act.protected ResourceeventParticipantTargetThe actual object that is the target of the reference (Parties that may or should contribute or have contributed information to the Act.protected IdentifieridentifierThe identifier(s) of this adverse event that are assigned by business processes and/or used to refer to it when a direct URL reference to the resource itsefl is not appropriate.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_REACTIONConstant 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_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 List<Reference>reactionIncludes 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.ReferenceClientParamREACTIONFluent Client search parameter constant for reactionprotected List<Condition>reactionTargetThe 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 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 CodeableConceptseriousnessDescribes the seriousness or severity of the adverse event.static ca.uhn.fhir.rest.gclient.TokenClientParamSERIOUSNESSFluent Client search parameter constant for seriousnessstatic StringSP_CATEGORYSearch parameter: categorystatic StringSP_DATESearch parameter: datestatic StringSP_LOCATIONSearch parameter: locationstatic StringSP_REACTIONSearch parameter: reactionstatic StringSP_RECORDERSearch parameter: recorderstatic StringSP_SERIOUSNESSSearch parameter: seriousnessstatic StringSP_STUDYSearch parameter: studystatic StringSP_SUBJECTSearch parameter: subjectstatic StringSP_SUBSTANCESearch parameter: substancestatic StringSP_TYPESearch parameter: typeprotected 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.protected CodeableConcepttypeThis element defines the specific type of event that occurred or that was prevented from occurring.static ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for type-
Fields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description AdverseEvent()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, 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.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, 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
The identifier(s) of this adverse event that are assigned by business processes and/or used to refer to it when a direct URL reference to the resource itsefl is not appropriate.
-
category
protected Enumeration<AdverseEvent.AdverseEventCategory> category
The type of event which is important to characterize what occurred and caused harm to the subject, or had the potential to cause harm to the subject.
-
type
protected CodeableConcept type
This element defines the specific type of event that occurred or that was prevented from occurring.
-
subject
protected Reference subject
This subject or group impacted by the event. With a prospective adverse event, there will be no subject as the adverse event was prevented.
-
subjectTarget
protected Resource subjectTarget
The actual object that is the target of the reference (This subject or group impacted by the event. With a prospective adverse event, there will be no subject as the adverse event was prevented.)
-
date
protected DateTimeType date
The date (and perhaps time) when the adverse event occurred.
-
reaction
protected List<Reference> reaction
Includes information about the reaction that occurred as a result of exposure to a substance (for example, a drug or a chemical).
-
reactionTarget
protected List<Condition> reactionTarget
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
Describes the seriousness or severity of the adverse event.
-
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.)
-
eventParticipant
protected Reference eventParticipant
Parties that may or should contribute or have contributed information to the Act. Such information includes information leading to the decision to perform the Act and how to perform the Act (e.g. consultant), information that the Act itself seeks to reveal (e.g. informant of clinical history), or information about what Act was performed (e.g. informant witness).
-
eventParticipantTarget
protected Resource eventParticipantTarget
The actual object that is the target of the reference (Parties that may or should contribute or have contributed information to the Act. Such information includes information leading to the decision to perform the Act and how to perform the Act (e.g. consultant), information that the Act itself seeks to reveal (e.g. informant of clinical history), or information about what Act was performed (e.g. informant witness).)
-
description
protected StringType description
Describes the adverse event in text.
-
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_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_REACTION
public static final String SP_REACTION
Search parameter: reactionDescription: Adverse Reaction Events linked to exposure to substance
Type: reference
Path: AdverseEvent.reaction
- See Also:
- Constant Field Values
-
REACTION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REACTION
Fluent Client search parameter constant for reactionDescription: Adverse Reaction Events linked to exposure to substance
Type: reference
Path: AdverseEvent.reaction
-
INCLUDE_REACTION
public static final ca.uhn.fhir.model.api.Include INCLUDE_REACTION
Constant for fluent queries to be used to add include statements. Specifies the path value of "AdverseEvent:reaction".
-
SP_SERIOUSNESS
public static final String SP_SERIOUSNESS
Search parameter: seriousnessDescription: Mild | Moderate | Severe
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: Mild | Moderate | Severe
Type: token
Path: AdverseEvent.seriousness
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: Subject or group 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 or group 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
- 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: AE | PAE An adverse event is an event that caused harm to a patient, an adverse reaction is a something that is a subject-specific event that is a result of an exposure to a medication, food, device or environmental substance, a potential adverse event is something that occurred and that could have caused harm to a patient but did not
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: AE | PAE An adverse event is an event that caused harm to a patient, an adverse reaction is a something that is a subject-specific event that is a result of an exposure to a medication, food, device or environmental substance, a potential adverse event is something that occurred and that could have caused harm to a patient but did not
Type: token
Path: AdverseEvent.category
-
SP_TYPE
public static final String SP_TYPE
Search parameter: typeDescription: actual | potential
Type: token
Path: AdverseEvent.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription: actual | potential
Type: token
Path: AdverseEvent.type
-
-
Constructor Detail
-
AdverseEvent
public AdverseEvent()
Constructor
-
-
Method Detail
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier(The identifier(s) of this adverse event that are assigned by business processes and/or used to refer to it when a direct URL reference to the resource itsefl is not appropriate.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public AdverseEvent setIdentifier(Identifier value)
- Parameters:
value-identifier(The identifier(s) of this adverse event that are assigned by business processes and/or used to refer to it when a direct URL reference to the resource itsefl is not appropriate.)
-
getCategoryElement
public Enumeration<AdverseEvent.AdverseEventCategory> getCategoryElement()
- Returns:
category(The type of event which is important to characterize what occurred and caused harm to the subject, or had the potential to cause harm to the subject.). This is the underlying object with id, value and extensions. The accessor "getCategory" gives direct access to the value
-
hasCategoryElement
public boolean hasCategoryElement()
-
hasCategory
public boolean hasCategory()
-
setCategoryElement
public AdverseEvent setCategoryElement(Enumeration<AdverseEvent.AdverseEventCategory> value)
- Parameters:
value-category(The type of event which is important to characterize what occurred and caused harm to the subject, or had the potential to cause harm to the subject.). This is the underlying object with id, value and extensions. The accessor "getCategory" gives direct access to the value
-
getCategory
public AdverseEvent.AdverseEventCategory getCategory()
- Returns:
- The type of event which is important to characterize what occurred and caused harm to the subject, or had the potential to cause harm to the subject.
-
setCategory
public AdverseEvent setCategory(AdverseEvent.AdverseEventCategory value)
- Parameters:
value- The type of event which is important to characterize what occurred and caused harm to the subject, or had the potential to cause harm to the subject.
-
getType
public CodeableConcept getType()
- Returns:
type(This element defines the specific type of event that occurred or that was prevented from occurring.)
-
hasType
public boolean hasType()
-
setType
public AdverseEvent setType(CodeableConcept value)
- Parameters:
value-type(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. With a prospective adverse event, there will be no subject as the adverse event was prevented.)
-
hasSubject
public boolean hasSubject()
-
setSubject
public AdverseEvent setSubject(Reference value)
- Parameters:
value-subject(This subject or group impacted by the event. With a prospective adverse event, there will be no subject as the adverse event was prevented.)
-
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. With a prospective adverse event, there will be no subject as the adverse event was prevented.)
-
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. With a prospective adverse event, there will be no subject as the adverse event was prevented.)
-
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.
-
getReaction
public List<Reference> getReaction()
- Returns:
reaction(Includes information about the reaction that occurred as a result of exposure to a substance (for example, a drug or a chemical).)
-
setReaction
public AdverseEvent setReaction(List<Reference> theReaction)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReaction
public boolean hasReaction()
-
addReaction
public Reference addReaction()
-
addReaction
public AdverseEvent addReaction(Reference t)
-
getReactionFirstRep
public Reference getReactionFirstRep()
- Returns:
- The first repetition of repeating field
reaction, creating it if it does not already exist
-
getReactionTarget
@Deprecated public List<Condition> getReactionTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addReactionTarget
@Deprecated public Condition addReactionTarget()
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(Describes the seriousness or severity of the adverse event.)
-
hasSeriousness
public boolean hasSeriousness()
-
setSeriousness
public AdverseEvent setSeriousness(CodeableConcept value)
- Parameters:
value-seriousness(Describes the seriousness or severity of the adverse event.)
-
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.)
-
getEventParticipant
public Reference getEventParticipant()
- Returns:
eventParticipant(Parties that may or should contribute or have contributed information to the Act. Such information includes information leading to the decision to perform the Act and how to perform the Act (e.g. consultant), information that the Act itself seeks to reveal (e.g. informant of clinical history), or information about what Act was performed (e.g. informant witness).)
-
hasEventParticipant
public boolean hasEventParticipant()
-
setEventParticipant
public AdverseEvent setEventParticipant(Reference value)
- Parameters:
value-eventParticipant(Parties that may or should contribute or have contributed information to the Act. Such information includes information leading to the decision to perform the Act and how to perform the Act (e.g. consultant), information that the Act itself seeks to reveal (e.g. informant of clinical history), or information about what Act was performed (e.g. informant witness).)
-
getEventParticipantTarget
public Resource getEventParticipantTarget()
- Returns:
eventParticipantThe 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. (Parties that may or should contribute or have contributed information to the Act. Such information includes information leading to the decision to perform the Act and how to perform the Act (e.g. consultant), information that the Act itself seeks to reveal (e.g. informant of clinical history), or information about what Act was performed (e.g. informant witness).)
-
setEventParticipantTarget
public AdverseEvent setEventParticipantTarget(Resource value)
- Parameters:
value-eventParticipantThe 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. (Parties that may or should contribute or have contributed information to the Act. Such information includes information leading to the decision to perform the Act and how to perform the Act (e.g. consultant), information that the Act itself seeks to reveal (e.g. informant of clinical history), or information about what Act was performed (e.g. informant witness).)
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
description(Describes the adverse event in text.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public AdverseEvent setDescriptionElement(StringType value)
- Parameters:
value-description(Describes the adverse event in text.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
public String getDescription()
- Returns:
- Describes the adverse event in text.
-
setDescription
public AdverseEvent setDescription(String value)
- Parameters:
value- Describes the adverse event in text.
-
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
-
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
-
-