Class Composition
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Composition extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<CompositionAttester>attesterprotected java.util.List<Reference>authorprotected CodeableConceptclazzprotected Codeconfidentialityprotected Referencecustodianprotected DateTimedateprotected Referenceencounterprotected java.util.List<CompositionEvent>eventprotected Identifieridentifierprotected java.util.List<CompositionSection>sectionprotected CompositionStatusstatusprotected Referencesubjectprotected Stringtitleprotected CodeableConcepttypeFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text -
Constructor Summary
Constructors Constructor Description Composition() -
Method Summary
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)java.util.List<CompositionAttester>getAttester()Gets the value of the attester property.java.util.List<Reference>getAuthor()Gets the value of the author property.CodeableConceptgetClazz()Gets the value of the clazz property.CodegetConfidentiality()Gets the value of the confidentiality property.ReferencegetCustodian()Gets the value of the custodian property.DateTimegetDate()Gets the value of the date property.ReferencegetEncounter()Gets the value of the encounter property.java.util.List<CompositionEvent>getEvent()Gets the value of the event property.IdentifiergetIdentifier()Gets the value of the identifier property.java.util.List<CompositionSection>getSection()Gets the value of the section property.CompositionStatusgetStatus()Gets the value of the status property.ReferencegetSubject()Gets the value of the subject property.StringgetTitle()Gets the value of the title property.CodeableConceptgetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetClazz(CodeableConcept value)Sets the value of the clazz property.voidsetConfidentiality(Code value)Sets the value of the confidentiality property.voidsetCustodian(Reference value)Sets the value of the custodian property.voidsetDate(DateTime value)Sets the value of the date property.voidsetEncounter(Reference value)Sets the value of the encounter property.voidsetIdentifier(Identifier value)Sets the value of the identifier property.voidsetStatus(CompositionStatus value)Sets the value of the status property.voidsetSubject(Reference value)Sets the value of the subject property.voidsetTitle(String value)Sets the value of the title property.voidsetType(CodeableConcept value)Sets the value of the type property.java.lang.StringtoString()CompositionwithAttester(java.util.Collection<CompositionAttester> values)CompositionwithAttester(CompositionAttester... values)CompositionwithAuthor(java.util.Collection<Reference> values)CompositionwithAuthor(Reference... values)CompositionwithClazz(CodeableConcept value)CompositionwithConfidentiality(Code value)CompositionwithContained(java.util.Collection<ResourceContainer> values)CompositionwithContained(ResourceContainer... values)CompositionwithCustodian(Reference value)CompositionwithDate(DateTime value)CompositionwithEncounter(Reference value)CompositionwithEvent(java.util.Collection<CompositionEvent> values)CompositionwithEvent(CompositionEvent... values)CompositionwithExtension(java.util.Collection<Extension> values)CompositionwithExtension(Extension... values)CompositionwithId(Id value)CompositionwithIdentifier(Identifier value)CompositionwithImplicitRules(Uri value)CompositionwithLanguage(Code value)CompositionwithMeta(Meta value)CompositionwithModifierExtension(java.util.Collection<Extension> values)CompositionwithModifierExtension(Extension... values)CompositionwithSection(java.util.Collection<CompositionSection> values)CompositionwithSection(CompositionSection... values)CompositionwithStatus(CompositionStatus value)CompositionwithSubject(Reference value)CompositionwithText(Narrative value)CompositionwithTitle(String value)CompositionwithType(CodeableConcept value)Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
Constructor Details
-
Composition
public Composition()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier property.- Returns:
- possible object is
Identifier
-
setIdentifier
Sets the value of the identifier property.- Parameters:
value- allowed object isIdentifier
-
getDate
Gets the value of the date property.- Returns:
- possible object is
DateTime
-
setDate
Sets the value of the date property.- Parameters:
value- allowed object isDateTime
-
getType
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
getClazz
Gets the value of the clazz property.- Returns:
- possible object is
CodeableConcept
-
setClazz
Sets the value of the clazz property.- Parameters:
value- allowed object isCodeableConcept
-
getTitle
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
Sets the value of the title property.- Parameters:
value- allowed object isString
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
CompositionStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isCompositionStatus
-
getConfidentiality
Gets the value of the confidentiality property.- Returns:
- possible object is
Code
-
setConfidentiality
Sets the value of the confidentiality property.- Parameters:
value- allowed object isCode
-
getSubject
Gets the value of the subject property.- Returns:
- possible object is
Reference
-
setSubject
Sets the value of the subject property.- Parameters:
value- allowed object isReference
-
getAuthor
Gets the value of the author 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 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 -
getAttester
Gets the value of the attester 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 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 -
getCustodian
Gets the value of the custodian property.- Returns:
- possible object is
Reference
-
setCustodian
Sets the value of the custodian property.- Parameters:
value- allowed object isReference
-
getEvent
Gets the value of the event 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 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 -
getEncounter
Gets the value of the encounter property.- Returns:
- possible object is
Reference
-
setEncounter
Sets the value of the encounter property.- Parameters:
value- allowed object isReference
-
getSection
Gets the value of the section 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 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 -
withIdentifier
-
withDate
-
withType
-
withClazz
-
withTitle
-
withStatus
-
withConfidentiality
-
withSubject
-
withAuthor
-
withAuthor
-
withAttester
-
withAttester
-
withCustodian
-
withEvent
-
withEvent
-
withEncounter
-
withSection
-
withSection
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- 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
-