Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property

Required by PSI?

Notes

PSI tags

Status
colourGreen
titleYes
[psi/fhir]

Country ISO-2 3 codeProject Code

/wiki/spaces/DHM/pages/13992045

PENDING: implementation of this property

Status
colourYellow
titleoptional
[psi/fhir]

status

Status
colourGreen
titleREQUIRED
[fhir]

preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
EventStatus (Required)

priority

Status
colourGreen
titleREQUIRED
[fhir]

routine | urgent | asap | stat
RequestPriority (Required)

medium

Status
colourGreen
titleREQUIRED
[PSI/fhir]

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": "APPWRIT" },
  "text": "whatsapp"
}]

subject

Status
colourGreen
titleREQUIRED
[PSI/fhir]

Focus of message. ReferenceRefers to the patient (client) resource id that the voucher was assigned to

Code Block
"subject": {
    "reference": "fhir/Patient/446",
    "type": "Patient"
},

sent

Status
colourGreen
titleREQUIRED
[PSI/fhir]

When sent (datetime YYYY-MM-DDThh:mm:ss+zz:zz)

received

Status
colourGreen
titleREQUIRED

When received(datetime YYYY-MM-DDThh:mm:ss+zz:z)

recipient

Status
colourGreen
titleREQUIRED
[psi]

Message recipient. Reference Array.

Code Block
"recipient": [{
    "reference": "fhir/Patient/446",
    "type": "Patient"
}]

payload

Status
colourGreen
titleREQUIRED
[PSI/fhir]

Mesage payload (the message body). The message body is splitted in parts. This is useful for SMS (if we want to send a long message, we have to send multiple sms).

Code Block
"payload": [
    {
        "contentString": "Hi, I´m a test message from FHIR"
    }
]

How to use this in PSI.

This messages will be created to send notifications to the patients, org Units, or people related the projects. In some cases the communication will be created in the applications (send a voucher code notification, to welcome someone to a service, receive some message from a patient, give a response when service receives a messages or to generate a message from a reminder (CommunicationRequest)