Skip to content

Commit

Permalink
uncomment create events
Browse files Browse the repository at this point in the history
  • Loading branch information
mtuchi committed Oct 1, 2024
1 parent 1509e79 commit f1ec128
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions workflows/wf2/6-create-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ fn(state => {
});

//Create events for each encounter
// each(
// '$.encountersMapping[*]',
// create('events', $.data, {
// params: {
// dataElementIdScheme: 'UID',
// },
// })
// );

// // Return only lastRunDateTime
// fn(({ lastRunDateTime }) => ({ lastRunDateTime }));
each(
'$.encountersMapping[*]',
create('events', $.data, {
params: {
dataElementIdScheme: 'UID',
},
})
);

// Return only lastRunDateTime
fn(({ lastRunDateTime }) => ({ lastRunDateTime }));

0 comments on commit f1ec128

Please sign in to comment.