Class MessageHeader
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.BaseResource
-
- org.hl7.fhir.dstu2016may.model.Resource
-
- org.hl7.fhir.dstu2016may.model.DomainResource
-
- org.hl7.fhir.dstu2016may.model.MessageHeader
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class MessageHeader extends DomainResource
The header for a message exchange that is either requesting or responding to an action. The reference(s) that are the subject of the action as well as other information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessageHeader.MessageDestinationComponentstatic classMessageHeader.MessageHeaderResponseComponentstatic classMessageHeader.MessageSourceComponentstatic classMessageHeader.ResponseTypestatic classMessageHeader.ResponseTypeEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected ReferenceauthorThe logical author of the message - the person or device that decided the described event should happen.static ca.uhn.fhir.rest.gclient.ReferenceClientParamAUTHORFluent Client search parameter constant for authorprotected PractitionerauthorTargetThe 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.static ca.uhn.fhir.rest.gclient.TokenClientParamCODEFluent Client search parameter constant for codeprotected List<Reference>dataThe actual data of the message - a reference to the root/focus class of the event.static ca.uhn.fhir.rest.gclient.ReferenceClientParamDATAFluent Client search parameter constant for dataprotected List<Resource>dataTargetThe 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>destinationThe destination application which the message is intended for.static ca.uhn.fhir.rest.gclient.StringClientParamDESTINATIONFluent Client search parameter constant for destinationstatic ca.uhn.fhir.rest.gclient.UriClientParamDESTINATION_URIFluent Client search parameter constant for destination-uriprotected ReferenceentererThe person or device that performed the data entry leading to this message.static ca.uhn.fhir.rest.gclient.ReferenceClientParamENTERERFluent Client search parameter constant for entererprotected PractitionerentererTargetThe actual object that is the target of the reference (The person or device that performed the data entry leading to this message.protected CodingeventCode that identifies the event this message represents and connects it with its definition.static ca.uhn.fhir.rest.gclient.TokenClientParamEVENTFluent Client search parameter constant for eventstatic ca.uhn.fhir.model.api.IncludeINCLUDE_AUTHORConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_DATAConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_ENTERERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_RECEIVERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_RESPONSIBLEConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_TARGETConstant for fluent queries to be used to add include statements.protected CodeableConceptreasonCoded indication of the cause for the event - indicates a reason for the occurrence of the event that is a focus of this message.protected ReferencereceiverAllows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient.static ca.uhn.fhir.rest.gclient.ReferenceClientParamRECEIVERFluent Client search parameter constant for receiverprotected ResourcereceiverTargetThe 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.MessageHeaderResponseComponentresponseInformation about the message that this message is a response to.static ca.uhn.fhir.rest.gclient.TokenClientParamRESPONSE_IDFluent Client search parameter constant for response-idprotected ReferenceresponsibleThe person or organization that accepts overall responsibility for the contents of the message.static ca.uhn.fhir.rest.gclient.ReferenceClientParamRESPONSIBLEFluent Client search parameter constant for responsibleprotected ResourceresponsibleTargetThe 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.MessageSourceComponentsourceThe source application from which this message originated.static ca.uhn.fhir.rest.gclient.StringClientParamSOURCEFluent Client search parameter constant for sourcestatic ca.uhn.fhir.rest.gclient.UriClientParamSOURCE_URIFluent Client search parameter constant for source-uristatic StringSP_AUTHORSearch parameter: authorstatic StringSP_CODESearch parameter: codestatic StringSP_DATASearch parameter: datastatic StringSP_DESTINATIONSearch parameter: destinationstatic StringSP_DESTINATION_URISearch parameter: destination-uristatic StringSP_ENTERERSearch parameter: entererstatic StringSP_EVENTSearch parameter: eventstatic StringSP_RECEIVERSearch parameter: receiverstatic StringSP_RESPONSE_IDSearch parameter: response-idstatic StringSP_RESPONSIBLESearch parameter: responsiblestatic StringSP_SOURCESearch parameter: sourcestatic StringSP_SOURCE_URISearch parameter: source-uristatic StringSP_TARGETSearch parameter: targetstatic StringSP_TIMESTAMPSearch parameter: timestampstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamTARGETFluent Client search parameter constant for targetprotected InstantTypetimestampThe time that the message was sent.static ca.uhn.fhir.rest.gclient.DateClientParamTIMESTAMPFluent Client search parameter constant for timestamp-
Fields inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2016may.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description MessageHeader()ConstructorMessageHeader(InstantType timestamp, Coding event, MessageHeader.MessageSourceComponent source)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
timestamp
protected InstantType timestamp
The time that the message was sent.
-
event
protected Coding 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".
-
response
protected MessageHeader.MessageHeaderResponseComponent response
Information about the message that this message is a response to. Only present if this message is a response.
-
source
protected MessageHeader.MessageSourceComponent source
The source application from which this message originated.
-
destination
protected List<MessageHeader.MessageDestinationComponent> destination
The destination application which the message is intended for.
-
enterer
protected Reference 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.
-
entererTarget
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. Where there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions.)
-
author
protected Reference 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.
-
authorTarget
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. Where there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.)
-
receiver
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.
-
receiverTarget
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.)
-
responsible
protected Reference 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.
-
responsibleTarget
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. The implication is that the message event happened under the policies of the responsible party.)
-
reason
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.
-
data
protected List<Reference> data
The actual data of the message - a reference to the root/focus class of the event.
-
dataTarget
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.)
-
SP_DESTINATION_URI
public static final String SP_DESTINATION_URI
Search parameter: destination-uriDescription: Actual destination address or id
Type: uri
Path: MessageHeader.destination.endpoint
- See Also:
- Constant Field Values
-
DESTINATION_URI
public static final ca.uhn.fhir.rest.gclient.UriClientParam DESTINATION_URI
Fluent Client search parameter constant for destination-uriDescription: Actual destination address or id
Type: uri
Path: MessageHeader.destination.endpoint
-
SP_RECEIVER
public static final String SP_RECEIVER
Search parameter: receiverDescription: Intended "real-world" recipient for the data
Type: reference
Path: MessageHeader.receiver
- See Also:
- Constant Field Values
-
RECEIVER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECEIVER
Fluent Client search parameter constant for receiverDescription: Intended "real-world" recipient for the data
Type: reference
Path: MessageHeader.receiver
-
INCLUDE_RECEIVER
public static final ca.uhn.fhir.model.api.Include INCLUDE_RECEIVER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MessageHeader:receiver".
-
SP_RESPONSIBLE
public static final String SP_RESPONSIBLE
Search parameter: responsibleDescription: Final responsibility for event
Type: reference
Path: MessageHeader.responsible
- See Also:
- Constant Field Values
-
RESPONSIBLE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESPONSIBLE
Fluent Client search parameter constant for responsibleDescription: Final responsibility for event
Type: reference
Path: MessageHeader.responsible
-
INCLUDE_RESPONSIBLE
public static final ca.uhn.fhir.model.api.Include INCLUDE_RESPONSIBLE
Constant for fluent queries to be used to add include statements. Specifies the path value of "MessageHeader:responsible".
-
SP_DATA
public static final String SP_DATA
Search parameter: dataDescription: The actual content of the message
Type: reference
Path: MessageHeader.data
- See Also:
- Constant Field Values
-
DATA
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DATA
Fluent Client search parameter constant for dataDescription: The actual content of the message
Type: reference
Path: MessageHeader.data
-
INCLUDE_DATA
public static final ca.uhn.fhir.model.api.Include INCLUDE_DATA
Constant for fluent queries to be used to add include statements. Specifies the path value of "MessageHeader:data".
-
SP_CODE
public static final String SP_CODE
Search parameter: codeDescription: ok | transient-error | fatal-error
Type: token
Path: MessageHeader.response.code
- See Also:
- Constant Field Values
-
CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Fluent Client search parameter constant for codeDescription: ok | transient-error | fatal-error
Type: token
Path: MessageHeader.response.code
-
SP_RESPONSE_ID
public static final String SP_RESPONSE_ID
Search parameter: response-idDescription: Id of original message
Type: token
Path: MessageHeader.response.identifier
- See Also:
- Constant Field Values
-
RESPONSE_ID
public static final ca.uhn.fhir.rest.gclient.TokenClientParam RESPONSE_ID
Fluent Client search parameter constant for response-idDescription: Id of original message
Type: token
Path: MessageHeader.response.identifier
-
SP_DESTINATION
public static final String SP_DESTINATION
Search parameter: destinationDescription: Name of system
Type: string
Path: MessageHeader.destination.name
- See Also:
- Constant Field Values
-
DESTINATION
public static final ca.uhn.fhir.rest.gclient.StringClientParam DESTINATION
Fluent Client search parameter constant for destinationDescription: Name of system
Type: string
Path: MessageHeader.destination.name
-
SP_TIMESTAMP
public static final String SP_TIMESTAMP
Search parameter: timestampDescription: Time that the message was sent
Type: date
Path: MessageHeader.timestamp
- See Also:
- Constant Field Values
-
TIMESTAMP
public static final ca.uhn.fhir.rest.gclient.DateClientParam TIMESTAMP
Fluent Client search parameter constant for timestampDescription: Time that the message was sent
Type: date
Path: MessageHeader.timestamp
-
SP_AUTHOR
public static final String SP_AUTHOR
Search parameter: authorDescription: The source of the decision
Type: reference
Path: MessageHeader.author
- See Also:
- Constant Field Values
-
AUTHOR
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR
Fluent Client search parameter constant for authorDescription: The source of the decision
Type: reference
Path: MessageHeader.author
-
INCLUDE_AUTHOR
public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "MessageHeader:author".
-
SP_SOURCE_URI
public static final String SP_SOURCE_URI
Search parameter: source-uriDescription: Actual message source address or id
Type: uri
Path: MessageHeader.source.endpoint
- See Also:
- Constant Field Values
-
SOURCE_URI
public static final ca.uhn.fhir.rest.gclient.UriClientParam SOURCE_URI
Fluent Client search parameter constant for source-uriDescription: Actual message source address or id
Type: uri
Path: MessageHeader.source.endpoint
-
SP_SOURCE
public static final String SP_SOURCE
Search parameter: sourceDescription: Name of system
Type: string
Path: MessageHeader.source.name
- See Also:
- Constant Field Values
-
SOURCE
public static final ca.uhn.fhir.rest.gclient.StringClientParam SOURCE
Fluent Client search parameter constant for sourceDescription: Name of system
Type: string
Path: MessageHeader.source.name
-
SP_ENTERER
public static final String SP_ENTERER
Search parameter: entererDescription: The source of the data entry
Type: reference
Path: MessageHeader.enterer
- See Also:
- Constant Field Values
-
ENTERER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENTERER
Fluent Client search parameter constant for entererDescription: The source of the data entry
Type: reference
Path: MessageHeader.enterer
-
INCLUDE_ENTERER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENTERER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MessageHeader:enterer".
-
SP_EVENT
public static final String SP_EVENT
Search parameter: eventDescription: Code for the event this message represents
Type: token
Path: MessageHeader.event
- See Also:
- Constant Field Values
-
EVENT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam EVENT
Fluent Client search parameter constant for eventDescription: Code for the event this message represents
Type: token
Path: MessageHeader.event
-
SP_TARGET
public static final String SP_TARGET
Search parameter: targetDescription: Particular delivery destination within the destination
Type: reference
Path: MessageHeader.destination.target
- See Also:
- Constant Field Values
-
TARGET
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TARGET
Fluent Client search parameter constant for targetDescription: Particular delivery destination within the destination
Type: reference
Path: MessageHeader.destination.target
-
INCLUDE_TARGET
public static final ca.uhn.fhir.model.api.Include INCLUDE_TARGET
Constant for fluent queries to be used to add include statements. Specifies the path value of "MessageHeader:target".
-
-
Constructor Detail
-
MessageHeader
public MessageHeader()
Constructor
-
MessageHeader
public MessageHeader(InstantType timestamp, Coding event, MessageHeader.MessageSourceComponent source)
Constructor
-
-
Method Detail
-
getTimestampElement
public InstantType getTimestampElement()
- Returns:
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 value
-
hasTimestampElement
public boolean hasTimestampElement()
-
hasTimestamp
public boolean hasTimestamp()
-
setTimestampElement
public MessageHeader setTimestampElement(InstantType value)
- Parameters:
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 value
-
getTimestamp
public Date getTimestamp()
- Returns:
- The time that the message was sent.
-
setTimestamp
public MessageHeader setTimestamp(Date value)
- Parameters:
value- The time that the message was sent.
-
getEvent
public Coding getEvent()
- Returns:
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".)
-
hasEvent
public boolean hasEvent()
-
setEvent
public MessageHeader setEvent(Coding value)
- Parameters:
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".)
-
getResponse
public MessageHeader.MessageHeaderResponseComponent getResponse()
- Returns:
response(Information about the message that this message is a response to. Only present if this message is a response.)
-
hasResponse
public boolean hasResponse()
-
setResponse
public MessageHeader setResponse(MessageHeader.MessageHeaderResponseComponent value)
- Parameters:
value-response(Information about the message that this message is a response to. Only present if this message is a response.)
-
getSource
public MessageHeader.MessageSourceComponent getSource()
- Returns:
source(The source application from which this message originated.)
-
hasSource
public boolean hasSource()
-
setSource
public MessageHeader setSource(MessageHeader.MessageSourceComponent value)
- Parameters:
value-source(The source application from which this message originated.)
-
getDestination
public List<MessageHeader.MessageDestinationComponent> getDestination()
- Returns:
destination(The destination application which the message is intended for.)
-
hasDestination
public boolean hasDestination()
-
addDestination
public MessageHeader.MessageDestinationComponent addDestination()
- Returns:
destination(The destination application which the message is intended for.)
-
addDestination
public MessageHeader addDestination(MessageHeader.MessageDestinationComponent t)
-
getEnterer
public Reference getEnterer()
- Returns:
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.)
-
hasEnterer
public boolean hasEnterer()
-
setEnterer
public MessageHeader setEnterer(Reference value)
- Parameters:
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.)
-
getEntererTarget
public Practitioner getEntererTarget()
- Returns:
entererThe 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.)
-
setEntererTarget
public MessageHeader setEntererTarget(Practitioner value)
- Parameters:
value-entererThe 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.)
-
getAuthor
public Reference getAuthor()
- Returns:
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.)
-
hasAuthor
public boolean hasAuthor()
-
setAuthor
public MessageHeader setAuthor(Reference value)
- Parameters:
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.)
-
getAuthorTarget
public Practitioner getAuthorTarget()
- Returns:
authorThe 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.)
-
setAuthorTarget
public MessageHeader setAuthorTarget(Practitioner value)
- Parameters:
value-authorThe 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.)
-
getReceiver
public Reference getReceiver()
- Returns:
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.)
-
hasReceiver
public boolean hasReceiver()
-
setReceiver
public MessageHeader setReceiver(Reference value)
- Parameters:
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.)
-
getReceiverTarget
public Resource getReceiverTarget()
- Returns:
receiverThe 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.)
-
setReceiverTarget
public MessageHeader setReceiverTarget(Resource value)
- Parameters:
value-receiverThe 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.)
-
getResponsible
public Reference getResponsible()
- Returns:
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.)
-
hasResponsible
public boolean hasResponsible()
-
setResponsible
public MessageHeader setResponsible(Reference value)
- Parameters:
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.)
-
getResponsibleTarget
public Resource getResponsibleTarget()
- Returns:
responsibleThe 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.)
-
setResponsibleTarget
public MessageHeader setResponsibleTarget(Resource value)
- Parameters:
value-responsibleThe 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.)
-
getReason
public CodeableConcept getReason()
- Returns:
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.)
-
hasReason
public boolean hasReason()
-
setReason
public MessageHeader setReason(CodeableConcept value)
- Parameters:
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.)
-
getData
public List<Reference> getData()
- Returns:
data(The actual data of the message - a reference to the root/focus class of the event.)
-
hasData
public boolean hasData()
-
addData
public Reference addData()
- Returns:
data(The actual data of the message - a reference to the root/focus class of the event.)
-
addData
public MessageHeader addData(Reference t)
-
getDataTarget
public List<Resource> getDataTarget()
- Returns:
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.)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classDomainResource- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public MessageHeader copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected MessageHeader typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-