public class DocumentReferenceContext extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for DocumentReference.Context complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DocumentReference.Context">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="event" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
<element name="facilityType" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="practiceSetting" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="sourcePatientInfo" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="related" type="{http://hl7.org/fhir}DocumentReference.Related" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
encounter |
protected java.util.List<CodeableConcept> |
event |
protected CodeableConcept |
facilityType |
protected Period |
period |
protected CodeableConcept |
practiceSetting |
protected java.util.List<DocumentReferenceRelated> |
related |
protected Reference |
sourcePatientInfo |
modifierExtension| Constructor and Description |
|---|
DocumentReferenceContext() |
| 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 |
getEncounter()
Gets the value of the encounter property.
|
java.util.List<CodeableConcept> |
getEvent()
Gets the value of the event property.
|
CodeableConcept |
getFacilityType()
Gets the value of the facilityType property.
|
Period |
getPeriod()
Gets the value of the period property.
|
CodeableConcept |
getPracticeSetting()
Gets the value of the practiceSetting property.
|
java.util.List<DocumentReferenceRelated> |
getRelated()
Gets the value of the related property.
|
Reference |
getSourcePatientInfo()
Gets the value of the sourcePatientInfo property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setFacilityType(CodeableConcept value)
Sets the value of the facilityType property.
|
void |
setPeriod(Period value)
Sets the value of the period property.
|
void |
setPracticeSetting(CodeableConcept value)
Sets the value of the practiceSetting property.
|
void |
setSourcePatientInfo(Reference value)
Sets the value of the sourcePatientInfo property.
|
java.lang.String |
toString() |
DocumentReferenceContext |
withEncounter(Reference value) |
DocumentReferenceContext |
withEvent(CodeableConcept... values) |
DocumentReferenceContext |
withEvent(java.util.Collection<CodeableConcept> values) |
DocumentReferenceContext |
withExtension(java.util.Collection<Extension> values) |
DocumentReferenceContext |
withExtension(Extension... values) |
DocumentReferenceContext |
withFacilityType(CodeableConcept value) |
DocumentReferenceContext |
withId(java.lang.String value) |
DocumentReferenceContext |
withModifierExtension(java.util.Collection<Extension> values) |
DocumentReferenceContext |
withModifierExtension(Extension... values) |
DocumentReferenceContext |
withPeriod(Period value) |
DocumentReferenceContext |
withPracticeSetting(CodeableConcept value) |
DocumentReferenceContext |
withRelated(java.util.Collection<DocumentReferenceRelated> values) |
DocumentReferenceContext |
withRelated(DocumentReferenceRelated... values) |
DocumentReferenceContext |
withSourcePatientInfo(Reference value) |
getModifierExtensiongetExtension, getId, setIdprotected Reference encounter
protected java.util.List<CodeableConcept> event
protected Period period
protected CodeableConcept facilityType
protected CodeableConcept practiceSetting
protected Reference sourcePatientInfo
protected java.util.List<DocumentReferenceRelated> related
public Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic java.util.List<CodeableConcept> 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
CodeableConcept
public Period getPeriod()
Periodpublic void setPeriod(Period value)
value - allowed object is
Periodpublic CodeableConcept getFacilityType()
CodeableConceptpublic void setFacilityType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getPracticeSetting()
CodeableConceptpublic void setPracticeSetting(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getSourcePatientInfo()
Referencepublic void setSourcePatientInfo(Reference value)
value - allowed object is
Referencepublic java.util.List<DocumentReferenceRelated> getRelated()
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 related property.
For example, to add a new item, do as follows:
getRelated().add(newItem);
Objects of the following type(s) are allowed in the list
DocumentReferenceRelated
public DocumentReferenceContext withEncounter(Reference value)
public DocumentReferenceContext withEvent(CodeableConcept... values)
public DocumentReferenceContext withEvent(java.util.Collection<CodeableConcept> values)
public DocumentReferenceContext withPeriod(Period value)
public DocumentReferenceContext withFacilityType(CodeableConcept value)
public DocumentReferenceContext withPracticeSetting(CodeableConcept value)
public DocumentReferenceContext withSourcePatientInfo(Reference value)
public DocumentReferenceContext withRelated(DocumentReferenceRelated... values)
public DocumentReferenceContext withRelated(java.util.Collection<DocumentReferenceRelated> values)
public DocumentReferenceContext withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic DocumentReferenceContext withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic DocumentReferenceContext withExtension(Extension... values)
withExtension in class BackboneElementpublic DocumentReferenceContext withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic DocumentReferenceContext withId(java.lang.String value)
withId in class BackboneElementpublic 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 BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic 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 BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic 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 BackboneElementpublic 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 BackboneElement