
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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CodeableConceptThe type of message conveyed such as alert, notification, reminder, instruction, etc.protected ReferenceThe encounter within which the communication was sent.protected EncounterThe 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. in CDA documents, or in written / printed documentation).protected List<CodeableConcept> A channel that was used for this communication (e.g. email, fax).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 DateTimeTypeThe time when this communication arrived at the destination.The entity (e.g. person, organization, clinical information system, or device) which was the target of the communication.The actual objects that are the target of the reference (The entity (e.g.protected ReferenceThe communication request that was responsible for producing this communication.protected CommunicationRequestThe actual object that is the target of the reference (The communication request that was responsible for producing this communication.)protected ReferenceThe entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.protected ResourceThe actual object that is the target of the reference (The entity (e.g.protected DateTimeTypeThe time when this communication was sent.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Enumeration<Communication.CommunicationStatus> The status of the transmission.protected ReferenceThe patient who was the focus of this communication.protected PatientThe 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, textFields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, metaFields 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_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getSent()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasSent()booleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setCategory(CodeableConcept value) setEncounter(Reference value) setEncounterTarget(Encounter value) voidsetProperty(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 CommunicationMethods 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, setTextMethods 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, setMetaMethods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setIdMethods 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, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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:
senderThe 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-senderThe 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:
encounterThe 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-encounterThe 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:
subjectThe 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-subjectThe 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:
requestDetailThe 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-requestDetailThe 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:
listChildrenin classDomainResource
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-