
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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CodeableConceptThe type of message to be sent such as alert, notification, reminder, instruction, etc.protected ReferenceThe encounter within which the communication request was created.protected EncounterThe 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. email, fax).Text, attachment(s), or resource(s) to be communicated to the recipient.protected CodeableConceptCharacterizes how quickly the proposed act must be initiated.protected List<CodeableConcept> The reason or justification for the communication request.The entity (e.g. person, organization, clinical information system, or device) which is the intended target of the communication.The actual objects that are the target of the reference (The entity (e.g.protected DateTimeTypeThe time when the request was made.protected ReferenceThe responsible person who authorizes this order, e.g. physician.protected ResourceThe actual object that is the target of the reference (The responsible person who authorizes this order, e.g. physician.protected TypeThe time when this communication is to occur.protected ReferenceThe entity (e.g. person, organization, clinical information system, or device) which is to be the source of the communication.protected ResourceThe actual object that is the target of the reference (The entity (e.g.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe status of the proposal or order.protected ReferenceThe patient who is the focus of this communication request.protected PatientThe 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, textFields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, metaFields 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_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setCategory(CodeableConcept value) setEncounter(Reference value) setEncounterTarget(Encounter value) setPriority(CodeableConcept value) voidsetProperty(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 CommunicationRequestMethods 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, setTextMethods 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, setMetaMethods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setIdMethods 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, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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:
senderThe 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-senderThe 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:
requesterThe 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-requesterThe 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:
encounterThe 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-encounterThe 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:
subjectThe 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-subjectThe 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:
listChildrenin classDomainResource
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-