25.2.4 Associating the Patients Table
Associate the workflow with the patients table so activities can reference patient row data.
The patient onboarding process relates to patients in the
FRC_PATIENTS table. Each patient's onboarding journey is a
concrete example of the process "blueprint" for one particular
patient. Since the Patient Onboarding workflow represents this business process,
most of its steps reference or modify the FRC_PATIENTS row
whose onboarding progress each instance represents.
As shown below, Additional Data is a workflow version property. Just set the Patient Onboarding workflow's table to FRC_PATIENTS and identify ID as its Primary Key Column. Then, wherever your app starts a new Patient Onboarding workflow instance, remember to supply the ID value of the patient to whom the new flow relates. This lets you reference patient details as &NAME. or :NAME anywhere in the flow using any FRC_PATIENTS column name. For example, you can reference the patient's FIRST_NAME and LAST_NAME anywhere you need them in the flow.
Figure 25-77 Getting Started on a Patient Onboarding Workflow
Parent topic: Exploring Patient Onboarding Example
