Class Composition
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected List<CompositionAttester> protected CodeableConceptprotected Codeprotected Referenceprotected DateTimeprotected Referenceprotected List<CompositionEvent> protected Identifierprotected List<CompositionSection> protected CompositionStatusprotected Referenceprotected Stringprotected CodeableConceptFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the attester property.Gets the value of the author property.getClazz()Gets the value of the clazz property.Gets the value of the confidentiality property.Gets the value of the custodian property.getDate()Gets the value of the date property.Gets the value of the encounter property.getEvent()Gets the value of the event property.Gets the value of the identifier property.Gets the value of the section property.Gets the value of the status property.Gets the value of the subject property.getTitle()Gets the value of the title property.getType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAttester(List<CompositionAttester> value) voidvoidsetClazz(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.voidSets the value of the date property.voidsetEncounter(Reference value) Sets the value of the encounter property.voidsetEvent(List<CompositionEvent> value) voidsetIdentifier(Identifier value) Sets the value of the identifier property.voidsetSection(List<CompositionSection> value) voidsetStatus(CompositionStatus value) Sets the value of the status property.voidsetSubject(Reference value) Sets the value of the subject property.voidSets the value of the title property.voidsetType(CodeableConcept value) Sets the value of the type property.toString()withAttester(Collection<CompositionAttester> values) withAttester(CompositionAttester... values) withAuthor(Collection<Reference> values) withAuthor(Reference... values) withClazz(CodeableConcept value) withConfidentiality(Code value) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withCustodian(Reference value) withEncounter(Reference value) withEvent(Collection<CompositionEvent> values) withEvent(CompositionEvent... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Identifier value) withImplicitRules(Uri value) withLanguage(Code value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withSection(Collection<CompositionSection> values) withSection(CompositionSection... values) withStatus(CompositionStatus value) withSubject(Reference value) withType(CodeableConcept value) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
date
-
type
-
clazz
-
title
-
status
-
confidentiality
-
subject
-
author
-
attester
-
custodian
-
event
-
encounter
-
section
-
-
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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- 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
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setAuthor
-
setAttester
-
setEvent
-
setSection
-