File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
const { BaseFHIRExtractor } = require ( './BaseFHIRExtractor' ) ;
2
2
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
4
4
5
5
class FHIRAdverseEventExtractor extends BaseFHIRExtractor {
6
6
constructor ( { baseFhirUrl, requestHeaders, version, study } ) {
@@ -12,7 +12,7 @@ class FHIRAdverseEventExtractor extends BaseFHIRExtractor {
12
12
// In addition to default parametrization, add study if specified
13
13
async parametrizeArgsForFHIRModule ( { mrn, context } ) {
14
14
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
16
16
paramsWithID . subject = paramsWithID . patient ;
17
17
delete paramsWithID . patient ;
18
18
// Only add study to parameters if it has been specified
You can’t perform that action at this time.
0 commit comments