Excerpt |
---|
Description of what happens behind the scenes in the SSL application in ““opret “opret kommunikation” |
...
When the “Medie:” “Kopiér besked til NemSMS?” is checked ?
Is it the entered message that is send as SMS, or does the SMS message is a notification that there is a message?
When there in the user interface the “Medie:” “Kopiér besked til NemSMS?” is checked, the SSL backend created FHIR Communication (ehealth-message) with medium set to “NemSMS”. If the box is not ticked, the backend creates a Communication without medium being set.
If a FHIR
...
Communication with medium NemSMS is created, then the content of the SMS corresponds to the payload of the Communication
If a FHIR
...
Communication without medium is created, then the content of the SMS is a notification that there is a message.
This means that no matter if the box is ticked or not an SMS is sent to the recipient, but if the box is ticked, the payload in the “besked“ is what is sent in the SMS, otherwise the SMS contains a message that the recipient should check for messages.