Class AllergyIntolerance
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
Java class for AllergyIntolerance complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AllergyIntolerance">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}AllergyIntoleranceStatus" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}AllergyIntoleranceType" minOccurs="0"/>
<element name="category" type="{http://hl7.org/fhir}AllergyIntoleranceCategory" minOccurs="0"/>
<element name="criticality" type="{http://hl7.org/fhir}AllergyIntoleranceCriticality" minOccurs="0"/>
<element name="substance" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="patient" type="{http://hl7.org/fhir}Reference"/>
<element name="recordedDate" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="recorder" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="reporter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="onset" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="lastOccurence" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/>
<element name="reaction" type="{http://hl7.org/fhir}AllergyIntolerance.Reaction" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AllergyIntoleranceCategoryprotected AllergyIntoleranceCriticalityprotected List<Identifier> protected DateTimeprotected List<Annotation> protected DateTimeprotected Referenceprotected List<AllergyIntoleranceReaction> protected DateTimeprotected Referenceprotected Referenceprotected AllergyIntoleranceStatusprotected CodeableConceptprotected AllergyIntoleranceTypeFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the category property.Gets the value of the criticality property.Gets the value of the identifier property.Gets the value of the lastOccurence property.getNote()Gets the value of the note property.getOnset()Gets the value of the onset property.Gets the value of the patient property.Gets the value of the reaction property.Gets the value of the recordedDate property.Gets the value of the recorder property.Gets the value of the reporter property.Gets the value of the status property.Gets the value of the substance property.getType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets the value of the category property.voidSets the value of the criticality property.voidsetIdentifier(List<Identifier> value) voidsetLastOccurence(DateTime value) Sets the value of the lastOccurence property.voidsetNote(List<Annotation> value) voidSets the value of the onset property.voidsetPatient(Reference value) Sets the value of the patient property.voidvoidsetRecordedDate(DateTime value) Sets the value of the recordedDate property.voidsetRecorder(Reference value) Sets the value of the recorder property.voidsetReporter(Reference value) Sets the value of the reporter property.voidSets the value of the status property.voidsetSubstance(CodeableConcept value) Sets the value of the substance property.voidsetType(AllergyIntoleranceType value) Sets the value of the type property.toString()withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withLastOccurence(DateTime value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withNote(Collection<Annotation> values) withNote(Annotation... values) withPatient(Reference value) withReaction(AllergyIntoleranceReaction... values) withRecordedDate(DateTime value) withRecorder(Reference value) withReporter(Reference value) withSubstance(CodeableConcept value) withType(AllergyIntoleranceType value) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
status
-
type
-
category
-
criticality
-
substance
-
patient
-
recordedDate
-
recorder
-
reporter
-
onset
-
lastOccurence
-
note
-
reaction
-
-
Constructor Details
-
AllergyIntolerance
public AllergyIntolerance()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the identifier property.For example, to add a new item, do as follows:
getIdentifier().add(newItem);Objects of the following type(s) are allowed in the list
Identifier -
getStatus
Gets the value of the status property.- Returns:
- possible object is
AllergyIntoleranceStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isAllergyIntoleranceStatus
-
getType
Gets the value of the type property.- Returns:
- possible object is
AllergyIntoleranceType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isAllergyIntoleranceType
-
getCategory
Gets the value of the category property.- Returns:
- possible object is
AllergyIntoleranceCategory
-
setCategory
Sets the value of the category property.- Parameters:
value- allowed object isAllergyIntoleranceCategory
-
getCriticality
Gets the value of the criticality property.- Returns:
- possible object is
AllergyIntoleranceCriticality
-
setCriticality
Sets the value of the criticality property.- Parameters:
value- allowed object isAllergyIntoleranceCriticality
-
getSubstance
Gets the value of the substance property.- Returns:
- possible object is
CodeableConcept
-
setSubstance
Sets the value of the substance property.- Parameters:
value- allowed object isCodeableConcept
-
getPatient
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getRecordedDate
Gets the value of the recordedDate property.- Returns:
- possible object is
DateTime
-
setRecordedDate
Sets the value of the recordedDate property.- Parameters:
value- allowed object isDateTime
-
getRecorder
Gets the value of the recorder property.- Returns:
- possible object is
Reference
-
setRecorder
Sets the value of the recorder property.- Parameters:
value- allowed object isReference
-
getReporter
Gets the value of the reporter property.- Returns:
- possible object is
Reference
-
setReporter
Sets the value of the reporter property.- Parameters:
value- allowed object isReference
-
getOnset
Gets the value of the onset property.- Returns:
- possible object is
DateTime
-
setOnset
Sets the value of the onset property.- Parameters:
value- allowed object isDateTime
-
getLastOccurence
Gets the value of the lastOccurence property.- Returns:
- possible object is
DateTime
-
setLastOccurence
Sets the value of the lastOccurence property.- Parameters:
value- allowed object isDateTime
-
getNote
Gets the value of the note property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the note property.For example, to add a new item, do as follows:
getNote().add(newItem);Objects of the following type(s) are allowed in the list
Annotation -
getReaction
Gets the value of the reaction property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the reaction property.For example, to add a new item, do as follows:
getReaction().add(newItem);Objects of the following type(s) are allowed in the list
AllergyIntoleranceReaction -
withIdentifier
-
withIdentifier
-
withStatus
-
withType
-
withCategory
-
withCriticality
-
withSubstance
-
withPatient
-
withRecordedDate
-
withRecorder
-
withReporter
-
withOnset
-
withLastOccurence
-
withNote
-
withNote
-
withReaction
-
withReaction
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setIdentifier
-
setNote
-
setReaction
-