Skip to content

Commit 077210a

Browse files
committed
Modify comments
1 parent e993578 commit 077210a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extractors/FHIRAdverseEventExtractor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const { BaseFHIRExtractor } = require('./BaseFHIRExtractor');
22

3-
const BASE_STUDY = ''; // No base study specified, however a study field is required for Epic calls
3+
const BASE_STUDY = ''; // No base study specified
44

55
class FHIRAdverseEventExtractor extends BaseFHIRExtractor {
66
constructor({ baseFhirUrl, requestHeaders, version, study }) {
@@ -12,7 +12,7 @@ class FHIRAdverseEventExtractor extends BaseFHIRExtractor {
1212
// In addition to default parametrization, add study if specified
1313
async parametrizeArgsForFHIRModule({ mrn, context }) {
1414
const paramsWithID = await super.parametrizeArgsForFHIRModule({ mrn, context });
15-
// Patient is referenced in the 'subject' field of AdverseEvent, which is required for Epic calls
15+
// The patient is referenced in the 'subject' field of an AdverseEvent
1616
paramsWithID.subject = paramsWithID.patient;
1717
delete paramsWithID.patient;
1818
// Only add study to parameters if it has been specified

0 commit comments

Comments
 (0)