public class DocumentReference extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for DocumentReference complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DocumentReference">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="masterIdentifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="class" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="author" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="custodian" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="authenticator" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="created" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="indexed" type="{http://hl7.org/fhir}instant"/>
<element name="status" type="{http://hl7.org/fhir}DocumentReferenceStatus"/>
<element name="docStatus" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="relatesTo" type="{http://hl7.org/fhir}DocumentReference.RelatesTo" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="securityLabel" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="content" type="{http://hl7.org/fhir}DocumentReference.Content" maxOccurs="unbounded"/>
<element name="context" type="{http://hl7.org/fhir}DocumentReference.Context" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
authenticator |
protected java.util.List<Reference> |
author |
protected CodeableConcept |
clazz |
protected java.util.List<DocumentReferenceContent> |
content |
protected DocumentReferenceContext |
context |
protected DateTime |
created |
protected Reference |
custodian |
protected String |
description |
protected CodeableConcept |
docStatus |
protected java.util.List<Identifier> |
identifier |
protected Instant |
indexed |
protected Identifier |
masterIdentifier |
protected java.util.List<DocumentReferenceRelatesTo> |
relatesTo |
protected java.util.List<CodeableConcept> |
securityLabel |
protected DocumentReferenceStatus |
status |
protected Reference |
subject |
protected CodeableConcept |
type |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
DocumentReference() |
| 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 |
getAuthenticator()
Gets the value of the authenticator property.
|
java.util.List<Reference> |
getAuthor()
Gets the value of the author property.
|
CodeableConcept |
getClazz()
Gets the value of the clazz property.
|
java.util.List<DocumentReferenceContent> |
getContent()
Gets the value of the content property.
|
DocumentReferenceContext |
getContext()
Gets the value of the context property.
|
DateTime |
getCreated()
Gets the value of the created property.
|
Reference |
getCustodian()
Gets the value of the custodian property.
|
String |
getDescription()
Gets the value of the description property.
|
CodeableConcept |
getDocStatus()
Gets the value of the docStatus property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
Instant |
getIndexed()
Gets the value of the indexed property.
|
Identifier |
getMasterIdentifier()
Gets the value of the masterIdentifier property.
|
java.util.List<DocumentReferenceRelatesTo> |
getRelatesTo()
Gets the value of the relatesTo property.
|
java.util.List<CodeableConcept> |
getSecurityLabel()
Gets the value of the securityLabel property.
|
DocumentReferenceStatus |
getStatus()
Gets the value of the status property.
|
Reference |
getSubject()
Gets the value of the subject 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 |
setAuthenticator(Reference value)
Sets the value of the authenticator property.
|
void |
setClazz(CodeableConcept value)
Sets the value of the clazz property.
|
void |
setContext(DocumentReferenceContext value)
Sets the value of the context property.
|
void |
setCreated(DateTime value)
Sets the value of the created property.
|
void |
setCustodian(Reference value)
Sets the value of the custodian property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDocStatus(CodeableConcept value)
Sets the value of the docStatus property.
|
void |
setIndexed(Instant value)
Sets the value of the indexed property.
|
void |
setMasterIdentifier(Identifier value)
Sets the value of the masterIdentifier property.
|
void |
setStatus(DocumentReferenceStatus value)
Sets the value of the status property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
java.lang.String |
toString() |
DocumentReference |
withAuthenticator(Reference value) |
DocumentReference |
withAuthor(java.util.Collection<Reference> values) |
DocumentReference |
withAuthor(Reference... values) |
DocumentReference |
withClazz(CodeableConcept value) |
DocumentReference |
withContained(java.util.Collection<ResourceContainer> values) |
DocumentReference |
withContained(ResourceContainer... values) |
DocumentReference |
withContent(java.util.Collection<DocumentReferenceContent> values) |
DocumentReference |
withContent(DocumentReferenceContent... values) |
DocumentReference |
withContext(DocumentReferenceContext value) |
DocumentReference |
withCreated(DateTime value) |
DocumentReference |
withCustodian(Reference value) |
DocumentReference |
withDescription(String value) |
DocumentReference |
withDocStatus(CodeableConcept value) |
DocumentReference |
withExtension(java.util.Collection<Extension> values) |
DocumentReference |
withExtension(Extension... values) |
DocumentReference |
withId(Id value) |
DocumentReference |
withIdentifier(java.util.Collection<Identifier> values) |
DocumentReference |
withIdentifier(Identifier... values) |
DocumentReference |
withImplicitRules(Uri value) |
DocumentReference |
withIndexed(Instant value) |
DocumentReference |
withLanguage(Code value) |
DocumentReference |
withMasterIdentifier(Identifier value) |
DocumentReference |
withMeta(Meta value) |
DocumentReference |
withModifierExtension(java.util.Collection<Extension> values) |
DocumentReference |
withModifierExtension(Extension... values) |
DocumentReference |
withRelatesTo(java.util.Collection<DocumentReferenceRelatesTo> values) |
DocumentReference |
withRelatesTo(DocumentReferenceRelatesTo... values) |
DocumentReference |
withSecurityLabel(CodeableConcept... values) |
DocumentReference |
withSecurityLabel(java.util.Collection<CodeableConcept> values) |
DocumentReference |
withStatus(DocumentReferenceStatus value) |
DocumentReference |
withSubject(Reference value) |
DocumentReference |
withText(Narrative value) |
DocumentReference |
withType(CodeableConcept value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Identifier masterIdentifier
protected java.util.List<Identifier> identifier
protected Reference subject
protected CodeableConcept type
protected CodeableConcept clazz
protected java.util.List<Reference> author
protected Reference custodian
protected Reference authenticator
protected DateTime created
protected Instant indexed
protected DocumentReferenceStatus status
protected CodeableConcept docStatus
protected java.util.List<DocumentReferenceRelatesTo> relatesTo
protected String description
protected java.util.List<CodeableConcept> securityLabel
protected java.util.List<DocumentReferenceContent> content
protected DocumentReferenceContext context
public Identifier getMasterIdentifier()
Identifierpublic void setMasterIdentifier(Identifier value)
value - allowed object is
Identifierpublic 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 Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getClazz()
CodeableConceptpublic void setClazz(CodeableConcept value)
value - allowed object is
CodeableConceptpublic 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 Reference getCustodian()
Referencepublic void setCustodian(Reference value)
value - allowed object is
Referencepublic Reference getAuthenticator()
Referencepublic void setAuthenticator(Reference value)
value - allowed object is
Referencepublic DateTime getCreated()
DateTimepublic void setCreated(DateTime value)
value - allowed object is
DateTimepublic Instant getIndexed()
Instantpublic void setIndexed(Instant value)
value - allowed object is
Instantpublic DocumentReferenceStatus getStatus()
DocumentReferenceStatuspublic void setStatus(DocumentReferenceStatus value)
value - allowed object is
DocumentReferenceStatuspublic CodeableConcept getDocStatus()
CodeableConceptpublic void setDocStatus(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<DocumentReferenceRelatesTo> getRelatesTo()
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 relatesTo property.
For example, to add a new item, do as follows:
getRelatesTo().add(newItem);
Objects of the following type(s) are allowed in the list
DocumentReferenceRelatesTo
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic java.util.List<CodeableConcept> getSecurityLabel()
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 securityLabel property.
For example, to add a new item, do as follows:
getSecurityLabel().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public java.util.List<DocumentReferenceContent> getContent()
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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
DocumentReferenceContent
public DocumentReferenceContext getContext()
DocumentReferenceContextpublic void setContext(DocumentReferenceContext value)
value - allowed object is
DocumentReferenceContextpublic DocumentReference withMasterIdentifier(Identifier value)
public DocumentReference withIdentifier(Identifier... values)
public DocumentReference withIdentifier(java.util.Collection<Identifier> values)
public DocumentReference withSubject(Reference value)
public DocumentReference withType(CodeableConcept value)
public DocumentReference withClazz(CodeableConcept value)
public DocumentReference withAuthor(Reference... values)
public DocumentReference withAuthor(java.util.Collection<Reference> values)
public DocumentReference withCustodian(Reference value)
public DocumentReference withAuthenticator(Reference value)
public DocumentReference withCreated(DateTime value)
public DocumentReference withIndexed(Instant value)
public DocumentReference withStatus(DocumentReferenceStatus value)
public DocumentReference withDocStatus(CodeableConcept value)
public DocumentReference withRelatesTo(DocumentReferenceRelatesTo... values)
public DocumentReference withRelatesTo(java.util.Collection<DocumentReferenceRelatesTo> values)
public DocumentReference withDescription(String value)
public DocumentReference withSecurityLabel(CodeableConcept... values)
public DocumentReference withSecurityLabel(java.util.Collection<CodeableConcept> values)
public DocumentReference withContent(DocumentReferenceContent... values)
public DocumentReference withContent(java.util.Collection<DocumentReferenceContent> values)
public DocumentReference withContext(DocumentReferenceContext value)
public DocumentReference withText(Narrative value)
withText in class DomainResourcepublic DocumentReference withContained(ResourceContainer... values)
withContained in class DomainResourcepublic DocumentReference withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic DocumentReference withExtension(Extension... values)
withExtension in class DomainResourcepublic DocumentReference withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic DocumentReference withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic DocumentReference withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic DocumentReference withId(Id value)
withId in class DomainResourcepublic DocumentReference withMeta(Meta value)
withMeta in class DomainResourcepublic DocumentReference withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic DocumentReference 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