Skip to content

Commit 1b689a5

Browse files
authored
Update src/helpers/contextUtils.js
1 parent 0376fbb commit 1b689a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/helpers/contextUtils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ const logger = require('./logger');
22
const { getBundleResourcesByType } = require('./fhirUtils');
33

44
async function getPatientFromContext(mrn, context) {
5+
logger.debug('Getting patient from context');
56
const patientInContext = getBundleResourcesByType(context, 'Patient', {}, true);
67
if (!patientInContext) {
78
throw Error('Could not find a patient in context; ensure that a PatientExtractor is used earlier in your extraction configuration');

0 commit comments

Comments
 (0)