Class DocumentReference
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Referenceprotected CodeableConceptprotected List<DocumentReferenceContent> protected DocumentReferenceContextprotected DateTimeprotected Referenceprotected Stringprotected CodeableConceptprotected List<Identifier> protected Instantprotected Identifierprotected List<DocumentReferenceRelatesTo> protected List<CodeableConcept> protected DocumentReferenceStatusprotected Referenceprotected 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 authenticator property.Gets the value of the author property.getClazz()Gets the value of the clazz property.Gets the value of the content property.Gets the value of the context property.Gets the value of the created property.Gets the value of the custodian property.Gets the value of the description property.Gets the value of the docStatus property.Gets the value of the identifier property.Gets the value of the indexed property.Gets the value of the masterIdentifier property.Gets the value of the relatesTo property.Gets the value of the securityLabel property.Gets the value of the status property.Gets the value of the subject 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) voidsetAuthenticator(Reference value) Sets the value of the authenticator property.voidvoidsetClazz(CodeableConcept value) Sets the value of the clazz property.voidsetContent(List<DocumentReferenceContent> value) voidSets the value of the context property.voidsetCreated(DateTime value) Sets the value of the created property.voidsetCustodian(Reference value) Sets the value of the custodian property.voidsetDescription(String value) Sets the value of the description property.voidsetDocStatus(CodeableConcept value) Sets the value of the docStatus property.voidsetIdentifier(List<Identifier> value) voidsetIndexed(Instant value) Sets the value of the indexed property.voidsetMasterIdentifier(Identifier value) Sets the value of the masterIdentifier property.voidvoidsetSecurityLabel(List<CodeableConcept> value) voidsetStatus(DocumentReferenceStatus value) Sets the value of the status property.voidsetSubject(Reference value) Sets the value of the subject property.voidsetType(CodeableConcept value) Sets the value of the type property.toString()withAuthenticator(Reference value) withAuthor(Collection<Reference> values) withAuthor(Reference... values) withClazz(CodeableConcept value) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withContent(DocumentReferenceContent... values) withCreated(DateTime value) withCustodian(Reference value) withDescription(String value) withDocStatus(CodeableConcept value) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withIndexed(Instant value) withLanguage(Code value) withMasterIdentifier(Identifier value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withRelatesTo(DocumentReferenceRelatesTo... values) withSecurityLabel(Collection<CodeableConcept> values) withSecurityLabel(CodeableConcept... values) 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
-
masterIdentifier
-
identifier
-
subject
-
type
-
clazz
-
author
-
custodian
-
authenticator
-
created
-
indexed
-
status
-
docStatus
-
relatesTo
-
description
-
securityLabel
-
-
context
-
-
Constructor Details
-
DocumentReference
public DocumentReference()
-
-
Method Details
-
getMasterIdentifier
Gets the value of the masterIdentifier property.- Returns:
- possible object is
Identifier
-
setMasterIdentifier
Sets the value of the masterIdentifier property.- Parameters:
value- allowed object isIdentifier
-
getIdentifier
Gets the value of the identifier 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 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 -
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
-
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
-
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 -
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
-
getAuthenticator
Gets the value of the authenticator property.- Returns:
- possible object is
Reference
-
setAuthenticator
Sets the value of the authenticator property.- Parameters:
value- allowed object isReference
-
getCreated
Gets the value of the created property.- Returns:
- possible object is
DateTime
-
setCreated
Sets the value of the created property.- Parameters:
value- allowed object isDateTime
-
getIndexed
Gets the value of the indexed property.- Returns:
- possible object is
Instant
-
setIndexed
Sets the value of the indexed property.- Parameters:
value- allowed object isInstant
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
DocumentReferenceStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isDocumentReferenceStatus
-
getDocStatus
Gets the value of the docStatus property.- Returns:
- possible object is
CodeableConcept
-
setDocStatus
Sets the value of the docStatus property.- Parameters:
value- allowed object isCodeableConcept
-
getRelatesTo
Gets the value of the relatesTo 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 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 -
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getSecurityLabel
Gets the value of the securityLabel 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 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 -
getContent
Gets the value of the content 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 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 -
getContext
Gets the value of the context property.- Returns:
- possible object is
DocumentReferenceContext
-
setContext
Sets the value of the context property.- Parameters:
value- allowed object isDocumentReferenceContext
-
withMasterIdentifier
-
withIdentifier
-
withIdentifier
-
withSubject
-
withType
-
withClazz
-
withAuthor
-
withAuthor
-
withCustodian
-
withAuthenticator
-
withCreated
-
withIndexed
-
withStatus
-
withDocStatus
-
withRelatesTo
-
withRelatesTo
-
withDescription
-
withSecurityLabel
-
withSecurityLabel
-
withContent
-
withContent
-
withContext
-
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
-
setIdentifier
-
setAuthor
-
setRelatesTo
-
setSecurityLabel
-
setContent
-