public class MessageHeader extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageHeader.MessageDestinationComponent |
static class |
MessageHeader.MessageHeaderResponseComponent |
static class |
MessageHeader.MessageSourceComponent |
static class |
MessageHeader.ResponseType |
static class |
MessageHeader.ResponseTypeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
author
The logical author of the message - the person or device that decided the described event should happen.
|
protected Practitioner |
authorTarget
The actual object that is the target of the reference (The logical author of the message - the person or device that decided the described event should happen.
|
protected List<Reference> |
data
The actual data of the message - a reference to the root/focus class of the event.
|
protected List<Resource> |
dataTarget
The actual objects that are the target of the reference (The actual data of the message - a reference to the root/focus class of the event.)
|
protected List<MessageHeader.MessageDestinationComponent> |
destination
The destination application which the message is intended for.
|
protected Reference |
enterer
The person or device that performed the data entry leading to this message.
|
protected Practitioner |
entererTarget
The actual object that is the target of the reference (The person or device that performed the data entry leading to this message.
|
protected Coding |
event
Code that identifies the event this message represents and connects it with its definition.
|
protected CodeableConcept |
reason
Coded indication of the cause for the event - indicates a reason for the occurrence of the event that is a focus of this message.
|
protected Reference |
receiver
Allows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient.
|
protected Resource |
receiverTarget
The actual object that is the target of the reference (Allows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient.)
|
protected MessageHeader.MessageHeaderResponseComponent |
response
Information about the message that this message is a response to.
|
protected Reference |
responsible
The person or organization that accepts overall responsibility for the contents of the message.
|
protected Resource |
responsibleTarget
The actual object that is the target of the reference (The person or organization that accepts overall responsibility for the contents of the message.
|
protected MessageHeader.MessageSourceComponent |
source
The source application from which this message originated.
|
static String |
SP_AUTHOR |
static String |
SP_CODE |
static String |
SP_DATA |
static String |
SP_DESTINATION |
static String |
SP_DESTINATIONURI |
static String |
SP_ENTERER |
static String |
SP_EVENT |
static String |
SP_RECEIVER |
static String |
SP_RESPONSEID |
static String |
SP_RESPONSIBLE |
static String |
SP_SOURCE |
static String |
SP_SOURCEURI |
static String |
SP_TARGET |
static String |
SP_TIMESTAMP |
protected InstantType |
timestamp
The time that the message was sent.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
MessageHeader() |
MessageHeader(InstantType timestamp,
Coding event,
MessageHeader.MessageSourceComponent source) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected InstantType timestamp
protected Coding event
protected MessageHeader.MessageHeaderResponseComponent response
protected MessageHeader.MessageSourceComponent source
protected List<MessageHeader.MessageDestinationComponent> destination
protected Reference enterer
protected Practitioner entererTarget
protected Reference author
protected Practitioner authorTarget
protected Reference receiver
protected Resource receiverTarget
protected Reference responsible
protected Resource responsibleTarget
protected CodeableConcept reason
protected List<Reference> data
protected List<Resource> dataTarget
public static final String SP_CODE
public static final String SP_DATA
public static final String SP_RECEIVER
public static final String SP_AUTHOR
public static final String SP_DESTINATION
public static final String SP_SOURCE
public static final String SP_TARGET
public static final String SP_DESTINATIONURI
public static final String SP_SOURCEURI
public static final String SP_RESPONSIBLE
public static final String SP_RESPONSEID
public static final String SP_ENTERER
public static final String SP_EVENT
public static final String SP_TIMESTAMP
public MessageHeader()
public MessageHeader(InstantType timestamp, Coding event, MessageHeader.MessageSourceComponent source)
public InstantType getTimestampElement()
timestamp (The time that the message was sent.). This is the underlying object with id, value and extensions. The accessor "getTimestamp" gives direct access to the valuepublic boolean hasTimestampElement()
public boolean hasTimestamp()
public MessageHeader setTimestampElement(InstantType value)
value - timestamp (The time that the message was sent.). This is the underlying object with id, value and extensions. The accessor "getTimestamp" gives direct access to the valuepublic Date getTimestamp()
public MessageHeader setTimestamp(Date value)
value - The time that the message was sent.public Coding getEvent()
event (Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value "http://hl7.org/fhir/message-events".)public boolean hasEvent()
public MessageHeader setEvent(Coding value)
value - event (Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value "http://hl7.org/fhir/message-events".)public MessageHeader.MessageHeaderResponseComponent getResponse()
response (Information about the message that this message is a response to. Only present if this message is a response.)public boolean hasResponse()
public MessageHeader setResponse(MessageHeader.MessageHeaderResponseComponent value)
value - response (Information about the message that this message is a response to. Only present if this message is a response.)public MessageHeader.MessageSourceComponent getSource()
source (The source application from which this message originated.)public boolean hasSource()
public MessageHeader setSource(MessageHeader.MessageSourceComponent value)
value - source (The source application from which this message originated.)public List<MessageHeader.MessageDestinationComponent> getDestination()
destination (The destination application which the message is intended for.)public boolean hasDestination()
public MessageHeader.MessageDestinationComponent addDestination()
destination (The destination application which the message is intended for.)public MessageHeader addDestination(MessageHeader.MessageDestinationComponent t)
public Reference getEnterer()
enterer (The person or device that performed the data entry leading to this message. Where there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions.)public boolean hasEnterer()
public MessageHeader setEnterer(Reference value)
value - enterer (The person or device that performed the data entry leading to this message. Where there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions.)public Practitioner getEntererTarget()
enterer The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The person or device that performed the data entry leading to this message. Where there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions.)public MessageHeader setEntererTarget(Practitioner value)
value - enterer The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The person or device that performed the data entry leading to this message. Where there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions.)public Reference getAuthor()
author (The logical author of the message - the person or device that decided the described event should happen. Where there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.)public boolean hasAuthor()
public MessageHeader setAuthor(Reference value)
value - author (The logical author of the message - the person or device that decided the described event should happen. Where there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.)public Practitioner getAuthorTarget()
author The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The logical author of the message - the person or device that decided the described event should happen. Where there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.)public MessageHeader setAuthorTarget(Practitioner value)
value - author The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The logical author of the message - the person or device that decided the described event should happen. Where there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.)public Reference getReceiver()
receiver (Allows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient.)public boolean hasReceiver()
public MessageHeader setReceiver(Reference value)
value - receiver (Allows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient.)public Resource getReceiverTarget()
receiver The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Allows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient.)public MessageHeader setReceiverTarget(Resource value)
value - receiver The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Allows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient.)public Reference getResponsible()
responsible (The person or organization that accepts overall responsibility for the contents of the message. The implication is that the message event happened under the policies of the responsible party.)public boolean hasResponsible()
public MessageHeader setResponsible(Reference value)
value - responsible (The person or organization that accepts overall responsibility for the contents of the message. The implication is that the message event happened under the policies of the responsible party.)public Resource getResponsibleTarget()
responsible The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The person or organization that accepts overall responsibility for the contents of the message. The implication is that the message event happened under the policies of the responsible party.)public MessageHeader setResponsibleTarget(Resource value)
value - responsible The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The person or organization that accepts overall responsibility for the contents of the message. The implication is that the message event happened under the policies of the responsible party.)public CodeableConcept getReason()
reason (Coded indication of the cause for the event - indicates a reason for the occurrence of the event that is a focus of this message.)public boolean hasReason()
public MessageHeader setReason(CodeableConcept value)
value - reason (Coded indication of the cause for the event - indicates a reason for the occurrence of the event that is a focus of this message.)public List<Reference> getData()
data (The actual data of the message - a reference to the root/focus class of the event.)public boolean hasData()
public Reference addData()
data (The actual data of the message - a reference to the root/focus class of the event.)public MessageHeader addData(Reference t)
public List<Resource> getDataTarget()
data (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. The actual data of the message - a reference to the root/focus class of the event.)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic MessageHeader copy()
copy in class DomainResourceprotected MessageHeader typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.