Class CommunicationRequest
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.CommunicationRequest
-
- 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 CommunicationRequest extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR CommunicationRequest Resource ()Definition: A request to convey information; e.g. the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/CommunicationRequest
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommunicationRequest.PayloadBlock class for child element: CommunicationRequest.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_REQUESTERConstant 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.TokenClientParamPRIORITYFluent Client search parameter constant for prioritystatic ca.uhn.fhir.rest.gclient.ReferenceClientParamRECIPIENTFluent Client search parameter constant for recipientstatic ca.uhn.fhir.rest.gclient.DateClientParamREQUESTEDFluent Client search parameter constant for requestedstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamREQUESTERFluent Client search parameter constant for requesterstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSENDERFluent Client search parameter constant for senderstatic 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_PRIORITYSearch parameter constant for prioritystatic StringSP_RECIPIENTSearch parameter constant for recipientstatic StringSP_REQUESTEDSearch parameter constant for requestedstatic StringSP_REQUESTERSearch parameter constant for requesterstatic StringSP_SENDERSearch parameter constant for senderstatic StringSP_STATUSSearch parameter constant for statusstatic StringSP_SUBJECTSearch parameter constant for subjectstatic StringSP_TIMESearch parameter constant for timestatic ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectstatic ca.uhn.fhir.rest.gclient.DateClientParamTIMEFluent Client search parameter constant for time-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description CommunicationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifierDtaddIdentifier()Adds and returns a new value for identifier ()CommunicationRequestaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier ()CodeableConceptDtaddMedium()Adds and returns a new value for medium ()CommunicationRequestaddMedium(CodeableConceptDt theValue)Adds a given new value for medium ()CommunicationRequest.PayloadaddPayload()Adds and returns a new value for payload ()CommunicationRequestaddPayload(CommunicationRequest.Payload theValue)Adds a given new value for payload ()CodeableConceptDtaddReason()Adds and returns a new value for reason ()CommunicationRequestaddReason(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<CommunicationRequest.Payload>getPayload()Gets the value(s) for payload ().CommunicationRequest.PayloadgetPayloadFirstRep()Gets the first repetition for payload (), creating it if it does not already exist.CodeableConceptDtgetPriority()Gets the value(s) for priority ().List<CodeableConceptDt>getReason()Gets the value(s) for reason ().CodeableConceptDtgetReasonFirstRep()Gets the first repetition for reason (), creating it if it does not already exist.List<ResourceReferenceDt>getRecipient()Gets the value(s) for recipient ().DategetRequestedOn()Gets the value(s) for requestedOn ().ca.uhn.fhir.model.primitive.DateTimeDtgetRequestedOnElement()Gets the value(s) for requestedOn ().ResourceReferenceDtgetRequester()Gets the value(s) for requester ().StringgetResourceName()ca.uhn.fhir.model.api.IDatatypegetScheduled()Gets the value(s) for scheduled[x] ().ResourceReferenceDtgetSender()Gets the value(s) for sender ().StringgetStatus()Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt<CommunicationRequestStatusEnum>getStatusElement()Gets the value(s) for status ().ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()ResourceReferenceDtgetSubject()Gets the value(s) for subject ().booleanisEmpty()CommunicationRequestsetCategory(CodeableConceptDt theValue)Sets the value(s) for category ()CommunicationRequestsetEncounter(ResourceReferenceDt theValue)Sets the value(s) for encounter ()CommunicationRequestsetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier ()CommunicationRequestsetMedium(List<CodeableConceptDt> theValue)Sets the value(s) for medium ()CommunicationRequestsetPayload(List<CommunicationRequest.Payload> theValue)Sets the value(s) for payload ()CommunicationRequestsetPriority(CodeableConceptDt theValue)Sets the value(s) for priority ()CommunicationRequestsetReason(List<CodeableConceptDt> theValue)Sets the value(s) for reason ()CommunicationRequestsetRecipient(List<ResourceReferenceDt> theValue)Sets the value(s) for recipient ()CommunicationRequestsetRequestedOn(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for requestedOn ()CommunicationRequestsetRequestedOn(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for requestedOn ()CommunicationRequestsetRequestedOnWithSecondsPrecision(Date theDate)Sets the value for requestedOn ()CommunicationRequestsetRequester(ResourceReferenceDt theValue)Sets the value(s) for requester ()CommunicationRequestsetScheduled(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for scheduled[x] ()CommunicationRequestsetSender(ResourceReferenceDt theValue)Sets the value(s) for sender ()CommunicationRequestsetStatus(CommunicationRequestStatusEnum theValue)Sets the value(s) for status ()CommunicationRequestsetStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<CommunicationRequestStatusEnum> theValue)Sets the value(s) for status ()CommunicationRequestsetSubject(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: CommunicationRequest.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: CommunicationRequest.identifier
-
SP_CATEGORY
public static final String SP_CATEGORY
Search parameter constant for categoryDescription:
Type: token
Path: CommunicationRequest.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: CommunicationRequest.category
-
SP_SENDER
public static final String SP_SENDER
Search parameter constant for senderDescription:
Type: reference
Path: CommunicationRequest.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: CommunicationRequest.sender
-
SP_RECIPIENT
public static final String SP_RECIPIENT
Search parameter constant for recipientDescription:
Type: reference
Path: CommunicationRequest.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: CommunicationRequest.recipient
-
SP_MEDIUM
public static final String SP_MEDIUM
Search parameter constant for mediumDescription:
Type: token
Path: CommunicationRequest.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: CommunicationRequest.medium
-
SP_REQUESTER
public static final String SP_REQUESTER
Search parameter constant for requesterDescription:
Type: reference
Path: CommunicationRequest.requester
- See Also:
- Constant Field Values
-
REQUESTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER
Fluent Client search parameter constant for requesterDescription:
Type: reference
Path: CommunicationRequest.requester
-
SP_STATUS
public static final String SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: CommunicationRequest.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: CommunicationRequest.status
-
SP_ENCOUNTER
public static final String SP_ENCOUNTER
Search parameter constant for encounterDescription:
Type: reference
Path: CommunicationRequest.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: CommunicationRequest.encounter
-
SP_TIME
public static final String SP_TIME
Search parameter constant for timeDescription:
Type: date
Path: CommunicationRequest.scheduledDateTime
- See Also:
- Constant Field Values
-
TIME
public static final ca.uhn.fhir.rest.gclient.DateClientParam TIME
Fluent Client search parameter constant for timeDescription:
Type: date
Path: CommunicationRequest.scheduledDateTime
-
SP_REQUESTED
public static final String SP_REQUESTED
Search parameter constant for requestedDescription:
Type: date
Path: CommunicationRequest.requestedOn
- See Also:
- Constant Field Values
-
REQUESTED
public static final ca.uhn.fhir.rest.gclient.DateClientParam REQUESTED
Fluent Client search parameter constant for requestedDescription:
Type: date
Path: CommunicationRequest.requestedOn
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter constant for subjectDescription:
Type: reference
Path: CommunicationRequest.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: CommunicationRequest.subject
-
SP_PRIORITY
public static final String SP_PRIORITY
Search parameter constant for priorityDescription:
Type: token
Path: CommunicationRequest.priority
- See Also:
- Constant Field Values
-
PRIORITY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY
Fluent Client search parameter constant for priorityDescription:
Type: token
Path: CommunicationRequest.priority
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: CommunicationRequest.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: CommunicationRequest.subject
-
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 "CommunicationRequest: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 "CommunicationRequest: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 "CommunicationRequest:recipient".
-
INCLUDE_REQUESTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "CommunicationRequest:requester".
-
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 "CommunicationRequest: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 "CommunicationRequest:subject".
-
-
Constructor Detail
-
CommunicationRequest
public CommunicationRequest()
-
-
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: A unique ID of this request for reference purposes. It must be provided if user wants it returned as part of any output, otherwise it will be autogenerated, if needed, by CDS system. Does not need to be the actual ID of the source system.
-
setIdentifier
public CommunicationRequest setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier ()Definition: A unique ID of this request for reference purposes. It must be provided if user wants it returned as part of any output, otherwise it will be autogenerated, if needed, by CDS system. Does not need to be the actual ID of the source system.
-
addIdentifier
public IdentifierDt addIdentifier()
Adds and returns a new value for identifier ()Definition: A unique ID of this request for reference purposes. It must be provided if user wants it returned as part of any output, otherwise it will be autogenerated, if needed, by CDS system. Does not need to be the actual ID of the source system.
-
addIdentifier
public CommunicationRequest addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier ()Definition: A unique ID of this request for reference purposes. It must be provided if user wants it returned as part of any output, otherwise it will be autogenerated, if needed, by CDS system. Does not need to be the actual ID of the source system.
- 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: A unique ID of this request for reference purposes. It must be provided if user wants it returned as part of any output, otherwise it will be autogenerated, if needed, by CDS system. Does not need to be the actual ID of the source system.
-
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 to be sent such as alert, notification, reminder, instruction, etc.
-
setCategory
public CommunicationRequest setCategory(CodeableConceptDt theValue)
Sets the value(s) for category ()Definition: The type of message to be sent 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 is to be the source of the communication
-
setSender
public CommunicationRequest setSender(ResourceReferenceDt theValue)
Sets the value(s) for sender ()Definition: The entity (e.g. person, organization, clinical information system, or device) which is to be 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 is the intended target of the communication
-
setRecipient
public CommunicationRequest setRecipient(List<ResourceReferenceDt> theValue)
Sets the value(s) for recipient ()Definition: The entity (e.g. person, organization, clinical information system, or device) which is the intended target of the communication
-
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 is the intended target of the communication
-
getPayload
public List<CommunicationRequest.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) to be communicated to the recipient
-
setPayload
public CommunicationRequest setPayload(List<CommunicationRequest.Payload> theValue)
Sets the value(s) for payload ()Definition: Text, attachment(s), or resource(s) to be communicated to the recipient
-
addPayload
public CommunicationRequest.Payload addPayload()
Adds and returns a new value for payload ()Definition: Text, attachment(s), or resource(s) to be communicated to the recipient
-
addPayload
public CommunicationRequest addPayload(CommunicationRequest.Payload theValue)
Adds a given new value for payload ()Definition: Text, attachment(s), or resource(s) to be communicated to the recipient
- Parameters:
theValue- The payload to add (must not benull)
-
getPayloadFirstRep
public CommunicationRequest.Payload getPayloadFirstRep()
Gets the first repetition for payload (), creating it if it does not already exist.Definition: Text, attachment(s), or resource(s) to be 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 CommunicationRequest 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 CommunicationRequest 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).
-
getRequester
public ResourceReferenceDt getRequester()
Gets the value(s) for requester (). creating it if it does not exist. Will not returnnull.Definition: The responsible person who authorizes this order, e.g. physician. This may be different than the author of the order statement, e.g. clerk, who may have entered the statement into the order entry application.
-
setRequester
public CommunicationRequest setRequester(ResourceReferenceDt theValue)
Sets the value(s) for requester ()Definition: The responsible person who authorizes this order, e.g. physician. This may be different than the author of the order statement, e.g. clerk, who may have entered the statement into the order entry application.
-
getStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<CommunicationRequestStatusEnum> getStatusElement()
Gets the value(s) for status (). creating it if it does not exist. Will not returnnull.Definition: The status of the proposal or order.
-
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 proposal or order.
-
setStatus
public CommunicationRequest setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<CommunicationRequestStatusEnum> theValue)
Sets the value(s) for status ()Definition: The status of the proposal or order.
-
setStatus
public CommunicationRequest setStatus(CommunicationRequestStatusEnum theValue)
Sets the value(s) for status ()Definition: The status of the proposal or order.
-
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 request was created.
-
setEncounter
public CommunicationRequest setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter ()Definition: The encounter within which the communication request was created.
-
getScheduled
public ca.uhn.fhir.model.api.IDatatype getScheduled()
Gets the value(s) for scheduled[x] (). creating it if it does not exist. Will not returnnull.Definition: The time when this communication is to occur.
-
setScheduled
public CommunicationRequest setScheduled(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for scheduled[x] ()Definition: The time when this communication is to occur.
-
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 request.
-
setReason
public CommunicationRequest setReason(List<CodeableConceptDt> theValue)
Sets the value(s) for reason ()Definition: The reason or justification for the communication request.
-
addReason
public CodeableConceptDt addReason()
Adds and returns a new value for reason ()Definition: The reason or justification for the communication request.
-
addReason
public CommunicationRequest addReason(CodeableConceptDt theValue)
Adds a given new value for reason ()Definition: The reason or justification for the communication request.
- 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 request.
-
getRequestedOnElement
public ca.uhn.fhir.model.primitive.DateTimeDt getRequestedOnElement()
Gets the value(s) for requestedOn (). creating it if it does not exist. Will not returnnull.Definition: The time when the request was made.
-
getRequestedOn
public Date getRequestedOn()
Gets the value(s) for requestedOn (). creating it if it does not exist. This method may returnnull.Definition: The time when the request was made.
-
setRequestedOn
public CommunicationRequest setRequestedOn(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for requestedOn ()Definition: The time when the request was made.
-
setRequestedOn
public CommunicationRequest setRequestedOn(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for requestedOn ()Definition: The time when the request was made.
-
setRequestedOnWithSecondsPrecision
public CommunicationRequest setRequestedOnWithSecondsPrecision(Date theDate)
Sets the value for requestedOn ()Definition: The time when the request was made.
-
getSubject
public ResourceReferenceDt getSubject()
Gets the value(s) for subject (). creating it if it does not exist. Will not returnnull.Definition: The patient who is the focus of this communication request.
-
setSubject
public CommunicationRequest setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject ()Definition: The patient who is the focus of this communication request.
-
getPriority
public CodeableConceptDt getPriority()
Gets the value(s) for priority (). creating it if it does not exist. Will not returnnull.Definition: Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine.
-
setPriority
public CommunicationRequest setPriority(CodeableConceptDt theValue)
Sets the value(s) for priority ()Definition: Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine.
-
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
-
-