Class Communication
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
Definition: An occurrence of information being transmitted; e.g. an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Communication
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: Communication.payload () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for categorystatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for encounterstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic 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.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for mediumstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for receivedstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for recipientstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for requeststatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for senderstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for sentstatic final String
Search parameter constant for categorystatic final String
Search parameter constant for encounterstatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for mediumstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for receivedstatic final String
Search parameter constant for recipientstatic final String
Search parameter constant for requeststatic final String
Search parameter constant for senderstatic final String
Search parameter constant for sentstatic final String
Search parameter constant for statusstatic final String
Search parameter constant for subjectstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for identifier ()addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier ()Adds and returns a new value for medium ()addMedium
(CodeableConceptDt theValue) Adds a given new value for medium ()Adds and returns a new value for payload ()addPayload
(Communication.Payload theValue) Adds a given new value for payload ()Adds and returns a new value for reason ()addReason
(CodeableConceptDt theValue) Adds a given new value for reason ()Adds and returns a new value for recipient ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for category ().Gets the value(s) for encounter ().Gets the value(s) for identifier ().Gets the first repetition for identifier (), creating it if it does not already exist.Gets the value(s) for medium ().Gets the first repetition for medium (), creating it if it does not already exist.Gets the value(s) for payload ().Gets the first repetition for payload (), creating it if it does not already exist.Gets the value(s) for reason ().Gets the first repetition for reason (), creating it if it does not already exist.Gets the value(s) for received ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for received ().Gets the value(s) for recipient ().Gets the value(s) for requestDetail ().Gets the value(s) for sender ().getSent()
Gets the value(s) for sent ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for sent ().Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt
<CommunicationStatusEnum> Gets the value(s) for status ().ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for subject ().boolean
isEmpty()
setCategory
(CodeableConceptDt theValue) Sets the value(s) for category ()setEncounter
(ResourceReferenceDt theValue) Sets the value(s) for encounter ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier ()setMedium
(List<CodeableConceptDt> theValue) Sets the value(s) for medium ()setPayload
(List<Communication.Payload> theValue) Sets the value(s) for payload ()setReason
(List<CodeableConceptDt> theValue) Sets the value(s) for reason ()setReceived
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for received ()setReceived
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for received ()setReceivedWithSecondsPrecision
(Date theDate) Sets the value for received ()setRecipient
(List<ResourceReferenceDt> theValue) Sets the value(s) for recipient ()setRequestDetail
(ResourceReferenceDt theValue) Sets the value(s) for requestDetail ()setSender
(ResourceReferenceDt theValue) Sets the value(s) for sender ()setSent
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for sent ()Sets the value for sent ()setSentWithSecondsPrecision
(Date theDate) Sets the value for sent ()setStatus
(CommunicationStatusEnum theValue) Sets the value(s) for status ()setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<CommunicationStatusEnum> theValue) Sets the value(s) for status ()setSubject
(ResourceReferenceDt theValue) Sets the value(s) for subject ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: Communication.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: Communication.identifier
-
SP_CATEGORY
Search parameter constant for categoryDescription:
Type: token
Path: Communication.category
- See Also:
-
CATEGORY
Fluent Client search parameter constant for categoryDescription:
Type: token
Path: Communication.category
-
SP_SENDER
Search parameter constant for senderDescription:
Type: reference
Path: Communication.sender
- See Also:
-
SENDER
Fluent Client search parameter constant for senderDescription:
Type: reference
Path: Communication.sender
-
SP_RECIPIENT
Search parameter constant for recipientDescription:
Type: reference
Path: Communication.recipient
- See Also:
-
RECIPIENT
Fluent Client search parameter constant for recipientDescription:
Type: reference
Path: Communication.recipient
-
SP_MEDIUM
Search parameter constant for mediumDescription:
Type: token
Path: Communication.medium
- See Also:
-
MEDIUM
Fluent Client search parameter constant for mediumDescription:
Type: token
Path: Communication.medium
-
SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: Communication.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: Communication.status
-
SP_ENCOUNTER
Search parameter constant for encounterDescription:
Type: reference
Path: Communication.encounter
- See Also:
-
ENCOUNTER
Fluent Client search parameter constant for encounterDescription:
Type: reference
Path: Communication.encounter
-
SP_SENT
Search parameter constant for sentDescription:
Type: date
Path: Communication.sent
- See Also:
-
SENT
Fluent Client search parameter constant for sentDescription:
Type: date
Path: Communication.sent
-
SP_RECEIVED
Search parameter constant for receivedDescription:
Type: date
Path: Communication.received
- See Also:
-
RECEIVED
Fluent Client search parameter constant for receivedDescription:
Type: date
Path: Communication.received
-
SP_SUBJECT
Search parameter constant for subjectDescription:
Type: reference
Path: Communication.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription:
Type: reference
Path: Communication.subject
-
SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: Communication.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: Communication.subject
-
SP_REQUEST
Search parameter constant for requestDescription:
Type: reference
Path: Communication.requestDetail
- See Also:
-
REQUEST
Fluent Client search parameter constant for requestDescription:
Type: reference
Path: Communication.requestDetail
-
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Communication:encounter". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Communication:patient". -
INCLUDE_RECIPIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Communication:recipient". -
INCLUDE_REQUEST
Constant for fluent queries to be used to add include statements. Specifies the path value of "Communication:request". -
INCLUDE_SENDER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Communication:sender". -
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Communication:subject".
-
-
Constructor Details
-
Communication
public Communication()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull
.Definition: Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
-
setIdentifier
Sets the value(s) for identifier ()Definition: Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
-
addIdentifier
Adds and returns a new value for identifier ()Definition: Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
-
addIdentifier
Adds a given new value for identifier ()Definition: Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (), creating it if it does not already exist.Definition: Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
-
getCategory
Gets the value(s) for category (). creating it if it does not exist. Will not returnnull
.Definition: The type of message conveyed such as alert, notification, reminder, instruction, etc.
-
setCategory
Sets the value(s) for category ()Definition: The type of message conveyed such as alert, notification, reminder, instruction, etc.
-
getSender
Gets the value(s) for sender (). creating it if it does not exist. Will not returnnull
.Definition: The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.
-
setSender
Sets the value(s) for sender ()Definition: The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.
-
getRecipient
Gets the value(s) for recipient (). creating it if it does not exist. Will not returnnull
.Definition: The entity (e.g. person, organization, clinical information system, or device) which was the target of the communication. If receipts need to be tracked by individual, a separate resource instance will need to be created for each recipient. Multiple recipient communications are intended where either a receipt(s) is not tracked (e.g. a mass mail-out) or is captured in aggregate (all emails confirmed received by a particular time).
-
setRecipient
Sets the value(s) for recipient ()Definition: The entity (e.g. person, organization, clinical information system, or device) which was the target of the communication. If receipts need to be tracked by individual, a separate resource instance will need to be created for each recipient. Multiple recipient communications are intended where either a receipt(s) is not tracked (e.g. a mass mail-out) or is captured in aggregate (all emails confirmed received by a particular time).
-
addRecipient
Adds and returns a new value for recipient ()Definition: The entity (e.g. person, organization, clinical information system, or device) which was the target of the communication. If receipts need to be tracked by individual, a separate resource instance will need to be created for each recipient. Multiple recipient communications are intended where either a receipt(s) is not tracked (e.g. a mass mail-out) or is captured in aggregate (all emails confirmed received by a particular time).
-
getPayload
Gets the value(s) for payload (). creating it if it does not exist. Will not returnnull
.Definition: Text, attachment(s), or resource(s) that was communicated to the recipient.
-
setPayload
Sets the value(s) for payload ()Definition: Text, attachment(s), or resource(s) that was communicated to the recipient.
-
addPayload
Adds and returns a new value for payload ()Definition: Text, attachment(s), or resource(s) that was communicated to the recipient.
-
addPayload
Adds a given new value for payload ()Definition: Text, attachment(s), or resource(s) that was communicated to the recipient.
- Parameters:
theValue
- The payload to add (must not benull
)
-
getPayloadFirstRep
Gets the first repetition for payload (), creating it if it does not already exist.Definition: Text, attachment(s), or resource(s) that was communicated to the recipient.
-
getMedium
Gets the value(s) for medium (). creating it if it does not exist. Will not returnnull
.Definition: A channel that was used for this communication (e.g. email, fax).
-
setMedium
Sets the value(s) for medium ()Definition: A channel that was used for this communication (e.g. email, fax).
-
addMedium
Adds and returns a new value for medium ()Definition: A channel that was used for this communication (e.g. email, fax).
-
addMedium
Adds a given new value for medium ()Definition: A channel that was used for this communication (e.g. email, fax).
- Parameters:
theValue
- The medium to add (must not benull
)
-
getMediumFirstRep
Gets the first repetition for medium (), creating it if it does not already exist.Definition: A channel that was used for this communication (e.g. email, fax).
-
getStatusElement
Gets the value(s) for status (). creating it if it does not exist. Will not returnnull
.Definition: The status of the transmission.
-
getStatus
Gets the value(s) for status (). creating it if it does not exist. This method may returnnull
.Definition: The status of the transmission.
-
setStatus
public Communication setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<CommunicationStatusEnum> theValue) Sets the value(s) for status ()Definition: The status of the transmission.
-
setStatus
Sets the value(s) for status ()Definition: The status of the transmission.
-
getEncounter
Gets the value(s) for encounter (). creating it if it does not exist. Will not returnnull
.Definition: The encounter within which the communication was sent.
-
setEncounter
Sets the value(s) for encounter ()Definition: The encounter within which the communication was sent.
-
getSentElement
Gets the value(s) for sent (). creating it if it does not exist. Will not returnnull
.Definition: The time when this communication was sent.
-
getSent
Gets the value(s) for sent (). creating it if it does not exist. This method may returnnull
.Definition: The time when this communication was sent.
-
setSent
Sets the value(s) for sent ()Definition: The time when this communication was sent.
-
setSentWithSecondsPrecision
Sets the value for sent ()Definition: The time when this communication was sent.
-
setSent
public Communication setSent(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for sent ()Definition: The time when this communication was sent.
-
getReceivedElement
Gets the value(s) for received (). creating it if it does not exist. Will not returnnull
.Definition: The time when this communication arrived at the destination.
-
getReceived
Gets the value(s) for received (). creating it if it does not exist. This method may returnnull
.Definition: The time when this communication arrived at the destination.
-
setReceived
Sets the value(s) for received ()Definition: The time when this communication arrived at the destination.
-
setReceivedWithSecondsPrecision
Sets the value for received ()Definition: The time when this communication arrived at the destination.
-
setReceived
public Communication setReceived(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for received ()Definition: The time when this communication arrived at the destination.
-
getReason
Gets the value(s) for reason (). creating it if it does not exist. Will not returnnull
.Definition: The reason or justification for the communication.
-
setReason
Sets the value(s) for reason ()Definition: The reason or justification for the communication.
-
addReason
Adds and returns a new value for reason ()Definition: The reason or justification for the communication.
-
addReason
Adds a given new value for reason ()Definition: The reason or justification for the communication.
- Parameters:
theValue
- The reason to add (must not benull
)
-
getReasonFirstRep
Gets the first repetition for reason (), creating it if it does not already exist.Definition: The reason or justification for the communication.
-
getSubject
Gets the value(s) for subject (). creating it if it does not exist. Will not returnnull
.Definition: The patient who was the focus of this communication.
-
setSubject
Sets the value(s) for subject ()Definition: The patient who was the focus of this communication.
-
getRequestDetail
Gets the value(s) for requestDetail (). creating it if it does not exist. Will not returnnull
.Definition: The communication request that was responsible for producing this communication.
-
setRequestDetail
Sets the value(s) for requestDetail ()Definition: The communication request that was responsible for producing this communication.
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-