Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion healthcare/fhir/executeFhirBundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ function main(
scopes: ['https://www.googleapis.com/auth/cloud-platform'],
}),
headers: {'Content-Type': 'application/fhir+json'},
responseType: 'json',
});
const fs = require('fs');

Expand All @@ -50,7 +51,7 @@ function main(
request
);
console.log('FHIR bundle executed');
console.log(resource.data);
console.log(JSON.stringify(resource.data, null, 2));
Comment thread
angelcaamal marked this conversation as resolved.
Outdated
}

executeFhirBundle();
Expand Down
Loading