openhim@0.1.3
Functions
- execute(operations) ⇒
Operation
Execute a sequence of operations. Wraps
language-common/execute
, and prepends initial state for openhim.- encounter(encounterData) ⇒
Operation
Create an encounter
execute(operations) ⇒ Operation
Execute a sequence of operations.
Wraps language-common/execute
, and prepends initial state for openhim.
Kind: global function
Param | Type | Description |
---|---|---|
operations | Operations | Operations to be performed. |
Example
execute(
create('foo'),
delete('bar')
)(state)
encounter(encounterData) ⇒ Operation
Create an encounter
Kind: global function
Param | Type | Description |
---|---|---|
encounterData | object | Payload data for the encounter |
Example
execute(
encounter(data)
)(state)