From fc522fa658128fc1abdbfba4de0422cdbb3f2ce5 Mon Sep 17 00:00:00 2001 From: rob-reynolds Date: Sat, 18 May 2024 09:57:54 -0500 Subject: [PATCH] mh --- example-smart-app/src/js/example-smart-app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example-smart-app/src/js/example-smart-app.js b/example-smart-app/src/js/example-smart-app.js index 3e47a318b7..c0c19fe8ce 100644 --- a/example-smart-app/src/js/example-smart-app.js +++ b/example-smart-app/src/js/example-smart-app.js @@ -190,8 +190,8 @@ function submitQuestionnaire(patientId) { console.log("Questionnaire Response:", questionnaireResponse); - // Submit the QuestionnaireResponse to the FHIR endpoint - fetch('https://interop.salessbx.smiledigitalhealth.com/fhir-request/QuestionnaireResponse', { + // Submit the QuestionnaireResponse to the FHIR endpoint using PUT method + fetch('https://interop.salessbx.smiledigitalhealth.com/fhir-request/QuestionnaireResponse/312M-r', { method: 'PUT', headers: { 'Content-Type': 'application/fhir+json'