Class Communication
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.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
public class Communication extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR Communication Resource ()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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommunication.PayloadBlock class for child element: Communication.payload ()
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.TokenClientParamCATEGORYFluent Client search parameter constant for categorystatic ca.uhn.fhir.rest.gclient.ReferenceClientParamENCOUNTERFluent Client search parameter constant for encounterstatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_ENCOUNTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_RECIPIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_REQUESTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SENDERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.TokenClientParamMEDIUMFluent Client search parameter constant for mediumstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientstatic ca.uhn.fhir.rest.gclient.DateClientParamRECEIVEDFluent Client search parameter constant for receivedstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamRECIPIENTFluent Client search parameter constant for recipientstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamREQUESTFluent Client search parameter constant for requeststatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSENDERFluent Client search parameter constant for senderstatic ca.uhn.fhir.rest.gclient.DateClientParamSENTFluent Client search parameter constant for sentstatic StringSP_CATEGORYSearch parameter constant for categorystatic StringSP_ENCOUNTERSearch parameter constant for encounterstatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_MEDIUMSearch parameter constant for mediumstatic StringSP_PATIENTSearch parameter constant for patientstatic StringSP_RECEIVEDSearch parameter constant for receivedstatic StringSP_RECIPIENTSearch parameter constant for recipientstatic StringSP_REQUESTSearch parameter constant for requeststatic StringSP_SENDERSearch parameter constant for senderstatic StringSP_SENTSearch parameter constant for sentstatic StringSP_STATUSSearch parameter constant for statusstatic StringSP_SUBJECTSearch parameter constant for subjectstatic ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subject-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description Communication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifierDtaddIdentifier()Adds and returns a new value for identifier ()CommunicationaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier ()CodeableConceptDtaddMedium()Adds and returns a new value for medium ()CommunicationaddMedium(CodeableConceptDt theValue)Adds a given new value for medium ()Communication.PayloadaddPayload()Adds and returns a new value for payload ()CommunicationaddPayload(Communication.Payload theValue)Adds a given new value for payload ()CodeableConceptDtaddReason()Adds and returns a new value for reason ()CommunicationaddReason(CodeableConceptDt theValue)Adds a given new value for reason ()ResourceReferenceDtaddRecipient()Adds and returns a new value for recipient ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)CodeableConceptDtgetCategory()Gets the value(s) for category ().ResourceReferenceDtgetEncounter()Gets the value(s) for encounter ().List<IdentifierDt>getIdentifier()Gets the value(s) for identifier ().IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (), creating it if it does not already exist.List<CodeableConceptDt>getMedium()Gets the value(s) for medium ().CodeableConceptDtgetMediumFirstRep()Gets the first repetition for medium (), creating it if it does not already exist.List<Communication.Payload>getPayload()Gets the value(s) for payload ().Communication.PayloadgetPayloadFirstRep()Gets the first repetition for payload (), creating it if it does not already exist.List<CodeableConceptDt>getReason()Gets the value(s) for reason ().CodeableConceptDtgetReasonFirstRep()Gets the first repetition for reason (), creating it if it does not already exist.DategetReceived()Gets the value(s) for received ().ca.uhn.fhir.model.primitive.DateTimeDtgetReceivedElement()Gets the value(s) for received ().List<ResourceReferenceDt>getRecipient()Gets the value(s) for recipient ().ResourceReferenceDtgetRequestDetail()Gets the value(s) for requestDetail ().StringgetResourceName()ResourceReferenceDtgetSender()Gets the value(s) for sender ().DategetSent()Gets the value(s) for sent ().ca.uhn.fhir.model.primitive.DateTimeDtgetSentElement()Gets the value(s) for sent ().StringgetStatus()Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt<CommunicationStatusEnum>getStatusElement()Gets the value(s) for status ().ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()ResourceReferenceDtgetSubject()Gets the value(s) for subject ().booleanisEmpty()CommunicationsetCategory(CodeableConceptDt theValue)Sets the value(s) for category ()CommunicationsetEncounter(ResourceReferenceDt theValue)Sets the value(s) for encounter ()CommunicationsetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier ()CommunicationsetMedium(List<CodeableConceptDt> theValue)Sets the value(s) for medium ()CommunicationsetPayload(List<Communication.Payload> theValue)Sets the value(s) for payload ()CommunicationsetReason(List<CodeableConceptDt> theValue)Sets the value(s) for reason ()CommunicationsetReceived(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for received ()CommunicationsetReceived(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for received ()CommunicationsetReceivedWithSecondsPrecision(Date theDate)Sets the value for received ()CommunicationsetRecipient(List<ResourceReferenceDt> theValue)Sets the value(s) for recipient ()CommunicationsetRequestDetail(ResourceReferenceDt theValue)Sets the value(s) for requestDetail ()CommunicationsetSender(ResourceReferenceDt theValue)Sets the value(s) for sender ()CommunicationsetSent(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for sent ()CommunicationsetSent(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for sent ()CommunicationsetSentWithSecondsPrecision(Date theDate)Sets the value for sent ()CommunicationsetStatus(CommunicationStatusEnum theValue)Sets the value(s) for status ()CommunicationsetStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<CommunicationStatusEnum> theValue)Sets the value(s) for status ()CommunicationsetSubject(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
-
-
-
-
Field Detail
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: Communication.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: Communication.identifier
-
SP_CATEGORY
public static final String SP_CATEGORY
Search parameter constant for categoryDescription:
Type: token
Path: Communication.category
- See Also:
- Constant Field Values
-
CATEGORY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Fluent Client search parameter constant for categoryDescription:
Type: token
Path: Communication.category
-
SP_SENDER
public static final String SP_SENDER
Search parameter constant for senderDescription:
Type: reference
Path: Communication.sender
- See Also:
- Constant Field Values
-
SENDER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SENDER
Fluent Client search parameter constant for senderDescription:
Type: reference
Path: Communication.sender
-
SP_RECIPIENT
public static final String SP_RECIPIENT
Search parameter constant for recipientDescription:
Type: reference
Path: Communication.recipient
- See Also:
- Constant Field Values
-
RECIPIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECIPIENT
Fluent Client search parameter constant for recipientDescription:
Type: reference
Path: Communication.recipient
-
SP_MEDIUM
public static final String SP_MEDIUM
Search parameter constant for mediumDescription:
Type: token
Path: Communication.medium
- See Also:
- Constant Field Values
-
MEDIUM
public static final ca.uhn.fhir.rest.gclient.TokenClientParam MEDIUM
Fluent Client search parameter constant for mediumDescription:
Type: token
Path: Communication.medium
-
SP_STATUS
public static final String SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: Communication.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: Communication.status
-
SP_ENCOUNTER
public static final String SP_ENCOUNTER
Search parameter constant for encounterDescription:
Type: reference
Path: Communication.encounter
- See Also:
- Constant Field Values
-
ENCOUNTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Fluent Client search parameter constant for encounterDescription:
Type: reference
Path: Communication.encounter
-
SP_SENT
public static final String SP_SENT
Search parameter constant for sentDescription:
Type: date
Path: Communication.sent
- See Also:
- Constant Field Values
-
SENT
public static final ca.uhn.fhir.rest.gclient.DateClientParam SENT
Fluent Client search parameter constant for sentDescription:
Type: date
Path: Communication.sent
-
SP_RECEIVED
public static final String SP_RECEIVED
Search parameter constant for receivedDescription:
Type: date
Path: Communication.received
- See Also:
- Constant Field Values
-
RECEIVED
public static final ca.uhn.fhir.rest.gclient.DateClientParam RECEIVED
Fluent Client search parameter constant for receivedDescription:
Type: date
Path: Communication.received
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter constant for subjectDescription:
Type: reference
Path: Communication.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription:
Type: reference
Path: Communication.subject
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: Communication.subject
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: Communication.subject
-
SP_REQUEST
public static final String SP_REQUEST
Search parameter constant for requestDescription:
Type: reference
Path: Communication.requestDetail
- See Also:
- Constant Field Values
-
REQUEST
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUEST
Fluent Client search parameter constant for requestDescription:
Type: reference
Path: Communication.requestDetail
-
INCLUDE_ENCOUNTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Communication:encounter".
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Communication:patient".
-
INCLUDE_RECIPIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_RECIPIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Communication:recipient".
-
INCLUDE_REQUEST
public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUEST
Constant for fluent queries to be used to add include statements. Specifies the path value of "Communication:request".
-
INCLUDE_SENDER
public static final ca.uhn.fhir.model.api.Include INCLUDE_SENDER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Communication:sender".
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Communication:subject".
-
-
Constructor Detail
-
Communication
public Communication()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
public List<IdentifierDt> 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
public Communication setIdentifier(List<IdentifierDt> theValue)
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
public IdentifierDt 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
public Communication addIdentifier(IdentifierDt theValue)
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
public IdentifierDt 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
public CodeableConceptDt 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
public Communication setCategory(CodeableConceptDt theValue)
Sets the value(s) for category ()Definition: The type of message conveyed such as alert, notification, reminder, instruction, etc.
-
getSender
public ResourceReferenceDt 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
public Communication setSender(ResourceReferenceDt theValue)
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
public List<ResourceReferenceDt> 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
public Communication setRecipient(List<ResourceReferenceDt> theValue)
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
public ResourceReferenceDt 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
public List<Communication.Payload> 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
public Communication setPayload(List<Communication.Payload> theValue)
Sets the value(s) for payload ()Definition: Text, attachment(s), or resource(s) that was communicated to the recipient.
-
addPayload
public Communication.Payload addPayload()
Adds and returns a new value for payload ()Definition: Text, attachment(s), or resource(s) that was communicated to the recipient.
-
addPayload
public Communication addPayload(Communication.Payload theValue)
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
public Communication.Payload 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
public List<CodeableConceptDt> 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
public Communication setMedium(List<CodeableConceptDt> theValue)
Sets the value(s) for medium ()Definition: A channel that was used for this communication (e.g. email, fax).
-
addMedium
public CodeableConceptDt addMedium()
Adds and returns a new value for medium ()Definition: A channel that was used for this communication (e.g. email, fax).
-
addMedium
public Communication addMedium(CodeableConceptDt theValue)
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
public CodeableConceptDt 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
public ca.uhn.fhir.model.primitive.BoundCodeDt<CommunicationStatusEnum> getStatusElement()
Gets the value(s) for status (). creating it if it does not exist. Will not returnnull.Definition: The status of the transmission.
-
getStatus
public String 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
public Communication setStatus(CommunicationStatusEnum theValue)
Sets the value(s) for status ()Definition: The status of the transmission.
-
getEncounter
public ResourceReferenceDt 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
public Communication setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter ()Definition: The encounter within which the communication was sent.
-
getSentElement
public ca.uhn.fhir.model.primitive.DateTimeDt 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
public Date 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
public Communication setSent(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) 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.
-
setSentWithSecondsPrecision
public Communication setSentWithSecondsPrecision(Date theDate)
Sets the value for sent ()Definition: The time when this communication was sent.
-
getReceivedElement
public ca.uhn.fhir.model.primitive.DateTimeDt 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
public Date 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
public Communication setReceived(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) 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.
-
setReceivedWithSecondsPrecision
public Communication setReceivedWithSecondsPrecision(Date theDate)
Sets the value for received ()Definition: The time when this communication arrived at the destination.
-
getReason
public List<CodeableConceptDt> 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
public Communication setReason(List<CodeableConceptDt> theValue)
Sets the value(s) for reason ()Definition: The reason or justification for the communication.
-
addReason
public CodeableConceptDt addReason()
Adds and returns a new value for reason ()Definition: The reason or justification for the communication.
-
addReason
public Communication addReason(CodeableConceptDt theValue)
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
public CodeableConceptDt getReasonFirstRep()
Gets the first repetition for reason (), creating it if it does not already exist.Definition: The reason or justification for the communication.
-
getSubject
public ResourceReferenceDt 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
public Communication setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject ()Definition: The patient who was the focus of this communication.
-
getRequestDetail
public ResourceReferenceDt 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
public Communication setRequestDetail(ResourceReferenceDt theValue)
Sets the value(s) for requestDetail ()Definition: The communication request that was responsible for producing this communication.
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-