...
Code Block |
---|
{ "resourceType": "Parameters", "parameter": [ { "name":"target", "valueReference":{ "identifier":{ "system":"https://fhir.nhs.uk/Id/nhs-number", "value":"5193233945" } } }, { "name": "notificationFlag", "valueCode": "true" } ] } |
Sending a questionnaire to a patient via SMS
PKB does not currently support SMS notifications for questionnaires. However, the ServiceRequest that is returned when API calls to $send-questionnaire-request are made do contain the questionnaire link that patients see in their email notification. Clinical teams can use their own SMS sending capabilities to invite patients to complete the questionnaire, by creating an SMS using this link and sending it to the patient.
Code Block |
---|
"extension": [
{
"url": "http://fhir.patientsknowbest.com/structuredefinition/questionnaire-url",
"valueString": "https://rc.pkb.io/questionnaire?docId=758413f6-324d-485a-a410-498af8ad19ef&patientId=f47f6c38-7d60-4b7b-8cfc-5b7679da0cff&requesterId=85358fbf-5462-43a9-863b-dbee894407d0&questionnaireTitle=Pre-Surgical%20Health%20Information%20and%20BMI%20Questionnaire"
}
] |
Searching for a Questionnaire resource
...