public class Composition extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Composition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Composition">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
<element name="date" type="{http://hl7.org/fhir}dateTime"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="class" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="title" type="{http://hl7.org/fhir}string"/>
<element name="status" type="{http://hl7.org/fhir}CompositionStatus"/>
<element name="confidentiality" type="{http://hl7.org/fhir}code" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference"/>
<element name="author" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded"/>
<element name="attester" type="{http://hl7.org/fhir}Composition.Attester" maxOccurs="unbounded" minOccurs="0"/>
<element name="custodian" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="event" type="{http://hl7.org/fhir}Composition.Event" maxOccurs="unbounded" minOccurs="0"/>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="section" type="{http://hl7.org/fhir}Composition.Section" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<CompositionAttester> |
attester |
protected java.util.List<Reference> |
author |
protected CodeableConcept |
clazz |
protected Code |
confidentiality |
protected Reference |
custodian |
protected DateTime |
date |
protected Reference |
encounter |
protected java.util.List<CompositionEvent> |
event |
protected Identifier |
identifier |
protected java.util.List<CompositionSection> |
section |
protected CompositionStatus |
status |
protected Reference |
subject |
protected String |
title |
protected CodeableConcept |
type |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Composition() |
| 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) |
java.util.List<CompositionAttester> |
getAttester()
Gets the value of the attester property.
|
java.util.List<Reference> |
getAuthor()
Gets the value of the author property.
|
CodeableConcept |
getClazz()
Gets the value of the clazz property.
|
Code |
getConfidentiality()
Gets the value of the confidentiality property.
|
Reference |
getCustodian()
Gets the value of the custodian property.
|
DateTime |
getDate()
Gets the value of the date property.
|
Reference |
getEncounter()
Gets the value of the encounter property.
|
java.util.List<CompositionEvent> |
getEvent()
Gets the value of the event property.
|
Identifier |
getIdentifier()
Gets the value of the identifier property.
|
java.util.List<CompositionSection> |
getSection()
Gets the value of the section property.
|
CompositionStatus |
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.
|
CodeableConcept |
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 |
setClazz(CodeableConcept value)
Sets the value of the clazz property.
|
void |
setConfidentiality(Code value)
Sets the value of the confidentiality property.
|
void |
setCustodian(Reference value)
Sets the value of the custodian property.
|
void |
setDate(DateTime value)
Sets the value of the date property.
|
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setIdentifier(Identifier value)
Sets the value of the identifier property.
|
void |
setStatus(CompositionStatus 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.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
java.lang.String |
toString() |
Composition |
withAttester(java.util.Collection<CompositionAttester> values) |
Composition |
withAttester(CompositionAttester... values) |
Composition |
withAuthor(java.util.Collection<Reference> values) |
Composition |
withAuthor(Reference... values) |
Composition |
withClazz(CodeableConcept value) |
Composition |
withConfidentiality(Code value) |
Composition |
withContained(java.util.Collection<ResourceContainer> values) |
Composition |
withContained(ResourceContainer... values) |
Composition |
withCustodian(Reference value) |
Composition |
withDate(DateTime value) |
Composition |
withEncounter(Reference value) |
Composition |
withEvent(java.util.Collection<CompositionEvent> values) |
Composition |
withEvent(CompositionEvent... values) |
Composition |
withExtension(java.util.Collection<Extension> values) |
Composition |
withExtension(Extension... values) |
Composition |
withId(Id value) |
Composition |
withIdentifier(Identifier value) |
Composition |
withImplicitRules(Uri value) |
Composition |
withLanguage(Code value) |
Composition |
withMeta(Meta value) |
Composition |
withModifierExtension(java.util.Collection<Extension> values) |
Composition |
withModifierExtension(Extension... values) |
Composition |
withSection(java.util.Collection<CompositionSection> values) |
Composition |
withSection(CompositionSection... values) |
Composition |
withStatus(CompositionStatus value) |
Composition |
withSubject(Reference value) |
Composition |
withText(Narrative value) |
Composition |
withTitle(String value) |
Composition |
withType(CodeableConcept value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Identifier identifier
protected DateTime date
protected CodeableConcept type
protected CodeableConcept clazz
protected String title
protected CompositionStatus status
protected Code confidentiality
protected Reference subject
protected java.util.List<Reference> author
protected java.util.List<CompositionAttester> attester
protected Reference custodian
protected java.util.List<CompositionEvent> event
protected Reference encounter
protected java.util.List<CompositionSection> section
public Identifier getIdentifier()
Identifierpublic void setIdentifier(Identifier value)
value - allowed object is
Identifierpublic DateTime getDate()
DateTimepublic void setDate(DateTime value)
value - allowed object is
DateTimepublic CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getClazz()
CodeableConceptpublic void setClazz(CodeableConcept value)
value - allowed object is
CodeableConceptpublic String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic CompositionStatus getStatus()
CompositionStatuspublic void setStatus(CompositionStatus value)
value - allowed object is
CompositionStatuspublic Code getConfidentiality()
Codepublic void setConfidentiality(Code value)
value - allowed object is
Codepublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic java.util.List<Reference> getAuthor()
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 author property.
For example, to add a new item, do as follows:
getAuthor().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.util.List<CompositionAttester> getAttester()
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 attester property.
For example, to add a new item, do as follows:
getAttester().add(newItem);
Objects of the following type(s) are allowed in the list
CompositionAttester
public Reference getCustodian()
Referencepublic void setCustodian(Reference value)
value - allowed object is
Referencepublic java.util.List<CompositionEvent> getEvent()
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 event property.
For example, to add a new item, do as follows:
getEvent().add(newItem);
Objects of the following type(s) are allowed in the list
CompositionEvent
public Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic java.util.List<CompositionSection> getSection()
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 section property.
For example, to add a new item, do as follows:
getSection().add(newItem);
Objects of the following type(s) are allowed in the list
CompositionSection
public Composition withIdentifier(Identifier value)
public Composition withDate(DateTime value)
public Composition withType(CodeableConcept value)
public Composition withClazz(CodeableConcept value)
public Composition withTitle(String value)
public Composition withStatus(CompositionStatus value)
public Composition withConfidentiality(Code value)
public Composition withSubject(Reference value)
public Composition withAuthor(Reference... values)
public Composition withAuthor(java.util.Collection<Reference> values)
public Composition withAttester(CompositionAttester... values)
public Composition withAttester(java.util.Collection<CompositionAttester> values)
public Composition withCustodian(Reference value)
public Composition withEvent(CompositionEvent... values)
public Composition withEvent(java.util.Collection<CompositionEvent> values)
public Composition withEncounter(Reference value)
public Composition withSection(CompositionSection... values)
public Composition withSection(java.util.Collection<CompositionSection> values)
public Composition withText(Narrative value)
withText in class DomainResourcepublic Composition withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Composition withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Composition withExtension(Extension... values)
withExtension in class DomainResourcepublic Composition withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Composition withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Composition withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Composition withId(Id value)
withId in class DomainResourcepublic Composition withMeta(Meta value)
withMeta in class DomainResourcepublic Composition withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Composition 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