Package com.ibm.fhir.model.resource
Class Communication
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.Communication
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class Communication extends DomainResource
An occurrence of information being transmitted; e.g. an alert that was sent to a responsible provider, a public health agency that was notified about a reportable condition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommunication.Builderstatic classCommunication.PayloadText, attachment(s), or resource(s) that was communicated to the recipient.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class com.ibm.fhir.model.resource.Resource
id, implicitRules, language, meta
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static Communication.Builderbuilder()booleanequals(Object obj)List<Reference>getAbout()Other resources that pertain to this communication and to which this communication should be associated.List<Reference>getBasedOn()An order, proposal or plan fulfilled in whole or in part by this Communication.List<CodeableConcept>getCategory()The type of message conveyed such as alert, notification, reminder, instruction, etc.ReferencegetEncounter()The Encounter during which this Communication was created or to which the creation of this record is tightly associated.List<Identifier>getIdentifier()Business identifiers assigned to this communication by the performer or other systems which remain constant as the resource is updated and propagates from server to server.List<Reference>getInResponseTo()Prior communication that this communication is in response to.List<Canonical>getInstantiatesCanonical()The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Communication.List<Uri>getInstantiatesUri()The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Communication.List<CodeableConcept>getMedium()A channel that was used for this communication (e.g.List<Annotation>getNote()Additional notes or commentary about the communication by the sender, receiver or other interested parties.List<Reference>getPartOf()Part of this action.List<Communication.Payload>getPayload()Text, attachment(s), or resource(s) that was communicated to the recipient.CommunicationPrioritygetPriority()Characterizes how quickly the planned or in progress communication must be addressed.List<CodeableConcept>getReasonCode()The reason or justification for the communication.List<Reference>getReasonReference()Indicates another resource whose existence justifies this communication.DateTimegetReceived()The time when this communication arrived at the destination.List<Reference>getRecipient()The entity (e.g.ReferencegetSender()The entity (e.g.DateTimegetSent()The time when this communication was sent.CommunicationStatusgetStatus()The status of the transmission.CodeableConceptgetStatusReason()Captures the reason for the current state of the Communication.ReferencegetSubject()The patient or group that was the focus of this communication.CodeableConceptgetTopic()Description of the purpose/content, similar to a subject line in an email.booleanhasChildren()inthashCode()Communication.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
Business identifiers assigned to this communication by the performer or other systems which remain constant as the resource is updated and propagates from server to server.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getInstantiatesCanonical
public List<Canonical> getInstantiatesCanonical()
The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Communication.- Returns:
- An unmodifiable list containing immutable objects of type
Canonicalthat may be empty.
-
getInstantiatesUri
public List<Uri> getInstantiatesUri()
The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Communication.- Returns:
- An unmodifiable list containing immutable objects of type
Urithat may be empty.
-
getBasedOn
public List<Reference> getBasedOn()
An order, proposal or plan fulfilled in whole or in part by this Communication.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getPartOf
public List<Reference> getPartOf()
Part of this action.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getInResponseTo
public List<Reference> getInResponseTo()
Prior communication that this communication is in response to.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getStatus
public CommunicationStatus getStatus()
The status of the transmission.- Returns:
- An immutable object of type
CommunicationStatusthat is non-null.
-
getStatusReason
public CodeableConcept getStatusReason()
Captures the reason for the current state of the Communication.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getCategory
public List<CodeableConcept> getCategory()
The type of message conveyed such as alert, notification, reminder, instruction, etc.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getPriority
public CommunicationPriority getPriority()
Characterizes how quickly the planned or in progress communication must be addressed. Includes concepts such as stat, urgent, routine.- Returns:
- An immutable object of type
CommunicationPrioritythat may be null.
-
getMedium
public List<CodeableConcept> getMedium()
A channel that was used for this communication (e.g. email, fax).- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getSubject
public Reference getSubject()
The patient or group that was the focus of this communication.- Returns:
- An immutable object of type
Referencethat may be null.
-
getTopic
public CodeableConcept getTopic()
Description of the purpose/content, similar to a subject line in an email.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getAbout
public List<Reference> getAbout()
Other resources that pertain to this communication and to which this communication should be associated.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getEncounter
public Reference getEncounter()
The Encounter during which this Communication was created or to which the creation of this record is tightly associated.- Returns:
- An immutable object of type
Referencethat may be null.
-
getSent
public DateTime getSent()
The time when this communication was sent.- Returns:
- An immutable object of type
DateTimethat may be null.
-
getReceived
public DateTime getReceived()
The time when this communication arrived at the destination.- Returns:
- An immutable object of type
DateTimethat may be null.
-
getRecipient
public List<Reference> getRecipient()
The entity (e.g. person, organization, clinical information system, care team or device) which was the target of the communication. If receipts need to be tracked by an individual, a separate resource instance will need to be created for each recipient. Multiple recipient communications are intended where either receipts are not tracked (e.g. a mass mail-out) or a receipt is captured in aggregate (all emails confirmed received by a particular time).- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getSender
public Reference getSender()
The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.- Returns:
- An immutable object of type
Referencethat may be null.
-
getReasonCode
public List<CodeableConcept> getReasonCode()
The reason or justification for the communication.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getReasonReference
public List<Reference> getReasonReference()
Indicates another resource whose existence justifies this communication.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getPayload
public List<Communication.Payload> getPayload()
Text, attachment(s), or resource(s) that was communicated to the recipient.- Returns:
- An unmodifiable list containing immutable objects of type
Communication.Payloadthat may be empty.
-
getNote
public List<Annotation> getNote()
Additional notes or commentary about the communication by the sender, receiver or other interested parties.- Returns:
- An unmodifiable list containing immutable objects of type
Annotationthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
toBuilder
public Communication.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static Communication.Builder builder()
-
-