Package org.hl7.fhir.dstu2.model
Class CommunicationRequest
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.CommunicationRequest
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
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.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected CodeableConcept
The type of message to be sent such as alert, notification, reminder, instruction, etc.protected Reference
The encounter within which the communication request was created.protected Encounter
The actual object that is the target of the reference (The encounter within which the communication request was created.)protected List
<Identifier> A unique ID of this request for reference purposes.protected List
<CodeableConcept> A channel that was used for this communication (e.g.Text, attachment(s), or resource(s) to be communicated to the recipient.protected CodeableConcept
Characterizes how quickly the proposed act must be initiated.protected List
<CodeableConcept> The reason or justification for the communication request.The entity (e.g.The actual objects that are the target of the reference (The entity (e.g.protected DateTimeType
The time when the request was made.protected Reference
The responsible person who authorizes this order, e.g.protected Resource
The actual object that is the target of the reference (The responsible person who authorizes this order, e.g.protected Type
The time when this communication is to occur.protected Reference
The entity (e.g.protected Resource
The actual object that is the target of the reference (The entity (e.g.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
The status of the proposal or order.protected Reference
The patient who is the focus of this communication request.protected Patient
The actual object that is the target of the reference (The patient who is the focus of this communication request.)Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setCategory
(CodeableConcept value) setEncounter
(Reference value) setEncounterTarget
(Encounter value) setPriority
(CodeableConcept value) void
setProperty
(String name, Base value) setRequestedOn
(Date value) setRequester
(Reference value) setRequesterTarget
(Resource value) setScheduled
(Type value) setSenderTarget
(Resource value) setSubject
(Reference value) setSubjectTarget
(Patient value) protected CommunicationRequest
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
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. -
category
The type of message to be sent such as alert, notification, reminder, instruction, etc. -
sender
The entity (e.g. person, organization, clinical information system, or device) which is to be the source of the communication. -
senderTarget
The actual object that is the target of the reference (The entity (e.g. person, organization, clinical information system, or device) which is to be the source of the communication.) -
recipient
The entity (e.g. person, organization, clinical information system, or device) which is the intended target of the communication. -
recipientTarget
The actual objects that are the target of the reference (The entity (e.g. person, organization, clinical information system, or device) which is the intended target of the communication.) -
payload
Text, attachment(s), or resource(s) to be communicated to the recipient. -
medium
A channel that was used for this communication (e.g. email, fax). -
requester
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. -
requesterTarget
The actual object that is the target of the reference (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.) -
status
The status of the proposal or order. -
encounter
The encounter within which the communication request was created. -
encounterTarget
The actual object that is the target of the reference (The encounter within which the communication request was created.) -
scheduled
The time when this communication is to occur. -
reason
The reason or justification for the communication request. -
requestedOn
The time when the request was made. -
subject
The patient who is the focus of this communication request. -
subjectTarget
The actual object that is the target of the reference (The patient who is the focus of this communication request.) -
priority
Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine. -
SP_REQUESTER
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_SUBJECT
- See Also:
-
SP_MEDIUM
- See Also:
-
SP_ENCOUNTER
- See Also:
-
SP_PRIORITY
- See Also:
-
SP_REQUESTED
- See Also:
-
SP_SENDER
- See Also:
-
SP_PATIENT
- See Also:
-
SP_RECIPIENT
- See Also:
-
SP_TIME
- See Also:
-
SP_CATEGORY
- See Also:
-
SP_STATUS
- See Also:
-
-
Constructor Details
-
CommunicationRequest
public CommunicationRequest()
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(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.)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(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
-
getCategory
- Returns:
category
(The type of message to be sent such as alert, notification, reminder, instruction, etc.)
-
hasCategory
-
setCategory
- Parameters:
value
-category
(The type of message to be sent such as alert, notification, reminder, instruction, etc.)
-
getSender
- Returns:
sender
(The entity (e.g. person, organization, clinical information system, or device) which is to be the source of the communication.)
-
hasSender
-
setSender
- Parameters:
value
-sender
(The entity (e.g. person, organization, clinical information system, or device) which is to be the source of the communication.)
-
getSenderTarget
- Returns:
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 is to be the source of the communication.)
-
setSenderTarget
- Parameters:
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 is to be the source of the communication.)
-
getRecipient
- Returns:
recipient
(The entity (e.g. person, organization, clinical information system, or device) which is the intended target of the communication.)
-
hasRecipient
-
addRecipient
- Returns:
recipient
(The entity (e.g. person, organization, clinical information system, or device) which is the intended target of the communication.)
-
addRecipient
-
getRecipientTarget
- Returns:
recipient
(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. The entity (e.g. person, organization, clinical information system, or device) which is the intended target of the communication.)
-
getPayload
- Returns:
payload
(Text, attachment(s), or resource(s) to be communicated to the recipient.)
-
hasPayload
-
addPayload
- Returns:
payload
(Text, attachment(s), or resource(s) to be communicated to the recipient.)
-
addPayload
-
getMedium
- Returns:
medium
(A channel that was used for this communication (e.g. email, fax).)
-
hasMedium
-
addMedium
- Returns:
medium
(A channel that was used for this communication (e.g. email, fax).)
-
addMedium
-
getRequester
- Returns:
requester
(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.)
-
hasRequester
-
setRequester
- Parameters:
value
-requester
(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.)
-
getRequesterTarget
- Returns:
requester
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 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.)
-
setRequesterTarget
- Parameters:
value
-requester
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 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
- Returns:
status
(The status of the proposal or order.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
public CommunicationRequest setStatusElement(Enumeration<CommunicationRequest.CommunicationRequestStatus> value) - Parameters:
value
-status
(The status of the proposal or order.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- The status of the proposal or order.
-
setStatus
- Parameters:
value
- The status of the proposal or order.
-
getEncounter
- Returns:
encounter
(The encounter within which the communication request was created.)
-
hasEncounter
-
setEncounter
- Parameters:
value
-encounter
(The encounter within which the communication request was created.)
-
getEncounterTarget
- Returns:
encounter
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 request was created.)
-
setEncounterTarget
- Parameters:
value
-encounter
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 request was created.)
-
getScheduled
- Returns:
scheduled
(The time when this communication is to occur.)
-
getScheduledDateTimeType
- Returns:
scheduled
(The time when this communication is to occur.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasScheduledDateTimeType
-
getScheduledPeriod
- Returns:
scheduled
(The time when this communication is to occur.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasScheduledPeriod
-
hasScheduled
-
setScheduled
- Parameters:
value
-scheduled
(The time when this communication is to occur.)
-
getReason
- Returns:
reason
(The reason or justification for the communication request.)
-
hasReason
-
addReason
- Returns:
reason
(The reason or justification for the communication request.)
-
addReason
-
getRequestedOnElement
- Returns:
requestedOn
(The time when the request was made.). This is the underlying object with id, value and extensions. The accessor "getRequestedOn" gives direct access to the value
-
hasRequestedOnElement
-
hasRequestedOn
-
setRequestedOnElement
- Parameters:
value
-requestedOn
(The time when the request was made.). This is the underlying object with id, value and extensions. The accessor "getRequestedOn" gives direct access to the value
-
getRequestedOn
- Returns:
- The time when the request was made.
-
setRequestedOn
- Parameters:
value
- The time when the request was made.
-
getSubject
- Returns:
subject
(The patient who is the focus of this communication request.)
-
hasSubject
-
setSubject
- Parameters:
value
-subject
(The patient who is the focus of this communication request.)
-
getSubjectTarget
- Returns:
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 who is the focus of this communication request.)
-
setSubjectTarget
- Parameters:
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 who is the focus of this communication request.)
-
getPriority
- Returns:
priority
(Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine.)
-
hasPriority
-
setPriority
- Parameters:
value
-priority
(Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine.)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-