Description of what happens behind the scenes in the SSL application in “opret kommunikation”
When the “Medie:” “Kopiér besked til NemSMS?” is checked in the user interface, 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, but if the box is ticked, the payload is what is sent in the SMS, otherwise the SMS just contains a message that the recipient should check for messages.