Skip to content

Commit

Permalink
mh
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-reynolds committed May 18, 2024
1 parent 76f7b09 commit fc522fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example-smart-app/src/js/example-smart-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit fc522fa

Please sign in to comment.