Package org.hl7.fhir.dstu2.model
Class Communication
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.Communication
- 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
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.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected CodeableConcept
The type of message conveyed such as alert, notification, reminder, instruction, etc.protected Reference
The encounter within which the communication was sent.protected Encounter
The actual object that is the target of the reference (The encounter within which the communication was sent.)protected List
<Identifier> 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.protected List
<CodeableConcept> A channel that was used for this communication (e.g.protected List
<Communication.CommunicationPayloadComponent> Text, attachment(s), or resource(s) that was communicated to the recipient.protected List
<CodeableConcept> The reason or justification for the communication.protected DateTimeType
The time when this communication arrived at the destination.The entity (e.g.The actual objects that are the target of the reference (The entity (e.g.protected Reference
The communication request that was responsible for producing this communication.protected CommunicationRequest
The actual object that is the target of the reference (The communication request that was responsible for producing this communication.)protected Reference
The entity (e.g.protected Resource
The actual object that is the target of the reference (The entity (e.g.protected DateTimeType
The time when this communication was sent.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected Enumeration
<Communication.CommunicationStatus> The status of the transmission.protected Reference
The patient who was the focus of this communication.protected Patient
The actual object that is the target of the reference (The patient who was the focus of this communication.)Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.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
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getSent()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasSent()
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setCategory
(CodeableConcept value) setEncounter
(Reference value) setEncounterTarget
(Encounter value) void
setProperty
(String name, Base value) setReceived
(Date value) setReceivedElement
(DateTimeType value) setRequestDetail
(Reference value) setSenderTarget
(Resource value) setSentElement
(DateTimeType value) setSubject
(Reference value) setSubjectTarget
(Patient value) protected Communication
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.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.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, 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, 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
-
identifier
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). -
category
The type of message conveyed such as alert, notification, reminder, instruction, etc. -
sender
The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication. -
senderTarget
The actual object that is the target of the reference (The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.) -
recipient
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). -
recipientTarget
The actual objects that are the target of the reference (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).) -
payload
Text, attachment(s), or resource(s) that was communicated to the recipient. -
medium
A channel that was used for this communication (e.g. email, fax). -
status
The status of the transmission. -
encounter
The encounter within which the communication was sent. -
encounterTarget
The actual object that is the target of the reference (The encounter within which the communication was sent.) -
sent
The time when this communication was sent. -
received
The time when this communication arrived at the destination. -
reason
The reason or justification for the communication. -
subject
The patient who was the focus of this communication. -
subjectTarget
The actual object that is the target of the reference (The patient who was the focus of this communication.) -
requestDetail
The communication request that was responsible for producing this communication. -
requestDetailTarget
The actual object that is the target of the reference (The communication request that was responsible for producing this communication.) -
SP_IDENTIFIER
- See Also:
-
SP_REQUEST
- See Also:
-
SP_SENDER
- See Also:
-
SP_SUBJECT
- See Also:
-
SP_PATIENT
- See Also:
-
SP_RECIPIENT
- See Also:
-
SP_RECEIVED
- See Also:
-
SP_MEDIUM
- See Also:
-
SP_ENCOUNTER
- See Also:
-
SP_CATEGORY
- See Also:
-
SP_SENT
- See Also:
-
SP_STATUS
- See Also:
-
-
Constructor Details
-
Communication
public Communication()
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(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).)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(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
-
getCategory
- Returns:
category
(The type of message conveyed such as alert, notification, reminder, instruction, etc.)
-
hasCategory
-
setCategory
- Parameters:
value
-category
(The type of message conveyed such as alert, notification, reminder, instruction, etc.)
-
getSender
- Returns:
sender
(The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.)
-
hasSender
-
setSender
- Parameters:
value
-sender
(The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.)
-
getSenderTarget
- Returns:
sender
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 entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.)
-
setSenderTarget
- Parameters:
value
-sender
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 entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.)
-
getRecipient
- Returns:
recipient
(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).)
-
hasRecipient
-
addRecipient
- Returns:
recipient
(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
-
getRecipientTarget
- Returns:
recipient
(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 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
- Returns:
payload
(Text, attachment(s), or resource(s) that was communicated to the recipient.)
-
hasPayload
-
addPayload
- Returns:
payload
(Text, attachment(s), or resource(s) that was communicated to the recipient.)
-
addPayload
-
getMedium
- Returns:
medium
(A channel that was used for this communication (e.g. email, fax).)
-
hasMedium
-
addMedium
- Returns:
medium
(A channel that was used for this communication (e.g. email, fax).)
-
addMedium
-
getStatusElement
- Returns:
status
(The status of the transmission.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value
-status
(The status of the transmission.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- The status of the transmission.
-
setStatus
- Parameters:
value
- The status of the transmission.
-
getEncounter
- Returns:
encounter
(The encounter within which the communication was sent.)
-
hasEncounter
-
setEncounter
- Parameters:
value
-encounter
(The encounter within which the communication was sent.)
-
getEncounterTarget
- Returns:
encounter
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 encounter within which the communication was sent.)
-
setEncounterTarget
- Parameters:
value
-encounter
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 encounter within which the communication was sent.)
-
getSentElement
- Returns:
sent
(The time when this communication was sent.). This is the underlying object with id, value and extensions. The accessor "getSent" gives direct access to the value
-
hasSentElement
-
hasSent
-
setSentElement
- Parameters:
value
-sent
(The time when this communication was sent.). This is the underlying object with id, value and extensions. The accessor "getSent" gives direct access to the value
-
getSent
- Returns:
- The time when this communication was sent.
-
setSent
- Parameters:
value
- The time when this communication was sent.
-
getReceivedElement
- Returns:
received
(The time when this communication arrived at the destination.). This is the underlying object with id, value and extensions. The accessor "getReceived" gives direct access to the value
-
hasReceivedElement
-
hasReceived
-
setReceivedElement
- Parameters:
value
-received
(The time when this communication arrived at the destination.). This is the underlying object with id, value and extensions. The accessor "getReceived" gives direct access to the value
-
getReceived
- Returns:
- The time when this communication arrived at the destination.
-
setReceived
- Parameters:
value
- The time when this communication arrived at the destination.
-
getReason
- Returns:
reason
(The reason or justification for the communication.)
-
hasReason
-
addReason
- Returns:
reason
(The reason or justification for the communication.)
-
addReason
-
getSubject
- Returns:
subject
(The patient who was the focus of this communication.)
-
hasSubject
-
setSubject
- Parameters:
value
-subject
(The patient who was the focus of this communication.)
-
getSubjectTarget
- Returns:
subject
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 patient who was the focus of this communication.)
-
setSubjectTarget
- Parameters:
value
-subject
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 patient who was the focus of this communication.)
-
getRequestDetail
- Returns:
requestDetail
(The communication request that was responsible for producing this communication.)
-
hasRequestDetail
-
setRequestDetail
- Parameters:
value
-requestDetail
(The communication request that was responsible for producing this communication.)
-
getRequestDetailTarget
- Returns:
requestDetail
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 communication request that was responsible for producing this communication.)
-
setRequestDetailTarget
- Parameters:
value
-requestDetail
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 communication request that was responsible for producing this communication.)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
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
-
copy
- Specified by:
copy
in classDomainResource
-
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
-