FHIR resource link | |||
FHIR 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. This resource is a record of a request for a communication to be performed. A communication is a conveyance of information from one entity, a sender, to another entity, a receiver. The requester requests the sender to send the payload to the recipient. | ||
PSI use cases | Communication use cases include:
| ||
required properties | see below | ||
Extensions | Implemented: none Under consideration:
| ||
Sample payload (minimum set) |
|
Notes for CommunicationRequest FHIR resource, per property
Property | Required by PSI? | Notes | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSI tags |
| /wiki/spaces/DHM/pages/13992045 PENDING: implementation of this property | ||||||||||||
status | ||||||||||||||
|
Status | ||||
---|---|---|---|---|
Status | ||||
|
preparation draft | in-progress | not-done | active | on-hold | stopped revoked | completed | entered-in-error | unknown
EventStatus (Required)
active: pending to be send
revoked: canceled (no need to send this message)
completed: message sent
Flow:
active--> completed
active → revoked
priority
Status | ||||
---|---|---|---|---|
|
routine | urgent | asap | stat
RequestPriority (Required)
medium
Status | ||||
---|---|---|---|---|
|
A channel of communication. We can use one of these codes: SMSWRIT or APPWRIT. In the future we could use another codes (https://terminology.hl7.org/3.1.0/ValueSet-v3-ParticipationMode.html)
example for social media (code APPWRIT):
Code Block |
---|
[{ "coding": { "code": "APPWRITSMSWRIT" }, "text": "whatsappSMS" }] |
subjectsender
Status | ||||
---|---|---|---|---|
|
Focus of message. Reference
Code Block |
---|
"sender": {
"reference": "Organization/447",
"type": "Organization"
}, |
subject
Status | ||||
---|---|---|---|---|
|
Refers to the patient (client) resource id that the voucher was assigned to
Code Block |
---|
"subject": {
"reference": "fhir/Patient/446",
"type": "Patient"
}, |
sent
Status | ||||
---|---|---|---|---|
|
When sent (datetime YYYY-MM-DDThh:mm:ss+zz:zz
)
receivedoccurrenceDateTime
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
When receivedscheduled (datetime YYYY-MM-DDThh:mm:ss+zz:z
)
Required One of both: occurrenceDateTime or occurrencePeriod
occurrencePeriod
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
When scheduled (Period)
Required One of both: occurrenceDateTime or occurrencePeriod
recipient
Status | ||||
---|---|---|---|---|
|
Message recipient. Reference Array.
Code Block |
---|
"recipient": [{ "reference": "fhir/Patient/446", "type": "Patient" }] |
payload
Status | ||||
---|---|---|---|---|
|
Mesage Message payload template(the message body).
We have to send 2 elements.
The
first one is reserved to give information about term or plattform that contains the message/template.
The second one can be a text or a template. Related the template we have to explain all the possibilities and how to write them.
Code Block |
---|
"payload": [{ {"contentString": "" }, { "contentString": "Hi {{patient.firstName}}, I´m a test message from FHIR" } ] |
How to use this in PSI.
...
topic | Keyword to be able to relocate the message at a later state |