public class Communication extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Communication.CommunicationPayloadComponent |
static class |
Communication.CommunicationStatus |
static class |
Communication.CommunicationStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
static ReferenceClientParam |
BASED_ON
Fluent Client search parameter constant for based-on
|
protected List<Reference> |
basedOn
An order, proposal or plan fulfilled in whole or in part by this Communication.
|
protected List<Resource> |
basedOnTarget
The actual objects that are the target of the reference (An order, proposal or plan fulfilled in whole or in part by this Communication.)
|
protected List<CodeableConcept> |
category
The type of message conveyed such as alert, notification, reminder, instruction, etc.
|
static TokenClientParam |
CATEGORY
Fluent Client search parameter constant for category
|
protected Reference |
context
The encounter within which the communication was sent.
|
static ReferenceClientParam |
CONTEXT
Fluent Client search parameter constant for context
|
protected Resource |
contextTarget
The actual object that is the target of the reference (The encounter within which the communication was sent.)
|
protected List<Reference> |
definition
A protocol, guideline, or other definition that was adhered to in whole or in part by this communication event.
|
static ReferenceClientParam |
DEFINITION
Fluent Client search parameter constant for definition
|
protected List<Resource> |
definitionTarget
The actual objects that are the target of the reference (A protocol, guideline, or other definition that was adhered to in whole or in part by this communication event.)
|
static ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
protected List<Identifier> |
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.
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_BASED_ON
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_CONTEXT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_DEFINITION
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PART_OF
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_RECIPIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SENDER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
protected List<CodeableConcept> |
medium
A channel that was used for this communication (e.g.
|
static TokenClientParam |
MEDIUM
Fluent Client search parameter constant for medium
|
protected BooleanType |
notDone
If true, indicates that the described communication event did not actually occur.
|
protected CodeableConcept |
notDoneReason
Describes why the communication event did not occur in coded and/or textual form.
|
protected List<Annotation> |
note
Additional notes or commentary about the communication by the sender, receiver or other interested parties.
|
static ReferenceClientParam |
PART_OF
Fluent Client search parameter constant for part-of
|
protected List<Reference> |
partOf
Part of this action.
|
protected List<Resource> |
partOfTarget
The actual objects that are the target of the reference (Part of this action.)
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected List<Communication.CommunicationPayloadComponent> |
payload
Text, attachment(s), or resource(s) that was communicated to the recipient.
|
protected List<CodeableConcept> |
reasonCode
The reason or justification for the communication.
|
protected List<Reference> |
reasonReference
Indicates another resource whose existence justifies this communication.
|
protected List<Resource> |
reasonReferenceTarget
The actual objects that are the target of the reference (Indicates another resource whose existence justifies this communication.)
|
protected DateTimeType |
received
The time when this communication arrived at the destination.
|
static DateClientParam |
RECEIVED
Fluent Client search parameter constant for received
|
protected List<Reference> |
recipient
The entity (e.g.
|
static ReferenceClientParam |
RECIPIENT
Fluent Client search parameter constant for recipient
|
protected List<Resource> |
recipientTarget
The actual objects that are the target of the reference (The entity (e.g.
|
protected Reference |
sender
The entity (e.g.
|
static ReferenceClientParam |
SENDER
Fluent Client search parameter constant for sender
|
protected Resource |
senderTarget
The actual object that is the target of the reference (The entity (e.g.
|
protected DateTimeType |
sent
The time when this communication was sent.
|
static DateClientParam |
SENT
Fluent Client search parameter constant for sent
|
static String |
SP_BASED_ON
Search parameter: based-on
|
static String |
SP_CATEGORY
Search parameter: category
|
static String |
SP_CONTEXT
Search parameter: context
|
static String |
SP_DEFINITION
Search parameter: definition
|
static String |
SP_ENCOUNTER
Search parameter: encounter
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_MEDIUM
Search parameter: medium
|
static String |
SP_PART_OF
Search parameter: part-of
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_RECEIVED
Search parameter: received
|
static String |
SP_RECIPIENT
Search parameter: recipient
|
static String |
SP_SENDER
Search parameter: sender
|
static String |
SP_SENT
Search parameter: sent
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_SUBJECT
Search parameter: subject
|
protected Enumeration<Communication.CommunicationStatus> |
status
The status of the transmission.
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected Reference |
subject
The patient or group that was the focus of this communication.
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (The patient or group that was the focus of this communication.)
|
protected List<Reference> |
topic
The resources which were responsible for or related to producing this communication.
|
protected List<Resource> |
topicTarget
The actual objects that are the target of the reference (The resources which were responsible for or related to producing this communication.)
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Communication()
Constructor
|
Communication(Enumeration<Communication.CommunicationStatus> status)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected List<Identifier> identifier
protected List<Reference> definition
protected List<Resource> definitionTarget
protected List<Reference> basedOn
protected List<Resource> basedOnTarget
protected List<Resource> partOfTarget
protected Enumeration<Communication.CommunicationStatus> status
protected BooleanType notDone
protected CodeableConcept notDoneReason
protected List<CodeableConcept> category
protected List<CodeableConcept> medium
protected Resource subjectTarget
protected List<Reference> recipient
protected List<Resource> recipientTarget
protected List<Reference> topic
protected List<Resource> topicTarget
protected Resource contextTarget
protected DateTimeType sent
protected DateTimeType received
protected Reference sender
protected Resource senderTarget
protected List<CodeableConcept> reasonCode
protected List<Reference> reasonReference
protected List<Resource> reasonReferenceTarget
protected List<Communication.CommunicationPayloadComponent> payload
protected List<Annotation> note
public static final String SP_IDENTIFIER
Description: Unique identifier
Type: token
Path: Communication.identifier
public static final TokenClientParam IDENTIFIER
Description: Unique identifier
Type: token
Path: Communication.identifier
public static final String SP_SUBJECT
Description: Focus of message
Type: reference
Path: Communication.subject
public static final ReferenceClientParam SUBJECT
Description: Focus of message
Type: reference
Path: Communication.subject
public static final Include INCLUDE_SUBJECT
public static final String SP_RECEIVED
Description: When received
Type: date
Path: Communication.received
public static final DateClientParam RECEIVED
Description: When received
Type: date
Path: Communication.received
public static final String SP_PART_OF
Description: Part of this action
Type: reference
Path: Communication.partOf
public static final ReferenceClientParam PART_OF
Description: Part of this action
Type: reference
Path: Communication.partOf
public static final Include INCLUDE_PART_OF
public static final String SP_MEDIUM
Description: A channel of communication
Type: token
Path: Communication.medium
public static final TokenClientParam MEDIUM
Description: A channel of communication
Type: token
Path: Communication.medium
public static final String SP_ENCOUNTER
Description: Encounter leading to message
Type: reference
Path: Communication.context
public static final ReferenceClientParam ENCOUNTER
Description: Encounter leading to message
Type: reference
Path: Communication.context
public static final Include INCLUDE_ENCOUNTER
public static final String SP_SENT
Description: When sent
Type: date
Path: Communication.sent
public static final DateClientParam SENT
Description: When sent
Type: date
Path: Communication.sent
public static final String SP_BASED_ON
Description: Request fulfilled by this communication
Type: reference
Path: Communication.basedOn
public static final ReferenceClientParam BASED_ON
Description: Request fulfilled by this communication
Type: reference
Path: Communication.basedOn
public static final Include INCLUDE_BASED_ON
public static final String SP_SENDER
Description: Message sender
Type: reference
Path: Communication.sender
public static final ReferenceClientParam SENDER
Description: Message sender
Type: reference
Path: Communication.sender
public static final Include INCLUDE_SENDER
public static final String SP_PATIENT
Description: Focus of message
Type: reference
Path: Communication.subject
public static final ReferenceClientParam PATIENT
Description: Focus of message
Type: reference
Path: Communication.subject
public static final Include INCLUDE_PATIENT
public static final String SP_RECIPIENT
Description: Message recipient
Type: reference
Path: Communication.recipient
public static final ReferenceClientParam RECIPIENT
Description: Message recipient
Type: reference
Path: Communication.recipient
public static final Include INCLUDE_RECIPIENT
public static final String SP_CONTEXT
Description: Encounter or episode leading to message
Type: reference
Path: Communication.context
public static final ReferenceClientParam CONTEXT
Description: Encounter or episode leading to message
Type: reference
Path: Communication.context
public static final Include INCLUDE_CONTEXT
public static final String SP_DEFINITION
Description: Instantiates protocol or definition
Type: reference
Path: Communication.definition
public static final ReferenceClientParam DEFINITION
Description: Instantiates protocol or definition
Type: reference
Path: Communication.definition
public static final Include INCLUDE_DEFINITION
public static final String SP_CATEGORY
Description: Message category
Type: token
Path: Communication.category
public static final TokenClientParam CATEGORY
Description: Message category
Type: token
Path: Communication.category
public static final String SP_STATUS
Description: preparation | in-progress | suspended | aborted | completed | entered-in-error
Type: token
Path: Communication.status
public static final TokenClientParam STATUS
Description: preparation | in-progress | suspended | aborted | completed | entered-in-error
Type: token
Path: Communication.status
public Communication()
public Communication(Enumeration<Communication.CommunicationStatus> status)
public List<Identifier> getIdentifier()
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).)public Communication setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Communication addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic List<Reference> getDefinition()
definition (A protocol, guideline, or other definition that was adhered to in whole or in part by this communication event.)public Communication setDefinition(List<Reference> theDefinition)
this for easy method chainingpublic boolean hasDefinition()
public Reference addDefinition()
public Communication addDefinition(Reference t)
public Reference getDefinitionFirstRep()
definition, creating it if it does not already exist@Deprecated public List<Resource> getDefinitionTarget()
public List<Reference> getBasedOn()
basedOn (An order, proposal or plan fulfilled in whole or in part by this Communication.)public Communication setBasedOn(List<Reference> theBasedOn)
this for easy method chainingpublic boolean hasBasedOn()
public Reference addBasedOn()
public Communication addBasedOn(Reference t)
public Reference getBasedOnFirstRep()
basedOn, creating it if it does not already exist@Deprecated public List<Resource> getBasedOnTarget()
public Communication setPartOf(List<Reference> thePartOf)
this for easy method chainingpublic boolean hasPartOf()
public Communication addPartOf(Reference t)
public Reference getPartOfFirstRep()
partOf, creating it if it does not already exist@Deprecated public List<Resource> getPartOfTarget()
public Enumeration<Communication.CommunicationStatus> getStatusElement()
status (The status of the transmission.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Communication setStatusElement(Enumeration<Communication.CommunicationStatus> value)
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 valuepublic Communication.CommunicationStatus getStatus()
public Communication setStatus(Communication.CommunicationStatus value)
value - The status of the transmission.public BooleanType getNotDoneElement()
notDone (If true, indicates that the described communication event did not actually occur.). This is the underlying object with id, value and extensions. The accessor "getNotDone" gives direct access to the valuepublic boolean hasNotDoneElement()
public boolean hasNotDone()
public Communication setNotDoneElement(BooleanType value)
value - notDone (If true, indicates that the described communication event did not actually occur.). This is the underlying object with id, value and extensions. The accessor "getNotDone" gives direct access to the valuepublic boolean getNotDone()
public Communication setNotDone(boolean value)
value - If true, indicates that the described communication event did not actually occur.public CodeableConcept getNotDoneReason()
notDoneReason (Describes why the communication event did not occur in coded and/or textual form.)public boolean hasNotDoneReason()
public Communication setNotDoneReason(CodeableConcept value)
value - notDoneReason (Describes why the communication event did not occur in coded and/or textual form.)public List<CodeableConcept> getCategory()
category (The type of message conveyed such as alert, notification, reminder, instruction, etc.)public Communication setCategory(List<CodeableConcept> theCategory)
this for easy method chainingpublic boolean hasCategory()
public CodeableConcept addCategory()
public Communication addCategory(CodeableConcept t)
public CodeableConcept getCategoryFirstRep()
category, creating it if it does not already existpublic List<CodeableConcept> getMedium()
medium (A channel that was used for this communication (e.g. email, fax).)public Communication setMedium(List<CodeableConcept> theMedium)
this for easy method chainingpublic boolean hasMedium()
public CodeableConcept addMedium()
public Communication addMedium(CodeableConcept t)
public CodeableConcept getMediumFirstRep()
medium, creating it if it does not already existpublic Reference getSubject()
subject (The patient or group that was the focus of this communication.)public boolean hasSubject()
public Communication setSubject(Reference value)
value - subject (The patient or group that was the focus of this communication.)public Resource getSubjectTarget()
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 or group that was the focus of this communication.)public Communication setSubjectTarget(Resource value)
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 or group that was the focus of this communication.)public List<Reference> getRecipient()
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).)public Communication setRecipient(List<Reference> theRecipient)
this for easy method chainingpublic boolean hasRecipient()
public Reference addRecipient()
public Communication addRecipient(Reference t)
public Reference getRecipientFirstRep()
recipient, creating it if it does not already exist@Deprecated public List<Resource> getRecipientTarget()
public List<Reference> getTopic()
topic (The resources which were responsible for or related to producing this communication.)public Communication setTopic(List<Reference> theTopic)
this for easy method chainingpublic boolean hasTopic()
public Communication addTopic(Reference t)
public Reference getTopicFirstRep()
topic, creating it if it does not already exist@Deprecated public List<Resource> getTopicTarget()
public Reference getContext()
context (The encounter within which the communication was sent.)public boolean hasContext()
public Communication setContext(Reference value)
value - context (The encounter within which the communication was sent.)public Resource getContextTarget()
context 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.)public Communication setContextTarget(Resource value)
value - context 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.)public DateTimeType getSentElement()
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 valuepublic boolean hasSentElement()
public boolean hasSent()
public Communication setSentElement(DateTimeType value)
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 valuepublic Communication setSent(Date value)
value - The time when this communication was sent.public DateTimeType getReceivedElement()
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 valuepublic boolean hasReceivedElement()
public boolean hasReceived()
public Communication setReceivedElement(DateTimeType value)
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 valuepublic Date getReceived()
public Communication setReceived(Date value)
value - The time when this communication arrived at the destination.public Reference getSender()
sender (The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.)public boolean hasSender()
public Communication setSender(Reference value)
value - sender (The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.)public Resource getSenderTarget()
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.)public Communication setSenderTarget(Resource value)
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.)public List<CodeableConcept> getReasonCode()
reasonCode (The reason or justification for the communication.)public Communication setReasonCode(List<CodeableConcept> theReasonCode)
this for easy method chainingpublic boolean hasReasonCode()
public CodeableConcept addReasonCode()
public Communication addReasonCode(CodeableConcept t)
public CodeableConcept getReasonCodeFirstRep()
reasonCode, creating it if it does not already existpublic List<Reference> getReasonReference()
reasonReference (Indicates another resource whose existence justifies this communication.)public Communication setReasonReference(List<Reference> theReasonReference)
this for easy method chainingpublic boolean hasReasonReference()
public Reference addReasonReference()
public Communication addReasonReference(Reference t)
public Reference getReasonReferenceFirstRep()
reasonReference, creating it if it does not already exist@Deprecated public List<Resource> getReasonReferenceTarget()
public List<Communication.CommunicationPayloadComponent> getPayload()
payload (Text, attachment(s), or resource(s) that was communicated to the recipient.)public Communication setPayload(List<Communication.CommunicationPayloadComponent> thePayload)
this for easy method chainingpublic boolean hasPayload()
public Communication.CommunicationPayloadComponent addPayload()
public Communication addPayload(Communication.CommunicationPayloadComponent t)
public Communication.CommunicationPayloadComponent getPayloadFirstRep()
payload, creating it if it does not already existpublic List<Annotation> getNote()
note (Additional notes or commentary about the communication by the sender, receiver or other interested parties.)public Communication setNote(List<Annotation> theNote)
this for easy method chainingpublic boolean hasNote()
public Annotation addNote()
public Communication addNote(Annotation t)
public Annotation getNoteFirstRep()
note, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Communication copy()
copy in class DomainResourceprotected Communication typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.