File tree Expand file tree Collapse file tree 1 file changed +20
-26
lines changed Expand file tree Collapse file tree 1 file changed +20
-26
lines changed Original file line number Diff line number Diff line change @@ -1251,32 +1251,26 @@ Let's look at the following JSON definition of 'onEvents' to show this:
1251
1251
1252
1252
` ` ` json
1253
1253
{
1254
- "eventsActions": [
1255
- {
1256
- "eventRefs": [
1257
- "HighBodyTemperature",
1258
- "HighBloodPressure"
1259
- ],
1260
- "actions": [
1261
- {
1262
- "functionRef": {
1263
- "refName": "SendTylenolOrder",
1264
- "parameters": {
1265
- "patient": "{{ $.patientId }}"
1266
- }
1267
- }
1268
- },
1269
- {
1270
- "functionRef": {
1271
- "refName": "CallNurse",
1272
- "parameters": {
1273
- "patient": "{{ $.patientId }}"
1274
- }
1275
- }
1276
- }
1277
- ]
1278
- }
1279
- ]
1254
+ "onEvents": [{
1255
+ "eventRefs": ["HighBodyTemperature", "HighBloodPressure"],
1256
+ "actions": [{
1257
+ "functionRef": {
1258
+ "refName": "SendTylenolOrder",
1259
+ "parameters": {
1260
+ "patient": "{{ $.patientId }}"
1261
+ }
1262
+ }
1263
+ },
1264
+ {
1265
+ "functionRef": {
1266
+ "refName": "CallNurse",
1267
+ "parameters": {
1268
+ "patient": "{{ $.patientId }}"
1269
+ }
1270
+ }
1271
+ }
1272
+ ]
1273
+ }]
1280
1274
}
1281
1275
` ` `
1282
1276
You can’t perform that action at this time.
0 commit comments