public class AllergyIntolerance extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected AllergyIntoleranceCategory |
category |
protected AllergyIntoleranceCriticality |
criticality |
protected java.util.List<Identifier> |
identifier |
protected DateTime |
lastOccurence |
protected java.util.List<Annotation> |
note |
protected DateTime |
onset |
protected Reference |
patient |
protected java.util.List<AllergyIntoleranceReaction> |
reaction |
protected DateTime |
recordedDate |
protected Reference |
recorder |
protected Reference |
reporter |
protected AllergyIntoleranceStatus |
status |
protected CodeableConcept |
substance |
protected AllergyIntoleranceType |
type |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
AllergyIntolerance() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
AllergyIntoleranceCategory |
getCategory()
Gets the value of the category property.
|
AllergyIntoleranceCriticality |
getCriticality()
Gets the value of the criticality property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
DateTime |
getLastOccurence()
Gets the value of the lastOccurence property.
|
java.util.List<Annotation> |
getNote()
Gets the value of the note property.
|
DateTime |
getOnset()
Gets the value of the onset property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
java.util.List<AllergyIntoleranceReaction> |
getReaction()
Gets the value of the reaction property.
|
DateTime |
getRecordedDate()
Gets the value of the recordedDate property.
|
Reference |
getRecorder()
Gets the value of the recorder property.
|
Reference |
getReporter()
Gets the value of the reporter property.
|
AllergyIntoleranceStatus |
getStatus()
Gets the value of the status property.
|
CodeableConcept |
getSubstance()
Gets the value of the substance property.
|
AllergyIntoleranceType |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCategory(AllergyIntoleranceCategory value)
Sets the value of the category property.
|
void |
setCriticality(AllergyIntoleranceCriticality value)
Sets the value of the criticality property.
|
void |
setLastOccurence(DateTime value)
Sets the value of the lastOccurence property.
|
void |
setOnset(DateTime value)
Sets the value of the onset property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setRecordedDate(DateTime value)
Sets the value of the recordedDate property.
|
void |
setRecorder(Reference value)
Sets the value of the recorder property.
|
void |
setReporter(Reference value)
Sets the value of the reporter property.
|
void |
setStatus(AllergyIntoleranceStatus value)
Sets the value of the status property.
|
void |
setSubstance(CodeableConcept value)
Sets the value of the substance property.
|
void |
setType(AllergyIntoleranceType value)
Sets the value of the type property.
|
java.lang.String |
toString() |
AllergyIntolerance |
withCategory(AllergyIntoleranceCategory value) |
AllergyIntolerance |
withContained(java.util.Collection<ResourceContainer> values) |
AllergyIntolerance |
withContained(ResourceContainer... values) |
AllergyIntolerance |
withCriticality(AllergyIntoleranceCriticality value) |
AllergyIntolerance |
withExtension(java.util.Collection<Extension> values) |
AllergyIntolerance |
withExtension(Extension... values) |
AllergyIntolerance |
withId(Id value) |
AllergyIntolerance |
withIdentifier(java.util.Collection<Identifier> values) |
AllergyIntolerance |
withIdentifier(Identifier... values) |
AllergyIntolerance |
withImplicitRules(Uri value) |
AllergyIntolerance |
withLanguage(Code value) |
AllergyIntolerance |
withLastOccurence(DateTime value) |
AllergyIntolerance |
withMeta(Meta value) |
AllergyIntolerance |
withModifierExtension(java.util.Collection<Extension> values) |
AllergyIntolerance |
withModifierExtension(Extension... values) |
AllergyIntolerance |
withNote(Annotation... values) |
AllergyIntolerance |
withNote(java.util.Collection<Annotation> values) |
AllergyIntolerance |
withOnset(DateTime value) |
AllergyIntolerance |
withPatient(Reference value) |
AllergyIntolerance |
withReaction(AllergyIntoleranceReaction... values) |
AllergyIntolerance |
withReaction(java.util.Collection<AllergyIntoleranceReaction> values) |
AllergyIntolerance |
withRecordedDate(DateTime value) |
AllergyIntolerance |
withRecorder(Reference value) |
AllergyIntolerance |
withReporter(Reference value) |
AllergyIntolerance |
withStatus(AllergyIntoleranceStatus value) |
AllergyIntolerance |
withSubstance(CodeableConcept value) |
AllergyIntolerance |
withText(Narrative value) |
AllergyIntolerance |
withType(AllergyIntoleranceType value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected AllergyIntoleranceStatus status
protected AllergyIntoleranceType type
protected AllergyIntoleranceCategory category
protected AllergyIntoleranceCriticality criticality
protected CodeableConcept substance
protected Reference patient
protected DateTime recordedDate
protected Reference recorder
protected Reference reporter
protected DateTime onset
protected DateTime lastOccurence
protected java.util.List<Annotation> note
protected java.util.List<AllergyIntoleranceReaction> reaction
public java.util.List<Identifier> getIdentifier()
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 JAXB object.
This is why there is not a set method 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
public AllergyIntoleranceStatus getStatus()
AllergyIntoleranceStatuspublic void setStatus(AllergyIntoleranceStatus value)
value - allowed object is
AllergyIntoleranceStatuspublic AllergyIntoleranceType getType()
AllergyIntoleranceTypepublic void setType(AllergyIntoleranceType value)
value - allowed object is
AllergyIntoleranceTypepublic AllergyIntoleranceCategory getCategory()
AllergyIntoleranceCategorypublic void setCategory(AllergyIntoleranceCategory value)
value - allowed object is
AllergyIntoleranceCategorypublic AllergyIntoleranceCriticality getCriticality()
AllergyIntoleranceCriticalitypublic void setCriticality(AllergyIntoleranceCriticality value)
value - allowed object is
AllergyIntoleranceCriticalitypublic CodeableConcept getSubstance()
CodeableConceptpublic void setSubstance(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic DateTime getRecordedDate()
DateTimepublic void setRecordedDate(DateTime value)
value - allowed object is
DateTimepublic Reference getRecorder()
Referencepublic void setRecorder(Reference value)
value - allowed object is
Referencepublic Reference getReporter()
Referencepublic void setReporter(Reference value)
value - allowed object is
Referencepublic DateTime getOnset()
DateTimepublic void setOnset(DateTime value)
value - allowed object is
DateTimepublic DateTime getLastOccurence()
DateTimepublic void setLastOccurence(DateTime value)
value - allowed object is
DateTimepublic java.util.List<Annotation> getNote()
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 JAXB object.
This is why there is not a set method 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
public java.util.List<AllergyIntoleranceReaction> getReaction()
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 JAXB object.
This is why there is not a set method 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
public AllergyIntolerance withIdentifier(Identifier... values)
public AllergyIntolerance withIdentifier(java.util.Collection<Identifier> values)
public AllergyIntolerance withStatus(AllergyIntoleranceStatus value)
public AllergyIntolerance withType(AllergyIntoleranceType value)
public AllergyIntolerance withCategory(AllergyIntoleranceCategory value)
public AllergyIntolerance withCriticality(AllergyIntoleranceCriticality value)
public AllergyIntolerance withSubstance(CodeableConcept value)
public AllergyIntolerance withPatient(Reference value)
public AllergyIntolerance withRecordedDate(DateTime value)
public AllergyIntolerance withRecorder(Reference value)
public AllergyIntolerance withReporter(Reference value)
public AllergyIntolerance withOnset(DateTime value)
public AllergyIntolerance withLastOccurence(DateTime value)
public AllergyIntolerance withNote(Annotation... values)
public AllergyIntolerance withNote(java.util.Collection<Annotation> values)
public AllergyIntolerance withReaction(AllergyIntoleranceReaction... values)
public AllergyIntolerance withReaction(java.util.Collection<AllergyIntoleranceReaction> values)
public AllergyIntolerance withText(Narrative value)
withText in class DomainResourcepublic AllergyIntolerance withContained(ResourceContainer... values)
withContained in class DomainResourcepublic AllergyIntolerance withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic AllergyIntolerance withExtension(Extension... values)
withExtension in class DomainResourcepublic AllergyIntolerance withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic AllergyIntolerance withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic AllergyIntolerance withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic AllergyIntolerance withId(Id value)
withId in class DomainResourcepublic AllergyIntolerance withMeta(Meta value)
withMeta in class DomainResourcepublic AllergyIntolerance withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic AllergyIntolerance withLanguage(Code value)
withLanguage in class DomainResourcepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource