Class 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
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: CommunicationRequest.payload () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for categorystatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for encounterstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for mediumstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for prioritystatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for recipientstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for requestedstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for requesterstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for senderstatic final String
Search parameter constant for categorystatic final String
Search parameter constant for encounterstatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for mediumstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for prioritystatic final String
Search parameter constant for recipientstatic final String
Search parameter constant for requestedstatic final String
Search parameter constant for requesterstatic final String
Search parameter constant for senderstatic final String
Search parameter constant for statusstatic final String
Search parameter constant for subjectstatic final String
Search parameter constant for timestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for timeFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for identifier ()addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier ()Adds and returns a new value for medium ()addMedium
(CodeableConceptDt theValue) Adds a given new value for medium ()Adds and returns a new value for payload ()addPayload
(CommunicationRequest.Payload theValue) Adds a given new value for payload ()Adds and returns a new value for reason ()addReason
(CodeableConceptDt theValue) Adds a given new value for reason ()Adds and returns a new value for recipient ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for category ().Gets the value(s) for encounter ().Gets the value(s) for identifier ().Gets the first repetition for identifier (), creating it if it does not already exist.Gets the value(s) for medium ().Gets the first repetition for medium (), creating it if it does not already exist.Gets the value(s) for payload ().Gets the first repetition for payload (), creating it if it does not already exist.Gets the value(s) for priority ().Gets the value(s) for reason ().Gets the first repetition for reason (), creating it if it does not already exist.Gets the value(s) for recipient ().Gets the value(s) for requestedOn ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for requestedOn ().Gets the value(s) for requester ().ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for scheduled[x] ().Gets the value(s) for sender ().Gets the value(s) for status ().ca.uhn.fhir.model.primitive.BoundCodeDt
<CommunicationRequestStatusEnum> Gets the value(s) for status ().ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for subject ().boolean
isEmpty()
setCategory
(CodeableConceptDt theValue) Sets the value(s) for category ()setEncounter
(ResourceReferenceDt theValue) Sets the value(s) for encounter ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier ()setMedium
(List<CodeableConceptDt> theValue) Sets the value(s) for medium ()setPayload
(List<CommunicationRequest.Payload> theValue) Sets the value(s) for payload ()setPriority
(CodeableConceptDt theValue) Sets the value(s) for priority ()setReason
(List<CodeableConceptDt> theValue) Sets the value(s) for reason ()setRecipient
(List<ResourceReferenceDt> theValue) Sets the value(s) for recipient ()setRequestedOn
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for requestedOn ()setRequestedOn
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for requestedOn ()setRequestedOnWithSecondsPrecision
(Date theDate) Sets the value for requestedOn ()setRequester
(ResourceReferenceDt theValue) Sets the value(s) for requester ()setScheduled
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for scheduled[x] ()setSender
(ResourceReferenceDt theValue) Sets the value(s) for sender ()setStatus
(CommunicationRequestStatusEnum theValue) Sets the value(s) for status ()setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<CommunicationRequestStatusEnum> theValue) Sets the value(s) for status ()setSubject
(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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: CommunicationRequest.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: CommunicationRequest.identifier
-
SP_CATEGORY
Search parameter constant for categoryDescription:
Type: token
Path: CommunicationRequest.category
- See Also:
-
CATEGORY
Fluent Client search parameter constant for categoryDescription:
Type: token
Path: CommunicationRequest.category
-
SP_SENDER
Search parameter constant for senderDescription:
Type: reference
Path: CommunicationRequest.sender
- See Also:
-
SENDER
Fluent Client search parameter constant for senderDescription:
Type: reference
Path: CommunicationRequest.sender
-
SP_RECIPIENT
Search parameter constant for recipientDescription:
Type: reference
Path: CommunicationRequest.recipient
- See Also:
-
RECIPIENT
Fluent Client search parameter constant for recipientDescription:
Type: reference
Path: CommunicationRequest.recipient
-
SP_MEDIUM
Search parameter constant for mediumDescription:
Type: token
Path: CommunicationRequest.medium
- See Also:
-
MEDIUM
Fluent Client search parameter constant for mediumDescription:
Type: token
Path: CommunicationRequest.medium
-
SP_REQUESTER
Search parameter constant for requesterDescription:
Type: reference
Path: CommunicationRequest.requester
- See Also:
-
REQUESTER
Fluent Client search parameter constant for requesterDescription:
Type: reference
Path: CommunicationRequest.requester
-
SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: CommunicationRequest.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: CommunicationRequest.status
-
SP_ENCOUNTER
Search parameter constant for encounterDescription:
Type: reference
Path: CommunicationRequest.encounter
- See Also:
-
ENCOUNTER
Fluent Client search parameter constant for encounterDescription:
Type: reference
Path: CommunicationRequest.encounter
-
SP_TIME
Search parameter constant for timeDescription:
Type: date
Path: CommunicationRequest.scheduledDateTime
- See Also:
-
TIME
Fluent Client search parameter constant for timeDescription:
Type: date
Path: CommunicationRequest.scheduledDateTime
-
SP_REQUESTED
Search parameter constant for requestedDescription:
Type: date
Path: CommunicationRequest.requestedOn
- See Also:
-
REQUESTED
Fluent Client search parameter constant for requestedDescription:
Type: date
Path: CommunicationRequest.requestedOn
-
SP_SUBJECT
Search parameter constant for subjectDescription:
Type: reference
Path: CommunicationRequest.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription:
Type: reference
Path: CommunicationRequest.subject
-
SP_PRIORITY
Search parameter constant for priorityDescription:
Type: token
Path: CommunicationRequest.priority
- See Also:
-
PRIORITY
Fluent Client search parameter constant for priorityDescription:
Type: token
Path: CommunicationRequest.priority
-
SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: CommunicationRequest.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: CommunicationRequest.subject
-
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "CommunicationRequest:encounter". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "CommunicationRequest:patient". -
INCLUDE_RECIPIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "CommunicationRequest:recipient". -
INCLUDE_REQUESTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "CommunicationRequest:requester". -
INCLUDE_SENDER
Constant for fluent queries to be used to add include statements. Specifies the path value of "CommunicationRequest:sender". -
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "CommunicationRequest:subject".
-
-
Constructor Details
-
CommunicationRequest
public CommunicationRequest()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
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
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
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
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
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
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
Sets the value(s) for category ()Definition: The type of message to be sent such as alert, notification, reminder, instruction, etc.
-
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
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
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
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
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
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
Sets the value(s) for payload ()Definition: Text, attachment(s), or resource(s) to be communicated to the recipient
-
addPayload
Adds and returns a new value for payload ()Definition: Text, attachment(s), or resource(s) to be communicated to the recipient
-
addPayload
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
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
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
Sets the value(s) for medium ()Definition: A channel that was used for this communication (e.g. email, fax).
-
addMedium
Adds and returns a new value for medium ()Definition: A channel that was used for this communication (e.g. email, fax).
-
addMedium
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
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
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
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
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
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
Sets the value(s) for status ()Definition: The status of the proposal or order.
-
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
Sets the value(s) for encounter ()Definition: The encounter within which the communication request was created.
-
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
Sets the value(s) for scheduled[x] ()Definition: The time when this communication is to occur.
-
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
Sets the value(s) for reason ()Definition: The reason or justification for the communication request.
-
addReason
Adds and returns a new value for reason ()Definition: The reason or justification for the communication request.
-
addReason
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
Gets the first repetition for reason (), creating it if it does not already exist.Definition: The reason or justification for the communication request.
-
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
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
Sets the value(s) for requestedOn ()Definition: The time when the request was made.
-
setRequestedOnWithSecondsPrecision
Sets the value 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.
-
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
Sets the value(s) for subject ()Definition: The patient who is the focus of this communication request.
-
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
Sets the value(s) for priority ()Definition: Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine.
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-