Skip to content

Commit 94df556

Browse files
committed
Add note about async function that awaits nothing. For now.
1 parent 232e1ec commit 94df556

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/extractors/BaseFHIRExtractor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class BaseFHIRExtractor extends Extractor {
1818

1919
/* eslint-disable class-methods-use-this */
2020
// Use context to get PatientId by default; common need across almost all extractors
21+
// NOTE: Async because other extractors that extend this may need to make async lookups in the future
2122
async parametrizeArgsForFHIRModule({ mrn, context }) {
2223
const patient = getPatientFromContext(mrn, context);
2324
return { patient: patient.id };

0 commit comments

Comments
 (0)