Class Condition
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.Condition
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Condition extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for Condition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Condition"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/> <element name="patient" type="{http://hl7.org/fhir}Reference"/> <element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="asserter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="dateRecorded" type="{http://hl7.org/fhir}date" minOccurs="0"/> <element name="code" type="{http://hl7.org/fhir}CodeableConcept"/> <element name="category" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="clinicalStatus" type="{http://hl7.org/fhir}code" minOccurs="0"/> <element name="verificationStatus" type="{http://hl7.org/fhir}ConditionVerificationStatus"/> <element name="severity" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <choice minOccurs="0"> <element name="onsetDateTime" type="{http://hl7.org/fhir}dateTime"/> <element name="onsetQuantity" type="{http://hl7.org/fhir}Age"/> <element name="onsetPeriod" type="{http://hl7.org/fhir}Period"/> <element name="onsetRange" type="{http://hl7.org/fhir}Range"/> <element name="onsetString" type="{http://hl7.org/fhir}string"/> </choice> <choice minOccurs="0"> <element name="abatementDateTime" type="{http://hl7.org/fhir}dateTime"/> <element name="abatementQuantity" type="{http://hl7.org/fhir}Age"/> <element name="abatementBoolean" type="{http://hl7.org/fhir}boolean"/> <element name="abatementPeriod" type="{http://hl7.org/fhir}Period"/> <element name="abatementRange" type="{http://hl7.org/fhir}Range"/> <element name="abatementString" type="{http://hl7.org/fhir}string"/> </choice> <element name="stage" type="{http://hl7.org/fhir}Condition.Stage" minOccurs="0"/> <element name="evidence" type="{http://hl7.org/fhir}Condition.Evidence" maxOccurs="unbounded" minOccurs="0"/> <element name="bodySite" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="notes" type="{http://hl7.org/fhir}string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanabatementBooleanprotected DateTimeabatementDateTimeprotected PeriodabatementPeriodprotected AgeabatementQuantityprotected RangeabatementRangeprotected StringabatementStringprotected Referenceasserterprotected java.util.List<CodeableConcept>bodySiteprotected CodeableConceptcategoryprotected CodeclinicalStatusprotected CodeableConceptcodeprotected DatedateRecordedprotected Referenceencounterprotected java.util.List<ConditionEvidence>evidenceprotected java.util.List<Identifier>identifierprotected Stringnotesprotected DateTimeonsetDateTimeprotected PeriodonsetPeriodprotected AgeonsetQuantityprotected RangeonsetRangeprotected StringonsetStringprotected Referencepatientprotected CodeableConceptseverityprotected ConditionStagestageprotected ConditionVerificationStatusverificationStatus-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Condition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)BooleangetAbatementBoolean()Gets the value of the abatementBoolean property.DateTimegetAbatementDateTime()Gets the value of the abatementDateTime property.PeriodgetAbatementPeriod()Gets the value of the abatementPeriod property.AgegetAbatementQuantity()Gets the value of the abatementQuantity property.RangegetAbatementRange()Gets the value of the abatementRange property.StringgetAbatementString()Gets the value of the abatementString property.ReferencegetAsserter()Gets the value of the asserter property.java.util.List<CodeableConcept>getBodySite()Gets the value of the bodySite property.CodeableConceptgetCategory()Gets the value of the category property.CodegetClinicalStatus()Gets the value of the clinicalStatus property.CodeableConceptgetCode()Gets the value of the code property.DategetDateRecorded()Gets the value of the dateRecorded property.ReferencegetEncounter()Gets the value of the encounter property.java.util.List<ConditionEvidence>getEvidence()Gets the value of the evidence property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.StringgetNotes()Gets the value of the notes property.DateTimegetOnsetDateTime()Gets the value of the onsetDateTime property.PeriodgetOnsetPeriod()Gets the value of the onsetPeriod property.AgegetOnsetQuantity()Gets the value of the onsetQuantity property.RangegetOnsetRange()Gets the value of the onsetRange property.StringgetOnsetString()Gets the value of the onsetString property.ReferencegetPatient()Gets the value of the patient property.CodeableConceptgetSeverity()Gets the value of the severity property.ConditionStagegetStage()Gets the value of the stage property.ConditionVerificationStatusgetVerificationStatus()Gets the value of the verificationStatus property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAbatementBoolean(Boolean value)Sets the value of the abatementBoolean property.voidsetAbatementDateTime(DateTime value)Sets the value of the abatementDateTime property.voidsetAbatementPeriod(Period value)Sets the value of the abatementPeriod property.voidsetAbatementQuantity(Age value)Sets the value of the abatementQuantity property.voidsetAbatementRange(Range value)Sets the value of the abatementRange property.voidsetAbatementString(String value)Sets the value of the abatementString property.voidsetAsserter(Reference value)Sets the value of the asserter property.voidsetCategory(CodeableConcept value)Sets the value of the category property.voidsetClinicalStatus(Code value)Sets the value of the clinicalStatus property.voidsetCode(CodeableConcept value)Sets the value of the code property.voidsetDateRecorded(Date value)Sets the value of the dateRecorded property.voidsetEncounter(Reference value)Sets the value of the encounter property.voidsetNotes(String value)Sets the value of the notes property.voidsetOnsetDateTime(DateTime value)Sets the value of the onsetDateTime property.voidsetOnsetPeriod(Period value)Sets the value of the onsetPeriod property.voidsetOnsetQuantity(Age value)Sets the value of the onsetQuantity property.voidsetOnsetRange(Range value)Sets the value of the onsetRange property.voidsetOnsetString(String value)Sets the value of the onsetString property.voidsetPatient(Reference value)Sets the value of the patient property.voidsetSeverity(CodeableConcept value)Sets the value of the severity property.voidsetStage(ConditionStage value)Sets the value of the stage property.voidsetVerificationStatus(ConditionVerificationStatus value)Sets the value of the verificationStatus property.java.lang.StringtoString()ConditionwithAbatementBoolean(Boolean value)ConditionwithAbatementDateTime(DateTime value)ConditionwithAbatementPeriod(Period value)ConditionwithAbatementQuantity(Age value)ConditionwithAbatementRange(Range value)ConditionwithAbatementString(String value)ConditionwithAsserter(Reference value)ConditionwithBodySite(java.util.Collection<CodeableConcept> values)ConditionwithBodySite(CodeableConcept... values)ConditionwithCategory(CodeableConcept value)ConditionwithClinicalStatus(Code value)ConditionwithCode(CodeableConcept value)ConditionwithContained(java.util.Collection<ResourceContainer> values)ConditionwithContained(ResourceContainer... values)ConditionwithDateRecorded(Date value)ConditionwithEncounter(Reference value)ConditionwithEvidence(java.util.Collection<ConditionEvidence> values)ConditionwithEvidence(ConditionEvidence... values)ConditionwithExtension(java.util.Collection<Extension> values)ConditionwithExtension(Extension... values)ConditionwithId(Id value)ConditionwithIdentifier(java.util.Collection<Identifier> values)ConditionwithIdentifier(Identifier... values)ConditionwithImplicitRules(Uri value)ConditionwithLanguage(Code value)ConditionwithMeta(Meta value)ConditionwithModifierExtension(java.util.Collection<Extension> values)ConditionwithModifierExtension(Extension... values)ConditionwithNotes(String value)ConditionwithOnsetDateTime(DateTime value)ConditionwithOnsetPeriod(Period value)ConditionwithOnsetQuantity(Age value)ConditionwithOnsetRange(Range value)ConditionwithOnsetString(String value)ConditionwithPatient(Reference value)ConditionwithSeverity(CodeableConcept value)ConditionwithStage(ConditionStage value)ConditionwithText(Narrative value)ConditionwithVerificationStatus(ConditionVerificationStatus value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
patient
protected Reference patient
-
encounter
protected Reference encounter
-
asserter
protected Reference asserter
-
dateRecorded
protected Date dateRecorded
-
code
protected CodeableConcept code
-
category
protected CodeableConcept category
-
clinicalStatus
protected Code clinicalStatus
-
verificationStatus
protected ConditionVerificationStatus verificationStatus
-
severity
protected CodeableConcept severity
-
onsetDateTime
protected DateTime onsetDateTime
-
onsetQuantity
protected Age onsetQuantity
-
onsetPeriod
protected Period onsetPeriod
-
onsetRange
protected Range onsetRange
-
onsetString
protected String onsetString
-
abatementDateTime
protected DateTime abatementDateTime
-
abatementQuantity
protected Age abatementQuantity
-
abatementBoolean
protected Boolean abatementBoolean
-
abatementPeriod
protected Period abatementPeriod
-
abatementRange
protected Range abatementRange
-
abatementString
protected String abatementString
-
stage
protected ConditionStage stage
-
evidence
protected java.util.List<ConditionEvidence> evidence
-
bodySite
protected java.util.List<CodeableConcept> bodySite
-
notes
protected String notes
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> 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 JAXB 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
-
getPatient
public Reference getPatient()
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
public void setPatient(Reference value)
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getEncounter
public Reference getEncounter()
Gets the value of the encounter property.- Returns:
- possible object is
Reference
-
setEncounter
public void setEncounter(Reference value)
Sets the value of the encounter property.- Parameters:
value- allowed object isReference
-
getAsserter
public Reference getAsserter()
Gets the value of the asserter property.- Returns:
- possible object is
Reference
-
setAsserter
public void setAsserter(Reference value)
Sets the value of the asserter property.- Parameters:
value- allowed object isReference
-
getDateRecorded
public Date getDateRecorded()
Gets the value of the dateRecorded property.- Returns:
- possible object is
Date
-
setDateRecorded
public void setDateRecorded(Date value)
Sets the value of the dateRecorded property.- Parameters:
value- allowed object isDate
-
getCode
public CodeableConcept getCode()
Gets the value of the code property.- Returns:
- possible object is
CodeableConcept
-
setCode
public void setCode(CodeableConcept value)
Sets the value of the code property.- Parameters:
value- allowed object isCodeableConcept
-
getCategory
public CodeableConcept getCategory()
Gets the value of the category property.- Returns:
- possible object is
CodeableConcept
-
setCategory
public void setCategory(CodeableConcept value)
Sets the value of the category property.- Parameters:
value- allowed object isCodeableConcept
-
getClinicalStatus
public Code getClinicalStatus()
Gets the value of the clinicalStatus property.- Returns:
- possible object is
Code
-
setClinicalStatus
public void setClinicalStatus(Code value)
Sets the value of the clinicalStatus property.- Parameters:
value- allowed object isCode
-
getVerificationStatus
public ConditionVerificationStatus getVerificationStatus()
Gets the value of the verificationStatus property.- Returns:
- possible object is
ConditionVerificationStatus
-
setVerificationStatus
public void setVerificationStatus(ConditionVerificationStatus value)
Sets the value of the verificationStatus property.- Parameters:
value- allowed object isConditionVerificationStatus
-
getSeverity
public CodeableConcept getSeverity()
Gets the value of the severity property.- Returns:
- possible object is
CodeableConcept
-
setSeverity
public void setSeverity(CodeableConcept value)
Sets the value of the severity property.- Parameters:
value- allowed object isCodeableConcept
-
getOnsetDateTime
public DateTime getOnsetDateTime()
Gets the value of the onsetDateTime property.- Returns:
- possible object is
DateTime
-
setOnsetDateTime
public void setOnsetDateTime(DateTime value)
Sets the value of the onsetDateTime property.- Parameters:
value- allowed object isDateTime
-
getOnsetQuantity
public Age getOnsetQuantity()
Gets the value of the onsetQuantity property.- Returns:
- possible object is
Age
-
setOnsetQuantity
public void setOnsetQuantity(Age value)
Sets the value of the onsetQuantity property.- Parameters:
value- allowed object isAge
-
getOnsetPeriod
public Period getOnsetPeriod()
Gets the value of the onsetPeriod property.- Returns:
- possible object is
Period
-
setOnsetPeriod
public void setOnsetPeriod(Period value)
Sets the value of the onsetPeriod property.- Parameters:
value- allowed object isPeriod
-
getOnsetRange
public Range getOnsetRange()
Gets the value of the onsetRange property.- Returns:
- possible object is
Range
-
setOnsetRange
public void setOnsetRange(Range value)
Sets the value of the onsetRange property.- Parameters:
value- allowed object isRange
-
getOnsetString
public String getOnsetString()
Gets the value of the onsetString property.- Returns:
- possible object is
String
-
setOnsetString
public void setOnsetString(String value)
Sets the value of the onsetString property.- Parameters:
value- allowed object isString
-
getAbatementDateTime
public DateTime getAbatementDateTime()
Gets the value of the abatementDateTime property.- Returns:
- possible object is
DateTime
-
setAbatementDateTime
public void setAbatementDateTime(DateTime value)
Sets the value of the abatementDateTime property.- Parameters:
value- allowed object isDateTime
-
getAbatementQuantity
public Age getAbatementQuantity()
Gets the value of the abatementQuantity property.- Returns:
- possible object is
Age
-
setAbatementQuantity
public void setAbatementQuantity(Age value)
Sets the value of the abatementQuantity property.- Parameters:
value- allowed object isAge
-
getAbatementBoolean
public Boolean getAbatementBoolean()
Gets the value of the abatementBoolean property.- Returns:
- possible object is
Boolean
-
setAbatementBoolean
public void setAbatementBoolean(Boolean value)
Sets the value of the abatementBoolean property.- Parameters:
value- allowed object isBoolean
-
getAbatementPeriod
public Period getAbatementPeriod()
Gets the value of the abatementPeriod property.- Returns:
- possible object is
Period
-
setAbatementPeriod
public void setAbatementPeriod(Period value)
Sets the value of the abatementPeriod property.- Parameters:
value- allowed object isPeriod
-
getAbatementRange
public Range getAbatementRange()
Gets the value of the abatementRange property.- Returns:
- possible object is
Range
-
setAbatementRange
public void setAbatementRange(Range value)
Sets the value of the abatementRange property.- Parameters:
value- allowed object isRange
-
getAbatementString
public String getAbatementString()
Gets the value of the abatementString property.- Returns:
- possible object is
String
-
setAbatementString
public void setAbatementString(String value)
Sets the value of the abatementString property.- Parameters:
value- allowed object isString
-
getStage
public ConditionStage getStage()
Gets the value of the stage property.- Returns:
- possible object is
ConditionStage
-
setStage
public void setStage(ConditionStage value)
Sets the value of the stage property.- Parameters:
value- allowed object isConditionStage
-
getEvidence
public java.util.List<ConditionEvidence> getEvidence()
Gets the value of the evidence 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 JAXB object. This is why there is not a
setmethod for the evidence property.For example, to add a new item, do as follows:
getEvidence().add(newItem);Objects of the following type(s) are allowed in the list
ConditionEvidence
-
getBodySite
public java.util.List<CodeableConcept> getBodySite()
Gets the value of the bodySite 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 JAXB object. This is why there is not a
setmethod for the bodySite property.For example, to add a new item, do as follows:
getBodySite().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getNotes
public String getNotes()
Gets the value of the notes property.- Returns:
- possible object is
String
-
setNotes
public void setNotes(String value)
Sets the value of the notes property.- Parameters:
value- allowed object isString
-
withIdentifier
public Condition withIdentifier(Identifier... values)
-
withIdentifier
public Condition withIdentifier(java.util.Collection<Identifier> values)
-
withCode
public Condition withCode(CodeableConcept value)
-
withCategory
public Condition withCategory(CodeableConcept value)
-
withVerificationStatus
public Condition withVerificationStatus(ConditionVerificationStatus value)
-
withSeverity
public Condition withSeverity(CodeableConcept value)
-
withStage
public Condition withStage(ConditionStage value)
-
withEvidence
public Condition withEvidence(ConditionEvidence... values)
-
withEvidence
public Condition withEvidence(java.util.Collection<ConditionEvidence> values)
-
withBodySite
public Condition withBodySite(CodeableConcept... values)
-
withBodySite
public Condition withBodySite(java.util.Collection<CodeableConcept> values)
-
withText
public Condition withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public Condition withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public Condition withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public Condition withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public Condition withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public Condition withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public Condition withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public Condition withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public Condition withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public Condition withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public Condition withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public 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.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- 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
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-