Skip to main content

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

ParamTypeDescription
operationsOperationsOperations to be performed.

Example

execute(
create('foo'),
delete('bar')
)(state)

encounter(encounterData) ⇒ Operation

Create an encounter

Kind: global function

ParamTypeDescription
encounterDataobjectPayload data for the encounter

Example

execute(
encounter(data)
)(state)