3.2.10 • Published 4 months ago

@synanetics/messaging-processor v3.2.10

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
4 months ago

@synanetics/messaging-processor

Processors to manage FHIR MessageHeader Bundle workflows

Usage

const { preProcess, postProcess } = require('@synanetics/messaging-processor');
// use a required

Both preProcess and postProcess require parameters context and params. Please see the available types for further details

Replacement

It is intended that this package can be replaced by another. Any replacement must export two named functions preProcess and postProcess and they must adhere to the interfaces outlined below.

Pre Processing

preProcess

  • will receive params
  • must return results - see type ProcessorResult
    • message will be your modified request Bundle
    • additionalResources must be populated with any resources subject to create/update operations that are not already in the request Bundle. This is vitally important as failure to include this will result in removal of the modified resources entirely.

Post Processing

postProcess

  • will receive params
    • context - see type Context
    • params - see type PostProcessorMessage
      • message - this is the Response bundle being sent back
      • request - this is the original Request bundle - you will use this to determine flow hooks if necessary
  • must return results - see type ProcessorResult
    • message will be your modified response Bundle
    • additionalResources must be populated with any resources subject to create/update operations that were not already in the request Bundle. This is vitally important as failure to include this will result in removal of the modified resources entirely.
3.2.10

4 months ago

3.2.10-beta.0

4 months ago

3.2.8-beta.0

6 months ago

3.2.6

7 months ago

3.2.5

7 months ago

3.2.9

6 months ago

3.2.9-beta.0

6 months ago

3.2.7-beta.0

7 months ago

3.2.8

6 months ago

3.2.7-beta.5

7 months ago

3.2.7-beta.6

7 months ago

3.2.7-beta.3

7 months ago

3.2.7-beta.4

7 months ago

3.2.7-beta.1

7 months ago

3.2.7-beta.2

7 months ago

3.2.4

8 months ago

3.2.3

8 months ago

3.2.3-beta.1

8 months ago

3.2.2

8 months ago

3.2.2-beta.4

8 months ago

3.2.2-beta.0

8 months ago

3.2.2-beta.1

8 months ago

3.2.2-beta.2

8 months ago

3.2.2-beta.3

8 months ago

3.2.1

9 months ago

3.2.0

9 months ago

3.1.0

10 months ago

3.0.1

10 months ago

3.0.0

10 months ago

2.8.4

10 months ago

2.8.3

10 months ago

2.8.2

10 months ago

2.8.1

10 months ago

2.8.0

11 months ago

2.7.2

11 months ago

2.7.1

11 months ago

2.7.0

11 months ago

2.6.1

11 months ago

2.6.0

11 months ago

2.5.0

11 months ago

2.4.0

11 months ago

2.3.4

11 months ago

2.3.3

11 months ago

2.3.2

12 months ago

2.3.1

12 months ago

2.3.0

12 months ago

2.2.1

12 months ago

2.2.0

12 months ago

2.1.0

12 months ago

2.0.1

12 months ago

2.0.0

12 months ago

1.1.2

12 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago