Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.96 KB

File metadata and controls

22 lines (17 loc) · 1.96 KB

Task

The FHIR Task resource enables the DSF's distributed communication. Whenever a BPMN process instance communicates with a different process instance, the DSF will create a Task resource based on parameters you set in the BPMN model and during execution. It will then automatically send the Task resource to the recipient to start or continue whatever process the Task resource referred to. All Task resources used in the DSF derive from the dsf-task-base. This profile includes a splicing for Task.input with three additional Input Parameters:

  • message-name
  • business-key
  • correlation-key

When creating your own plugin, you will want to create your own profiles based on the dsf-task-base.

Task Input Parameters

Task Input Parameters allow you to add additional information to Task resources. For example, if your particular data exchange requires additional medical data, you would add a slice to your Task profile in the same way the dsf-task-base adds slices to the original FHIR Task resource. Notice that this also requires creating a CodeSystem and including it in a ValueSet to be able to use it in the Task resource.

If these instructions are insufficient you can check out the guide on how to add Task Input Parameters.