public class Flag extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Flag complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Flag">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="category" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}FlagStatus"/>
<element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference"/>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="author" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}CodeableConcept"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
author |
protected CodeableConcept |
category |
protected CodeableConcept |
code |
protected Reference |
encounter |
protected java.util.List<Identifier> |
identifier |
protected Period |
period |
protected FlagStatus |
status |
protected Reference |
subject |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Flag() |
| 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) |
Reference |
getAuthor()
Gets the value of the author property.
|
CodeableConcept |
getCategory()
Gets the value of the category property.
|
CodeableConcept |
getCode()
Gets the value of the code property.
|
Reference |
getEncounter()
Gets the value of the encounter property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
Period |
getPeriod()
Gets the value of the period property.
|
FlagStatus |
getStatus()
Gets the value of the status property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAuthor(Reference value)
Sets the value of the author property.
|
void |
setCategory(CodeableConcept value)
Sets the value of the category property.
|
void |
setCode(CodeableConcept value)
Sets the value of the code property.
|
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setPeriod(Period value)
Sets the value of the period property.
|
void |
setStatus(FlagStatus value)
Sets the value of the status property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
java.lang.String |
toString() |
Flag |
withAuthor(Reference value) |
Flag |
withCategory(CodeableConcept value) |
Flag |
withCode(CodeableConcept value) |
Flag |
withContained(java.util.Collection<ResourceContainer> values) |
Flag |
withContained(ResourceContainer... values) |
Flag |
withEncounter(Reference value) |
Flag |
withExtension(java.util.Collection<Extension> values) |
Flag |
withExtension(Extension... values) |
Flag |
withId(Id value) |
Flag |
withIdentifier(java.util.Collection<Identifier> values) |
Flag |
withIdentifier(Identifier... values) |
Flag |
withImplicitRules(Uri value) |
Flag |
withLanguage(Code value) |
Flag |
withMeta(Meta value) |
Flag |
withModifierExtension(java.util.Collection<Extension> values) |
Flag |
withModifierExtension(Extension... values) |
Flag |
withPeriod(Period value) |
Flag |
withStatus(FlagStatus value) |
Flag |
withSubject(Reference value) |
Flag |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected CodeableConcept category
protected FlagStatus status
protected Period period
protected Reference subject
protected Reference encounter
protected Reference author
protected CodeableConcept code
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 CodeableConcept getCategory()
CodeableConceptpublic void setCategory(CodeableConcept value)
value - allowed object is
CodeableConceptpublic FlagStatus getStatus()
FlagStatuspublic void setStatus(FlagStatus value)
value - allowed object is
FlagStatuspublic Period getPeriod()
Periodpublic void setPeriod(Period value)
value - allowed object is
Periodpublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic Reference getAuthor()
Referencepublic void setAuthor(Reference value)
value - allowed object is
Referencepublic CodeableConcept getCode()
CodeableConceptpublic void setCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Flag withIdentifier(Identifier... values)
public Flag withIdentifier(java.util.Collection<Identifier> values)
public Flag withCategory(CodeableConcept value)
public Flag withStatus(FlagStatus value)
public Flag withCode(CodeableConcept value)
public Flag withText(Narrative value)
withText in class DomainResourcepublic Flag withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Flag withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Flag withExtension(Extension... values)
withExtension in class DomainResourcepublic Flag withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Flag withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Flag withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Flag withId(Id value)
withId in class DomainResourcepublic Flag withMeta(Meta value)
withMeta in class DomainResourcepublic Flag withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Flag 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