public class MessageHeader extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for MessageHeader complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MessageHeader">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="timestamp" type="{http://hl7.org/fhir}instant"/>
<element name="event" type="{http://hl7.org/fhir}Coding"/>
<element name="response" type="{http://hl7.org/fhir}MessageHeader.Response" minOccurs="0"/>
<element name="source" type="{http://hl7.org/fhir}MessageHeader.Source"/>
<element name="destination" type="{http://hl7.org/fhir}MessageHeader.Destination" maxOccurs="unbounded" minOccurs="0"/>
<element name="enterer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="author" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="receiver" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="responsible" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="reason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="data" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
author |
protected java.util.List<Reference> |
data |
protected java.util.List<MessageHeaderDestination> |
destination |
protected Reference |
enterer |
protected Coding |
event |
protected CodeableConcept |
reason |
protected Reference |
receiver |
protected MessageHeaderResponse |
response |
protected Reference |
responsible |
protected MessageHeaderSource |
source |
protected Instant |
timestamp |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
MessageHeader() |
| 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 |
getAuthor()
Gets the value of the author property.
|
java.util.List<Reference> |
getData()
Gets the value of the data property.
|
java.util.List<MessageHeaderDestination> |
getDestination()
Gets the value of the destination property.
|
Reference |
getEnterer()
Gets the value of the enterer property.
|
Coding |
getEvent()
Gets the value of the event property.
|
CodeableConcept |
getReason()
Gets the value of the reason property.
|
Reference |
getReceiver()
Gets the value of the receiver property.
|
MessageHeaderResponse |
getResponse()
Gets the value of the response property.
|
Reference |
getResponsible()
Gets the value of the responsible property.
|
MessageHeaderSource |
getSource()
Gets the value of the source property.
|
Instant |
getTimestamp()
Gets the value of the timestamp property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAuthor(Reference value)
Sets the value of the author property.
|
void |
setEnterer(Reference value)
Sets the value of the enterer property.
|
void |
setEvent(Coding value)
Sets the value of the event property.
|
void |
setReason(CodeableConcept value)
Sets the value of the reason property.
|
void |
setReceiver(Reference value)
Sets the value of the receiver property.
|
void |
setResponse(MessageHeaderResponse value)
Sets the value of the response property.
|
void |
setResponsible(Reference value)
Sets the value of the responsible property.
|
void |
setSource(MessageHeaderSource value)
Sets the value of the source property.
|
void |
setTimestamp(Instant value)
Sets the value of the timestamp property.
|
java.lang.String |
toString() |
MessageHeader |
withAuthor(Reference value) |
MessageHeader |
withContained(java.util.Collection<ResourceContainer> values) |
MessageHeader |
withContained(ResourceContainer... values) |
MessageHeader |
withData(java.util.Collection<Reference> values) |
MessageHeader |
withData(Reference... values) |
MessageHeader |
withDestination(java.util.Collection<MessageHeaderDestination> values) |
MessageHeader |
withDestination(MessageHeaderDestination... values) |
MessageHeader |
withEnterer(Reference value) |
MessageHeader |
withEvent(Coding value) |
MessageHeader |
withExtension(java.util.Collection<Extension> values) |
MessageHeader |
withExtension(Extension... values) |
MessageHeader |
withId(Id value) |
MessageHeader |
withImplicitRules(Uri value) |
MessageHeader |
withLanguage(Code value) |
MessageHeader |
withMeta(Meta value) |
MessageHeader |
withModifierExtension(java.util.Collection<Extension> values) |
MessageHeader |
withModifierExtension(Extension... values) |
MessageHeader |
withReason(CodeableConcept value) |
MessageHeader |
withReceiver(Reference value) |
MessageHeader |
withResponse(MessageHeaderResponse value) |
MessageHeader |
withResponsible(Reference value) |
MessageHeader |
withSource(MessageHeaderSource value) |
MessageHeader |
withText(Narrative value) |
MessageHeader |
withTimestamp(Instant value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Instant timestamp
protected Coding event
protected MessageHeaderResponse response
protected MessageHeaderSource source
protected java.util.List<MessageHeaderDestination> destination
protected Reference enterer
protected Reference author
protected Reference receiver
protected Reference responsible
protected CodeableConcept reason
protected java.util.List<Reference> data
public Instant getTimestamp()
Instantpublic void setTimestamp(Instant value)
value - allowed object is
Instantpublic Coding getEvent()
Codingpublic void setEvent(Coding value)
value - allowed object is
Codingpublic MessageHeaderResponse getResponse()
MessageHeaderResponsepublic void setResponse(MessageHeaderResponse value)
value - allowed object is
MessageHeaderResponsepublic MessageHeaderSource getSource()
MessageHeaderSourcepublic void setSource(MessageHeaderSource value)
value - allowed object is
MessageHeaderSourcepublic java.util.List<MessageHeaderDestination> getDestination()
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 destination property.
For example, to add a new item, do as follows:
getDestination().add(newItem);
Objects of the following type(s) are allowed in the list
MessageHeaderDestination
public Reference getEnterer()
Referencepublic void setEnterer(Reference value)
value - allowed object is
Referencepublic Reference getAuthor()
Referencepublic void setAuthor(Reference value)
value - allowed object is
Referencepublic Reference getReceiver()
Referencepublic void setReceiver(Reference value)
value - allowed object is
Referencepublic Reference getResponsible()
Referencepublic void setResponsible(Reference value)
value - allowed object is
Referencepublic CodeableConcept getReason()
CodeableConceptpublic void setReason(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<Reference> getData()
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 data property.
For example, to add a new item, do as follows:
getData().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public MessageHeader withTimestamp(Instant value)
public MessageHeader withEvent(Coding value)
public MessageHeader withResponse(MessageHeaderResponse value)
public MessageHeader withSource(MessageHeaderSource value)
public MessageHeader withDestination(MessageHeaderDestination... values)
public MessageHeader withDestination(java.util.Collection<MessageHeaderDestination> values)
public MessageHeader withEnterer(Reference value)
public MessageHeader withAuthor(Reference value)
public MessageHeader withReceiver(Reference value)
public MessageHeader withResponsible(Reference value)
public MessageHeader withReason(CodeableConcept value)
public MessageHeader withData(Reference... values)
public MessageHeader withData(java.util.Collection<Reference> values)
public MessageHeader withText(Narrative value)
withText in class DomainResourcepublic MessageHeader withContained(ResourceContainer... values)
withContained in class DomainResourcepublic MessageHeader withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic MessageHeader withExtension(Extension... values)
withExtension in class DomainResourcepublic MessageHeader withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic MessageHeader withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic MessageHeader withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic MessageHeader withId(Id value)
withId in class DomainResourcepublic MessageHeader withMeta(Meta value)
withMeta in class DomainResourcepublic MessageHeader withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic MessageHeader 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