Class 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
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
static class
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
Modifier and TypeFieldDescriptionprotected Reference
The logical author of the message - the personor device that decided the described event should happen.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for authorstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for codeprotected CanonicalType
Permanent link to the MessageDefinition for this message.protected List
<MessageHeader.MessageDestinationComponent> The destination application which the message is intended for.static final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for destinationprotected DataType
Code that identifies the event this message represents and connects it with its definition.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for eventThe actual data of the message - a reference to the root/focus class of the event.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for focusstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.protected CodeableConcept
Coded indication of the cause for the event - indicates a reason for the occurrence of the event that is a focus of this message.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for receiverInformation about the message that this message is a response to.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for response-idprotected Reference
The person or organization that accepts overall responsibility for the contents of the message.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for responsibleprotected Reference
Identifies the sending system to allow the use of a trust relationship.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for senderprotected MessageHeader.MessageSourceComponent
The source application from which this message originated.static final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for sourcestatic final String
Search parameter: authorstatic final String
Search parameter: codestatic final String
Search parameter: destinationstatic final String
Search parameter: eventstatic final String
Search parameter: focusstatic final String
Search parameter: receiverstatic final String
Search parameter: response-idstatic final String
Search parameter: responsiblestatic final String
Search parameter: senderstatic final String
Search parameter: sourcestatic final String
Search parameter: targetstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for targetFields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionConstructorMessageHeader
(DataType event, MessageHeader.MessageSourceComponent source) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddFocus()
copy()
void
copyValues
(MessageHeader dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getEvent()
getFocus()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
hasEvent()
boolean
boolean
boolean
hasFocus()
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) setDefinition
(String value) setDestination
(List<MessageHeader.MessageDestinationComponent> theDestination) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setReason
(CodeableConcept value) setResponsible
(Reference value) protected MessageHeader
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getStandardsStatus, getText, hasContained, hasExtension, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setStandardsStatus, setText
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, getSourcePackage, getWebPath, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, hasSourcePackage, hasWebPath, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta, setSourcePackage, setWebPath
Methods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
event
Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification are defined by the implementation. Alternatively a canonical uri to the EventDefinition. -
destination
The destination application which the message is intended for. -
sender
Identifies the sending system to allow the use of a trust relationship. -
author
The logical author of the message - the personor device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions. -
source
The source application from which this message originated. -
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. -
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. -
response
Information about the message that this message is a response to. Only present if this message is a response. -
focus
The actual data of the message - a reference to the root/focus class of the event. This is allowed to be a Parameters resource. -
definition
Permanent link to the MessageDefinition for this message. -
SP_AUTHOR
Search parameter: authorDescription: The source of the decision
Type: reference
Path: MessageHeader.author
- See Also:
-
AUTHOR
Fluent Client search parameter constant for authorDescription: The source of the decision
Type: reference
Path: MessageHeader.author
-
INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "MessageHeader:author". -
SP_CODE
Search parameter: codeDescription: ok | transient-error | fatal-error
Type: token
Path: MessageHeader.response.code
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription: ok | transient-error | fatal-error
Type: token
Path: MessageHeader.response.code
-
SP_DESTINATION
Search parameter: destinationDescription: Name of system
Type: string
Path: MessageHeader.destination.name
- See Also:
-
DESTINATION
Fluent Client search parameter constant for destinationDescription: Name of system
Type: string
Path: MessageHeader.destination.name
-
SP_EVENT
Search parameter: eventDescription: Code for the event this message represents or link to event definition
Type: token
Path: MessageHeader.event.ofType(Coding) | MessageHeader.event.ofType(canonical)
- See Also:
-
EVENT
Fluent Client search parameter constant for eventDescription: Code for the event this message represents or link to event definition
Type: token
Path: MessageHeader.event.ofType(Coding) | MessageHeader.event.ofType(canonical)
-
SP_FOCUS
Search parameter: focusDescription: The actual content of the message
Type: reference
Path: MessageHeader.focus
- See Also:
-
FOCUS
Fluent Client search parameter constant for focusDescription: The actual content of the message
Type: reference
Path: MessageHeader.focus
-
INCLUDE_FOCUS
Constant for fluent queries to be used to add include statements. Specifies the path value of "MessageHeader:focus". -
SP_RECEIVER
Search parameter: receiverDescription: Intended "real-world" recipient for the data
Type: reference
Path: MessageHeader.destination.receiver
- See Also:
-
RECEIVER
Fluent Client search parameter constant for receiverDescription: Intended "real-world" recipient for the data
Type: reference
Path: MessageHeader.destination.receiver
-
INCLUDE_RECEIVER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MessageHeader:receiver". -
SP_RESPONSE_ID
Search parameter: response-idDescription: Id of original message
Type: token
Path: MessageHeader.response.identifier
- See Also:
-
RESPONSE_ID
Fluent Client search parameter constant for response-idDescription: Id of original message
Type: token
Path: MessageHeader.response.identifier
-
SP_RESPONSIBLE
Search parameter: responsibleDescription: Final responsibility for event
Type: reference
Path: MessageHeader.responsible
- See Also:
-
RESPONSIBLE
Fluent Client search parameter constant for responsibleDescription: Final responsibility for event
Type: reference
Path: MessageHeader.responsible
-
INCLUDE_RESPONSIBLE
Constant for fluent queries to be used to add include statements. Specifies the path value of "MessageHeader:responsible". -
SP_SENDER
Search parameter: senderDescription: Real world sender of the message
Type: reference
Path: MessageHeader.sender
- See Also:
-
SENDER
Fluent Client search parameter constant for senderDescription: Real world sender of the message
Type: reference
Path: MessageHeader.sender
-
INCLUDE_SENDER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MessageHeader:sender". -
SP_SOURCE
Search parameter: sourceDescription: Name of system
Type: string
Path: MessageHeader.source.name
- See Also:
-
SOURCE
Fluent Client search parameter constant for sourceDescription: Name of system
Type: string
Path: MessageHeader.source.name
-
SP_TARGET
Search parameter: targetDescription: Particular delivery destination within the destination
Type: reference
Path: MessageHeader.destination.target
- See Also:
-
TARGET
Fluent Client search parameter constant for targetDescription: Particular delivery destination within the destination
Type: reference
Path: MessageHeader.destination.target
-
INCLUDE_TARGET
Constant for fluent queries to be used to add include statements. Specifies the path value of "MessageHeader:target".
-
-
Constructor Details
-
MessageHeader
public MessageHeader()Constructor -
MessageHeader
Constructor
-
-
Method Details
-
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 are defined by the implementation. Alternatively a canonical uri to the EventDefinition.)
-
getEventCoding
- Returns:
event
(Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification are defined by the implementation. Alternatively a canonical uri to the EventDefinition.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasEventCoding
-
getEventCanonicalType
- Returns:
event
(Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification are defined by the implementation. Alternatively a canonical uri to the EventDefinition.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasEventCanonicalType
-
hasEvent
-
setEvent
- 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 are defined by the implementation. Alternatively a canonical uri to the EventDefinition.)
-
getDestination
- Returns:
destination
(The destination application which the message is intended for.)
-
setDestination
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasDestination
-
addDestination
-
addDestination
-
getDestinationFirstRep
- Returns:
- The first repetition of repeating field
destination
, creating it if it does not already exist {3}
-
getSender
- Returns:
sender
(Identifies the sending system to allow the use of a trust relationship.)
-
hasSender
-
setSender
- Parameters:
value
-sender
(Identifies the sending system to allow the use of a trust relationship.)
-
getAuthor
- Returns:
author
(The logical author of the message - the personor device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.)
-
hasAuthor
-
setAuthor
- Parameters:
value
-author
(The logical author of the message - the personor device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.)
-
getSource
- Returns:
source
(The source application from which this message originated.)
-
hasSource
-
setSource
- Parameters:
value
-source
(The source application from which this message originated.)
-
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
-
setResponsible
- 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.)
-
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
-
setReason
- 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.)
-
getResponse
- Returns:
response
(Information about the message that this message is a response to. Only present if this message is a response.)
-
hasResponse
-
setResponse
- Parameters:
value
-response
(Information about the message that this message is a response to. Only present if this message is a response.)
-
getFocus
- Returns:
focus
(The actual data of the message - a reference to the root/focus class of the event. This is allowed to be a Parameters resource.)
-
setFocus
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasFocus
-
addFocus
-
addFocus
-
getFocusFirstRep
- Returns:
- The first repetition of repeating field
focus
, creating it if it does not already exist {3}
-
getDefinitionElement
- Returns:
definition
(Permanent link to the MessageDefinition for this message.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the value
-
hasDefinitionElement
-
hasDefinition
-
setDefinitionElement
- Parameters:
value
-definition
(Permanent link to the MessageDefinition for this message.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the value
-
getDefinition
- Returns:
- Permanent link to the MessageDefinition for this message.
-
setDefinition
- Parameters:
value
- Permanent link to the MessageDefinition for this message.
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copy
in classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-