public class List extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for List complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="List">
<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}ListStatus"/>
<element name="mode" type="{http://hl7.org/fhir}ListMode"/>
<element name="title" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="source" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="orderedBy" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/>
<element name="entry" type="{http://hl7.org/fhir}List.Entry" maxOccurs="unbounded" minOccurs="0"/>
<element name="emptyReason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
code |
protected DateTime |
date |
protected CodeableConcept |
emptyReason |
protected Reference |
encounter |
protected java.util.List<ListEntry> |
entry |
protected java.util.List<Identifier> |
identifier |
protected ListMode |
mode |
protected java.util.List<Annotation> |
note |
protected CodeableConcept |
orderedBy |
protected Reference |
source |
protected ListStatus |
status |
protected Reference |
subject |
protected String |
title |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
List() |
| 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) |
CodeableConcept |
getCode()
Gets the value of the code property.
|
DateTime |
getDate()
Gets the value of the date property.
|
CodeableConcept |
getEmptyReason()
Gets the value of the emptyReason property.
|
Reference |
getEncounter()
Gets the value of the encounter property.
|
java.util.List<ListEntry> |
getEntry()
Gets the value of the entry property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
ListMode |
getMode()
Gets the value of the mode property.
|
java.util.List<Annotation> |
getNote()
Gets the value of the note property.
|
CodeableConcept |
getOrderedBy()
Gets the value of the orderedBy property.
|
Reference |
getSource()
Gets the value of the source property.
|
ListStatus |
getStatus()
Gets the value of the status property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
String |
getTitle()
Gets the value of the title property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCode(CodeableConcept value)
Sets the value of the code property.
|
void |
setDate(DateTime value)
Sets the value of the date property.
|
void |
setEmptyReason(CodeableConcept value)
Sets the value of the emptyReason property.
|
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setMode(ListMode value)
Sets the value of the mode property.
|
void |
setOrderedBy(CodeableConcept value)
Sets the value of the orderedBy property.
|
void |
setSource(Reference value)
Sets the value of the source property.
|
void |
setStatus(ListStatus value)
Sets the value of the status property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
java.lang.String |
toString() |
List |
withCode(CodeableConcept value) |
List |
withContained(java.util.Collection<ResourceContainer> values) |
List |
withContained(ResourceContainer... values) |
List |
withDate(DateTime value) |
List |
withEmptyReason(CodeableConcept value) |
List |
withEncounter(Reference value) |
List |
withEntry(java.util.Collection<ListEntry> values) |
List |
withEntry(ListEntry... values) |
List |
withExtension(java.util.Collection<Extension> values) |
List |
withExtension(Extension... values) |
List |
withId(Id value) |
List |
withIdentifier(java.util.Collection<Identifier> values) |
List |
withIdentifier(Identifier... values) |
List |
withImplicitRules(Uri value) |
List |
withLanguage(Code value) |
List |
withMeta(Meta value) |
List |
withMode(ListMode value) |
List |
withModifierExtension(java.util.Collection<Extension> values) |
List |
withModifierExtension(Extension... values) |
List |
withNote(Annotation... values) |
List |
withNote(java.util.Collection<Annotation> values) |
List |
withOrderedBy(CodeableConcept value) |
List |
withSource(Reference value) |
List |
withStatus(ListStatus value) |
List |
withSubject(Reference value) |
List |
withText(Narrative value) |
List |
withTitle(String value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected ListStatus status
protected ListMode mode
protected String title
protected CodeableConcept code
protected Reference subject
protected Reference encounter
protected DateTime date
protected Reference source
protected CodeableConcept orderedBy
protected java.util.List<Annotation> note
protected java.util.List<ListEntry> entry
protected CodeableConcept emptyReason
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 ListStatus getStatus()
ListStatuspublic void setStatus(ListStatus value)
value - allowed object is
ListStatuspublic ListMode getMode()
ListModepublic void setMode(ListMode value)
value - allowed object is
ListModepublic String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic CodeableConcept getCode()
CodeableConceptpublic void setCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic DateTime getDate()
DateTimepublic void setDate(DateTime value)
value - allowed object is
DateTimepublic Reference getSource()
Referencepublic void setSource(Reference value)
value - allowed object is
Referencepublic CodeableConcept getOrderedBy()
CodeableConceptpublic void setOrderedBy(CodeableConcept value)
value - allowed object is
CodeableConceptpublic 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<ListEntry> getEntry()
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 entry property.
For example, to add a new item, do as follows:
getEntry().add(newItem);
Objects of the following type(s) are allowed in the list
ListEntry
public CodeableConcept getEmptyReason()
CodeableConceptpublic void setEmptyReason(CodeableConcept value)
value - allowed object is
CodeableConceptpublic List withIdentifier(Identifier... values)
public List withIdentifier(java.util.Collection<Identifier> values)
public List withStatus(ListStatus value)
public List withCode(CodeableConcept value)
public List withOrderedBy(CodeableConcept value)
public List withNote(Annotation... values)
public List withNote(java.util.Collection<Annotation> values)
public List withEmptyReason(CodeableConcept value)
public List withText(Narrative value)
withText in class DomainResourcepublic List withContained(ResourceContainer... values)
withContained in class DomainResourcepublic List withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic List withExtension(Extension... values)
withExtension in class DomainResourcepublic List withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic List withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic List withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic List withId(Id value)
withId in class DomainResourcepublic List withMeta(Meta value)
withMeta in class DomainResourcepublic List withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic List 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